From niggemann at uni-wh.de Tue Nov 1 03:09:30 2011 From: niggemann at uni-wh.de (BNig) Date: Tue, 1 Nov 2011 00:09:30 -0700 (PDT) Subject: a shake and a wiggle In-Reply-To: References: <84EF3A38-2446-4C2E-BC48-8ACF217A1066@economy-x-talk.com> Message-ID: <1320131370098-3962691.post@n4.nabble.com> Hi Nicolas, I post the script I sent you here for anybody who has followed this thread. Make a button called "wiggleBehavior" for the behavior of the objects you want to delete by the gesture. Set it's script to: ----------------------------------------------- local sX, sLastTime, sCountWiggle = 0, sMove = false, sOldDirection on mouseDown put item 1 of the clickLoc into sX put the milliseconds into sLastTime put true into sMove grab me end mouseDown on mouseMove x if not sMove then exit mouseMove put x-sX into tDiffX put x into sX if tDiffX = 0 then exit mouseMove put tDiffX >0 into tDirection if the milliseconds - sLastTime < 600 then -- change intervall as needed if not (tDirection = sOldDirection) then add 1 to sCountWiggle end if else put the milliseconds into sLastTime put 0 into sCountWiggle end if put tDirection into sOldDirection if sCountWiggle > 4 then -- change condition as needed put false into sMove put the long id of me into tMyID send "delete tMyID" to me in 0 milliseconds -- script in the card, makes new button, for testing mainly -- send "makeNewButton" to this card in 3 milliseconds -- unblock if needed beep end if end mouseMove on mouseUp put false into sMove put 0 into sCountWiggle end mouseUp on mouseRelease mouseUp end mouseRelease ----------------------------------------------- set the card script to the following script if you want a new button every time the old one is deleted, unblock "send "makeNewButton"... in the behavior script ----------------------------------------------- on makeNewButton create button set the loc of the last button to 100,100 set the behavior of the last button to the long id of button "wiggleBehavior" set the backgroundColor of the last button to any line of the colorNames set the label of the last button to "wiggle me" end makeNewButton ----------------------------------------------- make a button and set it's behavior to the long ID of the button "wiggleBehavior" (or issue "makeNewButton" from the messageBox if you have set the card script to the code above. Now you can wiggle a button and it will delete itself. Adjust the sampling intervall and number of changes in direction as indicated in the script if needed. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/a-shake-and-a-wiggle-tp3955354p3962691.html Sent from the Revolution - User mailing list archive at Nabble.com. From andre.bisseret at wanadoo.fr Tue Nov 1 04:40:24 2011 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Tue, 1 Nov 2011 09:40:24 +0100 Subject: handler to connect buttons with a line In-Reply-To: <4EAEF4F1.7090204@gmail.com> References: <4EAEF4F1.7090204@gmail.com> Message-ID: <45270E3C-1A1B-4228-BE81-2DA38EEFDC29@wanadoo.fr> Bonjour Richmond, Vraiment tr?s joli ! Andr? Le 31 oct. 2011 ? 20:20, Richmond a ?crit : > if you adjust this: > > on mouseDown > grab me > end mouseDown > > to this: > > on mouseDown > grab me > set the idleRate to 1 > end mouseDown > > you get fairly spiffy results! > From andre.bisseret at wanadoo.fr Tue Nov 1 04:44:50 2011 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Tue, 1 Nov 2011 09:44:50 +0100 Subject: a shake and a wiggle In-Reply-To: <1320131370098-3962691.post@n4.nabble.com> References: <84EF3A38-2446-4C2E-BC48-8ACF217A1066@economy-x-talk.com> <1320131370098-3962691.post@n4.nabble.com> Message-ID: <47488EA2-0B2B-44DE-BB9A-82B76CF80090@wanadoo.fr> Thank you much Bernd for this nice script! very funny indeed! Best regards from Grenoble Andr? Le 1 nov. 2011 ? 08:09, BNig a ?crit : > Hi Nicolas, > I post the script I sent you here for anybody who has followed this thread. > > Make a button called "wiggleBehavior" for the behavior of the objects you > want to delete by the gesture. Set it's script to: > > ----------------------------------------------- > local sX, sLastTime, sCountWiggle = 0, sMove = false, sOldDirection > on mouseDown > put item 1 of the clickLoc into sX > put the milliseconds into sLastTime > put true into sMove > grab me > end mouseDown > > on mouseMove x > if not sMove then exit mouseMove > put x-sX into tDiffX > put x into sX > > if tDiffX = 0 then exit mouseMove > > put tDiffX >0 into tDirection > > if the milliseconds - sLastTime < 600 then -- change intervall as > needed > if not (tDirection = sOldDirection) then > add 1 to sCountWiggle > end if > else > put the milliseconds into sLastTime > put 0 into sCountWiggle > end if > > put tDirection into sOldDirection > > if sCountWiggle > 4 then -- change condition as needed > put false into sMove > put the long id of me into tMyID > send "delete tMyID" to me in 0 milliseconds > > -- script in the card, makes new button, for testing mainly > -- send "makeNewButton" to this card in 3 milliseconds -- unblock if > needed > beep > end if > end mouseMove > > on mouseUp > put false into sMove > put 0 into sCountWiggle > end mouseUp > > on mouseRelease > mouseUp > end mouseRelease > ----------------------------------------------- > > set the card script to the following script if you want a new button every > time the old one is deleted, unblock "send "makeNewButton"... in the > behavior script > > ----------------------------------------------- > on makeNewButton > create button > set the loc of the last button to 100,100 > set the behavior of the last button to the long id of button > "wiggleBehavior" > set the backgroundColor of the last button to any line of the colorNames > set the label of the last button to "wiggle me" > end makeNewButton > ----------------------------------------------- > > make a button and set it's behavior to the long ID of the button > "wiggleBehavior" (or issue "makeNewButton" from the messageBox if you have > set the card script to the code above. > > Now you can wiggle a button and it will delete itself. Adjust the sampling > intervall and number of changes in direction as indicated in the script if > needed. > > Kind regards > > Bernd > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/a-shake-and-a-wiggle-tp3955354p3962691.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 bill at bluewatermaritime.com Tue Nov 1 11:01:22 2011 From: bill at bluewatermaritime.com (william humphrey) Date: Tue, 1 Nov 2011 11:01:22 -0400 Subject: buying upgrade valentina help Message-ID: Hi I don't want to go through the wait a week for the new demo serial numbers so I can continue running valentina office server so I went to your website to buy another year. My user name is bill at bluewatermaritime.com but the http://www.valentina-db.com store login not only doesn't recognize that and my password but when I ask for a password reset I get: "Your password reset request failed because a User with the specified username and e-mail address could not be found.." Can you help me as I don't want to make a new account since I've been with you guys for so many years now. Bill Humphrey From stephenREVOLUTION2 at barncard.com Tue Nov 1 11:24:07 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 1 Nov 2011 08:24:07 -0700 Subject: buying upgrade valentina help In-Reply-To: References: Message-ID: Lynn reads this list regularly so he will chime in soon, or you should contact the Valentina distributor directly by phone (US). http://www.valentina-db.com/en/company/contact-us kind of a catch 22 if one has to be registered and recognized to contact support by email (to recover lost license ) sqb On 1 November 2011 08:01, william humphrey wrote: > Hi > > I don't want to go through the wait a week for the new demo serial numbers > so I can continue running valentina office server so I went to your website > to buy another year. > > My user name is bill at bluewatermaritime.com but the > http://www.valentina-db.com store login not only doesn't recognize that > and > my password but when I ask for a password reset I get: > > "Your password reset request failed because a User with the specified > username and e-mail address could not be found.." > > Can you help me as I don't want to make a new account since I've been with > you guys for so many years now. > > Bill Humphrey > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From livfoss at mac.com Tue Nov 1 11:48:01 2011 From: livfoss at mac.com (Graham Samuel) Date: Tue, 01 Nov 2011 16:48:01 +0100 Subject: Waiting for 'shell' Message-ID: <4C336985-8234-4142-9C36-9B18B1074C5C@mac.com> I have rather amazed myself by getting 'shell' to work on Windows from a LC script - with copious help from this list, of course. Now I find that some of my shell commands take quite a long time, so my user may not see anything happening and may think the app has crashed (hideConsoleWindows is true). Can anyone suggest a way I can show the program is still alive while the shell command is working - I'm thinking about a cursor 'busy' loop but it seems 'shell' is blocking so that won't work. TIA Graham From jwhughes at aguiacommunications.com Tue Nov 1 11:52:42 2011 From: jwhughes at aguiacommunications.com (Joe Hughes) Date: Tue, 1 Nov 2011 10:52:42 -0500 Subject: Augmented Reality in iOS Message-ID: <1B62A2CC-58CE-4127-8A5F-16AD31ED129A@aguiacommunications.com> Hi, Does anyone know if there are commands in LiveCode that allow for previewing video in iOS? I've seen that it is possible using the Video demo but only on my laptop. And the commands appear to be for non mobile OSs. I've seen some interesting apps that overlay video and would love to try out some things. Thanks, Joe From cmsheffield at me.com Tue Nov 1 12:06:29 2011 From: cmsheffield at me.com (Chris Sheffield) Date: Tue, 01 Nov 2011 10:06:29 -0600 Subject: strange text problem In-Reply-To: References: Message-ID: Unfortunately that didn't work. I did try setting the width of the text field to the formattedWidth, which seems to help, but I've still got the shifting going on sometimes. It's almost as if by changing the color of a chunk it's causing the field to wrap its text differently. Very strange. Any other suggestions? -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com On Oct 31, 2011, at 3:56 PM, Scott Rossi wrote: > Have you tried explicitly setting the textColor of all text in the field to > your default before setting the textColor of the next string? Perhaps > resetting the text to the default (or empty) in between updates will get > around the problem. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > Recently, Chris Sheffield wrote: > >> Wondering if anyone has a fix for this one. >> >> I'm working on an iOS app for iPad. I've got a block of text (a story) in a >> text field. I'm changing the color of sentences in time with audio that is >> playing. As the color changes, the text is shifting, almost as if the size of >> the text is changing slightly. All I'm doing is setting the textColor of a >> chunk of text. Something like: >> >> set the textColor of word 1 to 8 of fld "text" to blue >> >> I am not applying a font size or style or anything like that. The problem does >> not occur in the LiveCode IDE as far as I can tell. Only in the iOS simulator >> and on the device. >> >> Has anyone done anything similar? Can the problem be fixed? I don't know if >> it's just a matter of finding the right dimensions for my field and/or a >> combination of text size and text height? Right now the field is 600 pixels in >> width. The font is Arial, size 20, and the text height is set to 28. >> >> Any suggestions would be welcome. >> >> Thanks, >> Chris >> >> -- >> Chris Sheffield >> Read Naturally, Inc. >> www.readnaturally.com >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Tue Nov 1 12:34:53 2011 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 1 Nov 2011 12:34:53 -0400 Subject: strange text problem In-Reply-To: References: Message-ID: <000601cc98b4$2f651270$8e2f3750$@net> Is it possible that multiple white spaces between words are being compressed to 1? Are different types of white spaces (160 non-breaking space for example) are being changed to a 32(standard ascii space). Ralph DiMola IT Director Evergreen Information Services -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Chris Sheffield Sent: Tuesday, November 01, 2011 12:06 PM To: How to use LiveCode Subject: Re: strange text problem Unfortunately that didn't work. I did try setting the width of the text field to the formattedWidth, which seems to help, but I've still got the shifting going on sometimes. It's almost as if by changing the color of a chunk it's causing the field to wrap its text differently. Very strange. Any other suggestions? -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com On Oct 31, 2011, at 3:56 PM, Scott Rossi wrote: > Have you tried explicitly setting the textColor of all text in the field to > your default before setting the textColor of the next string? Perhaps > resetting the text to the default (or empty) in between updates will get > around the problem. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > Recently, Chris Sheffield wrote: > >> Wondering if anyone has a fix for this one. >> >> I'm working on an iOS app for iPad. I've got a block of text (a story) in a >> text field. I'm changing the color of sentences in time with audio that is >> playing. As the color changes, the text is shifting, almost as if the size of >> the text is changing slightly. All I'm doing is setting the textColor of a >> chunk of text. Something like: >> >> set the textColor of word 1 to 8 of fld "text" to blue >> >> I am not applying a font size or style or anything like that. The problem does >> not occur in the LiveCode IDE as far as I can tell. Only in the iOS simulator >> and on the device. >> >> Has anyone done anything similar? Can the problem be fixed? I don't know if >> it's just a matter of finding the right dimensions for my field and/or a >> combination of text size and text height? Right now the field is 600 pixels in >> width. The font is Arial, size 20, and the text height is set to 28. >> >> Any suggestions would be welcome. >> >> Thanks, >> Chris >> >> -- >> Chris Sheffield >> Read Naturally, Inc. >> www.readnaturally.com >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From mark_powell at symantec.com Tue Nov 1 13:07:19 2011 From: mark_powell at symantec.com (Mark Powell) Date: Tue, 1 Nov 2011 10:07:19 -0700 Subject: strange text problem In-Reply-To: References: <8B2D644D-C68E-48D6-872C-DF91DD37EA85@me.com> Message-ID: <3469AF22E7D82A46A12B6612437B8DF5029414D88F@TUS1XCHEVSPIN38.SYMC.SYMANTEC.COM> In addition to explicitly setting the textColor, you might try explicitly setting the textHeight. You might also test with Courier to see if a different font set behaves similarly. -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Scott Rossi Sent: Monday, October 31, 2011 2:56 PM To: LiveCode Mail List Subject: Re: strange text problem Have you tried explicitly setting the textColor of all text in the field to your default before setting the textColor of the next string? Perhaps resetting the text to the default (or empty) in between updates will get around the problem. Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Chris Sheffield wrote: > Wondering if anyone has a fix for this one. > > I'm working on an iOS app for iPad. I've got a block of text (a story) in a > text field. I'm changing the color of sentences in time with audio that is > playing. As the color changes, the text is shifting, almost as if the size of > the text is changing slightly. All I'm doing is setting the textColor of a > chunk of text. Something like: > > set the textColor of word 1 to 8 of fld "text" to blue > > I am not applying a font size or style or anything like that. The problem does > not occur in the LiveCode IDE as far as I can tell. Only in the iOS simulator > and on the device. > > Has anyone done anything similar? Can the problem be fixed? I don't know if > it's just a matter of finding the right dimensions for my field and/or a > combination of text size and text height? Right now the field is 600 pixels in > width. The font is Arial, size 20, and the text height is set to 28. > > Any suggestions would be welcome. > > Thanks, > Chris > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com > > From roger.e.eller at sealedair.com Tue Nov 1 13:11:54 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 1 Nov 2011 13:11:54 -0400 Subject: Waiting for 'shell' In-Reply-To: <4C336985-8234-4142-9C36-9B18B1074C5C@mac.com> References: <4C336985-8234-4142-9C36-9B18B1074C5C@mac.com> Message-ID: On Tue, Nov 1, 2011 at 11:48 AM, Graham Samuel wrote: > I have rather amazed myself by getting 'shell' to work on Windows from a > LC script - with copious help from this list, of course. Now I find that > some of my shell commands take quite a long time, so my user may not see > anything happening and may think the app has crashed (hideConsoleWindows is > true). Can anyone suggest a way I can show the program is still alive while > the shell command is working - I'm thinking about a cursor 'busy' loop but > it seems 'shell' is blocking so that won't work. > > TIA > > Graham > > I use animated GIFs which I show just before a lengthy conversion, then hide it when shell has completed the task. It' not a progress bar, but indicates a busy state quite well. ~Roger From warren at warrensweb.us Tue Nov 1 13:56:38 2011 From: warren at warrensweb.us (Warren Samples) Date: Tue, 01 Nov 2011 12:56:38 -0500 Subject: Waiting for 'shell' In-Reply-To: References: <4C336985-8234-4142-9C36-9B18B1074C5C@mac.com> Message-ID: <4EB032D6.60605@warrensweb.us> On 11/01/2011 12:11 PM, Roger Eller wrote: > I use animated GIFs which I show just before a lengthy conversion, then > hide it when shell has completed the task. It' not a progress bar, but > indicates a busy state quite well. > > ~Roger What platform(s) does this work on? When I do this, the animation stops. Running Linux here. Warren From maarten.koopmans at gmail.com Tue Nov 1 13:58:53 2011 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Tue, 1 Nov 2011 18:58:53 +0100 Subject: Base64 weirdness In-Reply-To: References: <4EAC2B14.9060401@fourthworld.com> Message-ID: Relacing crlf in lc and using adifferet scala lib on the other end solved this. Thanks for all of your help. On Monday, October 31, 2011, Maarten Koopmans wrote: > Still struggling, I'll try, > > @Mark: I'm on a mac > > On Saturday, October 29, 2011, Richard Gaskin wrote: >> Maarten Koopmans wrote: >>> >>> You're right, but i've found that other languages don't ignore them, >>> whether they are c-based string wrapped scripting languages or compile to >>> the JVM for instance..... >>> >>> I think LC follows the RFC better, but not necessarily better interoprable. >>> Anuway, another recent thread turned out to have a solution - copy 72 >>> chars, skip 1, loop >> >> Since white space is independent of data in base64, would this serve the same purpose?: >> >> replace crlf with cr in tBase64Data >> >> >> -- >> 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 bill at bluewatermaritime.com Tue Nov 1 15:48:45 2011 From: bill at bluewatermaritime.com (william humphrey) Date: Tue, 1 Nov 2011 15:48:45 -0400 Subject: buying upgrade valentina help In-Reply-To: References: Message-ID: Ruslan fixed the problem right away. And I posted this to this list by mistake! Sorry On Tue, Nov 1, 2011 at 11:24 AM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > Lynn reads this list regularly so he will chime in soon, or you should > contact the Valentina distributor directly by phone (US). > > http://www.valentina-db.com/en/company/contact-us > > kind of a catch 22 if one has to be registered and recognized to contact > support by email (to recover lost license ) > > sqb > > On 1 November 2011 08:01, william humphrey >wrote: > > > Hi > > > > I don't want to go through the wait a week for the new demo serial > numbers > > so I can continue running valentina office server so I went to your > website > > to buy another year. > > > > My user name is bill at bluewatermaritime.com but the > > http://www.valentina-db.com store login not only doesn't recognize that > > and > > my password but when I ask for a password reset I get: > > > > "Your password reset request failed because a User with the specified > > username and e-mail address could not be found.." > > > > Can you help me as I don't want to make a new account since I've been > with > > you guys for so many years now. > > > > Bill Humphrey > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 > -- http://www.bluewatermaritime.com From m.schonewille at economy-x-talk.com Tue Nov 1 16:35:10 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 1 Nov 2011 21:35:10 +0100 Subject: ANN: Installer Maker 1.7b02 Message-ID: <5128E0B6-EA0D-4CDF-B115-AD95D3AD75B4@economy-x-talk.com> Hi everyone, Economy-x-Talk has released a new beta version of Installer Maker 1.7. This time, we've added automatic Read Me file detection: if you include a license or read me file in your standalone package, Installer Maker finds it for you. More information and downloads can be found at http://qery.us/za Our offer, a free license for the official Installer Maker 1.7 with a purchase or upgrade for Installer Maker 1.6 after 1 October 2011, is still valid. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/16r Start selling Color Converter today. 20% commission! From roger.e.eller at sealedair.com Tue Nov 1 16:47:08 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 1 Nov 2011 16:47:08 -0400 Subject: Waiting for 'shell' In-Reply-To: <4EB032D6.60605@warrensweb.us> References: <4C336985-8234-4142-9C36-9B18B1074C5C@mac.com> <4EB032D6.60605@warrensweb.us> Message-ID: On Tue, Nov 1, 2011 at 1:56 PM, Warren Samples wrote: > On 11/01/2011 12:11 PM, Roger Eller wrote: > >> I use animated GIFs which I show just before a lengthy conversion, then >> hide it when shell has completed the task. It' not a progress bar, but >> indicates a busy state quite well. >> >> ~Roger >> > > > What platform(s) does this work on? When I do this, the animation stops. > Running Linux here. > > Warren > > I've done this on Mac and Windows, but I would expect it to work on Linux too. ~Roger From jacque at hyperactivesw.com Tue Nov 1 17:00:35 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 01 Nov 2011 16:00:35 -0500 Subject: strange text problem In-Reply-To: References: Message-ID: <4EB05DF3.6000301@hyperactivesw.com> On 11/1/11 11:06 AM, Chris Sheffield wrote: > Unfortunately that didn't work. I did try setting the width of the > text field to the formattedWidth, which seems to help, but I've still > got the shifting going on sometimes. It's almost as if by changing > the color of a chunk it's causing the field to wrap its text > differently. Very strange. > > Any other suggestions? It sounds like setting a text color widens the text slightly. That would cause a rewrap. If your default color is black, I wonder if you could fudge it by changing the default color to something that is a tiny increment different. Instead of black, try "1,0,0". The engine would see this as a "color" instead of the default and might retain its colorized width. The difference to the human eye would be imperceptible. Just a guess but maybe worth a try. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From roger.e.eller at sealedair.com Tue Nov 1 17:06:44 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 1 Nov 2011 17:06:44 -0400 Subject: Augmented Reality in iOS In-Reply-To: <1B62A2CC-58CE-4127-8A5F-16AD31ED129A@aguiacommunications.com> References: <1B62A2CC-58CE-4127-8A5F-16AD31ED129A@aguiacommunications.com> Message-ID: On Tue, Nov 1, 2011 at 11:52 AM, Joe Hughes wrote: > Hi, > > Does anyone know if there are commands in LiveCode that allow for > previewing video in iOS? I've seen that it is possible using the Video > demo but only on my laptop. And the commands appear to be for non mobile > OSs. I've seen some interesting apps that overlay video and would love to > try out some things. > > Thanks, > Joe > > Me too! I want to do something similar to the Parrot Drone control software. Imagine, controlling your lawn mower with an iPad or Android device. ~Roger From warren at warrensweb.us Tue Nov 1 17:26:05 2011 From: warren at warrensweb.us (Warren Samples) Date: Tue, 01 Nov 2011 16:26:05 -0500 Subject: Waiting for 'shell' In-Reply-To: References: <4C336985-8234-4142-9C36-9B18B1074C5C@mac.com> <4EB032D6.60605@warrensweb.us> Message-ID: <4EB063ED.1090000@warrensweb.us> On 11/01/2011 03:47 PM, Roger Eller wrote: > I've done this on Mac and Windows, but I would expect it to work on Linux > too. > > ~Roger Putting something like "show animated.gif > get shell("cp fileLocA fileLocB") in a button leaves the animated gif completely static during the copy operation. Interestingly, the gif is static the whole time - until the copy is finished - even if there is a wait before the get shell(). Perhaps you are doing something a little more involved/complicated to display the gif? Warren From roger.e.eller at sealedair.com Tue Nov 1 19:00:31 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 1 Nov 2011 19:00:31 -0400 Subject: Waiting for 'shell' In-Reply-To: <4EB063ED.1090000@warrensweb.us> References: <4C336985-8234-4142-9C36-9B18B1074C5C@mac.com> <4EB032D6.60605@warrensweb.us> <4EB063ED.1090000@warrensweb.us> Message-ID: On Tue, Nov 1, 2011 at 5:26 PM, Warren Samples wrote: > On 11/01/2011 03:47 PM, Roger Eller wrote: > >> I've done this on Mac and Windows, but I would expect it to work on Linux >> too. >> >> ~Roger >> > > Putting something like "show animated.gif > get shell("cp fileLocA > fileLocB") in a button leaves the animated gif completely static during the > copy operation. Interestingly, the gif is static the whole time - until the > copy is finished - even if there is a wait before the get shell(). Perhaps > you are doing something a little more involved/complicated to display the > gif? > > Warren > Make sure your script does not use 'lock screen' before the animated gif is shown. I don't have Linux handy at the moment to try, but I will. Try just a show and hide from the message box. Does the gif begin playing when shown? Also how long does the cp operation take? Be sure the file is large enough to allow the gif time to play a few frames while the cp is going. ?Roger From bonnmike at gmail.com Tue Nov 1 19:00:37 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 1 Nov 2011 17:00:37 -0600 Subject: Waiting for 'shell' In-Reply-To: <4EB063ED.1090000@warrensweb.us> References: <4C336985-8234-4142-9C36-9B18B1074C5C@mac.com> <4EB032D6.60605@warrensweb.us> <4EB063ED.1090000@warrensweb.us> Message-ID: Didn't have a chance to answer this morning, but you might look at 'open process' instead of shell for this. That way, you can open the process for read, start a read loop (with either a send in time, or a wait with messages) and use the async nature of this method to update a status bar or whatever. Unfortunately, I haven't messed with open process enough to whip out a quick bunch of code for this. (I suspect theres yet another learning curve in waiting if you go this direction) Another option might be to use launch if you don't need any data back. The problem with this method would be knowing when the action was done. It might be possible to use a batch file (if on windows) that will do everything for you when launched, then set an environment variable or some type of check file that can be polled intermittently. If you go this way and don't want the console window to show you can set the hideconsolewindows to true. On Tue, Nov 1, 2011 at 3:26 PM, Warren Samples wrote: > On 11/01/2011 03:47 PM, Roger Eller wrote: > >> I've done this on Mac and Windows, but I would expect it to work on Linux >> too. >> >> ~Roger >> > > > Putting something like "show animated.gif > get shell("cp fileLocA > fileLocB") in a button leaves the animated gif completely static during the > copy operation. Interestingly, the gif is static the whole time - until the > copy is finished - even if there is a wait before the get shell(). Perhaps > you are doing something a little more involved/complicated to display the > gif? > > Warren > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From bobs at twft.com Tue Nov 1 19:08:24 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 1 Nov 2011 13:08:24 -1000 Subject: Waiting for 'shell' In-Reply-To: References: <4C336985-8234-4142-9C36-9B18B1074C5C@mac.com> <4EB032D6.60605@warrensweb.us> <4EB063ED.1090000@warrensweb.us> Message-ID: There is a top command that will return the top ten processes sorted by different things depending on the arguments passed to it. Just man top in the terminal. Mac only of course. Bob On Nov 1, 2011, at 1:00 PM, Mike Bonner wrote: > Didn't have a chance to answer this morning, but you might look at 'open > process' instead of shell for this. > > That way, you can open the process for read, start a read loop (with either > a send in time, or a wait with messages) and use the async nature of this > method to update a status bar or whatever. > > Unfortunately, I haven't messed with open process enough to whip out a > quick bunch of code for this. (I suspect theres yet another learning curve > in waiting if you go this direction) > > Another option might be to use launch if you don't need any data back. The > problem with this method would be knowing when the action was done. It > might be possible to use a batch file (if on windows) that will do > everything for you when launched, then set an environment variable or some > type of check file that can be polled intermittently. If you go this way > and don't want the console window to show you can set the > hideconsolewindows to true. > > On Tue, Nov 1, 2011 at 3:26 PM, Warren Samples wrote: > >> On 11/01/2011 03:47 PM, Roger Eller wrote: >> >>> I've done this on Mac and Windows, but I would expect it to work on Linux >>> too. >>> >>> ~Roger >>> >> >> >> Putting something like "show animated.gif > get shell("cp fileLocA >> fileLocB") in a button leaves the animated gif completely static during the >> copy operation. Interestingly, the gif is static the whole time - until the >> copy is finished - even if there is a wait before the get shell(). Perhaps >> you are doing something a little more involved/complicated to display the >> gif? >> >> 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 >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Tue Nov 1 19:12:15 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 1 Nov 2011 19:12:15 -0400 Subject: Waiting for 'shell' In-Reply-To: References: <4C336985-8234-4142-9C36-9B18B1074C5C@mac.com> <4EB032D6.60605@warrensweb.us> <4EB063ED.1090000@warrensweb.us> Message-ID: On Tue, Nov 1, 2011 at 7:08 PM, Bob Sneidar wrote: > There is a top command that will return the top ten processes sorted by > different things depending on the arguments passed to it. Just man top in > the terminal. Mac only of course. > > Bob No, 'top' is on Linux too. Probably been around longer than OS X. :-) ?Roger From bonnmike at gmail.com Tue Nov 1 19:18:09 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 1 Nov 2011 17:18:09 -0600 Subject: Waiting for 'shell' In-Reply-To: References: <4C336985-8234-4142-9C36-9B18B1074C5C@mac.com> <4EB032D6.60605@warrensweb.us> <4EB063ED.1090000@warrensweb.us> Message-ID: Oh cool. Yep, that could be easily used as an indication that the launched process has completed. That or ps would both work on mac or linux. so something like launch "/usr/bin/myprocess" then a loop that does a shell('ps") then parse the output to make see if the process is still active. so put shell("ps") into tShell filter tShell with "*myprocess*" at which point if the number of lines in tShell > 0 its not done yet. From roger.e.eller at sealedair.com Tue Nov 1 19:27:55 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 1 Nov 2011 19:27:55 -0400 Subject: Waiting for 'shell' In-Reply-To: References: <4C336985-8234-4142-9C36-9B18B1074C5C@mac.com> <4EB032D6.60605@warrensweb.us> <4EB063ED.1090000@warrensweb.us> Message-ID: On Tue, Nov 1, 2011 at 7:18 PM, Mike Bonner wrote: > Oh cool. Yep, that could be easily used as an indication that the launched > process has completed. That or ps would both work on mac or linux. I just looked back at the original post. If I understand correctly, the problem is not seeing when shell completes, but to let the user know there is backgrounded activity while shell is still processing, and so they don't think the app has locked up. ?Roger From bonnmike at gmail.com Tue Nov 1 19:32:57 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 1 Nov 2011 17:32:57 -0600 Subject: Waiting for 'shell' In-Reply-To: References: <4C336985-8234-4142-9C36-9B18B1074C5C@mac.com> <4EB032D6.60605@warrensweb.us> <4EB063ED.1090000@warrensweb.us> Message-ID: Yeah, I had offered alternative ways other than using shell (open process, or launch) rather than shell since its blocking. open process can be used asynchronously so its easy to implement some type of indicator, same with launch but I was unsure how to tell process completion with that method. Shell and the animated gif is still the easiest method if it can be made to work. Was just throwing out alternative methods. On Tue, Nov 1, 2011 at 5:27 PM, Roger Eller wrote: > On Tue, Nov 1, 2011 at 7:18 PM, Mike Bonner wrote: > > > Oh cool. Yep, that could be easily used as an indication that the > launched > > process has completed. That or ps would both work on mac or linux. > > > I just looked back at the original post. If I understand correctly, the > problem is not seeing when shell completes, but to let the user know there > is backgrounded activity while shell is still processing, and so they don't > think the app has locked up. > > ?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 warren at warrensweb.us Tue Nov 1 19:34:59 2011 From: warren at warrensweb.us (Warren Samples) Date: Tue, 01 Nov 2011 18:34:59 -0500 Subject: Waiting for 'shell' In-Reply-To: References: <4C336985-8234-4142-9C36-9B18B1074C5C@mac.com> <4EB032D6.60605@warrensweb.us> <4EB063ED.1090000@warrensweb.us> Message-ID: <4EB08223.9020501@warrensweb.us> On 11/01/2011 06:27 PM, Roger Eller wrote: > > I just looked back at the original post. If I understand correctly, the > problem is not seeing when shell completes, but to let the user know there > is backgrounded activity while shell is still processing, and so they don't > think the app has locked up. > > ?Roger Yes, and the progression eventually involved an alternative which which would necessitate some clever method to determine when to stop showing the progress indicator because the process had finished. Therefore: >> > Oh cool. Yep, that could be easily used as an indication that the >> > launched process has completed. That or ps would both work on mac >> > or linux. It does make sense :) Warren From Kresten.Bjerg at psy.ku.dk Tue Nov 1 19:42:42 2011 From: Kresten.Bjerg at psy.ku.dk (Kresten Bjerg) Date: Wed, 2 Nov 2011 00:42:42 +0100 Subject: handler to connect buttons with a line Message-ID: <8962F0E4BD055148AA4051D91F7EB4A908F13C6297@IBTMAIL2A.ibt.ku.dk.ad> Thank you for replies to my first question (I repeat it, as October postings not included here) : "I have been experimenting to create a handler (as button or menu), which will permit user a)To select two existing moveable button b)Create a line, attaching its endpoints to the buttons, so line will stay between them wherever they are positioned on the card. c)It is important that same button can be connected to more buttons, thus creating a simple user-built and editable mindmap. My experiments - I am lousy as a programmer - have been of no avail. Could somebody help, and sketch a handler ? The context is that of extending the functionalities of a freeware patient/citizen diary www.phenomenalog.dk " The previous replies suggested to specify new scripts for the buttons, but the buttons are named and produced by the user and come with a script of their own, with mouseups, Mousewithin, mousestilldown and doomed. The solution therefore has to follow another way, suggested outside this list by Mark Schonewille, and by Glen Boysza, namely to organize using only the custom property functions. Thus, what I need is a "superior" handler, which will permit the user to pair and "bond" their buttons in a flexible network : a handler, to place in a special button, which can implement all such pairings: a) direct user to click first button, then b) to click second button, b) create their connecting line c) put the two button IDs into line customvariable and d) lineID into the customvariables of each of the two buttons (without deleting previous lineIDs !) Unfortunately I don't have the skills to script this, - so I am hoping someone on the list, with better skills, might give it a try. From jhurley0305 at sbcglobal.net Wed Nov 2 00:40:26 2011 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Tue, 1 Nov 2011 21:40:26 -0700 Subject: handler to connect buttons with a line In-Reply-To: References: Message-ID: Kresten, I think I understand. The card script below will create n button and n * (n-1) connecting lines. As the buttons are moved the connecting lines follow. Jim Hurley local myNAME, n on mouseDown put the short name of the target into myName put 5 into n repeat with i = 1 to n put "radio"& i into tName if there is no button tName then create button tName set the style of button tName to "radioButton" set the width of button tName to 20 set the loc of button tName to 20 + i*40,20 set the borderWidth of button tName to 0 end if end repeat repeat with i = 1 to n repeat with j = i+1 to n put "line" & i & j into tName if there is no grc tName then create grc tName set the style of grc tName to "line" set the layer of grc tName to bottom end if end repeat end repeat end mouseDown on mouseMove x,y if myName is "" then exit mouseMove if not (myName contains "radio") then exit mouseMove set the loc of button myName to x,y repeat with i = 1 to n put "radio" & i into tStart repeat with j = i+1 to n put "radio" & j into tEnd put "line" & i & j into tName set the points of grc tName to the loc of button tStart & cr & the loc of button tEnd end repeat end repeat end mouseMove On mouseUp put "" into myName end mouseUp on MouseLeave put "" into myName end MouseLeave > ------------------------------ > > Message: 6 > Date: Mon, 31 Oct 2011 15:38:03 +0100 > From: Kresten Bjerg > To: "use-livecode at lists.runrev.com" > Subject: handler to connect buttons with a line > Message-ID: > <8962F0E4BD055148AA4051D91F7EB4A908F13C61BF at IBTMAIL2A.ibt.ku.dk.ad> > Content-Type: text/plain; charset="us-ascii" > > Hello > I have been experimenting to create a handler (as button or menu), which will permit user > > a) To select two existing moveable button > > b) Create a line, attaching its endpoints to the buttons, so line will stay between them wherever they are positioned on the card. > > c) It is important that same button can be connected to more buttons, thus creating a simple user-built and editable mindmap. > My experiments - I am lousy as a programmer - have been of no avail. > Could somebody help, and sketch a handler ? > The context is that of extending the functionalities of a freeware patient/citizen diary www.phenomenalog.dk > Best regards > Kresten Bjerg Kresten.bjerg at psy.ku.dk > From jhurley0305 at sbcglobal.net Wed Nov 2 00:43:33 2011 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Tue, 1 Nov 2011 21:43:33 -0700 Subject: handler to connect buttons with a line In-Reply-To: References: Message-ID: <7C5E8791-DBEB-42C7-AF07-EAEE47452FF0@sbcglobal.net> Correction: That should have been n * (n-1)/2 connecting lines. Same as the number of hand shakes among n people. :-) Jim From richmondmathewson at gmail.com Wed Nov 2 03:41:11 2011 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 02 Nov 2011 09:41:11 +0200 Subject: PDFs Message-ID: <4EB0F417.20003@gmail.com> on the Supercard list: Re: [SC] Importing PDF files Set pictureData of card graphic "PDF" to myPDFfilepath I wonder ? ? ? From Kresten.Bjerg at psy.ku.dk Wed Nov 2 06:37:02 2011 From: Kresten.Bjerg at psy.ku.dk (Kresten Bjerg) Date: Wed, 2 Nov 2011 11:37:02 +0100 Subject: handler to connect buttons with a line Message-ID: <8962F0E4BD055148AA4051D91F7EB4A908F13C62BD@IBTMAIL2A.ibt.ku.dk.ad> To James Thank you for new reply to my first question Because month-shift and time-differences you missed my followup: I repeat it here The previous replies suggested to produce new buttons and specify new scripts for the buttons. But the buttons will already be named and produced by the user and come with a script of their own, with mouseups, Mousewithin, mousestilldown and doomed before user will get to line-connect them. The solution therefore has to follow another way, suggested outside this list by Mark Schonewille, and by Glen Boysza, namely to organize using only the custom property functions. Thus, what I need is a "superior" handler, which will permit the user to pair and "bond" their own buttons in a flexible network : a handler, (to place in a special button), which can implement all such pairings: a) direct user of standalone to click first button, then to click second button, (select two arbitrary buttons) b) create their connecting line c) put the two button IDs into line customvariable and d) lineID into the customvariables of each of the two buttons (without deleting previous lineIDs !) Unfortunately I don't have the skills to script this, - so I am hoping someone on the list, with better skills, might give it a try. From m.schonewille at economy-x-talk.com Wed Nov 2 06:40:51 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 2 Nov 2011 11:40:51 +0100 Subject: PDFs In-Reply-To: <4EB0F417.20003@gmail.com> References: <4EB0F417.20003@gmail.com> Message-ID: Hi Richmond, This imports only the first page of the PDF. IIRC, in the recent discussion on this list, OP wanted to browse a PDF. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/16r Start selling Color Converter today. 20% commission! On 2 nov 2011, at 08:41, Richmond wrote: > on the Supercard list: > > Re: [SC] Importing PDF files > > Set pictureData of card graphic "PDF" to myPDFfilepath > > I wonder ? ? ? From richmondmathewson at gmail.com Wed Nov 2 07:00:21 2011 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 02 Nov 2011 13:00:21 +0200 Subject: PDFs In-Reply-To: References: <4EB0F417.20003@gmail.com> Message-ID: <4EB122C5.3020303@gmail.com> On 11/02/2011 12:40 PM, Mark Schonewille wrote: > Hi Richmond, > > This imports only the first page of the PDF. IIRC, in the recent discussion on this list, OP wanted to browse a PDF. Notwithstanding, that would be better than the 'nothing' currently available in Livecode. > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Become our partner in sales http://qery.us/16r Start selling Color Converter today. 20% commission! > > On 2 nov 2011, at 08:41, Richmond wrote: > >> on the Supercard list: >> >> Re: [SC] Importing PDF files >> >> Set pictureData of card graphic "PDF" to myPDFfilepath >> >> I wonder ? ? ? > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Nov 2 08:27:59 2011 From: revolution at derbrill.de (Malte Brill) Date: Wed, 2 Nov 2011 13:27:59 +0100 Subject: Classic (3.5) CGI and post to a different server... Help please! In-Reply-To: References: Message-ID: <4B49ECE9-E5DE-4109-8793-938445254331@derbrill.de> Hi, I am trying to post from a rev 3.5 CGI to another server. This appears to fail silently. I tried including libURL as a front / backscript to no avail. Has anyone of you successfully posted to a different server from a rev 3.5 CGI? Any pointer much appreciated, Malte From michael-kristensen at dsa-net.dk Wed Nov 2 09:34:49 2011 From: michael-kristensen at dsa-net.dk (Michael Kristensen) Date: Wed, 2 Nov 2011 14:34:49 +0100 Subject: Nice cm ruler. Only a click away Message-ID: <22ECC070-7FEF-483E-AE04-3835D730489F@dsa-net.dk> Hi there Here is a nice cm ruler that span fx a iMac 27. Only a click away. Make a new wd Make a btn Put this script in it and click... on mouseUp lock screen put 72/2.54 into Q repeat with i = 0 to 90 new grc set the style of last grc to Polygon set the points of last grc to 25,300 & return & 25,307 set the loc of last grc to 25+ i*Q,300 set the selected of last grc to true new grc set the style of last grc to Polygon set the points of last grc to 39,306 & return & 39,310 set the loc of last grc to 39+ i*Q,302 set the selected of last grc to true new fld set the opaque of last fld to false set the width of last fld to 17 set the height of last fld to 15 set the textsize of last fld to 9 set the showBorder of last fld to false set the margins of last fld to 0,4,0,4 set the textAlign of last fld to center set the lockText of last fld to true set the autoHilite of last fld to false set the showFocusBorder of last fld to false set loc of last fld to 25+ i*Q,292 put i into last fld set the selected of last fld to true end repeat group set the showBorder of last grp to true set the lineSize of last grp to 1 set the threeD of last grp to false set the height of last grp to 27 set the opaque of last grp to true set the backgroundColor of last grp to 255,255,205 set the borderColor of last grp to 147,147,147 end mouseUp Michael CEO FreeCmRulersForAll www.FreeCmRulersForAll.org From rene.micout at numericable.com Wed Nov 2 09:58:43 2011 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Wed, 2 Nov 2011 14:58:43 +0100 Subject: Nice cm ruler. Only a click away In-Reply-To: <22ECC070-7FEF-483E-AE04-3835D730489F@dsa-net.dk> References: <22ECC070-7FEF-483E-AE04-3835D730489F@dsa-net.dk> Message-ID: <536F836B-F627-45E1-B58E-E9F2A4D3C3F9@numericable.com> Le 2 nov. 2011 ? 14:34, Michael Kristensen a ?crit : > set the style of last grc to Polygon That line don't accept by script editor... :-( From rene.micout at numericable.com Wed Nov 2 10:02:00 2011 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Wed, 2 Nov 2011 15:02:00 +0100 Subject: Nice cm ruler. Only a click away In-Reply-To: <536F836B-F627-45E1-B58E-E9F2A4D3C3F9@numericable.com> References: <22ECC070-7FEF-483E-AE04-3835D730489F@dsa-net.dk> <536F836B-F627-45E1-B58E-E9F2A4D3C3F9@numericable.com> Message-ID: <622888CB-53BA-413D-8945-6EA099512507@numericable.com> Sorry... In strict compilation mode ... But... not accepted... Le 2 nov. 2011 ? 14:58, Ren? Micout a ?crit : > > Le 2 nov. 2011 ? 14:34, Michael Kristensen a ?crit : > >> set the style of last grc to Polygon > > That line don't accept by script editor... :-( > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Nov 2 10:08:39 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 2 Nov 2011 15:08:39 +0100 Subject: Nice cm ruler. Only a click away In-Reply-To: <622888CB-53BA-413D-8945-6EA099512507@numericable.com> References: <22ECC070-7FEF-483E-AE04-3835D730489F@dsa-net.dk> <536F836B-F627-45E1-B58E-E9F2A4D3C3F9@numericable.com> <622888CB-53BA-413D-8945-6EA099512507@numericable.com> Message-ID: Put quotes around it? Well done, Michael. I like it. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/16r Start selling Color Converter today. 20% commission! On 2 nov 2011, at 15:02, Ren? Micout wrote: > Sorry... > In strict compilation mode ... > But... not accepted... > > Le 2 nov. 2011 ? 14:58, Ren? Micout a ?crit : > >> >> Le 2 nov. 2011 ? 14:34, Michael Kristensen a ?crit : >> >>> set the style of last grc to Polygon >> >> That line don't accept by script editor... :-( From roger.e.eller at sealedair.com Wed Nov 2 10:38:25 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 2 Nov 2011 10:38:25 -0400 Subject: Nice cm ruler. Only a click away In-Reply-To: <22ECC070-7FEF-483E-AE04-3835D730489F@dsa-net.dk> References: <22ECC070-7FEF-483E-AE04-3835D730489F@dsa-net.dk> Message-ID: On Wed, Nov 2, 2011 at 9:34 AM, Michael Kristensen wrote: > Hi there > > Here is a nice cm ruler that span fx a iMac 27. Only a click away. > > Michael > CEO FreeCmRulersForAll > www.FreeCmRulersForAll.org VERY nice! I added one line, just before end mouseUp... * set* the script of last grp to "on mouseDown" & cr & "grab me" & cr & "end mouseDown" ~Roger From richmondmathewson at gmail.com Wed Nov 2 10:45:32 2011 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 02 Nov 2011 16:45:32 +0200 Subject: [OT] Duqu Message-ID: <4EB1578C.2000901@gmail.com> http://www.bbc.co.uk/news/technology-15554361 Another reason why I'm "not very keen" on Windows. I mean; how can you go on producing an operating system that seems to leak like a sieve, and expect people to pay for it? When Oracle Virtual Box 4.1 hosed my Ubuntu 11.04 I couldn't complain as everything was FREE; but I just downloaded another system and got on with things. From revolution at derbrill.de Wed Nov 2 11:04:37 2011 From: revolution at derbrill.de (Malte Brill) Date: Wed, 2 Nov 2011 16:04:37 +0100 Subject: Classic (3.5) CGI and post to a different server... Help please! In-Reply-To: References: Message-ID: Nevermind... Got it working now :) THis is all a little easier with the new server engine though. From tkuypers at telenet.be Wed Nov 2 11:48:10 2011 From: tkuypers at telenet.be (tkuypers at telenet.be) Date: Wed, 2 Nov 2011 16:48:10 +0100 Subject: PDFs In-Reply-To: <4EB122C5.3020303@gmail.com> References: <4EB0F417.20003@gmail.com> <4EB122C5.3020303@gmail.com> Message-ID: <47D278DD-C604-46D1-934A-4AD4962462A5@telenet.be> And what's wrong with: on mouseUp answer file "Select a PDF" if it = "" then exit mouseUp set the filename of player "test" to it end mouseUp Met vriendelijke groeten, Warm Regards, Ton Kuypers +32 (0) 477 739 530 Aardbemden 11 ? B-2400 ? Mol ? Belgium www.publishingtools4u.com On 2-nov-2011, at 12:00, Richmond wrote: > On 11/02/2011 12:40 PM, Mark Schonewille wrote: >> Hi Richmond, >> >> This imports only the first page of the PDF. IIRC, in the recent discussion on this list, OP wanted to browse a PDF. > > Notwithstanding, that would be better than the 'nothing' currently available in Livecode. > >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> Homepage: http://economy-x-talk.com >> Twitter: http://twitter.com/xtalkprogrammer >> KvK: 50277553 >> >> Become our partner in sales http://qery.us/16r Start selling Color Converter today. 20% commission! >> >> On 2 nov 2011, at 08:41, Richmond wrote: >> >>> on the Supercard list: >>> >>> Re: [SC] Importing PDF files >>> >>> Set pictureData of card graphic "PDF" to myPDFfilepath >>> >>> I wonder ? ? ? >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Nov 2 11:53:18 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 2 Nov 2011 16:53:18 +0100 Subject: PDFs In-Reply-To: <47D278DD-C604-46D1-934A-4AD4962462A5@telenet.be> References: <4EB0F417.20003@gmail.com> <4EB122C5.3020303@gmail.com> <47D278DD-C604-46D1-934A-4AD4962462A5@telenet.be> Message-ID: Hi Ton, Nothing is wrong with that, as long as you're on a Mac. It won't work on other platforms. (Of course, SuperCard is Mac-only). -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/16r Start selling Color Converter today. 20% commission! On 2 nov 2011, at 16:48, tkuypers at telenet.be wrote: > And what's wrong with: > > on mouseUp > answer file "Select a PDF" > if it = "" then exit mouseUp > set the filename of player "test" to it > end mouseUp > > Met vriendelijke groeten, > Warm Regards, > > Ton Kuypers > +32 (0) 477 739 530 > > Aardbemden 11 ? B-2400 ? Mol ? Belgium > www.publishingtools4u.com > > From tkuypers at telenet.be Wed Nov 2 11:56:47 2011 From: tkuypers at telenet.be (tkuypers at telenet.be) Date: Wed, 2 Nov 2011 16:56:47 +0100 Subject: PDFs In-Reply-To: References: <4EB0F417.20003@gmail.com> <4EB122C5.3020303@gmail.com> <47D278DD-C604-46D1-934A-4AD4962462A5@telenet.be> Message-ID: <134CB621-4070-4AAE-B24D-C7E3017EF34A@telenet.be> I rest my case ;-) Met vriendelijke groeten, Warm Regards, Ton Kuypers +32 (0) 477 739 530 Aardbemden 11 ? B-2400 ? Mol ? Belgium www.publishingtools4u.com On 2-nov-2011, at 16:53, Mark Schonewille wrote: > Hi Ton, > > Nothing is wrong with that, as long as you're on a Mac. It won't work on other platforms. > > (Of course, SuperCard is Mac-only). > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Become our partner in sales http://qery.us/16r Start selling Color Converter today. 20% commission! > > On 2 nov 2011, at 16:48, tkuypers at telenet.be wrote: > >> And what's wrong with: >> >> on mouseUp >> answer file "Select a PDF" >> if it = "" then exit mouseUp >> set the filename of player "test" to it >> end mouseUp >> >> Met vriendelijke groeten, >> Warm Regards, >> >> Ton Kuypers >> +32 (0) 477 739 530 >> >> Aardbemden 11 ? B-2400 ? Mol ? Belgium >> www.publishingtools4u.com >> >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 me.com Wed Nov 2 13:40:59 2011 From: johnpatten at me.com (JOHN PATTEN) Date: Wed, 02 Nov 2011 10:40:59 -0700 Subject: On CloseField and textStyle/textColor changes? Message-ID: <09E31D17-B1B5-4926-BB67-9E4C0CE5EB5D@me.com> Hi All? I have a field that updates a record in a SQLite database via a "on closeField" handler when the quantity of the text changes. I would like the record to be updated if the user just changes the color of the text or the style of the text too. Currently if a user only changes the color of the text the "on closeField" does not update the SQLite record? I tired to add a space after the last word in the field, but apparently adding text via script does not register the closeField call either. I have to physically type the space on the keyboard to have the closeField handler work and update the record. Any advice? Thank you! John Patten SUSD From bobs at twft.com Wed Nov 2 13:59:23 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 2 Nov 2011 07:59:23 -1000 Subject: On CloseField and textStyle/textColor changes? In-Reply-To: <09E31D17-B1B5-4926-BB67-9E4C0CE5EB5D@me.com> References: <09E31D17-B1B5-4926-BB67-9E4C0CE5EB5D@me.com> Message-ID: Store the value and color of the field in an openField handler, then trap for exitField which will trigger whether or not changes are made. In the exitField handler, check for parity with your stored values and proceed accordingly. Remember to update your changed values to the stored values. Properties work well for this. Bob On Nov 2, 2011, at 7:40 AM, JOHN PATTEN wrote: > Hi All? > > I have a field that updates a record in a SQLite database via a "on closeField" handler when the quantity of the text changes. I would like the record to be updated if the user just changes the color of the text or the style of the text too. Currently if a user only changes the color of the text the "on closeField" does not update the SQLite record? > > I tired to add a space after the last word in the field, but apparently adding text via script does not register the closeField call either. I have to physically type the space on the keyboard to have the closeField handler work and update the record. > > Any advice? > > Thank you! > > John Patten > SUSD > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Wed Nov 2 13:59:46 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 2 Nov 2011 10:59:46 -0700 Subject: On CloseField and textStyle/textColor changes? In-Reply-To: <09E31D17-B1B5-4926-BB67-9E4C0CE5EB5D@me.com> References: <09E31D17-B1B5-4926-BB67-9E4C0CE5EB5D@me.com> Message-ID: Hi John, After adding the space by script, just send a closeField message to the control. Pete Molly's Revenge On Wed, Nov 2, 2011 at 10:40 AM, JOHN PATTEN wrote: > Hi All? > > I have a field that updates a record in a SQLite database via a "on > closeField" handler when the quantity of the text changes. I would like the > record to be updated if the user just changes the color of the text or the > style of the text too. Currently if a user only changes the color of the > text the "on closeField" does not update the SQLite record? > > I tired to add a space after the last word in the field, but apparently > adding text via script does not register the closeField call either. I have > to physically type the space on the keyboard to have the closeField handler > work and update the record. > > Any advice? > > Thank you! > > John Patten > SUSD > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From richmondmathewson at gmail.com Wed Nov 2 14:21:14 2011 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 02 Nov 2011 20:21:14 +0200 Subject: PDFs In-Reply-To: <134CB621-4070-4AAE-B24D-C7E3017EF34A@telenet.be> References: <4EB0F417.20003@gmail.com> <4EB122C5.3020303@gmail.com> <47D278DD-C604-46D1-934A-4AD4962462A5@telenet.be> <134CB621-4070-4AAE-B24D-C7E3017EF34A@telenet.be> Message-ID: <4EB18A1A.8060709@gmail.com> On 11/02/2011 05:56 PM, tkuypers at telenet.be wrote: > I rest my case ;-) Which case is that? Certainly no joy on Linux (which, by-the-way, is supposedly now outstripping Mac). > Met vriendelijke groeten, > Warm Regards, > > Ton Kuypers > +32 (0) 477 739 530 > > Aardbemden 11 ? B-2400 ? Mol ? Belgium > www.publishingtools4u.com > > > > > On 2-nov-2011, at 16:53, Mark Schonewille wrote: > >> Hi Ton, >> >> Nothing is wrong with that, as long as you're on a Mac. It won't work on other platforms. >> >> (Of course, SuperCard is Mac-only). >> >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> Homepage: http://economy-x-talk.com >> Twitter: http://twitter.com/xtalkprogrammer >> KvK: 50277553 >> >> Become our partner in sales http://qery.us/16r Start selling Color Converter today. 20% commission! >> >> On 2 nov 2011, at 16:48, tkuypers at telenet.be wrote: >> >>> And what's wrong with: >>> >>> on mouseUp >>> answer file "Select a PDF" >>> if it = "" then exit mouseUp >>> set the filename of player "test" to it >>> end mouseUp >>> >>> Met vriendelijke groeten, >>> Warm Regards, >>> >>> Ton Kuypers >>> +32 (0) 477 739 530 >>> >>> Aardbemden 11 ? B-2400 ? Mol ? Belgium >>> www.publishingtools4u.com >>> >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mike at doub.com Wed Nov 2 15:20:13 2011 From: mike at doub.com (Michael Doub) Date: Wed, 2 Nov 2011 15:20:13 -0400 Subject: Style Question Message-ID: <0E398A18-B0AF-493E-836A-4945D1CBD9F4@doub.com> I am working on a project that is going to manipulating records of data. What is the best approach to identifying the individual components for use in different scripts? If the data was represented as some delimited string, then each item could be defined as a constant. The question would then be how to manage these constants in multiple scripts. I have not found any references to include files, which was my first thought. if the data was represented in an array these solves the ability to reference the items easily enough but then I assume that you would have to create some special code to format the code in the correct order for consistent input or output ordering I see when using SQL there is an option of identifying each data element separately, but if you use the array syntax you seem to have the same problem as a delimited string where you need to define constants to define element numbers. Can anyone provide any sage wisdom from the school of hard knocks? Thanks Mike From pete at mollysrevenge.com Wed Nov 2 15:58:21 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 2 Nov 2011 12:58:21 -0700 Subject: Style Question In-Reply-To: <0E398A18-B0AF-493E-836A-4945D1CBD9F4@doub.com> References: <0E398A18-B0AF-493E-836A-4945D1CBD9F4@doub.com> Message-ID: Hi Michael, I'm not sure I completely understand what you want to do but here's a few thoughts anyway! If you want to define constants to refer to item numbers within a delimited string, you can define globals for each item number and initialise them to their values somewhere in your application startup script. This requires that you declare those globals in every script that refers to them (just their names, not the values). And yes, an include file function would be great! Alternatively, you might be able to centralise your data handling in a single script and make calls to handlers in it, but tough to know if that would work withoout more info. If you're using an SQL database, you can eliminate the need to reference elements of the returned data by element number by using revQueryDatabase. It creates a recordset without returning any data directly to you. You then use the revMoveTo.... series of calls to navigate through the records in the recordset. revDatabaseColumnNamed will return the value of a named column from the current record in the recordset so you don't have to be concerned with knowing where in the record the column occurs. Pete Molly's Revenge On Wed, Nov 2, 2011 at 12:20 PM, Michael Doub wrote: > I am working on a project that is going to manipulating records of data. > What is the best approach to identifying the individual components for use > in different scripts? > > If the data was represented as some delimited string, then each item could > be defined as a constant. The question would then be how to manage these > constants in multiple scripts. I have not found any references to include > files, which was my first thought. > > if the data was represented in an array these solves the ability to > reference the items easily enough but then I assume that you would have to > create some special code to format the code in the correct order for > consistent input or output ordering > > I see when using SQL there is an option of identifying each data element > separately, but if you use the array syntax you seem to have the same > problem as a delimited string where you need to define constants to define > element numbers. > > Can anyone provide any sage wisdom from the school of hard knocks? > > Thanks > Mike > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From livfoss at mac.com Wed Nov 2 16:02:41 2011 From: livfoss at mac.com (Graham Samuel) Date: Wed, 02 Nov 2011 21:02:41 +0100 Subject: PDFs Message-ID: <656AA648-96BB-47B7-8A03-E931DB855DF8@mac.com> As one of the most persistent LC developers to try to incorporate PDFs as humble bitmaps, I can report that I have actually made the ImageMagick/GhostScript route work, but the installation side is messy on Macs - don't know about Linux. It is kind of acceptable on PCs, but there I am getting increasingly hopeful of another solution for PCs: watch this space. Sadly that won't work for your Richmond, but I could explain more about ImageMagick off list if you like. Let me say quickly that all the ideas I have ever had about solving this problem have been inspired by contributions to this list. Graham On Wed, 02 Nov 2011 13:00:21 +0200, Richmond wrote: > > On 11/02/2011 12:40 PM, Mark Schonewille wrote: >> Hi Richmond, >> >> This imports only the first page of the PDF. IIRC, in the recent discussion on this list, OP wanted to browse a PDF. > > Notwithstanding, that would be better than the 'nothing' currently > available in Livecode. > >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> Homepage: http://economy-x-talk.com >> Twitter: http://twitter.com/xtalkprogrammer >> KvK: 50277553 >> >> Become our partner in sales http://qery.us/16r Start selling Color Converter today. 20% commission! >> >> On 2 nov 2011, at 08:41, Richmond wrote: >> >>> on the Supercard list: >>> >>> Re: [SC] Importing PDF files >>> >>> Set pictureData of card graphic "PDF" to myPDFfilepath >>> >>> I wonder ? ? ? >> From katir at hindu.org Wed Nov 2 16:25:11 2011 From: katir at hindu.org (Sivakatirswami) Date: Wed, 02 Nov 2011 10:25:11 -1000 Subject: Passing Ampersand and Dot to PostGreSQL - MySQL Message-ID: <4EB1A727.700@hindu.org> I'm having some difficulty with passing data from a web form to a PostGreSQL database. I'm using iRev on the server and gFormData has all the data in the array. After handling all the data, running the CC charges, sending notifications, everything works, but my final functions to insert the data into the database fail in certain cases. i use this method to build the query: put "INSERT INTO donations (first_name, last_name, anonymous, email_address, " into tSQLQuery put "addr1, addr2, city, state, postal_code, country, phone_no, created_on, " after tSQLQuery put " entry_point, comment, amount, monetra_user, monetra_msg, cc_no) " after tSQLQuery put "VALUES ('#FIRST_NAME', '#LAST_NAME', '#ANONYMOUS', '#EMAIL_ADDRESS', " after tSQLQuery Put "'#ADDR1', '#ADDR2', '#CITY', '#STATE', '#POSTAL_CODE', '#COUNTRY', '#PHONE_NO', '#CREATED_ON', " after tSQLQuery Put "'#ENTRY_POINT', '#COMMENT', '#AMOUNT', '#MONETRA_USER', '#MONETRA_MSG', '#CC_NO');" after tSQLQuery the poke it like this: replace "#FIRST_NAME" with gFormData["first_name"] in tSQLQuery replace "#COMMENT" with gFormData["comment"] in tSQLQuery replace "#EMAIL_ADDRESS" with gFormData["email_address"] in tSQLQuery when the data in the array values contain certain characters, the insertion query fails. I have been able to definitively diagnose at least two cases (there are probably more) if the data contains an ampersand or a dot, the query fails e.g these will all cause the insertion to fail: First Name: Ravi & Sheela # ampersand Comment: All the books & audio.... [etc.] # ampersand email address: gail.wood at verizon.com # dot in the email address. so, I'm not sure what to do. I need to escape all the special chars (I don't even have a list of what they are) in the gFormData array values that will break the SQL query. And we also have to block SQL injection attempts at the same time.... My "baby xTalk" method would be tortuous: for each key/value in the gFormData array put gFormData["first_name"] in tFirstName put fixBadChars(tFirstName) into tFirstName replace "#FIRST_NAME" with tFirstName in tSQLQuery function fixBadChars pString replace "&" with "and" in pString # and more of these which I don't even know what they would be # and replacing the dot in the email will mean the email is wrong after insertion return pString end fixBadChars I'm sure this has been dealt with already... Does anyone have a "escape input data for SQL insertion" library they can share? Thanks! Sivakatirswami -- Om Shanti Sivakatirswami Kauai Aadheenam From stephenREVOLUTION2 at barncard.com Wed Nov 2 16:30:39 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 2 Nov 2011 13:30:39 -0700 Subject: Passing Ampersand and Dot to PostGreSQL - MySQL In-Reply-To: <4EB1A727.700@hindu.org> References: <4EB1A727.700@hindu.org> Message-ID: Trevor does. There are escaping handlers in his old MySQL Abstraction Library, if you have that around. On 2 November 2011 13:25, Sivakatirswami wrote: > I'm having some difficulty with passing data from a web form to a > PostGreSQL database. I'm using iRev on the server and gFormData has all the > data in the array. After handling all the data, running the CC charges, > sending notifications, everything works, but my final functions to insert > the data into the database fail in certain cases. > > i use this method to build the query: > > > put "INSERT INTO donations (first_name, last_name, anonymous, > email_address, " into tSQLQuery > put "addr1, addr2, city, state, postal_code, country, phone_no, > created_on, " after tSQLQuery > put " entry_point, comment, amount, monetra_user, monetra_msg, cc_no) " > after tSQLQuery > put "VALUES ('#FIRST_NAME', '#LAST_NAME', '#ANONYMOUS', '#EMAIL_ADDRESS', > " after tSQLQuery > Put "'#ADDR1', '#ADDR2', '#CITY', '#STATE', '#POSTAL_CODE', '#COUNTRY', > '#PHONE_NO', '#CREATED_ON', " after tSQLQuery > Put "'#ENTRY_POINT', '#COMMENT', '#AMOUNT', '#MONETRA_USER', > '#MONETRA_MSG', '#CC_NO');" after tSQLQuery > > the poke it like this: > > replace "#FIRST_NAME" with gFormData["first_name"] in tSQLQuery > replace "#COMMENT" with gFormData["comment"] in tSQLQuery > replace "#EMAIL_ADDRESS" with gFormData["email_address"] in tSQLQuery > > when the data in the array values contain certain characters, the > insertion query fails. > > I have been able to definitively diagnose at least two cases (there are > probably more) > > if the data contains an ampersand or a dot, the query fails e.g these > will all cause the insertion to fail: > > First Name: Ravi & Sheela # ampersand > > Comment: All the books & audio.... [etc.] # ampersand > > email address: gail.wood at verizon.com # dot in the email address. > > so, I'm not sure what to do. > > I need to escape all the special chars (I don't even have a list of what > they are) in the gFormData array values that will break the SQL query. And > we also have to block SQL injection attempts at the same time.... > > My "baby xTalk" method would be tortuous: for each key/value in the > gFormData array > > put gFormData["first_name"] in tFirstName > > put fixBadChars(tFirstName) into tFirstName > > replace "#FIRST_NAME" with tFirstName in tSQLQuery > > function fixBadChars pString > > replace "&" with "and" in pString > # and more of these which I don't even know what they would be > # and replacing the dot in the email will mean the email is wrong > after insertion > return pString > > end fixBadChars > > I'm sure this has been dealt with already... Does anyone have a "escape > input data for SQL insertion" library they can share? > > Thanks! > Sivakatirswami > > > > > > > > > > > -- > Om Shanti > Sivakatirswami > > Kauai Aadheenam > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From pete at mollysrevenge.com Wed Nov 2 17:44:57 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 2 Nov 2011 14:44:57 -0700 Subject: Passing Ampersand and Dot to PostGreSQL - MySQL In-Reply-To: <4EB1A727.700@hindu.org> References: <4EB1A727.700@hindu.org> Message-ID: Interesting. I don't have Postgres but I tried an insert into an SQLite table with text containing an ampersand and it worked just fine. Same with mySQL. This was on my desktop machine though, not over the web. The docs for SQLite,mySQL, and Postgres only mention the need to escape the single-quote character within a string, not any other special characters. What's the error you get back? Pete Molly's Revenge On Wed, Nov 2, 2011 at 1:25 PM, Sivakatirswami wrote: > I'm having some difficulty with passing data from a web form to a > PostGreSQL database. I'm using iRev on the server and gFormData has all the > data in the array. After handling all the data, running the CC charges, > sending notifications, everything works, but my final functions to insert > the data into the database fail in certain cases. > > i use this method to build the query: > > > put "INSERT INTO donations (first_name, last_name, anonymous, > email_address, " into tSQLQuery > put "addr1, addr2, city, state, postal_code, country, phone_no, > created_on, " after tSQLQuery > put " entry_point, comment, amount, monetra_user, monetra_msg, cc_no) " > after tSQLQuery > put "VALUES ('#FIRST_NAME', '#LAST_NAME', '#ANONYMOUS', '#EMAIL_ADDRESS', > " after tSQLQuery > Put "'#ADDR1', '#ADDR2', '#CITY', '#STATE', '#POSTAL_CODE', '#COUNTRY', > '#PHONE_NO', '#CREATED_ON', " after tSQLQuery > Put "'#ENTRY_POINT', '#COMMENT', '#AMOUNT', '#MONETRA_USER', > '#MONETRA_MSG', '#CC_NO');" after tSQLQuery > > the poke it like this: > > replace "#FIRST_NAME" with gFormData["first_name"] in tSQLQuery > replace "#COMMENT" with gFormData["comment"] in tSQLQuery > replace "#EMAIL_ADDRESS" with gFormData["email_address"] in tSQLQuery > > when the data in the array values contain certain characters, the > insertion query fails. > > I have been able to definitively diagnose at least two cases (there are > probably more) > > if the data contains an ampersand or a dot, the query fails e.g these > will all cause the insertion to fail: > > First Name: Ravi & Sheela # ampersand > > Comment: All the books & audio.... [etc.] # ampersand > > email address: gail.wood at verizon.com # dot in the email address. > > so, I'm not sure what to do. > > I need to escape all the special chars (I don't even have a list of what > they are) in the gFormData array values that will break the SQL query. And > we also have to block SQL injection attempts at the same time.... > > My "baby xTalk" method would be tortuous: for each key/value in the > gFormData array > > put gFormData["first_name"] in tFirstName > > put fixBadChars(tFirstName) into tFirstName > > replace "#FIRST_NAME" with tFirstName in tSQLQuery > > function fixBadChars pString > > replace "&" with "and" in pString > # and more of these which I don't even know what they would be > # and replacing the dot in the email will mean the email is wrong > after insertion > return pString > > end fixBadChars > > I'm sure this has been dealt with already... Does anyone have a "escape > input data for SQL insertion" library they can share? > > Thanks! > Sivakatirswami > > > > > > > > > > > -- > Om Shanti > Sivakatirswami > > Kauai Aadheenam > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > > From userev at canelasoftware.com Wed Nov 2 19:50:24 2011 From: userev at canelasoftware.com (Mark Talluto) Date: Wed, 2 Nov 2011 16:50:24 -0700 Subject: Nice cm ruler. Only a click away In-Reply-To: <22ECC070-7FEF-483E-AE04-3835D730489F@dsa-net.dk> References: <22ECC070-7FEF-483E-AE04-3835D730489F@dsa-net.dk> Message-ID: <7B8F3D77-EBFB-428E-982F-55B21099E3D6@canelasoftware.com> Hi Michael, I added to your very cool script a slight bit to make the cm ruler true on any monitor. Users will have to adjust the three variables at the top to represent their monitors accurately. on mouseUp put 1920 into tMonitorWidth put 1200 into tMonitorHeight put 24 into tMonitorDiag put sqrt((tMonitorWidth * tMonitorWidth) + (tMonitorHeight * tMonitorHeight)) into tDiagRes put round(tDiagRes/tMonitorDiag,3) into tDPI put tDPI /2.54 into Q repeat with i = 0 to 10 new grc set the style of last grc to Polygon set the points of last grc to 25,300 & return & 25,307 set the loc of last grc to 25+ i*Q,300 set the selected of last grc to true new grc set the style of last grc to Polygon set the points of last grc to 39,306 & return & 39,310 set the loc of last grc to 39+ i*Q,302 set the selected of last grc to true new fld set the opaque of last fld to false set the width of last fld to 17 set the height of last fld to 15 set the textSize of last fld to 9 set the showBorder of last fld to false set the margins of last fld to 0,4,0,4 set the textAlign of last fld to center set the lockText of last fld to true set the autoHilite of last fld to false set the showFocusBorder of last fld to false set loc of last fld to 25+ i*Q,292 put i into last fld set the selected of last fld to true end repeat group set the showBorder of last grp to true set the lineSize of last grp to 1 set the threeD of last grp to false set the height of last grp to 27 set the opaque of last grp to true set the backgroundColor of last grp to 255,255,205 set the borderColor of last grp to 147,147,147 set the script of last grp to "on mouseDown" & cr & "grab me" & cr & "end mouseDown" end mouseUp On Nov 2, 2011, at 6:34 AM, Michael Kristensen wrote: > Hi there > > Here is a nice cm ruler that span fx a iMac 27. Only a click away. > > Make a new wd > Make a btn > > Put this script in it and click... From roger.e.eller at sealedair.com Wed Nov 2 20:39:02 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 2 Nov 2011 20:39:02 -0400 Subject: Nice cm ruler. Only a click away In-Reply-To: <7B8F3D77-EBFB-428E-982F-55B21099E3D6@canelasoftware.com> References: <22ECC070-7FEF-483E-AE04-3835D730489F@dsa-net.dk> <7B8F3D77-EBFB-428E-982F-55B21099E3D6@canelasoftware.com> Message-ID: On Wed, Nov 2, 2011 at 7:50 PM, Mark Talluto wrote: > Hi Michael, > > I added to your very cool script a slight bit to make the cm ruler true on > any monitor. Users will have to adjust the three variables at the top to > represent their monitors accurately. > > on mouseUp > put 1920 into tMonitorWidth > put 1200 into tMonitorHeight > put 24 into tMonitorDiag > > put sqrt((tMonitorWidth * tMonitorWidth) + (tMonitorHeight * > tMonitorHeight)) into tDiagRes > put round(tDiagRes/tMonitorDiag,3) into tDPI > put tDPI /2.54 into Q > > repeat with i = 0 to 10 > new grc > set the style of last grc to Polygon > set the points of last grc to 25,300 & return & 25,307 > set the loc of last grc to 25+ i*Q,300 > set the selected of last grc to true > > new grc > set the style of last grc to Polygon > set the points of last grc to 39,306 & return & 39,310 > set the loc of last grc to 39+ i*Q,302 > set the selected of last grc to true > > new fld > set the opaque of last fld to false > set the width of last fld to 17 > set the height of last fld to 15 > set the textSize of last fld to 9 > set the showBorder of last fld to false > set the margins of last fld to 0,4,0,4 > set the textAlign of last fld to center > set the lockText of last fld to true > set the autoHilite of last fld to false > set the showFocusBorder of last fld to false > set loc of last fld to 25+ i*Q,292 > put i into last fld > set the selected of last fld to true > end repeat > > group > > set the showBorder of last grp to true > set the lineSize of last grp to 1 > set the threeD of last grp to false > set the height of last grp to 27 > set the opaque of last grp to true > set the backgroundColor of last grp to 255,255,205 > set the borderColor of last grp to 147,147,147 > > set the script of last grp to "on mouseDown" & cr & "grab me" & cr & > "end mouseDown" > end mouseUp > > > On Nov 2, 2011, at 6:34 AM, Michael Kristensen wrote: > > > Hi there > > > > Here is a nice cm ruler that span fx a iMac 27. Only a click away. > > > > Make a new wd > > Make a btn > > > > Put this script in it and click... > get the screenRect to get tMonitorWidth and tMonitorHeight. Then there's only the tMonitorDiag to manually input. ?Roger From mwieder at ahsoftware.net Wed Nov 2 21:31:47 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 2 Nov 2011 18:31:47 -0700 Subject: Style Question In-Reply-To: <0E398A18-B0AF-493E-836A-4945D1CBD9F4@doub.com> References: <0E398A18-B0AF-493E-836A-4945D1CBD9F4@doub.com> Message-ID: <135294027562.20111102183147@ahsoftware.net> Mike- Wednesday, November 2, 2011, 12:20:13 PM, you wrote: > If the data was represented as some delimited string, then each > item could be defined as a constant. The question would then be how > to manage these constants in multiple scripts. I have not found any > references to include files, which was my first thought. there's a long-standing request in the bug database for include files. -- -Mark Wieder mwieder at ahsoftware.net From dev at digifilm.com Wed Nov 2 23:25:25 2011 From: dev at digifilm.com (ddas) Date: Wed, 2 Nov 2011 23:25:25 -0400 Subject: available space iOS In-Reply-To: <135294027562.20111102183147@ahsoftware.net> References: <0E398A18-B0AF-493E-836A-4945D1CBD9F4@doub.com> <135294027562.20111102183147@ahsoftware.net> Message-ID: <2B1D2680-C73A-4D4F-A46F-A883C2B28A51@digifilm.com> How do I check for available space on iOS? Regards, Debdoot From kray at sonsothunder.com Wed Nov 2 23:40:01 2011 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 2 Nov 2011 22:40:01 -0500 Subject: PDFs In-Reply-To: <4EB18A1A.8060709@gmail.com> References: <4EB0F417.20003@gmail.com> <4EB122C5.3020303@gmail.com> <47D278DD-C604-46D1-934A-4AD4962462A5@telenet.be> <134CB621-4070-4AAE-B24D-C7E3017EF34A@telenet.be> <4EB18A1A.8060709@gmail.com> Message-ID: <7086E95E-AC5D-44C5-8E45-F0DC4C659BB4@sonsothunder.com> On Nov 2, 2011, at 1:21 PM, Richmond wrote: > On 11/02/2011 05:56 PM, tkuypers at telenet.be wrote: >> I rest my case ;-) > > Which case is that? Certainly no joy on Linux (which, by-the-way, is supposedly now > outstripping Mac). What he means is that SuperCard and LiveCode do the same thing, just with different objects - both call on QuickTime on the Mac to import the PDF, but in SuperCard it goes into a graphic object, but in LiveCode it needs a player object. Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From gwolfgang at gaich.de Thu Nov 3 00:32:11 2011 From: gwolfgang at gaich.de (G. Wolfgang Gaich) Date: Thu, 03 Nov 2011 05:32:11 +0100 Subject: Passing Ampersand and Dot to PostGreSQL - MySQL In-Reply-To: <4EB1A727.700@hindu.org> References: <4EB1A727.700@hindu.org> Message-ID: <4EB2194B.7060909@gaich.de> Hello Sivakatirswami, I think it's an unicode problem if your database is UTF8. I use this function in that case to execute the SQL: function exeSQL_UTF8 pSQL -- pSQL is your SQL string global gDB local tRS local tSQL put unidecode(uniencode(pSQL),"UTF8") into tSQL put revdb_execute(gDB,tSQL) into tRS return tRS end exeSQL_UTF8 Regards Wolfgang Am 02.11.2011 21:25, schrieb Sivakatirswami: > I'm having some difficulty with passing data from a web form to a > PostGreSQL database. I'm using iRev on the server and gFormData has > all the data in the array. After handling all the data, running the CC > charges, sending notifications, everything works, but my final > functions to insert the data into the database fail in certain cases. > > i use this method to build the query: > > > put "INSERT INTO donations (first_name, last_name, anonymous, > email_address, " into tSQLQuery > put "addr1, addr2, city, state, postal_code, country, phone_no, > created_on, " after tSQLQuery > put " entry_point, comment, amount, monetra_user, monetra_msg, cc_no) > " after tSQLQuery > put "VALUES ('#FIRST_NAME', '#LAST_NAME', '#ANONYMOUS', > '#EMAIL_ADDRESS', " after tSQLQuery > Put "'#ADDR1', '#ADDR2', '#CITY', '#STATE', '#POSTAL_CODE', > '#COUNTRY', '#PHONE_NO', '#CREATED_ON', " after tSQLQuery > Put "'#ENTRY_POINT', '#COMMENT', '#AMOUNT', '#MONETRA_USER', > '#MONETRA_MSG', '#CC_NO');" after tSQLQuery > > the poke it like this: > > replace "#FIRST_NAME" with gFormData["first_name"] in tSQLQuery > replace "#COMMENT" with gFormData["comment"] in tSQLQuery > replace "#EMAIL_ADDRESS" with gFormData["email_address"] in tSQLQuery > > when the data in the array values contain certain characters, the > insertion query fails. > > I have been able to definitively diagnose at least two cases (there > are probably more) > > if the data contains an ampersand or a dot, the query fails e.g these > will all cause the insertion to fail: > > First Name: Ravi & Sheela # ampersand > > Comment: All the books & audio.... [etc.] # ampersand > > email address: gail.wood at verizon.com # dot in the email address. > > so, I'm not sure what to do. > > I need to escape all the special chars (I don't even have a list of > what they are) in the gFormData array values that will break the SQL > query. And we also have to block SQL injection attempts at the same > time.... > > My "baby xTalk" method would be tortuous: for each key/value in the > gFormData array > > put gFormData["first_name"] in tFirstName > > put fixBadChars(tFirstName) into tFirstName > > replace "#FIRST_NAME" with tFirstName in tSQLQuery > > function fixBadChars pString > > replace "&" with "and" in pString > # and more of these which I don't even know what they would be > # and replacing the dot in the email will mean the email is > wrong after insertion > return pString > > end fixBadChars > > I'm sure this has been dealt with already... Does anyone have a > "escape input data for SQL insertion" library they can share? > > Thanks! > Sivakatirswami > > > > > > > > > > * * Englisch * Deutsch * Englisch * Deutsch From bobs at twft.com Thu Nov 3 01:57:31 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 2 Nov 2011 19:57:31 -1000 Subject: Nice cm ruler. Only a click away In-Reply-To: References: <22ECC070-7FEF-483E-AE04-3835D730489F@dsa-net.dk> <7B8F3D77-EBFB-428E-982F-55B21099E3D6@canelasoftware.com> Message-ID: <575A2999-CFF5-404D-9C48-8A30F9CFA679@twft.com> I love this use list! Bob On Nov 2, 2011, at 2:39 PM, Roger Eller wrote: > On Wed, Nov 2, 2011 at 7:50 PM, Mark Talluto wrote: > >> Hi Michael, >> >> I added to your very cool script a slight bit to make the cm ruler true on >> any monitor. Users will have to adjust the three variables at the top to >> represent their monitors accurately. >> >> on mouseUp >> put 1920 into tMonitorWidth >> put 1200 into tMonitorHeight >> put 24 into tMonitorDiag >> >> put sqrt((tMonitorWidth * tMonitorWidth) + (tMonitorHeight * >> tMonitorHeight)) into tDiagRes >> put round(tDiagRes/tMonitorDiag,3) into tDPI >> put tDPI /2.54 into Q >> >> repeat with i = 0 to 10 >> new grc >> set the style of last grc to Polygon >> set the points of last grc to 25,300 & return & 25,307 >> set the loc of last grc to 25+ i*Q,300 >> set the selected of last grc to true >> >> new grc >> set the style of last grc to Polygon >> set the points of last grc to 39,306 & return & 39,310 >> set the loc of last grc to 39+ i*Q,302 >> set the selected of last grc to true >> >> new fld >> set the opaque of last fld to false >> set the width of last fld to 17 >> set the height of last fld to 15 >> set the textSize of last fld to 9 >> set the showBorder of last fld to false >> set the margins of last fld to 0,4,0,4 >> set the textAlign of last fld to center >> set the lockText of last fld to true >> set the autoHilite of last fld to false >> set the showFocusBorder of last fld to false >> set loc of last fld to 25+ i*Q,292 >> put i into last fld >> set the selected of last fld to true >> end repeat >> >> group >> >> set the showBorder of last grp to true >> set the lineSize of last grp to 1 >> set the threeD of last grp to false >> set the height of last grp to 27 >> set the opaque of last grp to true >> set the backgroundColor of last grp to 255,255,205 >> set the borderColor of last grp to 147,147,147 >> >> set the script of last grp to "on mouseDown" & cr & "grab me" & cr & >> "end mouseDown" >> end mouseUp >> >> >> On Nov 2, 2011, at 6:34 AM, Michael Kristensen wrote: >> >>> Hi there >>> >>> Here is a nice cm ruler that span fx a iMac 27. Only a click away. >>> >>> Make a new wd >>> Make a btn >>> >>> Put this script in it and click... >> > > get the screenRect to get tMonitorWidth and tMonitorHeight. > Then there's only the tMonitorDiag to manually input. > > ?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 bobs at twft.com Thu Nov 3 01:58:35 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 2 Nov 2011 19:58:35 -1000 Subject: PDFs In-Reply-To: <7086E95E-AC5D-44C5-8E45-F0DC4C659BB4@sonsothunder.com> References: <4EB0F417.20003@gmail.com> <4EB122C5.3020303@gmail.com> <47D278DD-C604-46D1-934A-4AD4962462A5@telenet.be> <134CB621-4070-4AAE-B24D-C7E3017EF34A@telenet.be> <4EB18A1A.8060709@gmail.com> <7086E95E-AC5D-44C5-8E45-F0DC4C659BB4@sonsothunder.com> Message-ID: I knew that! Bob On Nov 2, 2011, at 5:40 PM, Ken Ray wrote: > > On Nov 2, 2011, at 1:21 PM, Richmond wrote: > >> On 11/02/2011 05:56 PM, tkuypers at telenet.be wrote: >>> I rest my case ;-) >> >> Which case is that? Certainly no joy on Linux (which, by-the-way, is supposedly now >> outstripping Mac). > > What he means is that SuperCard and LiveCode do the same thing, just with different objects - both call on QuickTime on the Mac to import the PDF, but in SuperCard it goes into a graphic object, but in LiveCode it needs a player object. > > 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 gerry.orkin at gmail.com Thu Nov 3 02:00:33 2011 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Thu, 3 Nov 2011 17:00:33 +1100 Subject: available space iOS In-Reply-To: <2B1D2680-C73A-4D4F-A46F-A883C2B28A51@digifilm.com> References: <0E398A18-B0AF-493E-836A-4945D1CBD9F4@doub.com> <135294027562.20111102183147@ahsoftware.net> <2B1D2680-C73A-4D4F-A46F-A883C2B28A51@digifilm.com> Message-ID: <565ADB89-D9D2-4DFB-B47C-8D3A108FAD4D@gmail.com> I don't think we can... g On 03/11/2011, at 2:25 PM, ddas wrote: > How do I check for available space on iOS? > > Regards, > Debdoot > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From yoshino at sys.wakayama-u.ac.jp Thu Nov 3 03:51:16 2011 From: yoshino at sys.wakayama-u.ac.jp (=?iso-2022-jp?B?GyRCNUhMbhsoQiAbJEI5JxsoQg==?=) Date: Thu, 3 Nov 2011 16:51:16 +0900 Subject: text size and HTMLtext Message-ID: Hi, I have a question about text size and HTMLtext. I want to use Japanese text in my LiveCode stacks. I can input Japanese text to a field by only using HTMLtext. But, I don't change text size of Japanese font size. English font can change. Here is my sample script. on mouseUp repeat with i=10 to 48 set the textsize of fld "ja" to i set the textsize of fld "en" to i wait 10 ticks put i into msg end repeat end mouseUp I need your help. _.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ Takashi Yoshino http://www.wakayama-u.ac.jp/~yoshino/lab/ Tel: +81-73-457-8441 From michael-kristensen at dsa-net.dk Thu Nov 3 06:25:32 2011 From: michael-kristensen at dsa-net.dk (Michael Kristensen) Date: Thu, 3 Nov 2011 11:25:32 +0100 Subject: Nice Leonardo da Vinci Bezier, just a click away Message-ID: <61933CB0-7E32-4784-B953-C026F1CD1651@dsa-net.dk> Hi there Here is a nice Leonardo da Vinci Bezier, just a click away Make a new big wd Make a new button up in the left corner Make a Custom Prop of the button called LeoPoints and fill in these points: 640,265 670,256 697,268 690,293 682,325 717,281 716,334 712,386 671,374 668,378 676,388 693,394 698,400 698,400 768,392 791,411 797,411 827,399 851,414 878,399 963,416 977,407 990,396 1059,383 1065,408 1072,432 996,446 986,440 964,427 905,465 851,446 805,462 733,432 723,476 720,496 706,540 708,575 716,591 706,597 708,605 714,643 708,677 709,683 723,718 706,838 695,857 698,877 692,888 687,902 689,976 681,1053 695,1071 709,1089 766,1091 774,1104 782,1116 741,1116 706,1110 687,1108 670,1115 662,1115 651,1105 659,1102 659,1088 657,1053 638,1031 642,997 623,975 634,905 637,896 648,847 642,803 640,748 634,776 629,811 629,844 627,874 616,894 610,910 615,931 624,973 615,993 619,1017 623,1017 621,1052 630,1058 635,1069 634,1077 632,1085 665,1118 646,1119 612,1119 607,1123 597,1111 590,1100 596,1091 599,1069 588,1047 547,964 571,899 567,885 575,858 580,842 569,824 556,743 564,687 563,663 561,635 572,608 575,600 575,575 582,558 571,528 561,498 556,477 549,432 479,462 434,446 380,465 319,427 297,440 287,446 212,436 218,408 224,383 293,399 306,410 320,419 405,399 432,414 460,394 497,416 503,411 525,392 585,400 585,400 590,394 607,394 616,378 613,374 571,386 569,334 566,281 599,325 594,293 594,293 590,259 640,265 Then set the script of the button to: on mouseUp lock screen new grc set the style of last grc to "Polygon" --the Bezier control cage, going to be invisible set the name of last grc to "cLine1" set the visible of grc "cLine1" to false set the points of grc "cLine1" to the LeoPoints of me new grc set the style of last grc to "Polygon" --the visible figure set the name of last grc to "Poly1" set the opaque of grc "Poly1" to true set the backgroundColor of grc "Poly1" to 237,205,147 put the points of grc "cLine1" into cList put number of lines of clist into nLines repeat with i = 1 to nLines-3 step 3 --startpoint put item 1 of line i of cList into x0 put item 2 of line i of cList into y0 --first control point put item 1 of line i+1 of cList into x1 put item 2 of line i+1 of cList into y1 --second control point put item 1 of line i+2 of cList into x2 put item 2 of line i+2 of cList into y2 --endpoint put item 1 of line i+3 of cList into x3 put item 2 of line i+3 of cList into y3 put x3 - 3*x2 + 3*x1 - x0 into A put 3*x2 - 6*x1 + 3*x0 into B put 3*x1 - 3*x0 into C put x0 into D put y3 - 3*y2 + 3*y1 - y0 into E put 3*y2 - 6*y1 + 3*y0 into F put 3*y1 - 3*y0 into G put y0 into H put 17 into PT --so many points for each curve repeat with z = 0 to PT put z/PT into t put A*t^3 + B*t^2 + C*t + D into x put E*t^3 + F*t^2 + G*t + H into y put round(x) & "," & round(y) & return after pList end repeat end repeat set the points of grc "Poly1" to pList new grc set the style of last grc to "Rectangle" set the height of last grc to height of grc "Poly1" set the width of last grc to width of grc "Poly1" set the loc of last grc to loc of grc "Poly1" new grc set the style of last grc to "Oval" set the height of last grc to (height of grc "Poly1")*1.2 set the width of last grc to (width of grc "Poly1")*1.2 set the loc of last grc to loc of grc "Poly1" set the bottom of last grc to bottom of grc "Poly1" end mouseUp Now CLICK the button! Michael From rene.micout at numericable.com Thu Nov 3 07:16:27 2011 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Thu, 3 Nov 2011 12:16:27 +0100 Subject: Nice Leonardo da Vinci Bezier, just a click away In-Reply-To: <61933CB0-7E32-4784-B953-C026F1CD1651@dsa-net.dk> References: <61933CB0-7E32-4784-B953-C026F1CD1651@dsa-net.dk> Message-ID: <9EA509EA-1238-4196-B0A1-EC1E9748ABD7@numericable.com> YES !!! A 1200 x 1200 window is necessary Bon souvenir de Paris Ren? Le 3 nov. 2011 ? 11:25, Michael Kristensen a ?crit : > Hi there > > Here is a nice Leonardo da Vinci Bezier, just a click away From heather at runrev.com Fri Nov 4 06:39:46 2011 From: heather at runrev.com (Heather Nagey) Date: Fri, 4 Nov 2011 10:39:46 +0000 Subject: test 3 Message-ID: <635E4B03-812F-4861-9E6B-DE7C8686A7B3@runrev.com> Is this the email you are looking for? I really hope so, the force is weak... Trust the Force... Heather Heather Nagey Customer Services Manager http://www.runrev.com/ LiveCode - Unleash Your Killer App From michael-kristensen at dsa-net.dk Fri Nov 4 06:11:15 2011 From: michael-kristensen at dsa-net.dk (Michael Kristensen) Date: Fri, 4 Nov 2011 11:11:15 +0100 Subject: use-livecode Digest, Vol 98, Issue 4 In-Reply-To: References: Message-ID: <41A61C91-35E2-4069-801F-21713CE5870B@dsa-net.dk> Hi Mark Very nice to see your additions. One comment on the DPI If you want a ruler that match your printer you should use 72. Also if you fx want to calculate a perimeter or area of a square you should use 72. At least on a Mac To have the ruler appear "lifelike" I use 72/2.54 * 1.52 on an iMac 27 I have experimentet in a drawing app and found 152% to be lifelike on the screen So in my case at 152% I see exactly what comes out of the printer. Michael Den 03/11/2011 kl. 18.00 skrev use-livecode-request at lists.runrev.com: > > Hi Michael, > > I added to your very cool script a slight bit to make the cm ruler true on any monitor. Users will have to adjust the three variables at the top to represent their monitors accurately. > > on mouseUp > put 1920 into tMonitorWidth > put 1200 into tMonitorHeight > put 24 into tMonitorDiag > > put sqrt((tMonitorWidth * tMonitorWidth) + (tMonitorHeight * tMonitorHeight)) into tDiagRes > put round(tDiagRes/tMonitorDiag,3) into tDPI > put tDPI /2.54 into Q From michael-kristensen at dsa-net.dk Fri Nov 4 06:48:26 2011 From: michael-kristensen at dsa-net.dk (Michael Kristensen) Date: Fri, 4 Nov 2011 11:48:26 +0100 Subject: Leonardo Bezier. How to bring your own Bezier in Message-ID: <2A5F1807-2503-49E2-9F8C-EF85F96A922D@dsa-net.dk> How to bring your own Bezier drawing in! As far as I know the drawing app Canvas is the only program that lets you export the Bezier Control Points of a Bezier as a textlist. Mac Trail: http://www.macupdate.com/app/mac/1924/canvas Not working on OSX 10.7 PC Trail: http://www.acdsee.com/en/products/canvas-12 Open the Canvas Trail ( I have nothing to do with that company) Use the pentool to draw your Bezier. Make sure you are using pixel as your Unit When you have finished your drawing go to: MENU: Object / Object Path Editor / PopupMenu / Copy Now you have all the Bezier Control Points in memory Use this script to parse the data in memory in Livecode on ClipToBezier put the clipBoardData[text] into xxx replace "," with "." in xxx set the itemDel to tab repeat with i = 1 to number of lines of xxx put trunc(item 1 of line i of xxx) into item 1 of line i of xxx put trunc(item 2 of line i of xxx) into item 2 of line i of xxx end repeat replace tab with "," in xxx put xxx end ClipToBezier Now you have a pointList that LiveCode can work with. You can then replace the points in Custom Prop LeoPoints with your own. Michael From m.schonewille at economy-x-talk.com Fri Nov 4 07:00:38 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 4 Nov 2011 12:00:38 +0100 Subject: ANN: Installer Maker 1.7b03 In-Reply-To: <5128E0B6-EA0D-4CDF-B115-AD95D3AD75B4@economy-x-talk.com> References: <5128E0B6-EA0D-4CDF-B115-AD95D3AD75B4@economy-x-talk.com> Message-ID: <2CDE5EFD-194E-441E-8337-74ECE40CF576@economy-x-talk.com> Hi guys, I'd like to let you know that another new beta version of Installer Maker has been released. Hopefully adding items to the OSX dock works this time. More information and downloads can be found at http://qery.us/za -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/16r Start selling Color Converter today. 20% commission! > From dev at digifilm.com Thu Nov 3 12:52:15 2011 From: dev at digifilm.com (ddas) Date: Thu, 3 Nov 2011 12:52:15 -0400 Subject: test: mail-not-getting-through In-Reply-To: <565ADB89-D9D2-4DFB-B47C-8D3A108FAD4D@gmail.com> References: <0E398A18-B0AF-493E-836A-4945D1CBD9F4@doub.com> <135294027562.20111102183147@ahsoftware.net> <2B1D2680-C73A-4D4F-A46F-A883C2B28A51@digifilm.com> <565ADB89-D9D2-4DFB-B47C-8D3A108FAD4D@gmail.com> Message-ID: <2A4D0DBB-5997-4C7B-AE1E-71A87A83A682@digifilm.com> From bvg at mac.com Fri Nov 4 07:12:36 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 04 Nov 2011 12:12:36 +0100 Subject: [ANN] LiveCode.tv event #42 Message-ID: <06657F54-4878-4443-ABDD-39CAF8BFD689@mac.com> (resent, didn't arrive yesterday night) This Saturday, Mark will present his Installer Maker, because he just released a fresh beta version. Join the event and get a big discount on this invaluable tool. More info about Installer Maker: http://www3.economy-x-talk.com/file.php?node=installer-maker Have your own tool? Present it during the event: http://livecode.tv/participate/ Join ChatRev to watch live at 20:00 CET on Saturday, 5th November. Download a standalone from http://bjoernke.com/chatrev/ or enter in the message box: go stack URL ?http://bjoernke.com/chatrev/chatrev1.3b3.rev? Berlin Sat 20:00 New York Sat 15:00 Los Angeles Sat 12:00 Sydney Sun 06:00 Hong Kong Sun 03:00 See you then :) Bj?rnke -- Watch live presentations every Saturday: http://livecode.tv Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From johnb at hvc.rr.com Thu Nov 3 13:46:36 2011 From: johnb at hvc.rr.com (John Brozycki) Date: Thu, 3 Nov 2011 13:46:36 -0400 Subject: Automatic object resizing on card changes Message-ID: <89D28BB7-7F1D-4E33-95C2-7CD159E31ED8@hvc.rr.com> Hello, Given a resizable stack with, say, two cards that both have objects that have their geometry set to scale on resize (like a text field) what is the best way to get objects on card 2 to automatically resize when card one is resized and then a button is selected to go to card 2? It doesn't do this automatically- you have to resize the second card. Make the second card much larger than the first was, and when you go back the objects on the first card are all off. With each card, you have to manually resize for the objects to adjust properly. Shouldn't this happen automatically when you configure the geometry settings? I've tried using revWChangeWindowSize on my button to the next card, but it doesn't appear to do anything for object sizing. Sorry if this is a basic question, but I can't find how to do this. Much thanks, John From benr_mc at cogapp.com Thu Nov 3 19:04:01 2011 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 03 Nov 2011 23:04:01 +0000 Subject: Access contacts on iOS? Message-ID: <4EB31DE1.2050509@cogapp.com> I can't see any reference to this in the documentation - but that includes a reference to the fact that it isn't implemented. (There is a keyboard type named "contact", identified as "the phone contact pad keyboard" - I couldn't see anything special about it.) Does anyone know if there's any way to access the Contacts on iOS? Many thanks, Ben From devin_asay at byu.edu Thu Nov 3 10:18:43 2011 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 3 Nov 2011 14:18:43 +0000 Subject: text size and HTMLtext In-Reply-To: References: Message-ID: <5E1F1F51-58DE-406C-BC68-E31576716B1B@byu.edu> Hi ?? ?, You will have to set the text size of the text chunks inside the field, rather than the field itself. It can be a little tricky. You can try: set the textSize of line 1 of fld "ja" to nn Or you can try modifying the htmlText of the field: replace "size=" & quote & nn in fld "ja" with "size=" & quote & xx You have to experiment a little bit, but you can make it work. I did it a couple of years ago with a project that required Chinese text. Hope this helps. Devin On Nov 3, 2011, at 1:51 AM, ?? ? wrote: > Hi, > > I have a question about text size and HTMLtext. > > I want to use Japanese text in my LiveCode stacks. > I can input Japanese text to a field by only using HTMLtext. > > But, I don't change text size of Japanese font size. > English font can change. > > Here is my sample script. > > on mouseUp > repeat with i=10 to 48 > set the textsize of fld "ja" to i > set the textsize of fld "en" to i > wait 10 ticks > put i into msg > end repeat > end mouseUp > > I need your help. > > _.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ > Takashi Yoshino > http://www.wakayama-u.ac.jp/~yoshino/lab/ > Tel: +81-73-457-8441 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 pete at mollysrevenge.com Thu Nov 3 13:20:32 2011 From: pete at mollysrevenge.com (Pete) Date: Thu, 3 Nov 2011 10:20:32 -0700 Subject: [OT] Excessive Wireless Traffic from iPhone running iOS5 Message-ID: A couple of weeks ago, I noticed an occasional huge slowdown in internet access from home. Whenever this occurred, it was obvious from the lights on my wireless router that a huge amount of wireless traffic was happening. In true old-fashioned trouble shooting mode, I tried to figure out what might have changed in any computer setups in my home. The only thing that I could come up with was that my wife upgraded her iPhone to ios5 round about the time this started happening. >From the circumstances, I believe this is happening when the iPhone is syncing wirelessly with iTunes on my wife's Mac laptop. That only happens over WiFi and when the phone is charging, both of which are the case when this wireless traffic problem occurs. I verified this by switching off WiFi on the iuPhone last time this happened and sure enough, the wireless traffic stopped. Have any of you iPhone users experienced anything similar to this? Obviously there has to be WiFi traffic for the iPhone to sync, but there isn't that much data on my wife's iPhone so I'm not understanding the extreme wireless activity. Meantime my Android phone has been wireless syncing perfectly for months..... Pete Molly's Revenge From bvg at mac.com Fri Nov 4 07:42:02 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 04 Nov 2011 12:42:02 +0100 Subject: Automatic object resizing on card changes In-Reply-To: <89D28BB7-7F1D-4E33-95C2-7CD159E31ED8@hvc.rr.com> References: <89D28BB7-7F1D-4E33-95C2-7CD159E31ED8@hvc.rr.com> Message-ID: on opencard revUpdateGeometry end opencard Note: it is generally saver to write your own resize handlers. The geometry manger will sooner or later mess up, and strew your objects into random locations (negative or huge numbers, offscreen, huge mess!). I suggest to instead write your own resize code. That is a bit more upfront, but at least you know what goes wrong when it doesn't look as it should. For example: --in the card script on openCard resizeStack the width of this card, the height of this card end openCard --resizeStack is a built in handler --it also happens when the user uses the OS-given resize capabilities of a window on resizeStack theWidth theHeight set the rect of field "example" to 0,64,theWidth,theHeight --fills whole card, leaves space for controls at top set the right of button "example" to (theWidth - 16) -- right align a button end resizeStack On 3 Nov 2011, at 18:46, John Brozycki wrote: > Hello, > > Given a resizable stack with, say, two cards that both have objects that have their geometry set to scale on resize (like a text field) what is the best way to get objects on card 2 to automatically resize when card one is resized and then a button is selected to go to card 2? It doesn't do this automatically- you have to resize the second card. Make the second card much larger than the first was, and when you go back the objects on the first card are all off. With each card, you have to manually resize for the objects to adjust properly. Shouldn't this happen automatically when you configure the geometry settings? I've tried using revWChangeWindowSize on my button to the next card, but it doesn't appear to do anything for object sizing. Sorry if this is a basic question, but I can't find how to do this. > > Much thanks, > John > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Watch live presentations every Saturday: http://livecode.tv Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From m.schonewille at economy-x-talk.com Fri Nov 4 07:44:26 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 4 Nov 2011 12:44:26 +0100 Subject: Automatic object resizing on card changes In-Reply-To: <89D28BB7-7F1D-4E33-95C2-7CD159E31ED8@hvc.rr.com> References: <89D28BB7-7F1D-4E33-95C2-7CD159E31ED8@hvc.rr.com> Message-ID: <5C08EBD4-BEC4-4409-B783-90E9016F14A6@economy-x-talk.com> Hi John, This really depends on the situation. Here's a very simple example: on resizeStack put the rect if this cd into myRect add 16 to item 1 of myRect add 16 to item 2 of myRect subtract 16 from item 3 of myRect subtract 16 from item 4 of myRect set the rect of fld 1 to myRect end resizeStack By setting object sizes and positions relative to the card rect, you avoid many problems. If e.g. you calculate the new points based on the current points relative to the card rect, your objects will slowly change location: // wrong on resizeStack theOldW,theOldH,theNewW,theNewH put the loc of fld 1 into myLoc put item 1 of fld myLoc / theOldW into myRatio put myRatio * theNewW & comma & item 2 of myLoc into myNewLoc set the loc of fld 1 to myNewLoc end resizeStack The script above will eventually round off the loc of the object and the location may be off by one pixel. Instead, try to find a way to set the location directly: // correct on resizeStack set the loc of fld 1 to item 1 of the loc of this cd & comma & item 2 of the loc of fld 1 end resizeStack The second (quite obvious) approach will never cause rounding problems. Btw, the second and third script change the location of a field horizontally, relative to the right side of a card, keeping the field horizontally centered. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/16r Start selling Color Converter today. 20% commission! On 3 nov 2011, at 18:46, John Brozycki wrote: > Hello, > > Given a resizable stack with, say, two cards that both have objects that have their geometry set to scale on resize (like a text field) what is the best way to get objects on card 2 to automatically resize when card one is resized and then a button is selected to go to card 2? It doesn't do this automatically- you have to resize the second card. Make the second card much larger than the first was, and when you go back the objects on the first card are all off. With each card, you have to manually resize for the objects to adjust properly. Shouldn't this happen automatically when you configure the geometry settings? I've tried using revWChangeWindowSize on my button to the next card, but it doesn't appear to do anything for object sizing. Sorry if this is a basic question, but I can't find how to do this. > > Much thanks, > John > From dev at digifilm.com Thu Nov 3 10:50:29 2011 From: dev at digifilm.com (ddas) Date: Thu, 3 Nov 2011 10:50:29 -0400 Subject: available space iOS In-Reply-To: <565ADB89-D9D2-4DFB-B47C-8D3A108FAD4D@gmail.com> References: <0E398A18-B0AF-493E-836A-4945D1CBD9F4@doub.com> <135294027562.20111102183147@ahsoftware.net> <2B1D2680-C73A-4D4F-A46F-A883C2B28A51@digifilm.com> <565ADB89-D9D2-4DFB-B47C-8D3A108FAD4D@gmail.com> Message-ID: <944C0DF3-AD07-417A-A891-545900F8BE93@digifilm.com> Thanks Gerry. I'd put this down as request for Livecode iOS. Thanks, Debdoot On Nov 3, 2011, at 2:00 AM, Gerry Orkin wrote: > I don't think we can... > > g > > > On 03/11/2011, at 2:25 PM, ddas wrote: > >> How do I check for available space on iOS? >> >> Regards, >> Debdoot >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Thu Nov 3 16:39:17 2011 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 3 Nov 2011 21:39:17 +0100 Subject: is the list down? Message-ID: <44C00DB4-90F1-4974-9C34-36D8EAF9187A@m-r-d.de> Just a test to see if the list is working. So please exuce, but no new e-mails from the list for about 10 hrs? Matthias From stephenREVOLUTION2 at barncard.com Thu Nov 3 16:26:00 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 3 Nov 2011 13:26:00 -0700 Subject: Nice Leonardo da Vinci Bezier, just a click away In-Reply-To: References: <61933CB0-7E32-4784-B953-C026F1CD1651@dsa-net.dk> <9EA509EA-1238-4196-B0A1-EC1E9748ABD7@numericable.com> Message-ID: Answering my own dumb question: on deleteAllGrcs put the number of grcs in cd 1 of stack "leo" into ngcs repeat with n = ngcs down to 1 delete grc n of cd 1 of stack "leo" end repeat end deleteAllGrcs the "down to" form is used in the loop is as I am using "the number of" to determine the existing grcs in a container (is there any other way?) and "the number of" order would change every time the first item is deleted.. On 3 November 2011 12:00, stephen barncard wrote: > I mean besides keeping track of all the grc's ids and deleting them one by > one - i guess not. > > > On 3 November 2011 11:19, stephen barncard < > stephenREVOLUTION2 at barncard.com> wrote: > >> this is a cool demonstration of points in Livecode. >> >> One question - how does one *clear* the window of the bezier drawing? >> >> >> On 3 November 2011 04:16, Ren? Micout wrote: >> >>> YES !!! >>> A 1200 x 1200 window is necessary >>> Bon souvenir de Paris >>> Ren? >>> >>> Le 3 nov. 2011 ? 11:25, Michael Kristensen a ?crit : >>> >>> > Hi there >>> > >>> > Here is a nice Leonardo da Vinci Bezier, just a click away >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 > > -- Stephen Barncard San Francisco Ca. USA more about sqb From pmbrig at gmail.com Fri Nov 4 08:51:17 2011 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Fri, 4 Nov 2011 08:51:17 -0400 Subject: Nice Leonardo da Vinci Bezier, just a click away In-Reply-To: References: <61933CB0-7E32-4784-B953-C026F1CD1651@dsa-net.dk> <9EA509EA-1238-4196-B0A1-EC1E9748ABD7@numericable.com> Message-ID: On Nov 3, 2011, at 4:26 PM, stephen barncard wrote: > Answering my own dumb question: > > on deleteAllGrcs > > put the number of grcs in cd 1 of stack "leo" into ngcs > > repeat with n = ngcs down to 1 > > delete grc n of cd 1 of stack "leo" > > end repeat > > end deleteAllGrcs > > > the "down to" form is used in the loop is as I am using "the number of" to > determine the existing grcs in a container (is there any other way?) and > "the number of" order would change every time the first item is deleted.. ...or just: on deleteAllGrcs put the number of grcs in cd 1 of stack "leo" into nbrGrcs repeat nbrGrcs times delete grc 1 of cd 1 of stack "leo" end repeat end deleteAllGrcs -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From revlist at azurevision.co.uk Fri Nov 4 09:09:13 2011 From: revlist at azurevision.co.uk (Ian Wood) Date: Fri, 4 Nov 2011 13:09:13 +0000 Subject: [OT] Excessive Wireless Traffic from iPhone running iOS5 In-Reply-To: References: Message-ID: <7ABDA0F7-0EFD-464E-87C9-5D4C92A9E5D7@azurevision.co.uk> Synving wirelessly to her Mac or syncing wirelessly to iCloud? iOS5 devices only sync to iCloud when on WIFI so turning of WIFI would give exactly the effect you saw. Ian On 3 Nov 2011, at 17:20, Pete wrote: > A couple of weeks ago, I noticed an occasional huge slowdown in internet > access from home. Whenever this occurred, it was obvious from the lights > on my wireless router that a huge amount of wireless traffic was happening. > > In true old-fashioned trouble shooting mode, I tried to figure out what > might have changed in any computer setups in my home. The only thing that > I could come up with was that my wife upgraded her iPhone to ios5 round > about the time this started happening. > > From the circumstances, I believe this is happening when the iPhone is > syncing wirelessly with iTunes on my wife's Mac laptop. That only happens > over WiFi and when the phone is charging, both of which are the case when > this wireless traffic problem occurs. I verified this by switching off > WiFi on the iuPhone last time this happened and sure enough, the wireless > traffic stopped. > > Have any of you iPhone users experienced anything similar to this? > Obviously there has to be WiFi traffic for the iPhone to sync, but there > isn't that much data on my wife's iPhone so I'm not understanding the > extreme wireless activity. > > Meantime my Android phone has been wireless syncing perfectly for > months..... > > 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 stephenREVOLUTION2 at barncard.com Thu Nov 3 14:19:58 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 3 Nov 2011 11:19:58 -0700 Subject: Nice Leonardo da Vinci Bezier, just a click away In-Reply-To: <9EA509EA-1238-4196-B0A1-EC1E9748ABD7@numericable.com> References: <61933CB0-7E32-4784-B953-C026F1CD1651@dsa-net.dk> <9EA509EA-1238-4196-B0A1-EC1E9748ABD7@numericable.com> Message-ID: this is a cool demonstration of points in Livecode. One question - how does one *clear* the window of the bezier drawing? On 3 November 2011 04:16, Ren? Micout wrote: > YES !!! > A 1200 x 1200 window is necessary > Bon souvenir de Paris > Ren? > > Le 3 nov. 2011 ? 11:25, Michael Kristensen a ?crit : > > > Hi there > > > > Here is a nice Leonardo da Vinci Bezier, just a click away > > _______________________________________________ > use-livecode mailing list > use-livecode 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 coiin at verizon.net Thu Nov 3 21:00:36 2011 From: coiin at verizon.net (Colin Holgate) Date: Thu, 03 Nov 2011 21:00:36 -0400 Subject: looking for a co-presenter... Message-ID: On November 12th I'm going to present at the weekly Live LiveCode Code meeting, showing off Director. When I showed Unity and Flash I had a co-presenter who showed LiveCode doing some of the features those other tools are known for. Those meetings went well. For a partner to show LiveCode doing Director's string points, I was hoping to find someone who can show LiveCode handling some of the media types that Director can handle. Some are easy enough, others are not. Here are the media types Director can play, that LiveCode isn't known for handling: Custom color palettes. Byte Arrays Flash movies 3D RealMedia Windows Media MP4 FLV F4V Fonts DVD-Video Animated GIFs There are several other things it handles, but that LiveCode can also use. So, would anyone be interested in trying to show LiveCode using any of those kinds of media? Thanks. From pmbrig at gmail.com Fri Nov 4 10:04:59 2011 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Fri, 4 Nov 2011 10:04:59 -0400 Subject: needs saving Message-ID: <8E23F9DE-2453-48A7-B041-2BBD86FF7988@gmail.com> Anyone know what the IDE uses to decide whether to ask about saving a stack when it closes? I'm trying to implement a "markDirty" routine for the Mac. I have a frontscript that catches (then passes) closefield and sets the modifiedMark of the stack, but that won't catch field contents modified by script, or changed customprops, etc, unless I comb through over 30,000 lines of code to find all the places where I change the contents of the stack, and insert a "markDirty" command. If I could intercept whatever message the IDE uses for this it would simplify things immensely. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From pmbrig at gmail.com Fri Nov 4 10:09:08 2011 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Fri, 4 Nov 2011 10:09:08 -0400 Subject: is the list down? In-Reply-To: <44C00DB4-90F1-4974-9C34-36D8EAF9187A@m-r-d.de> References: <44C00DB4-90F1-4974-9C34-36D8EAF9187A@m-r-d.de> Message-ID: <7015E4D1-6301-4456-8446-66A6A3E3EEA2@gmail.com> On Nov 3, 2011, at 4:39 PM, Matthias Rebbe wrote: > Just a test to see if the list is working. So please exuce, but no new e-mails from the list for about 10 hrs? I'm evidently missing messages that were supposedly sent out -- got Stephen Barncard's reply to his own message but never got his original question about clearing graphics out. The listserver seems to be stuttering.... -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From m.schonewille at economy-x-talk.com Fri Nov 4 10:09:15 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 4 Nov 2011 15:09:15 +0100 Subject: looking for a co-presenter... In-Reply-To: References: Message-ID: <747861A6-BAC4-4B17-86F4-2AF8E0439F73@economy-x-talk.com> Hi Colin, I think playing those media types in LiveCode is a big PITA. MP4 can be played with QT. Some others in the browser plugin, if some requirements are met. If your main goal is to display different media types, rather than user interaction, text manipulation, database querying etc, then Director probably has a big advantage over LiveCode. Maybe that's why it is difficult to find a co-presenter? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/16r Start selling Color Converter today. 20% commission! On 4 nov 2011, at 02:00, Colin Holgate wrote: > On November 12th I'm going to present at the weekly Live LiveCode Code meeting, showing off Director. When I showed Unity and Flash I had a co-presenter who showed LiveCode doing some of the features those other tools are known for. Those meetings went well. > > For a partner to show LiveCode doing Director's string points, I was hoping to find someone who can show LiveCode handling some of the media types that Director can handle. Some are easy enough, others are not. Here are the media types Director can play, that LiveCode isn't known for handling: > > Custom color palettes. > Byte Arrays > Flash movies > 3D > RealMedia > Windows Media > MP4 > FLV > F4V > Fonts > DVD-Video > Animated GIFs > > There are several other things it handles, but that LiveCode can also use. > > So, would anyone be interested in trying to show LiveCode using any of those kinds of media? > > Thanks. From m.schonewille at economy-x-talk.com Fri Nov 4 10:16:56 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 4 Nov 2011 15:16:56 +0100 Subject: needs saving In-Reply-To: <8E23F9DE-2453-48A7-B041-2BBD86FF7988@gmail.com> References: <8E23F9DE-2453-48A7-B041-2BBD86FF7988@gmail.com> Message-ID: Hi Peter, As soon as a field gets focused, revolution puts "edited" into gRevStackStatus[short name of this stack]. That's a very bad trick and means that your stack is almost always "edited". A much better way is to calculate the hash of relevant data and compare this with a new hash value. If the two hash values are different, then you need to set the dirty flag. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/16r Start selling Color Converter today. 20% commission! On 4 nov 2011, at 15:04, Peter M. Brigham, MD wrote: > Anyone know what the IDE uses to decide whether to ask about saving a stack when it closes? I'm trying to implement a "markDirty" routine for the Mac. I have a frontscript that catches (then passes) closefield and sets the modifiedMark of the stack, but that won't catch field contents modified by script, or changed customprops, etc, unless I comb through over 30,000 lines of code to find all the places where I change the contents of the stack, and insert a "markDirty" command. If I could intercept whatever message the IDE uses for this it would simplify things immensely. > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig From dunbarx at aol.com Fri Nov 4 10:20:29 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 4 Nov 2011 10:20:29 -0400 (EDT) Subject: needs saving In-Reply-To: <8E23F9DE-2453-48A7-B041-2BBD86FF7988@gmail.com> References: <8E23F9DE-2453-48A7-B041-2BBD86FF7988@gmail.com> Message-ID: <8CE69140A06C382-197C-F0C73@webmail-m047.sysops.aol.com> Peter. Does the "saveStackRequest" help" Craig Newman -----Original Message----- From: Peter M. Brigham, MD To: How to use LiveCode Sent: Fri, Nov 4, 2011 6:07 am Subject: needs saving Anyone know what the IDE uses to decide whether to ask about saving a stack when it closes? I'm trying to implement a "markDirty" routine for the Mac. I have a frontscript that catches (then passes) closefield and sets the modifiedMark of the stack, but that won't catch field contents modified by script, or changed customprops, etc, unless I comb through over 30,000 lines of code to find all the places where I change the contents of the stack, and insert a "markDirty" command. If I could intercept whatever message the IDE uses for this it would simplify things immensely. -- 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 capellan2000 at gmail.com Fri Nov 4 10:20:49 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 4 Nov 2011 07:20:49 -0700 (PDT) Subject: Nice Leonardo da Vinci Bezier, just a click away In-Reply-To: <61933CB0-7E32-4784-B953-C026F1CD1651@dsa-net.dk> References: <61933CB0-7E32-4784-B953-C026F1CD1651@dsa-net.dk> Message-ID: <1320416449915-3990239.post@n4.nabble.com> Hi Michael, Really nice script! :-D You will find interesting too these experiments with vector graphics: http://www.jamesphurley.com/jhurleyFolder/BezierLine.rev http://andregarzia.on-rev.com/alejandro/stacks/newPentoolScript_v02.zip Keep Up your great work! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Nice-Leonardo-da-Vinci-Bezier-just-a-click-away-tp3984964p3990239.html Sent from the Revolution - User mailing list archive at Nabble.com. From klaus at major.on-rev.com Thu Nov 3 08:06:33 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Thu, 3 Nov 2011 13:06:33 +0100 Subject: Still server problems with forum? Message-ID: Hi friends, I am getting this for the last hour in the LiveCode forum: ############################## Not Found The requested URL /phpBB2/index.php was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at forums.runrev.com Port 80 ############################### Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From pmbrig at gmail.com Fri Nov 4 11:02:28 2011 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Fri, 4 Nov 2011 11:02:28 -0400 Subject: needs saving In-Reply-To: References: <8E23F9DE-2453-48A7-B041-2BBD86FF7988@gmail.com> Message-ID: Right. Then I have to figure out what to hash, which is do-able. But it doesn't answer the most important question: I need to trap a general message to trigger this so as to set the dirty flag on the window. I suppose the backup plan would be a send-in-time handler to check the hash periodically -- this means the hashing test would have to be very fast so as not to interrupt user input perceptibly. To be really complete, I'd probably want to get the hash of the whole stack, but I can't find a way to do that. The sha1digest() and md5digest() functions both expect a string input. I'd hate to have to script a concatenation of all fields and customprops, and I'd have to comb through a bunch of scripts to make sure that that would capture all the possible changes a user could make anyway. Even if I solve those problems, I'm still looking for a message to trigger the thing, though. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Nov 4, 2011, at 10:16 AM, Mark Schonewille wrote: > Hi Peter, > > As soon as a field gets focused, revolution puts "edited" into gRevStackStatus[short name of this stack]. That's a very bad trick and means that your stack is almost always "edited". > > A much better way is to calculate the hash of relevant data and compare this with a new hash value. If the two hash values are different, then you need to set the dirty flag. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Become our partner in sales http://qery.us/16r Start selling Color Converter today. 20% commission! > > On 4 nov 2011, at 15:04, Peter M. Brigham, MD wrote: > >> Anyone know what the IDE uses to decide whether to ask about saving a stack when it closes? I'm trying to implement a "markDirty" routine for the Mac. I have a frontscript that catches (then passes) closefield and sets the modifiedMark of the stack, but that won't catch field contents modified by script, or changed customprops, etc, unless I comb through over 30,000 lines of code to find all the places where I change the contents of the stack, and insert a "markDirty" command. If I could intercept whatever message the IDE uses for this it would simplify things immensely. >> >> -- 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 johnb at hvc.rr.com Fri Nov 4 11:07:04 2011 From: johnb at hvc.rr.com (John Brozycki) Date: Fri, 4 Nov 2011 11:07:04 -0400 Subject: Automatic object resizing on card changes In-Reply-To: <5C08EBD4-BEC4-4409-B783-90E9016F14A6@economy-x-talk.com> References: <89D28BB7-7F1D-4E33-95C2-7CD159E31ED8@hvc.rr.com> <5C08EBD4-BEC4-4409-B783-90E9016F14A6@economy-x-talk.com> Message-ID: <547E6128-38DF-443B-A754-27D40AEF2D4A@hvc.rr.com> A big thanks to BvG and Mark for your replies. Not only did BvG provide the "quick and dirty" answer: on opencard revUpdateGeometry end opencard ...but both BvG and Mark provided sample code code for handling resizing on your own. Thanks! I really appreciate it, guys! -John On Nov 4, 2011, at 7:44 AM, Mark Schonewille wrote: > Hi John, > > This really depends on the situation. Here's a very simple example: > > on resizeStack > put the rect if this cd into myRect > add 16 to item 1 of myRect > add 16 to item 2 of myRect > subtract 16 from item 3 of myRect > subtract 16 from item 4 of myRect > set the rect of fld 1 to myRect > end resizeStack > > By setting object sizes and positions relative to the card rect, you avoid many problems. If e.g. you calculate the new points based on the current points relative to the card rect, your objects will slowly change location: > > // wrong > on resizeStack theOldW,theOldH,theNewW,theNewH > put the loc of fld 1 into myLoc > put item 1 of fld myLoc / theOldW into myRatio > put myRatio * theNewW & comma & item 2 of myLoc into myNewLoc > set the loc of fld 1 to myNewLoc > end resizeStack > > The script above will eventually round off the loc of the object and the location may be off by one pixel. Instead, try to find a way to set the location directly: > > // correct > on resizeStack > set the loc of fld 1 to item 1 of the loc of this cd & comma & item 2 of the loc of fld 1 > end resizeStack > > The second (quite obvious) approach will never cause rounding problems. Btw, the second and third script change the location of a field horizontally, relative to the right side of a card, keeping the field horizontally centered. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Become our partner in sales http://qery.us/16r Start selling Color Converter today. 20% commission! > > On 3 nov 2011, at 18:46, John Brozycki wrote: > >> Hello, >> >> Given a resizable stack with, say, two cards that both have objects that have their geometry set to scale on resize (like a text field) what is the best way to get objects on card 2 to automatically resize when card one is resized and then a button is selected to go to card 2? It doesn't do this automatically- you have to resize the second card. Make the second card much larger than the first was, and when you go back the objects on the first card are all off. With each card, you have to manually resize for the objects to adjust properly. Shouldn't this happen automatically when you configure the geometry settings? I've tried using revWChangeWindowSize on my button to the next card, but it doesn't appear to do anything for object sizing. Sorry if this is a basic question, but I can't find how to do this. >> >> Much thanks, >> John >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pmbrig at gmail.com Fri Nov 4 11:04:13 2011 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Fri, 4 Nov 2011 11:04:13 -0400 Subject: needs saving In-Reply-To: <8CE69140A06C382-197C-F0C73@webmail-m047.sysops.aol.com> References: <8E23F9DE-2453-48A7-B041-2BBD86FF7988@gmail.com> <8CE69140A06C382-197C-F0C73@webmail-m047.sysops.aol.com> Message-ID: <509C5AAB-4AF7-4047-B39E-57590AB03CF7@gmail.com> Not so much, as it only gets triggered when closing the stack, and I want to set the dirty flag immediately when the user changes some content. Or as immediately as possible. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Nov 4, 2011, at 10:20 AM, dunbarx at aol.com wrote: > Peter. > > Does the "saveStackRequest" help" > > -----Original Message----- > > Anyone know what the IDE uses to decide whether to ask about saving a stack when > it closes? I'm trying to implement a "markDirty" routine for the Mac. I have a > frontscript that catches (then passes) closefield and sets the modifiedMark of > the stack, but that won't catch field contents modified by script, or changed > customprops, etc, unless I comb through over 30,000 lines of code to find all > the places where I change the contents of the stack, and insert a "markDirty" > command. If I could intercept whatever message the IDE uses for this it would > simplify things immensely. > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig From mpezzo at gmail.com Thu Nov 3 12:29:59 2011 From: mpezzo at gmail.com (AcidJazz) Date: Thu, 3 Nov 2011 09:29:59 -0700 (PDT) Subject: Nice Leonardo da Vinci Bezier, just a click away In-Reply-To: <61933CB0-7E32-4784-B953-C026F1CD1651@dsa-net.dk> References: <61933CB0-7E32-4784-B953-C026F1CD1651@dsa-net.dk> Message-ID: <1320337799267-3986625.post@n4.nabble.com> Hi. Can you tell me (briefly) how to get those points into a customproperty? The lessons.runrev.com site is down. I've got the property window open, and it was easy to create a new property called LeoPoints, but I'm not sure how to get the actual points into that new property. I expected a button in the property window called "edit" and I'd just paste them in, but apparently not... Thanks, Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Nice-Leonardo-da-Vinci-Bezier-just-a-click-away-tp3984964p3986625.html Sent from the Revolution - User mailing list archive at Nabble.com. From devin_asay at byu.edu Fri Nov 4 11:55:15 2011 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 4 Nov 2011 15:55:15 +0000 Subject: Nice Leonardo da Vinci Bezier, just a click away In-Reply-To: <1320337799267-3986625.post@n4.nabble.com> References: <61933CB0-7E32-4784-B953-C026F1CD1651@dsa-net.dk> <1320337799267-3986625.post@n4.nabble.com> Message-ID: Mark, Just select the new custom property, click in the field at the bottom, and paste. That's it. Alternatively, paste the points into a field, then use the message box: set the leoPoints of btn "leoButton" to field "thefieldwiththepoints" Devin On Nov 3, 2011, at 10:29 AM, AcidJazz wrote: > Hi. Can you tell me (briefly) how to get those points into a customproperty? > The lessons.runrev.com site is down. I've got the property window open, and > it was easy to create a new property called LeoPoints, but I'm not sure how > to get the actual points into that new property. I expected a button in the > property window called "edit" and I'd just paste them in, but apparently > not... > > Thanks, > Mark > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Nice-Leonardo-da-Vinci-Bezier-just-a-click-away-tp3984964p3986625.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 Devin Asay Humanities Technology and Research Support Center Brigham Young University From coiin at verizon.net Fri Nov 4 11:57:39 2011 From: coiin at verizon.net (Colin Holgate) Date: Fri, 04 Nov 2011 11:57:39 -0400 Subject: looking for a co-presenter... In-Reply-To: <747861A6-BAC4-4B17-86F4-2AF8E0439F73@economy-x-talk.com> References: <747861A6-BAC4-4B17-86F4-2AF8E0439F73@economy-x-talk.com> Message-ID: What Mark says is basically right, and I did think of simplifying the demands. Would someone be willing to show scripting and examples of using QuickTime to handle a range of these media types? And also RevBrowser to handle almost any content (which could include Flash, Director, and Unity files)? From index at kenjikojima.com Thu Nov 3 08:11:42 2011 From: index at kenjikojima.com (Kenji Kojima) Date: Thu, 3 Nov 2011 08:11:42 -0400 Subject: text size and HTMLtext In-Reply-To: References: Message-ID: Hi Yoshino san, on mouseUp put the unicodeText of fld 1 into jText repeat with i=10 to 48 set the textsize of fld "ja" to i set the unicodeText of fld "ja" to jText set the textsize of fld "en" to i wait 10 ticks put i into msg end repeat end mouseUp -- Kenji Kojima / ???? http://www.kenjikojima.com/ On Nov 3, 2011, at 3:51 AM, ?? ? wrote: > Hi, > > I have a question about text size and HTMLtext. > > I want to use Japanese text in my LiveCode stacks. > I can input Japanese text to a field by only using HTMLtext. > > But, I don't change text size of Japanese font size. > English font can change. > > Here is my sample script. > > on mouseUp > repeat with i=10 to 48 > set the textsize of fld "ja" to i > set the textsize of fld "en" to i > wait 10 ticks > put i into msg > end repeat > end mouseUp > > I need your help. > > _.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ > Takashi Yoshino > http://www.wakayama-u.ac.jp/~yoshino/lab/ > Tel: +81-73-457-8441 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From index at kenjikojima.com Thu Nov 3 08:26:24 2011 From: index at kenjikojima.com (Kenji Kojima) Date: Thu, 3 Nov 2011 08:26:24 -0400 Subject: text size and HTMLtext In-Reply-To: References: Message-ID: Hi ???? Correction: The first line has to be put the unicodeText of fld "ja" into jText -- Kenji Kojima / ???? http://www.kenjikojima.com/ On Nov 3, 2011, at 8:11 AM, Kenji Kojima wrote: > Hi Yoshino san, > > on mouseUp > put the unicodeText of fld 1 into jText > repeat with i=10 to 48 > set the textsize of fld "ja" to i > set the unicodeText of fld "ja" to jText > set the textsize of fld "en" to i > wait 10 ticks > put i into msg > end repeat > end mouseUp > > -- > Kenji Kojima / ???? > http://www.kenjikojima.com/ > > > > > > On Nov 3, 2011, at 3:51 AM, ?? ? wrote: > >> Hi, >> >> I have a question about text size and HTMLtext. >> >> I want to use Japanese text in my LiveCode stacks. >> I can input Japanese text to a field by only using HTMLtext. >> >> But, I don't change text size of Japanese font size. >> English font can change. >> >> Here is my sample script. >> >> on mouseUp >> repeat with i=10 to 48 >> set the textsize of fld "ja" to i >> set the textsize of fld "en" to i >> wait 10 ticks >> put i into msg >> end repeat >> end mouseUp >> >> I need your help. >> >> _.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ >> Takashi Yoshino >> http://www.wakayama-u.ac.jp/~yoshino/lab/ >> Tel: +81-73-457-8441 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 Nov 4 12:33:29 2011 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 4 Nov 2011 16:33:29 +0000 Subject: text size and HTMLtext In-Reply-To: References: Message-ID: <626A6710-65E4-44F8-8505-8D233B6A38E6@byu.edu> Hi ?? ?, Rule 1 when doing Japanese unicode in LiveCode--always listen to Kenji! Here's my own take: You will have to set the text size of the text chunks inside the field, rather than the field itself. It can be a little tricky. You can try: set the textSize of line 1 of fld "ja" to nn Or you can try modifying the htmlText of the field: replace "size=" & quote & nn in fld "ja" with "size=" & quote & xx You have to experiment a little bit, but you can make it work. I did it a couple of years ago with a project that required Chinese text. Hope this helps. Devin On Nov 3, 2011, at 1:51 AM, ?? ? wrote: > Hi, > > I have a question about text size and HTMLtext. > > I want to use Japanese text in my LiveCode stacks. > I can input Japanese text to a field by only using HTMLtext. > > But, I don't change text size of Japanese font size. > English font can change. > > Here is my sample script. > > on mouseUp > repeat with i=10 to 48 > set the textsize of fld "ja" to i > set the textsize of fld "en" to i > wait 10 ticks > put i into msg > end repeat > end mouseUp > > I need your help. > > _.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ > Takashi Yoshino > http://www.wakayama-u.ac.jp/~yoshino/lab/ > Tel: +81-73-457-8441 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 michael-kristensen at dsa-net.dk Fri Nov 4 12:41:00 2011 From: michael-kristensen at dsa-net.dk (Michael Kristensen) Date: Fri, 4 Nov 2011 17:41:00 +0100 Subject: Nice Leonardo da Vinci Bezier, just a click away In-Reply-To: References: Message-ID: <6EEA7828-8C52-478A-8EED-F8DE611BFFEA@dsa-net.dk> on mouseUp lock screen repeat with i = 4 down to 1 delete grc i end repeat end mouseUp Michael Den 04/11/2011 kl. 16.55 skrev use-livecode-request at lists.runrev.com: > > > this is a cool demonstration of points in Livecode. > > One question - how does one *clear* the window of the bezier drawing? From dev at digifilm.com Thu Nov 3 12:31:37 2011 From: dev at digifilm.com (ddas) Date: Thu, 3 Nov 2011 12:31:37 -0400 Subject: available space iOS In-Reply-To: <565ADB89-D9D2-4DFB-B47C-8D3A108FAD4D@gmail.com> References: <0E398A18-B0AF-493E-836A-4945D1CBD9F4@doub.com> <135294027562.20111102183147@ahsoftware.net> <2B1D2680-C73A-4D4F-A46F-A883C2B28A51@digifilm.com> <565ADB89-D9D2-4DFB-B47C-8D3A108FAD4D@gmail.com> Message-ID: <6902D511-67C5-422A-B69B-53F338569F66@digifilm.com> Thanks Gerry. I'd put this down as request for Livecode iOS. Thanks, Debdoot On Nov 3, 2011, at 2:00 AM, Gerry Orkin wrote: > I don't think we can... > > g > > > On 03/11/2011, at 2:25 PM, ddas wrote: > >> How do I check for available space on iOS? >> >> Regards, >> Debdoot >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From heather at runrev.com Fri Nov 4 12:58:45 2011 From: heather at runrev.com (Heather Nagey) Date: Fri, 4 Nov 2011 16:58:45 +0000 Subject: Still server problems with forum? In-Reply-To: References: Message-ID: Looks ok here - can you try clearing your cache and try again? Regards, Heather On 3 Nov 2011, at 12:06, Klaus on-rev wrote: > Hi friends, > > I am getting this for the last hour in the LiveCode forum: > > ############################## > Not Found > > The requested URL /phpBB2/index.php was not found on this server. > > Additionally, a 404 Not Found error was encountered while trying to > use an ErrorDocument to handle the request. > > Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 > mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 > Server at forums.runrev.com Port 80 > ############################### > > 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 Heather Nagey Customer Services Manager http://www.runrev.com/ LiveCode - Unleash Your Killer App From klaus at major.on-rev.com Fri Nov 4 13:05:39 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Fri, 4 Nov 2011 18:05:39 +0100 Subject: Still server problems with forum? In-Reply-To: References: Message-ID: <1DF82144-4959-48D8-A3B6-AD6FE42E63CA@major.on-rev.com> Hi Heather, Am 04.11.2011 um 17:58 schrieb Heather Nagey: > Looks ok here - can you try clearing your cache and try again? well, hmmm, I sent this mail yesterday at noon: > On 3 Nov 2011, at 12:06, Klaus on-rev wrote: > ... ;-) > Regards, > > Heather Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From andre at andregarzia.com Fri Nov 4 13:42:55 2011 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 4 Nov 2011 15:42:55 -0200 Subject: Externals Enquiry Message-ID: Folks, Since the new external sdk for iOS, I know many here are working on their own externals. Those that wish, could please reply to this email talking briefly about what they are building? I am trying to get a broad picture on the externals that are being built or that are already done. I am not looking for anything, just curious. Cheers andre -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From capellan2000 at gmail.com Fri Nov 4 14:41:22 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 4 Nov 2011 11:41:22 -0700 (PDT) Subject: looking for a co-presenter... In-Reply-To: References: Message-ID: <1320432082249-3991210.post@n4.nabble.com> Reading the description, this person is Ken Ray. :-D Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/looking-for-a-co-presenter-tp3990166p3991210.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacques.clavel at gmail.com Fri Nov 4 17:02:18 2011 From: jacques.clavel at gmail.com (jacques CLAVEL) Date: Fri, 4 Nov 2011 22:02:18 +0100 Subject: [OT] Excessive Wireless Traffic from iPhone running iOS5 In-Reply-To: References: Message-ID: BigBrother is watching you! Your IPhone is sending to Apple the localisation data recorded by your phone the previous days. This happens only when you have WIFI access. Jacques Clavel 2011/11/3 Pete > A couple of weeks ago, I noticed an occasional huge slowdown in internet > access from home. Whenever this occurred, it was obvious from the lights > on my wireless router that a huge amount of wireless traffic was happening. > > In true old-fashioned trouble shooting mode, I tried to figure out what > might have changed in any computer setups in my home. The only thing that > I could come up with was that my wife upgraded her iPhone to ios5 round > about the time this started happening. > > From the circumstances, I believe this is happening when the iPhone is > syncing wirelessly with iTunes on my wife's Mac laptop. That only happens > over WiFi and when the phone is charging, both of which are the case when > this wireless traffic problem occurs. I verified this by switching off > WiFi on the iuPhone last time this happened and sure enough, the wireless > traffic stopped. > > Have any of you iPhone users experienced anything similar to this? > Obviously there has to be WiFi traffic for the iPhone to sync, but there > isn't that much data on my wife's iPhone so I'm not understanding the > extreme wireless activity. > > Meantime my Android phone has been wireless syncing perfectly for > months..... > > 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 matthias_livecode_150811 at m-r-d.de Fri Nov 4 17:31:05 2011 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 4 Nov 2011 22:31:05 +0100 Subject: print to the default printer on windows Message-ID: <6626FCF9-3252-4F4A-A8E4-B328CFA21140@m-r-d.de> Hi, is there a way to print to the default printer under windows from livecode script without selecting the printer by the user first? I want to create a tool which prints status messages unattended to the default windows printer. The tool is started automatically with windows. There shall not be any user interaction. Regards, Matthias From yoshino at sys.wakayama-u.ac.jp Fri Nov 4 18:14:21 2011 From: yoshino at sys.wakayama-u.ac.jp (=?iso-2022-jp?B?GyRCNUhMbiEhOScbKEI=?=) Date: Sat, 5 Nov 2011 07:14:21 +0900 Subject: text size and HTMLtext In-Reply-To: <626A6710-65E4-44F8-8505-8D233B6A38E6@byu.edu> References: <626A6710-65E4-44F8-8505-8D233B6A38E6@byu.edu> Message-ID: <4E3FF956-D9B1-453F-8A24-9FF0DF3FE9F8@sys.wakayama-u.ac.jp> Thank you, Kenji and Devin ! > You can try: set the textSize of line 1 of fld "ja" to nn > > Or you can try modifying the htmlText of the field: It works well ! > on mouseUp > put the unicodeText of fld 1 into jText > repeat with i=10 to 48 > set the textsize of fld "ja" to i > set the unicodeText of fld "ja" to jText > set the textsize of fld "en" to i > wait 10 ticks > put i into msg > end repeat > end mouseUp It works well ! I solved my problem perfectly. Thank for your help indeed. On 2011/11/05, at 1:33, Devin Asay wrote: > Hi ?? ?, > > Rule 1 when doing Japanese unicode in LiveCode--always listen to Kenji! > > Here's my own take: > > You will have to set the text size of the text chunks inside the field, rather than the field itself. It can be a little tricky. > > You can try: set the textSize of line 1 of fld "ja" to nn > > Or you can try modifying the htmlText of the field: > > replace "size=" & quote & nn in fld "ja" with "size=" & quote & xx > > You have to experiment a little bit, but you can make it work. I did it a couple of years ago with a project that required Chinese text. > > Hope this helps. > > Devin > > On Nov 3, 2011, at 1:51 AM, ?? ? wrote: > >> Hi, >> >> I have a question about text size and HTMLtext. >> >> I want to use Japanese text in my LiveCode stacks. >> I can input Japanese text to a field by only using HTMLtext. >> >> But, I don't change text size of Japanese font size. >> English font can change. >> >> Here is my sample script. >> >> on mouseUp >> repeat with i=10 to 48 >> set the textsize of fld "ja" to i >> set the textsize of fld "en" to i >> wait 10 ticks >> put i into msg >> end repeat >> end mouseUp >> >> I need your help. >> >> _.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ >> Takashi Yoshino >> http://www.wakayama-u.ac.jp/~yoshino/lab/ >> Tel: +81-73-457-8441 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ Takashi Yoshino http://www.wakayama-u.ac.jp/~yoshino/lab/ Tel: +81-73-457-8441 From johnpatten at mac.com Fri Nov 4 19:15:29 2011 From: johnpatten at mac.com (John Patten) Date: Fri, 04 Nov 2011 16:15:29 -0700 Subject: iOS and Go Stack URL? Message-ID: <53EC128F-ED55-444D-8ED7-B83D85CE1A4C@mac.com> Hello All! Is it possible to open a remote stack in iOS via Go Stack URL ?? I'm thinking no?but I thought I'd ask :-) Thank you! John Patten SUSD From m.schonewille at economy-x-talk.com Fri Nov 4 19:27:37 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 5 Nov 2011 00:27:37 +0100 Subject: iOS and Go Stack URL? In-Reply-To: <53EC128F-ED55-444D-8ED7-B83D85CE1A4C@mac.com> References: <53EC128F-ED55-444D-8ED7-B83D85CE1A4C@mac.com> Message-ID: <0A27D8ED-5954-4BA6-914D-EEB330E2A461@economy-x-talk.com> Yes, it is possible. Use the go command, but without "in the window of". -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/16r Start selling Color Converter today. 20% commission! On 5 nov 2011, at 00:15, John Patten wrote: > Hello All! > > Is it possible to open a remote stack in iOS via Go Stack URL ?? I'm thinking no?but I thought I'd ask :-) > > Thank you! > > John Patten > SUSD From gerry.orkin at gmail.com Fri Nov 4 19:28:28 2011 From: gerry.orkin at gmail.com (Gerry) Date: Sat, 5 Nov 2011 10:28:28 +1100 Subject: iOS and Go Stack URL? In-Reply-To: <53EC128F-ED55-444D-8ED7-B83D85CE1A4C@mac.com> References: <53EC128F-ED55-444D-8ED7-B83D85CE1A4C@mac.com> Message-ID: Check this out on the forums: http://forums.runrev.com/viewtopic.php?f=49&t=8934 -- photos: http://gerryorkin.com On Saturday, 5 November 2011 at 10:15 AM, John Patten wrote: > Hello All! > > Is it possible to open a remote stack in iOS via Go Stack URL ?? I'm thinking no?but I thought I'd ask :-) From coiin at verizon.net Fri Nov 4 20:06:04 2011 From: coiin at verizon.net (Colin Holgate) Date: Fri, 04 Nov 2011 20:06:04 -0400 Subject: iOS and Go Stack URL? In-Reply-To: References: <53EC128F-ED55-444D-8ED7-B83D85CE1A4C@mac.com> Message-ID: It's a long thread, with much guessing, and trying things in the simulator. But, the trick doesn't work on an actual iPhone. On Nov 4, 2011, at 7:28 PM, Gerry wrote: > Check this out on the forums: > > http://forums.runrev.com/viewtopic.php?f=49&t=8934 From coiin at verizon.net Fri Nov 4 20:38:23 2011 From: coiin at verizon.net (Colin Holgate) Date: Fri, 04 Nov 2011 20:38:23 -0400 Subject: iOS and Go Stack URL? In-Reply-To: References: <53EC128F-ED55-444D-8ED7-B83D85CE1A4C@mac.com> Message-ID: Correction to myself. If you try the stack in LiveCode, then make an app, it doesn't work. If you make an app without trying the stack, then the app does download and open the stack. There is code in the stack, but it's trying to put MobGUI into use, which I don't have. So whether the code is trying to work and then failing, or failing to work altogether, I'm not sure. I'll change it to point to a different stack. Ok, it does definitely work in a local test. Not sure whether the App Store process would spot that you are loading a code document from the web. From m.schonewille at economy-x-talk.com Fri Nov 4 20:42:51 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 5 Nov 2011 01:42:51 +0100 Subject: iOS and Go Stack URL? In-Reply-To: References: <53EC128F-ED55-444D-8ED7-B83D85CE1A4C@mac.com> Message-ID: Colin, Which stack are you talking about? AFAIK it should just work on both the simulator and the iPhone. I tried it and it worked (in LC 4.6.1). -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/16r Start selling Color Converter today. 20% commission! On 5 nov 2011, at 01:38, Colin Holgate wrote: > Correction to myself. If you try the stack in LiveCode, then make an app, it doesn't work. If you make an app without trying the stack, then the app does download and open the stack. > > There is code in the stack, but it's trying to put MobGUI into use, which I don't have. So whether the code is trying to work and then failing, or failing to work altogether, I'm not sure. I'll change it to point to a different stack. > > Ok, it does definitely work in a local test. Not sure whether the App Store process would spot that you are loading a code document from the web. From katir at hindu.org Fri Nov 4 21:38:20 2011 From: katir at hindu.org (Web Admin Himalayan Academy) Date: Fri, 04 Nov 2011 15:38:20 -1000 Subject: Passing Ampersand and Dot to PostGreSQL - MySQL In-Reply-To: References: <4EB1A727.700@hindu.org> Message-ID: <4EB4938C.50600@hindu.org> Andre showed the way: use LiveCode's native databinding methods instead of my old fashioned replacement strings and the values are automatically escaped. On 11/2/11 11:44 AM, Pete wrote: > Interesting. I don't have Postgres but I tried an insert into an SQLite > table with text containing an ampersand and it worked just fine. Same with > mySQL. This was on my desktop machine though, not over the web. > > The docs for SQLite,mySQL, and Postgres only mention the need to escape the > single-quote character within a string, not any other special characters. > > What's the error you get back? > > Pete > Molly's Revenge > > > > > On Wed, Nov 2, 2011 at 1:25 PM, Sivakatirswami wrote: > >> I'm having some difficulty with passing data from a web form to a >> PostGreSQL database. I'm using iRev on the server and gFormData has all the >> data in the array. After handling all the data, running the CC charges, >> sending notifications, everything works, but my final functions to insert >> the data into the database fail in certain cases. >> >> i use this method to build the query: >> >> >> put "INSERT INTO donations (first_name, last_name, anonymous, >> email_address, " into tSQLQuery >> put "addr1, addr2, city, state, postal_code, country, phone_no, >> created_on, " after tSQLQuery >> put " entry_point, comment, amount, monetra_user, monetra_msg, cc_no) " >> after tSQLQuery >> put "VALUES ('#FIRST_NAME', '#LAST_NAME', '#ANONYMOUS', '#EMAIL_ADDRESS', >> " after tSQLQuery >> Put "'#ADDR1', '#ADDR2', '#CITY', '#STATE', '#POSTAL_CODE', '#COUNTRY', >> '#PHONE_NO', '#CREATED_ON', " after tSQLQuery >> Put "'#ENTRY_POINT', '#COMMENT', '#AMOUNT', '#MONETRA_USER', >> '#MONETRA_MSG', '#CC_NO');" after tSQLQuery >> >> the poke it like this: >> >> replace "#FIRST_NAME" with gFormData["first_name"] in tSQLQuery >> replace "#COMMENT" with gFormData["comment"] in tSQLQuery >> replace "#EMAIL_ADDRESS" with gFormData["email_address"] in tSQLQuery >> >> when the data in the array values contain certain characters, the >> insertion query fails. >> >> I have been able to definitively diagnose at least two cases (there are >> probably more) >> >> if the data contains an ampersand or a dot, the query fails e.g these >> will all cause the insertion to fail: >> >> First Name: Ravi& Sheela # ampersand >> >> Comment: All the books& audio.... [etc.] # ampersand >> >> email address: gail.wood at verizon.com # dot in the email address. >> >> so, I'm not sure what to do. >> >> I need to escape all the special chars (I don't even have a list of what >> they are) in the gFormData array values that will break the SQL query. And >> we also have to block SQL injection attempts at the same time.... >> >> My "baby xTalk" method would be tortuous: for each key/value in the >> gFormData array >> >> put gFormData["first_name"] in tFirstName >> >> put fixBadChars(tFirstName) into tFirstName >> >> replace "#FIRST_NAME" with tFirstName in tSQLQuery >> >> function fixBadChars pString >> >> replace "&" with "and" in pString >> # and more of these which I don't even know what they would be >> # and replacing the dot in the email will mean the email is wrong >> after insertion >> return pString >> >> end fixBadChars >> >> I'm sure this has been dealt with already... Does anyone have a "escape >> input data for SQL insertion" library they can share? >> >> Thanks! >> Sivakatirswami >> >> >> >> >> >> >> >> >> From coiin at verizon.net Fri Nov 4 21:47:58 2011 From: coiin at verizon.net (Colin Holgate) Date: Fri, 04 Nov 2011 21:47:58 -0400 Subject: iOS and Go Stack URL? In-Reply-To: References: <53EC128F-ED55-444D-8ED7-B83D85CE1A4C@mac.com> Message-ID: <813D5076-62B9-40C6-A217-0ED2F7F816D1@verizon.net> That thread has a link to a zip file, that downloads a stack called "Download Stack". If you try it in LiveCode, to see it in action before trying it in the simulator or on a phone, it fails to work, and then if you try on a phone it still doesn't work. If you download the zip file again, and don't test it, but instead make an app right away, then it works. On Nov 4, 2011, at 8:42 PM, Mark Schonewille wrote: > Which stack are you talking about? From jacque at hyperactivesw.com Fri Nov 4 22:28:47 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 04 Nov 2011 21:28:47 -0500 Subject: print to the default printer on windows In-Reply-To: <6626FCF9-3252-4F4A-A8E4-B328CFA21140@m-r-d.de> References: <6626FCF9-3252-4F4A-A8E4-B328CFA21140@m-r-d.de> Message-ID: <4EB49F5F.1020608@hyperactivesw.com> On 11/4/11 4:31 PM, Matthias Rebbe wrote: > Hi, > > is there a way to print to the default printer under windows from > livecode script without selecting the printer by the user first? Yes. See "printerName" in the dictionary. You also might need to set the "printerOutput". You can also get and set many specific printer functions with the "printerFeatures" property. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gerry.orkin at gmail.com Sat Nov 5 00:47:41 2011 From: gerry.orkin at gmail.com (Gerry) Date: Sat, 5 Nov 2011 15:47:41 +1100 Subject: iOS and Go Stack URL? In-Reply-To: <813D5076-62B9-40C6-A217-0ED2F7F816D1@verizon.net> References: <53EC128F-ED55-444D-8ED7-B83D85CE1A4C@mac.com> <813D5076-62B9-40C6-A217-0ED2F7F816D1@verizon.net> Message-ID: <6979BF6238B249D398382F865F4F14A9@gmail.com> Whoops. I wrote that stack and didn't notice that I'd left MobGUI in as a substack. It doesn't need it :) Plus I didn't do an environment test in the script to make sure it ran only in iOS - it was a quick hack to demonstrate a point. g -- photos: http://gerryorkin.com On Saturday, 5 November 2011 at 12:47 PM, Colin Holgate wrote: > That thread has a link to a zip file, that downloads a stack called "Download Stack". If you try it in LiveCode, to see it in action before trying it in the simulator or on a phone, it fails to work, and then if you try on a phone it still doesn't work. If you download the zip file again, and don't test it, but instead make an app right away, then it works. > > > On Nov 4, 2011, at 8:42 PM, Mark Schonewille wrote: > > > Which stack are you talking about? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com (mailto:use-livecode at lists.runrev.com) > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From katir at hindu.org Sat Nov 5 00:50:45 2011 From: katir at hindu.org (Sivakatirswami) Date: Fri, 04 Nov 2011 18:50:45 -1000 Subject: Resizing on Lion Message-ID: <4EB4C0A5.7080406@hindu.org> Can anyone confirm that standalone stacks built with 4.6.1, which have resizing on, fail to resize under Lion? I have an in - house version control app that manages all InDesign files for our editorial team. Those who upgrade to Lion say the resizing does not work I myself am avoiding upgrading to Lion for as long as I possibly can. Sivakatirswami From bvlahos at mac.com Sat Nov 5 01:33:16 2011 From: bvlahos at mac.com (Bill Vlahos) Date: Fri, 04 Nov 2011 22:33:16 -0700 Subject: Resizing on Lion In-Reply-To: <4EB4C0A5.7080406@hindu.org> References: <4EB4C0A5.7080406@hindu.org> Message-ID: Stacks built with 4.6.4 work fine in Lion. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Nov 4, 2011, at 9:50 PM, Sivakatirswami wrote: > Can anyone confirm that standalone stacks built with 4.6.1, which have resizing on, fail to resize under Lion? > > I have an in - house version control app that manages all InDesign files for our editorial team. Those who upgrade to Lion say the resizing does not work > > I myself am avoiding upgrading to Lion for as long as I possibly can. > > 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 gerry.orkin at gmail.com Sat Nov 5 03:52:45 2011 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Sat, 5 Nov 2011 18:52:45 +1100 Subject: Access contacts on iOS? In-Reply-To: <4EB31DE1.2050509@cogapp.com> References: <4EB31DE1.2050509@cogapp.com> Message-ID: > Does anyone know if there's any way to access the Contacts on iOS? There isn't (yet?) a way to do that. Not sure if there ever will be, unless the iCloud API provides one. Gerry -- http://gerryorkin.com From bvg at mac.com Thu Nov 3 21:09:44 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 04 Nov 2011 02:09:44 +0100 Subject: [ANN] LiveCode.tv event #42 In-Reply-To: References: <6B865405-BBC0-491C-AD25-BFB1C85A2D58@mac.com> <7EC6A85B-DD6B-4138-A597-512A194F4453@mac.com> <89782C22-C6E3-4245-95D1-A48F69423753@mac.com> <061D9182-B34B-4ABB-A7D6-9C2D09DA8755@mac.com> <73F84954-890B-4627-859A-702C8054F13B@mac.com> <093DEF5E-6C0F-4924-A262-F6DBE748ED45@mac.com> <3FB852C9-5675-4A19-9506-543733BB2547@mac.com> <914DF999-596E-4023-A213-9469C6A69FA0@mac.com> <2B105965-FB27-41D0-B95F-1F4C84ADD53B@mac.com> <163225D1-67D1-4CE7-8049-E85A8D94D177@mac.com> <225B0941-5D11-434A-BC0B-CD61B998E9F8@mac.com> <201756EB-9601-417D-856E-5128C5256EF1@mac.com> <081FD717-0A48-447D-90AA-A8F370B14F43@mac.com> <913B7E78-3052-4CF0-9883-C1CDD9F8BDFA@mac.com> <0C1B6D89-1745-46DF-9C49-A5FE2E5B67B9@mac.com> <497CC7C9-74BC-419C-9785-CEA07A8FE181@mac.com> <54E0E19F-3F8A-4D69-97E5-0A95CF879616@mac.com> <056EBC7F-549E-4576-9C8F-920DE5118529@mac.com> <5C8CFEAF-E023-4D20-8459-6C60A4E3E70E@mac.com> Message-ID: This Saturday, Mark will present his Installer Maker, because he just released a fresh beta version. Join the event and get a big discount on this invaluable tool. More info about Installer Maker: http://www3.economy-x-talk.com/file.php?node=installer-maker Have your own tool? Present it during the event: http://livecode.tv/participate/ Join ChatRev to watch live at 20:00 CET on Saturday, 5th November. Download a standalone from http://bjoernke.com/chatrev/ or enter in the message box: go stack URL ?http://bjoernke.com/chatrev/chatrev1.3b3.rev? Berlin Sat 20:00 New York Sat 15:00 Los Angeles Sat 12:00 Sydney Sun 06:00 Hong Kong Sun 03:00 See you then :) Bj?rnke -- Watch live presentations every Saturday: http://livecode.tv Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From todd at geistinteractive.com Sat Nov 5 11:33:13 2011 From: todd at geistinteractive.com (Todd Geist) Date: Sat, 5 Nov 2011 08:33:13 -0700 Subject: Access contacts on iOS? In-Reply-To: References: <4EB31DE1.2050509@cogapp.com> Message-ID: I think an external could be created to access the AddressBook and Calendars. documentation is here - http://developer.apple.com/library/ios/#documentation/Miscellaneous/Conceptual/iPhoneOSTechOverview/iPhoneOSFrameworks/iPhoneOSFrameworks.html AddressBook.framework AddressBookUI.framework EventKit.framework EventKitUI.framework I would pay good money for iOS external based on these Todd On Sat, Nov 5, 2011 at 12:52 AM, Gerry Orkin wrote: > > Does anyone know if there's any way to access the Contacts on iOS? > > There isn't (yet?) a way to do that. Not sure if there ever will be, > unless the iCloud API provides one. > > Gerry > > -- http://gerryorkin.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Todd Geist geist interactive (805) 419-9382 From m.schonewille at economy-x-talk.com Sat Nov 5 12:38:24 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 5 Nov 2011 17:38:24 +0100 Subject: [ANN] LiveCode.tv event #42 In-Reply-To: References: <6B865405-BBC0-491C-AD25-BFB1C85A2D58@mac.com> <7EC6A85B-DD6B-4138-A597-512A194F4453@mac.com> <89782C22-C6E3-4245-95D1-A48F69423753@mac.com> <061D9182-B34B-4ABB-A7D6-9C2D09DA8755@mac.com> <73F84954-890B-4627-859A-702C8054F13B@mac.com> <093DEF5E-6C0F-4924-A262-F6DBE748ED45@mac.com> <3FB852C9-5675-4A19-9506-543733BB2547@mac.com> <914DF999-596E-4023-A213-9469C6A69FA0@mac.com> <2B105965-FB27-41D0-B95F-1F4C84ADD53B@mac.com> <163225D1-67D1-4CE7-8049-E85A8D94D177@mac.com> <225B0941-5D11-434A-BC0B-CD61B998E9F8@mac.com> <201756EB-9601-417D-856E-5128C5256EF1@mac.com> <081FD717-0A48-447D-90AA-A8F370B14F43@mac.com> <913B7E78-3052-4CF0-9883-C1CDD9F8BDFA@mac.com> <0C1B6D89-1745-46DF-9C49-A5FE2E5B67B9@mac.com> <497CC7C9-74BC-419C-9785-CEA07A8FE181@mac.com> <54E0E19F-3F8A-4D69-97E5-0A95CF879616@mac.com> <056EBC7F-549E-4576-9C8F-920DE5118529@mac.com> <5C8CFEAF-E023-4D20-8459-6C60A4E3E70E@mac.com> Message-ID: <15B0DC1C-8DC2-435B-8DE9-A5506BAB355A@economy-x-talk.com> Hi, I just noticed that the link is slightly incorrect. The link the LiveCode plugin is: http://www3.economy-x-talk.com/file.php?node=installer-maker-for-lc (and that's where you'll be able to use the coupon code for the 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 Become our partner in sales http://qery.us/16r Start selling Color Converter today. 20% commission! On 4 nov 2011, at 02:09, Bj?rnke von Gierke wrote: > This Saturday, Mark will present his Installer Maker, because he just released a fresh beta version. Join the event and get a big discount on this invaluable tool. > > More info about Installer Maker: > http://www3.economy-x-talk.com/file.php?node=installer-maker > > Have your own tool? Present it during the event: > http://livecode.tv/participate/ > > Join ChatRev to watch live at 20:00 CET on Saturday, 5th November. Download a standalone from > http://bjoernke.com/chatrev/ > or enter in the message box: > go stack URL ?http://bjoernke.com/chatrev/chatrev1.3b3.rev? > > Berlin Sat 20:00 > New York Sat 15:00 > Los Angeles Sat 12:00 > Sydney Sun 06:00 > Hong Kong Sun 03:00 > > > See you then :) > Bj?rnke > > > -- > Watch live presentations every Saturday: > http://livecode.tv > > Use an alternative Dictionary viewer: > http://bjoernke.com/bvgdocu/ > > Chat with other RunRev developers: > http://bjoernke.com/chatrev/ From roger.e.eller at sealedair.com Sat Nov 5 13:06:20 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 5 Nov 2011 13:06:20 -0400 Subject: Resizing on Lion In-Reply-To: References: <4EB4C0A5.7080406@hindu.org> Message-ID: On Sat, Nov 5, 2011 at 1:33 AM, Bill Vlahos wrote: > Stacks built with 4.6.4 work fine in Lion. > > Bill Vlahos > > On Nov 4, 2011, at 9:50 PM, Sivakatirswami wrote: > > > Can anyone confirm that standalone stacks built with 4.6.1, which have > resizing on, fail to resize under Lion? > > > > Sivakatirswami > Perhaps what the customer is seeing is what I just verified with 5.0.1 dp-2. The standard lower-right resize control still works fine. But in Lion, all other windows and applications (except apps made with LiveCode) can be resized by any of the 4 edges or by any corner of the window (just like Linux and Windows have always done). It looks like this is a new Lion-specific feature that RunRev have not yet implemented. ?Roger From bvg at mac.com Sat Nov 5 13:50:03 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat, 05 Nov 2011 18:50:03 +0100 Subject: [ANN] LiveCode.tv event #42 In-Reply-To: <06657F54-4878-4443-ABDD-39CAF8BFD689@mac.com> References: <06657F54-4878-4443-ABDD-39CAF8BFD689@mac.com> Message-ID: Remember that the event starts in about an hour. please join chatrev in due time. http://bjoernke.com/chatrev/ On 4 Nov 2011, at 12:12, Bj?rnke von Gierke wrote: > (resent, didn't arrive yesterday night) > > This Saturday, Mark will present his Installer Maker, because he just released a fresh beta version. Join the event and get a big discount on this invaluable tool. > > More info about Installer Maker: > http://www3.economy-x-talk.com/file.php?node=installer-maker > > Have your own tool? Present it during the event: > http://livecode.tv/participate/ > > Join ChatRev to watch live at 20:00 CET on Saturday, 5th November. Download a standalone from > http://bjoernke.com/chatrev/ > or enter in the message box: > go stack URL ?http://bjoernke.com/chatrev/chatrev1.3b3.rev? > > Berlin Sat 20:00 > New York Sat 15:00 > Los Angeles Sat 12:00 > Sydney Sun 06:00 > Hong Kong Sun 03:00 > > > See you then :) > Bj?rnke > > > -- > Watch live presentations every Saturday: > http://livecode.tv > > Use an alternative Dictionary viewer: > http://bjoernke.com/bvgdocu/ > > Chat with other RunRev developers: > http://bjoernke.com/chatrev/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Watch live presentations every Saturday: http://livecode.tv Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From bobs at twft.com Sat Nov 5 14:29:42 2011 From: bobs at twft.com (Bob Sneidar) Date: Sat, 5 Nov 2011 08:29:42 -1000 Subject: test 3 In-Reply-To: <635E4B03-812F-4861-9E6B-DE7C8686A7B3@runrev.com> References: <635E4B03-812F-4861-9E6B-DE7C8686A7B3@runrev.com> Message-ID: <5E3BA64E-73D8-4269-A046-0DD0FEE1B6CC@twft.com> The force IS weak! Only the Shwartz can save you now. Bob On Nov 4, 2011, at 12:39 AM, Heather Nagey wrote: > Is this the email you are looking for? I really hope so, the force is weak... > > Trust the Force... > > Heather > > Heather Nagey > Customer Services Manager > http://www.runrev.com/ > LiveCode - Unleash Your Killer App > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mike at doub.com Sat Nov 5 15:29:14 2011 From: mike at doub.com (Michael Doub) Date: Sat, 5 Nov 2011 15:29:14 -0400 Subject: Dynamically turning on and off DataGrid Scroll Bar Message-ID: I am trying to dynamically turn on and off a data grid scroll bar for testing a mobile app and am having difficulty. Is there another property that I should be setting? on preOpenCard if the environment is "mobile" then set the vScrollbar of group "DataGrid" to false setup_scroller else set the vScrollbar of group "DataGrid" to true end if put create_the_data ("Contacts") into tdata set the dgData of group "DataGrid" to tdata end preOpenCard From pete at mollysrevenge.com Sat Nov 5 15:46:50 2011 From: pete at mollysrevenge.com (Pete) Date: Sat, 5 Nov 2011 12:46:50 -0700 Subject: Dynamically turning on and off DataGrid Scroll Bar In-Reply-To: References: Message-ID: I think you need to : set the dgProps["show vscrollbar"] of group "Datagrid" to false/true. Pete Molly's Revenge On Sat, Nov 5, 2011 at 12:29 PM, Michael Doub wrote: > I am trying to dynamically turn on and off a data grid scroll bar for > testing a mobile app and am having difficulty. Is there another property > that I should be setting? > > on preOpenCard > if the environment is "mobile" then > set the vScrollbar of group "DataGrid" to false > setup_scroller > else > set the vScrollbar of group "DataGrid" to true > end if > put create_the_data ("Contacts") into tdata > set the dgData of group "DataGrid" to tdata > end preOpenCard > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From mike at doub.com Sat Nov 5 19:33:56 2011 From: mike at doub.com (Michael Doub) Date: Sat, 5 Nov 2011 19:33:56 -0400 Subject: Dynamically turning on and off DataGrid Scroll Bar In-Reply-To: References: Message-ID: <9EBB3884-6186-456E-94ED-56FB507D2E7E@doub.com> Yep that did the trick. Is there a way to capture the line or index to the entry that the user clicks or touches without using the dgHilitedLines? If there is no other way, then how does one deselect the line after responding to the interaction? -= Mike On 2011-11-05, at 3:29 PM, Michael Doub wrote: > I am trying to dynamically turn on and off a data grid scroll bar for testing a mobile app and am having difficulty. Is there another property that I should be setting? > > on preOpenCard > if the environment is "mobile" then > set the vScrollbar of group "DataGrid" to false > setup_scroller > else > set the vScrollbar of group "DataGrid" to true > end if > put create_the_data ("Contacts") into tdata > set the dgData of group "DataGrid" to tdata > end preOpenCard > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Nov 5 20:06:54 2011 From: pete at mollysrevenge.com (Pete) Date: Sat, 5 Nov 2011 17:06:54 -0700 Subject: Dynamically turning on and off DataGrid Scroll Bar In-Reply-To: <9EBB3884-6186-456E-94ED-56FB507D2E7E@doub.com> References: <9EBB3884-6186-456E-94ED-56FB507D2E7E@doub.com> Message-ID: The selectionChanged message sent to the datagrid has two parameters: the index of the line just clicked and the index of the line that was selected before the click. I'm not sure what you mean by "deselect" but if you mean go back to the previously highlighted line, you can use the second parameter to do that If you mean you just don't want any line to be selected, you can set the dghilitedline to zero (or maybe it's empty, can't remember which). Pete Molly's Revenge On Sat, Nov 5, 2011 at 4:33 PM, Michael Doub wrote: > Yep that did the trick. > > Is there a way to capture the line or index to the entry that the user > clicks or touches without using the dgHilitedLines? If there is no other > way, then how does one deselect the line after responding to the > interaction? > > -= Mike > > > > > On 2011-11-05, at 3:29 PM, Michael Doub wrote: > > > I am trying to dynamically turn on and off a data grid scroll bar for > testing a mobile app and am having difficulty. Is there another property > that I should be setting? > > > > on preOpenCard > > if the environment is "mobile" then > > set the vScrollbar of group "DataGrid" to false > > setup_scroller > > else > > set the vScrollbar of group "DataGrid" to true > > end if > > put create_the_data ("Contacts") into tdata > > set the dgData of group "DataGrid" to tdata > > end preOpenCard > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Nov 5 20:13:53 2011 From: pete at mollysrevenge.com (Pete) Date: Sat, 5 Nov 2011 17:13:53 -0700 Subject: [OT] Excessive Wireless Traffic from iPhone running iOS5 In-Reply-To: References: Message-ID: I'm still not sure what was going on but I think I've finally figured out what to do re iCloud. In my wife's case, she has an iPhone and a laptop so I really don't see any point in using iCloud - she'd just be sending data out to iCloud only for it to be dragged back down to her laptop. If she had an iPad or some other computer, it would make sense to use iCloud. To say nothing of the fact the laptop would have to be on Lion to access iCloud. I've set her up to sync wirelessly directly to iTunes on her laptop which seems to work just fine. What I can't figure out is why Apple requires the iPhone to be plugged into a power source to do this, when you can sync to iCloud without that requirement. Pete Molly's Revenge PS I really hope the "Big Brother" comment isn't true!!! On Fri, Nov 4, 2011 at 2:02 PM, jacques CLAVEL wrote: > BigBrother is watching you! Your IPhone is sending to Apple the > localisation data recorded by your phone the previous days. This happens > only when you have WIFI access. > > Jacques Clavel > > 2011/11/3 Pete > > > A couple of weeks ago, I noticed an occasional huge slowdown in internet > > access from home. Whenever this occurred, it was obvious from the lights > > on my wireless router that a huge amount of wireless traffic was > happening. > > > > In true old-fashioned trouble shooting mode, I tried to figure out what > > might have changed in any computer setups in my home. The only thing > that > > I could come up with was that my wife upgraded her iPhone to ios5 round > > about the time this started happening. > > > > From the circumstances, I believe this is happening when the iPhone is > > syncing wirelessly with iTunes on my wife's Mac laptop. That only > happens > > over WiFi and when the phone is charging, both of which are the case when > > this wireless traffic problem occurs. I verified this by switching off > > WiFi on the iuPhone last time this happened and sure enough, the wireless > > traffic stopped. > > > > Have any of you iPhone users experienced anything similar to this? > > Obviously there has to be WiFi traffic for the iPhone to sync, but there > > isn't that much data on my wife's iPhone so I'm not understanding the > > extreme wireless activity. > > > > Meantime my Android phone has been wireless syncing perfectly for > > months..... > > > > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Nov 5 21:19:44 2011 From: zryip.theslug at gmail.com (zryip theSlug) Date: Sun, 6 Nov 2011 02:19:44 +0100 Subject: Dynamically turning on and off DataGrid Scroll Bar In-Reply-To: References: <9EBB3884-6186-456E-94ED-56FB507D2E7E@doub.com> Message-ID: On Sun, Nov 6, 2011 at 1:06 AM, Pete wrote: > The selectionChanged message sent to the datagrid has two parameters: the > index of the line just clicked and the index of the line that was selected > before the click. ?I'm not sure what you mean by "deselect" but if you mean > go back to the previously highlighted line, you can use the second > parameter to do that Another solution is to use the dgClickLine or dgClickIndex properties of the datagrid group: For a try, place this handler in the datagrid group script: on mouseUp put the dgClickIndex of me end mouseUp > If you mean you just don't want any line to be selected, you can set the > dghilitedline to zero (or maybe it's empty, can't remember which). The both syntaxes are working: set the dghilitedline of me to 0 set the dghilitedline of me to empty Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.com From revdev at pdslabs.net Sat Nov 5 22:16:19 2011 From: revdev at pdslabs.net (Phil Davis) Date: Sat, 05 Nov 2011 19:16:19 -0700 Subject: Dynamically turning on and off DataGrid Scroll Bar In-Reply-To: References: <9EBB3884-6186-456E-94ED-56FB507D2E7E@doub.com> Message-ID: <4EB5EDF3.3060703@pdslabs.net> On 11/5/11 6:19 PM, zryip theSlug wrote: > On Sun, Nov 6, 2011 at 1:06 AM, Pete wrote: >> The selectionChanged message sent to the datagrid has two parameters: the >> index of the line just clicked and the index of the line that was selected >> before the click. I'm not sure what you mean by "deselect" but if you mean >> go back to the previously highlighted line, you can use the second >> parameter to do that > Another solution is to use the dgClickLine or dgClickIndex properties > of the datagrid group: > > For a try, place this handler in the datagrid group script: > > on mouseUp > put the dgClickIndex of me > end mouseUp Or this one: on selectionChanged pNewIndex, pOldIndex put pNewIndex end selectionChanged Phil Davis > >> If you mean you just don't want any line to be selected, you can set the >> dghilitedline to zero (or maybe it's empty, can't remember which). > The both syntaxes are working: > set the dghilitedline of me to 0 > set the dghilitedline of me to empty > > > Best regards, -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From pete at mollysrevenge.com Sun Nov 6 01:45:51 2011 From: pete at mollysrevenge.com (Pete) Date: Sat, 5 Nov 2011 23:45:51 -0700 Subject: Dynamically turning on and off DataGrid Scroll Bar In-Reply-To: References: <9EBB3884-6186-456E-94ED-56FB507D2E7E@doub.com> Message-ID: Thanks zryip, hadn't come across those properties before. It seems like there's a lot of stuff about datagrids that is undocumented, or maybe I'm just not looking in the right place? Pete Molly's Revenge > > Another solution is to use the dgClickLine or dgClickIndex properties > of the datagrid group: > > For a try, place this handler in the datagrid group script: > > on mouseUp > put the dgClickIndex of me > end mouseUp > > > > > From matthias_livecode_150811 at m-r-d.de Sun Nov 6 10:04:18 2011 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sun, 6 Nov 2011 16:04:18 +0100 Subject: OT: Automatic Duck is giving away their tools for FinalCut and AfterEffects for free now Message-ID: <94C6DE43-A52D-4F5E-8F94-5E93CE807A75@m-r-d.de> Hi, maybe this is interesting for the video pros of you. The people at Automatic Duck are giving away their products for free now, They partnered with Adobe now and do want their products to go unused. Here?s the complete explanation http://www.automaticduck.com/thankyou/ and here are the downloads http://www.automaticduck.com/products/index.html Regards, Matthias From irog at mac.com Sun Nov 6 18:05:13 2011 From: irog at mac.com (Roger Guay) Date: Sun, 06 Nov 2011 15:05:13 -0800 Subject: ANN: Harmonic Oscillators In-Reply-To: References: Message-ID: Not so much an exhaustive physics/math tutorial as a demonstration of some techniques for doing these types of simulations/animations in LiveCode. Unfortunately, I was unable to upload to RevOnlin after repeated attempts, and did not get any feedback on my query about my difficulties with it. Therefore if you want a copy of Harmonic Oscillators, you'll have to go to my download page: http://web.me.com/irog/Roger_Guay/Downloads.html Cheers, Roger Guay From littlejamesw at mac.com Sun Nov 6 18:41:00 2011 From: littlejamesw at mac.com (James Little) Date: Sun, 06 Nov 2011 15:41:00 -0800 Subject: ANN: Harmonic Oscillators In-Reply-To: References: Message-ID: <9B6FB03A-74DC-44D2-93B9-FFDC910ED69E@mac.com> Very nicely done. Thanks for this demo. Jim L. On Nov 6, 2011, at 3:05 PM, Roger Guay wrote: > > Not so much an exhaustive physics/math tutorial as a demonstration of some techniques for doing these types of simulations/animations in LiveCode. > > Unfortunately, I was unable to upload to RevOnlin after repeated attempts, and did not get any feedback on my query about my difficulties with it. Therefore if you want a copy of Harmonic Oscillators, you'll have to go to my download page: > > > http://web.me.com/irog/Roger_Guay/Downloads.html > > 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 dev at digifilm.com Sun Nov 6 19:16:59 2011 From: dev at digifilm.com (ddas) Date: Sun, 6 Nov 2011 19:16:59 -0500 Subject: ANN: Harmonic Oscillators In-Reply-To: References: Message-ID: <32769169-6B5F-4671-A321-284C09DD5531@digifilm.com> Roger, Beautiful. Cheers, Debdoot On Nov 6, 2011, at 6:05 PM, Roger Guay wrote: > > Not so much an exhaustive physics/math tutorial as a demonstration of some techniques for doing these types of simulations/animations in LiveCode. > > Unfortunately, I was unable to upload to RevOnlin after repeated attempts, and did not get any feedback on my query about my difficulties with it. Therefore if you want a copy of Harmonic Oscillators, you'll have to go to my download page: > > > http://web.me.com/irog/Roger_Guay/Downloads.html > > 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 calhorner at xtra.co.nz Sun Nov 6 22:35:08 2011 From: calhorner at xtra.co.nz (Cal Horner) Date: Mon, 7 Nov 2011 16:35:08 +1300 (New Zealand Daylight Time) Subject: Passing Parameters Message-ID: <4EB751EC.000005.05752@CALS_BIG_PC> Is there any command that will allow me to pass a simple parameter to a compiled LC program? From dunbarx at aol.com Sun Nov 6 22:57:31 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 6 Nov 2011 22:57:31 -0500 (EST) Subject: Passing Parameters In-Reply-To: <4EB751EC.000005.05752@CALS_BIG_PC> References: <4EB751EC.000005.05752@CALS_BIG_PC> Message-ID: <8CE6B1881ED08CE-714-184648@webmail-d134.sysops.aol.com> Hi Parameters are passed along with command or function calls. Check the dictionary. Read the entries on "command" and "function". Look up the "params" and "paramCount". Note that there are two methods of passing parameters, by "value" and by "reference". Check the user gude as well. You must make a simple stack and experiment. The natural LC syntax is easy to learn and fun to use. And incredibly powerful. Write back if you need more... Craig Newman -----Original Message----- From: Cal Horner To: use-livecode Sent: Sun, Nov 6, 2011 5:37 pm Subject: Passing Parameters Is there any command that will allow me to pass a simple parameter to a compiled LC program? _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From scott at elementarysoftware.com Mon Nov 7 01:45:00 2011 From: scott at elementarysoftware.com (Scott Morrow) Date: Sun, 6 Nov 2011 22:45:00 -0800 Subject: ANN: Harmonic Oscillators In-Reply-To: References: Message-ID: <0F63EB5A-7687-43EB-A06C-E9B0DDC24F50@elementarysoftware.com> Sweet! And thanks for posting your download url. -Scott Morrow On Nov 6, 2011, at 3:05 PM, Roger Guay wrote: > > Not so much an exhaustive physics/math tutorial as a demonstration of some techniques for doing these types of simulations/animations in LiveCode. > > Unfortunately, I was unable to upload to RevOnlin after repeated attempts, and did not get any feedback on my query about my difficulties with it. Therefore if you want a copy of Harmonic Oscillators, you'll have to go to my download page: > > > http://web.me.com/irog/Roger_Guay/Downloads.html > > 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 revdev at pdslabs.net Mon Nov 7 03:28:02 2011 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 07 Nov 2011 00:28:02 -0800 Subject: Passing Parameters In-Reply-To: <4EB751EC.000005.05752@CALS_BIG_PC> References: <4EB751EC.000005.05752@CALS_BIG_PC> Message-ID: <4EB79692.5030702@pdslabs.net> On Mac OS X, you can do it from the command line. 1) create a standalone app (named "Untitled1" in this example) that has this stack script: on startup dispatch $1 to me quit end startup on incoming beep end incoming 2) create a different stack with this BUTTON script: on mouseUp answer file "Pick the app:" if it = empty then exit to top get shell (it & "/Contents/MacOS/Untitled1 incoming") put the result after msg end mouseUp 3) click the button. It should start the "Untitled1" app and you should hear the beep. At least it works here. I haven't tried this on Windows, but I bet something similar would work there. Phil Davis On 11/6/11 7:35 PM, Cal Horner wrote: > Is there any command that will allow me to pass a simple parameter to a compiled LC program? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From revdev at pdslabs.net Mon Nov 7 03:47:07 2011 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 07 Nov 2011 00:47:07 -0800 Subject: Passing Parameters In-Reply-To: <4EB79692.5030702@pdslabs.net> References: <4EB751EC.000005.05752@CALS_BIG_PC> <4EB79692.5030702@pdslabs.net> Message-ID: <4EB79B0B.2080606@pdslabs.net> If you need to send a message from app1 to app2, and app2 is already running, you could use socket communication between them. Don't have time to pencil it out, but maybe someone else will. If not, I'll do it tomorrow. Phil On 11/7/11 12:28 AM, Phil Davis wrote: > On Mac OS X, you can do it from the command line. > > 1) create a standalone app (named "Untitled1" in this example) that has this > stack script: > > on startup > dispatch $1 to me > quit > end startup > > on incoming > beep > end incoming > > > 2) create a different stack with this BUTTON script: > > on mouseUp > answer file "Pick the app:" > if it = empty then exit to top > > get shell (it & "/Contents/MacOS/Untitled1 incoming") > put the result after msg > end mouseUp > > > 3) click the button. It should start the "Untitled1" app and you should hear > the beep. At least it works here. > > I haven't tried this on Windows, but I bet something similar would work there. > > Phil Davis > > > > > On 11/6/11 7:35 PM, Cal Horner wrote: >> Is there any command that will allow me to pass a simple parameter to a >> compiled LC program? >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 Mon Nov 7 06:41:52 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 7 Nov 2011 12:41:52 +0100 Subject: Passing Parameters In-Reply-To: <4EB751EC.000005.05752@CALS_BIG_PC> References: <4EB751EC.000005.05752@CALS_BIG_PC> Message-ID: Hi Cal, You can start up a standalone from the commandline with C:/path/to/standalone.exe param1 param2,... ~/applications/standalone.app param1 param2... In your standalone you can retrieve the values in $1, $2,... anywhere in your scripts: put $1 into fld 1 get item 2 of $2 If your standalone is already running, you can use sockets to communicate. Here's http://qery.us/1a2 an example of using sockets for telnet communication. Once you understand how sockets work, you can use them for inter-application communication. On Mac OS X, you can also use AppleScript: set myScript to "answer \"hi\"" tell application "Revolution" to do script myScript Of course, the script limits apply, but if you only want to set the value of a variable, this should be sufficient. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/16r Start selling Color Converter today. 20% commission! On 7 nov 2011, at 04:35, Cal Horner wrote: > Is there any command that will allow me to pass a simple parameter to a compiled LC program? From johnb at hvc.rr.com Mon Nov 7 06:51:05 2011 From: johnb at hvc.rr.com (John Brozycki) Date: Mon, 7 Nov 2011 06:51:05 -0500 Subject: ANN: Harmonic Oscillators In-Reply-To: References: Message-ID: <71C028C0-B69B-47FB-A2AA-ECBEBBB605CE@hvc.rr.com> Roger, Cool stuff! Thanks. Your download page has more neat stuff, so I'm glad you ended up posting its link! John On Nov 6, 2011, at 6:05 PM, Roger Guay wrote: > > Not so much an exhaustive physics/math tutorial as a demonstration of some techniques for doing these types of simulations/animations in LiveCode. > > Unfortunately, I was unable to upload to RevOnlin after repeated attempts, and did not get any feedback on my query about my difficulties with it. Therefore if you want a copy of Harmonic Oscillators, you'll have to go to my download page: > > > http://web.me.com/irog/Roger_Guay/Downloads.html > > 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 Mon Nov 7 10:52:02 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 07 Nov 2011 07:52:02 -0800 Subject: Passing Parameters In-Reply-To: <4EB79692.5030702@pdslabs.net> References: <4EB79692.5030702@pdslabs.net> Message-ID: <4EB7FEA2.4090606@fourthworld.com> Phil Davis wrote: > On Mac OS X, you can do it from the command line. > > 1) create a standalone app (named "Untitled1" in this example) that has this > stack script: > > on startup > dispatch $1 to me > quit > end startup As an example of how to use environment variables that's an excellent one, but for production work it may pay to be a little paranoid, taking the view that an API like a command line is a potential point of security exposure. Rather than execute anything that comes in on the command line, we could instead parse it to ensure it meets a list of acceptable commands: on startup switch word 1 of $1 case "ExampleCommand1" case "ExampleCommand2" case "ExampleCommand3" dispatch $1 to me default put "Invalid command: "& word 1 of $1 end switch quit end startup For the relatively low cost of double-checking the command in the string $1 we can limit the range of things that the app can be used for. It's a little more work, but prevents using the full range of LiveCode to manipulate the app in unintended ways. -- 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 Nov 7 11:42:10 2011 From: pete at mollysrevenge.com (Pete) Date: Mon, 7 Nov 2011 08:42:10 -0800 Subject: Passing Parameters In-Reply-To: References: <4EB751EC.000005.05752@CALS_BIG_PC> Message-ID: I've never tried the open.read from/write process commands - would those be another way to do this? Back in the days when I worked on HP3000 computers, they had something called message files. They were basically files that any number of processes could write to and one process could read from and as a record was read, it was deleted from the file. It was a great and very easy way to implement client/server communications. Pete Molly's Revenge On Mon, Nov 7, 2011 at 3:41 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi Cal, > > You can start up a standalone from the commandline with > > C:/path/to/standalone.exe param1 param2,... > ~/applications/standalone.app param1 param2... > > In your standalone you can retrieve the values in $1, $2,... anywhere in > your scripts: > > put $1 into fld 1 > get item 2 of $2 > > If your standalone is already running, you can use sockets to communicate. > Here's http://qery.us/1a2 an example of using sockets for telnet > communication. Once you understand how sockets work, you can use them for > inter-application communication. > > On Mac OS X, you can also use AppleScript: > > set myScript to "answer \"hi\"" > tell application "Revolution" to do script myScript > > Of course, the script limits apply, but if you only want to set the value > of a variable, this should be sufficient. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Become our partner in sales http://qery.us/16r Start selling Color > Converter today. 20% commission! > > On 7 nov 2011, at 04:35, Cal Horner wrote: > > > Is there any command that will allow me to pass a simple parameter to a > compiled LC program? > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Nov 7 12:09:05 2011 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 7 Nov 2011 12:09:05 -0500 Subject: I Killed The Site Message-ID: I just want to apologize for killing runrev.com. I was just trying to buy something in the store when kaboom, the whole site went #epicfail. So since it must be MY fault, sorries! From MikeKerner at roadrunner.com Mon Nov 7 12:10:19 2011 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 7 Nov 2011 12:10:19 -0500 Subject: I Killed The Site In-Reply-To: References: Message-ID: Oh yay, they fixed it. No more guilty feeling thinking that I have forever damaged the universe, other than the 15 minutes it was down... From keith.clarke at clarkeandclarke.co.uk Mon Nov 7 12:11:59 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Mon, 7 Nov 2011 17:11:59 +0000 Subject: I Killed The Site In-Reply-To: References: Message-ID: ...wow, what discount code were you trying to apply? ;-) On 7 Nov 2011, at 17:09, Mike Kerner wrote: > I just want to apologize for killing runrev.com. I was just trying to buy > something in the store when kaboom, the whole site went #epicfail. So > since it must be MY fault, sorries! > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Nov 7 12:17:39 2011 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 7 Nov 2011 12:17:39 -0500 Subject: I Killed The Site In-Reply-To: References: Message-ID: That would be "; DROP TABLE * From andre at andregarzia.com Mon Nov 7 13:00:31 2011 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 7 Nov 2011 16:00:31 -0200 Subject: I Killed The Site In-Reply-To: References: Message-ID: Once I almost killed an on-rev server but THANK GOD AND THE GODS, I was also logged on thru SSH and managed to fix my mess in about 10 minutes. Tip Of The Day: Be aware of trying to daemonize recursive processes that end up spawning copies of themselves... Bonus: pkill and killall are your friends and so is jail, chroot and other niceties. On Mon, Nov 7, 2011 at 3:17 PM, Mike Kerner wrote: > That would be "; DROP TABLE * > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From irog at mac.com Mon Nov 7 13:16:21 2011 From: irog at mac.com (Roger Guay) Date: Mon, 07 Nov 2011 10:16:21 -0800 Subject: ANN: Harmonic Oscillators In-Reply-To: References: Message-ID: <67291CB0-63D2-4638-B367-9843CB697643@mac.com> You're welcome John and thanks to you and others for your kind words. Everything on my download page is also available at RevOnline except Harmonic Oscillators. I prefer to use RevOnline because one does not need to remember another URL. But alas, it appears to be broken with not much interest in fixing it!! Cheers, Roger On Nov 7, 2011, at 10:00 AM, use-livecode-request at lists.runrev.com wrote: > Message: 10 > Date: Mon, 7 Nov 2011 06:51:05 -0500 > From: John Brozycki > To: How to use LiveCode > Subject: Re: ANN: Harmonic Oscillators > Message-ID: <71C028C0-B69B-47FB-A2AA-ECBEBBB605CE at hvc.rr.com> > Content-Type: text/plain; charset=us-ascii > > Roger, > > Cool stuff! Thanks. Your download page has more neat stuff, so I'm glad you ended up posting its link! > > John > > On Nov 6, 2011, at 6:05 PM, Roger Guay wrote: > >> >> Not so much an exhaustive physics/math tutorial as a demonstration of some techniques for doing these types of simulations/animations in LiveCode. >> >> Unfortunately, I was unable to upload to RevOnlin after repeated attempts, and did not get any feedback on my query about my difficulties with it. Therefore if you want a copy of Harmonic Oscillators, you'll have to go to my download page: >> >> >> http://web.me.com/irog/Roger_Guay/Downloads.html >> >> 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 revdev at pdslabs.net Mon Nov 7 14:36:52 2011 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 07 Nov 2011 11:36:52 -0800 Subject: Passing Parameters In-Reply-To: <4EB7FEA2.4090606@fourthworld.com> References: <4EB79692.5030702@pdslabs.net> <4EB7FEA2.4090606@fourthworld.com> Message-ID: <4EB83354.2080705@pdslabs.net> Yes! My example was mostly built on a 'lab experiment' model. Phil On 11/7/11 7:52 AM, Richard Gaskin wrote: > Phil Davis wrote: > >> On Mac OS X, you can do it from the command line. >> >> 1) create a standalone app (named "Untitled1" in this example) that has this >> stack script: >> >> on startup >> dispatch $1 to me >> quit >> end startup > > As an example of how to use environment variables that's an excellent one, but > for production work it may pay to be a little paranoid, taking the view that > an API like a command line is a potential point of security exposure. > > Rather than execute anything that comes in on the command line, we could > instead parse it to ensure it meets a list of acceptable commands: > > on startup > switch word 1 of $1 > case "ExampleCommand1" > case "ExampleCommand2" > case "ExampleCommand3" > dispatch $1 to me > default > put "Invalid command: "& word 1 of $1 > end switch > quit > end startup > > For the relatively low cost of double-checking the command in the string $1 we > can limit the range of things that the app can be used for. > > It's a little more work, but prevents using the full range of LiveCode to > manipulate the app in unintended ways. > > -- > 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 > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From revdev at pdslabs.net Mon Nov 7 14:38:25 2011 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 07 Nov 2011 11:38:25 -0800 Subject: Passing Parameters In-Reply-To: References: <4EB751EC.000005.05752@CALS_BIG_PC> Message-ID: <4EB833B1.1070005@pdslabs.net> On 11/7/11 8:42 AM, Pete wrote: > I've never tried the open.read from/write process commands - would those be > another way to do this? Yes. See 'open process for neither' in the docs - it accomplishes the same thing as 'launch'. > > Back in the days when I worked on HP3000 computers, they had something > called message files. They were basically files that any number of > processes could write to and one process could read from and as a record > was read, it was deleted from the file. It was a great and very easy way > to implement client/server communications. > > Pete > Molly's Revenge > > > > > On Mon, Nov 7, 2011 at 3:41 AM, Mark Schonewille< > m.schonewille at economy-x-talk.com> wrote: > >> Hi Cal, >> >> You can start up a standalone from the commandline with >> >> C:/path/to/standalone.exe param1 param2,... >> ~/applications/standalone.app param1 param2... >> >> In your standalone you can retrieve the values in $1, $2,... anywhere in >> your scripts: >> >> put $1 into fld 1 >> get item 2 of $2 >> >> If your standalone is already running, you can use sockets to communicate. >> Here's http://qery.us/1a2 an example of using sockets for telnet >> communication. Once you understand how sockets work, you can use them for >> inter-application communication. >> >> On Mac OS X, you can also use AppleScript: >> >> set myScript to "answer \"hi\"" >> tell application "Revolution" to do script myScript >> >> Of course, the script limits apply, but if you only want to set the value >> of a variable, this should be sufficient. >> >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> Homepage: http://economy-x-talk.com >> Twitter: http://twitter.com/xtalkprogrammer >> KvK: 50277553 >> >> Become our partner in sales http://qery.us/16r Start selling Color >> Converter today. 20% commission! >> >> On 7 nov 2011, at 04:35, Cal Horner wrote: >> >>> Is there any command that will allow me to pass a simple parameter to a >> compiled LC program? >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mon Nov 7 16:48:02 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 7 Nov 2011 22:48:02 +0100 Subject: iPad crashes with visual effects Message-ID: <59F47E58-110B-4BF4-A822-34A99AAAE203@economy-x-talk.com> Hi, Is anyone else experiencing crashes whenever you try to use a visual effect on iPad? E.g. lock screen hide grp 1 unlock screen with visual effect wipe left freezes my app. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/16r Start selling Color Converter today. 20% commission! From scott at tactilemedia.com Mon Nov 7 16:58:03 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 7 Nov 2011 13:58:03 -0800 Subject: iPad crashes with visual effects In-Reply-To: <59F47E58-110B-4BF4-A822-34A99AAAE203@economy-x-talk.com> References: <59F47E58-110B-4BF4-A822-34A99AAAE203@economy-x-talk.com> Message-ID: <698F239F-C2A5-4B20-BF47-4A6864A7D501@tactilemedia.com> Are you using LC 5? If yes, maybe you have to use the new visual effects syntax? Regards, Scott Rossi Creative Director Tactile Media, UX Design On Nov 7, 2011, at 1:48 PM, Mark Schonewille wrote: > Hi, > > Is anyone else experiencing crashes whenever you try to use a visual effect on iPad? E.g. > > lock screen > hide grp 1 > unlock screen with visual effect wipe left > > freezes my app. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Become our partner in sales http://qery.us/16r Start selling Color Converter today. 20% commission! > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dev at digifilm.com Mon Nov 7 16:59:16 2011 From: dev at digifilm.com (ddas) Date: Mon, 7 Nov 2011 16:59:16 -0500 Subject: iPad crashes with visual effects In-Reply-To: <59F47E58-110B-4BF4-A822-34A99AAAE203@economy-x-talk.com> References: <59F47E58-110B-4BF4-A822-34A99AAAE203@economy-x-talk.com> Message-ID: Hi Mark, It might be a good idea to: Lock screen for visual effect hide grp 1 unlock screen with visual effect wipe left Cheers, Debdoot On Nov 7, 2011, at 4:48 PM, Mark Schonewille wrote: > Hi, > > Is anyone else experiencing crashes whenever you try to use a visual effect on iPad? E.g. > > lock screen > hide grp 1 > unlock screen with visual effect wipe left > > freezes my app. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Become our partner in sales http://qery.us/16r Start selling Color Converter today. 20% commission! > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mike at doub.com Mon Nov 7 18:12:51 2011 From: mike at doub.com (Michael Doub) Date: Mon, 7 Nov 2011 18:12:51 -0500 Subject: Use of dgIndex Message-ID: <0E3E4FAF-52FA-4CC1-8216-0867A1A2176F@doub.com> Can someone explain to me where you are able to use the dgLine and dgIndex properties? In the script below I am falling into the condition where no value is being returned for dgIndex. Do I have a syntax problem? Thanks Mike on FillInData pDataArray put the dgControl of me into theGrid put the dgIndex of theGrid into tinder end FillInData the complete stack can be found here to see the issue in actual operation: http://doub.com/test/test.livecode From zryip.theslug at gmail.com Mon Nov 7 18:26:31 2011 From: zryip.theslug at gmail.com (zryip theSlug) Date: Tue, 8 Nov 2011 00:26:31 +0100 Subject: Use of dgIndex In-Reply-To: <0E3E4FAF-52FA-4CC1-8216-0867A1A2176F@doub.com> References: <0E3E4FAF-52FA-4CC1-8216-0867A1A2176F@doub.com> Message-ID: On Tue, Nov 8, 2011 at 12:12 AM, Michael Doub wrote: > Can someone explain to me where you are able to use the dgLine and dgIndex properties? ? In the script below I am falling into the condition where no value is being returned for dgIndex. ? Do I have a syntax problem? Mike, me not representing the theGrid. Me representing the behavior for a cell in a datagrid row. So you have to change the line: put the dgIndex of theGrid into tindex by: put the dgIndex of me into tindex > > Thanks > ? Mike > > > on FillInData pDataArray > > ? put the dgControl of me into theGrid > ? put the dgIndex of theGrid into tinder > > end FillInData > > the complete stack can be found here to see the issue in actual operation: > > http://doub.com/test/test.livecode Remember that I have uploaded a functional example on y website. You are welcome to download it if it could help you in your task: http://www.aslugontheroad.com/index.php?option=com_phocadownload&view=category&id=7:data-grid&Itemid=63 The stack is named: Experiment 022 - Alphabetic grouping Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.com From Mark_Smith at cpe.umanitoba.ca Mon Nov 7 18:32:25 2011 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Mon, 7 Nov 2011 15:32:25 -0800 (PST) Subject: I Killed The Site In-Reply-To: References: Message-ID: <1320708745413-4014271.post@n4.nabble.com> Mike Kerner wrote: > > I just want to apologize for killing runrev.com. I was just trying to buy > something in the store when kaboom, the whole site went #epicfail. So > since it must be MY fault, sorries! > Too funny!! -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/I-Killed-The-Site-tp4007045p4014271.html Sent from the Revolution - User mailing list archive at Nabble.com. From pete at mollysrevenge.com Mon Nov 7 18:34:52 2011 From: pete at mollysrevenge.com (Pete) Date: Mon, 7 Nov 2011 15:34:52 -0800 Subject: Use of dgIndex In-Reply-To: <0E3E4FAF-52FA-4CC1-8216-0867A1A2176F@doub.com> References: <0E3E4FAF-52FA-4CC1-8216-0867A1A2176F@doub.com> Message-ID: dgIndex is a property of a line in the datagrid, not of the datagrid itself. So: put the dgIndex of me into tindex should take care of it. Pete Molly's Revenge On Mon, Nov 7, 2011 at 3:12 PM, Michael Doub wrote: > Can someone explain to me where you are able to use the dgLine and dgIndex > properties? In the script below I am falling into the condition where no > value is being returned for dgIndex. Do I have a syntax problem? > > Thanks > Mike > > > on FillInData pDataArray > > put the dgControl of me into theGrid > put the dgIndex of theGrid into tinder > > end FillInData > > the complete stack can be found here to see the issue in actual operation: > > http://doub.com/test/test.livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From mike at doub.com Mon Nov 7 18:38:22 2011 From: mike at doub.com (Michael Doub) Date: Mon, 7 Nov 2011 18:38:22 -0500 Subject: Use of dgIndex In-Reply-To: References: <0E3E4FAF-52FA-4CC1-8216-0867A1A2176F@doub.com> Message-ID: <39F23FB3-1E07-492B-876E-9A5DBC59E281@doub.com> That that did the trick. I still get confused on these references. Thanks Mike On 2011-11-07, at 6:26 PM, zryip theSlug wrote: > On Tue, Nov 8, 2011 at 12:12 AM, Michael Doub wrote: >> Can someone explain to me where you are able to use the dgLine and dgIndex properties? In the script below I am falling into the condition where no value is being returned for dgIndex. Do I have a syntax problem? > > Mike, > > me not representing the theGrid. Me representing the behavior for a > cell in a datagrid row. > So you have to change the line: > > put the dgIndex of theGrid into tindex > > by: > > put the dgIndex of me into tindex > >> >> Thanks >> Mike >> >> >> on FillInData pDataArray >> >> put the dgControl of me into theGrid >> put the dgIndex of theGrid into tinder >> >> end FillInData >> >> the complete stack can be found here to see the issue in actual operation: >> >> http://doub.com/test/test.livecode > > > Remember that I have uploaded a functional example on y website. You > are welcome to download it if it could help you in your task: > http://www.aslugontheroad.com/index.php?option=com_phocadownload&view=category&id=7:data-grid&Itemid=63 > > The stack is named: > Experiment 022 - Alphabetic grouping > > > > Best regards, > -- > -Zryip TheSlug- wish you the best! 8) > http://www.aslugontheroad.com > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Nov 7 19:00:10 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 7 Nov 2011 17:00:10 -0700 Subject: Use of dgIndex In-Reply-To: <39F23FB3-1E07-492B-876E-9A5DBC59E281@doub.com> References: <0E3E4FAF-52FA-4CC1-8216-0867A1A2176F@doub.com> <39F23FB3-1E07-492B-876E-9A5DBC59E281@doub.com> Message-ID: Theres a couple other things you'll have to track down to make this work. You are using dgdataofindex as your comparison, but if I understand how the datagrid works in this respect that will use the internal index which doesn't necessarily represent the visual (sorted) order of the data, so the comparison will have strange affects when using it to display or hide your header. You'll want to use the dgDataOfLine instead. I made some small changes to the fillIndata to get it to work. Didn't doc the changes, too little time at the moment, but should be easy to find them. *on FillInData pDataArray* * put empty into fld "DLabel" of me* * if pDataArray["FirstName"] is not empty then * * put pDataArray["FirstName"] & space after fld "DLabel" of me* * end if* * if pDataArray["MiddleName"] is not empty then * * put pDataArray["MiddleName"] & space after fld "DLabel" of me* * end if* * put pDataArray["LastName"] after fld "DLabel" of me* * put char 1 of fld "DLabel" of me into fld "HLabel" of me* * set the vis of fld "HLabel" of me to false* * set the vis of graphic "HBackground" of me to false* * put the dgControl of me into theGrid* * put the dgIndex of me into tindex* * if tindex is empty then * * put "error" into fld "HLabel" of me* * set the vis of fld "HLabel" of me to true* * set the vis of graphic "HBackground" of me to true* * else* * put the dgIndexes of theGrid into tlist* * set itemdel to comma* * put itemOffset(tindex,tlist) into myPosition* * If the dgindex of me = 1 then * * -- we have the first item so show a header* * set the vis of fld "HLabel" of me to true* * set the vis of graphic "HBackground" of me to true* * else* * put the dgline of me - 1 into previousIndex* * --item (myPosition -1) of tlist into previousIndex* * put the dgDataOfline[previousIndex] of me into theotherdata* * put theotherdata["firstName"] & return after msg* * if the first char of theotherdata["FirstName"] <> the first char of pDataArray["FirstName"] then* * -- we found a break so show a header* * set the vis of fld "HLabel" of me to true* * set the vis of graphic "HBackground" of me to true* * end if* * end if* * end if* *end FillInData* On Mon, Nov 7, 2011 at 4:38 PM, Michael Doub wrote: > That that did the trick. I still get confused on these references. > > Thanks > Mike > > > On 2011-11-07, at 6:26 PM, zryip theSlug wrote: > > > On Tue, Nov 8, 2011 at 12:12 AM, Michael Doub wrote: > >> Can someone explain to me where you are able to use the dgLine and > dgIndex properties? In the script below I am falling into the condition > where no value is being returned for dgIndex. Do I have a syntax problem? > > > > Mike, > > > > me not representing the theGrid. Me representing the behavior for a > > cell in a datagrid row. > > So you have to change the line: > > > > put the dgIndex of theGrid into tindex > > > > by: > > > > put the dgIndex of me into tindex > > > >> > >> Thanks > >> Mike > >> > >> > >> on FillInData pDataArray > >> > >> put the dgControl of me into theGrid > >> put the dgIndex of theGrid into tinder > >> > >> end FillInData > >> > >> the complete stack can be found here to see the issue in actual > operation: > >> > >> http://doub.com/test/test.livecode > > > > > > Remember that I have uploaded a functional example on y website. You > > are welcome to download it if it could help you in your task: > > > http://www.aslugontheroad.com/index.php?option=com_phocadownload&view=category&id=7:data-grid&Itemid=63 > > > > The stack is named: > > Experiment 022 - Alphabetic grouping > > > > > > > > Best regards, > > -- > > -Zryip TheSlug- wish you the best! 8) > > http://www.aslugontheroad.com > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pmbrig at gmail.com Mon Nov 7 19:49:42 2011 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Mon, 7 Nov 2011 19:49:42 -0500 Subject: Use of dgIndex In-Reply-To: References: <0E3E4FAF-52FA-4CC1-8216-0867A1A2176F@doub.com> <39F23FB3-1E07-492B-876E-9A5DBC59E281@doub.com> Message-ID: <7AB37898-F36E-48D6-B871-8E7967D49508@gmail.com> On Nov 7, 2011, at 7:00 PM, Mike Bonner wrote: > ... > > *on FillInData pDataArray* > * put empty into fld "DLabel" of me* > * if pDataArray["FirstName"] is not empty then * > * put pDataArray["FirstName"] & space after fld "DLabel" of me* > * end if* > * if pDataArray["MiddleName"] is not empty then * > * put pDataArray["MiddleName"] & space after fld "DLabel" of me* > * end if* > * put pDataArray["LastName"] after fld "DLabel" of me* > * put char 1 of fld "DLabel" of me into fld "HLabel" of me* > * set the vis of fld "HLabel" of me to false* > * set the vis of graphic "HBackground" of me to false* > * put the dgControl of me into theGrid* > * put the dgIndex of me into tindex* > * if tindex is empty then * > * put "error" into fld "HLabel" of me* > * set the vis of fld "HLabel" of me to true* > * set the vis of graphic "HBackground" of me to true* > * else* > * put the dgIndexes of theGrid into tlist* > * set itemdel to comma* > * put itemOffset(tindex,tlist) into myPosition* > * If the dgindex of me = 1 then * > * -- we have the first item so show a header* > * set the vis of fld "HLabel" of me to true* > * set the vis of graphic "HBackground" of me to true* > * else* > * put the dgline of me - 1 into previousIndex* > * --item (myPosition -1) of tlist into previousIndex* > * put the dgDataOfline[previousIndex] of me into theotherdata* > * put theotherdata["firstName"] & return after msg* > * if the first char of theotherdata["FirstName"] <> the first char > of pDataArray["FirstName"] then* > * -- we found a break so show a header* > * set the vis of fld "HLabel" of me to true* > * set the vis of graphic "HBackground" of me to true* > * end if* > * end if* > * end if* > *end FillInData* I'm curious, is there something in your email client, or in the copy-from-script-and-paste-into-email process that puts the asterisks before and after each line? It makes it hard to copy and paste such scripts to use them. Just wondering.... -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From bonnmike at gmail.com Mon Nov 7 19:54:14 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 7 Nov 2011 17:54:14 -0700 Subject: Use of dgIndex In-Reply-To: <7AB37898-F36E-48D6-B871-8E7967D49508@gmail.com> References: <0E3E4FAF-52FA-4CC1-8216-0867A1A2176F@doub.com> <39F23FB3-1E07-492B-876E-9A5DBC59E281@doub.com> <7AB37898-F36E-48D6-B871-8E7967D49508@gmail.com> Message-ID: Hmm. its just gmail and they weren't and aren't there when I paste. As far as I know gmail doesn't do this so i'm not sure where they came from. On Mon, Nov 7, 2011 at 5:49 PM, Peter M. Brigham, MD wrote: > On Nov 7, 2011, at 7:00 PM, Mike Bonner wrote: > > > ... > > > > *on FillInData pDataArray* > > * put empty into fld "DLabel" of me* > > * if pDataArray["FirstName"] is not empty then * > > * put pDataArray["FirstName"] & space after fld "DLabel" of me* > > * end if* > > * if pDataArray["MiddleName"] is not empty then * > > * put pDataArray["MiddleName"] & space after fld "DLabel" of me* > > * end if* > > * put pDataArray["LastName"] after fld "DLabel" of me* > > * put char 1 of fld "DLabel" of me into fld "HLabel" of me* > > * set the vis of fld "HLabel" of me to false* > > * set the vis of graphic "HBackground" of me to false* > > * put the dgControl of me into theGrid* > > * put the dgIndex of me into tindex* > > * if tindex is empty then * > > * put "error" into fld "HLabel" of me* > > * set the vis of fld "HLabel" of me to true* > > * set the vis of graphic "HBackground" of me to true* > > * else* > > * put the dgIndexes of theGrid into tlist* > > * set itemdel to comma* > > * put itemOffset(tindex,tlist) into myPosition* > > * If the dgindex of me = 1 then * > > * -- we have the first item so show a header* > > * set the vis of fld "HLabel" of me to true* > > * set the vis of graphic "HBackground" of me to true* > > * else* > > * put the dgline of me - 1 into previousIndex* > > * --item (myPosition -1) of tlist into previousIndex* > > * put the dgDataOfline[previousIndex] of me into theotherdata* > > * put theotherdata["firstName"] & return after msg* > > * if the first char of theotherdata["FirstName"] <> the first > char > > of pDataArray["FirstName"] then* > > * -- we found a break so show a header* > > * set the vis of fld "HLabel" of me to true* > > * set the vis of graphic "HBackground" of me to true* > > * end if* > > * end if* > > * end if* > > *end FillInData* > > I'm curious, is there something in your email client, or in the > copy-from-script-and-paste-into-email process that puts the asterisks > before and after each line? It makes it hard to copy and paste such scripts > to use them. Just wondering.... > > -- 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 Mon Nov 7 19:56:21 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 7 Nov 2011 17:56:21 -0700 Subject: Use of dgIndex In-Reply-To: References: <0E3E4FAF-52FA-4CC1-8216-0867A1A2176F@doub.com> <39F23FB3-1E07-492B-876E-9A5DBC59E281@doub.com> <7AB37898-F36E-48D6-B871-8E7967D49508@gmail.com> Message-ID: ah, I betcha I know what it is. I italicised the script portion and bet whatever client you use doesn't recognize it. Either way, heres the script again no italics. on FillInData pDataArray put empty into fld "DLabel" of me if pDataArray["FirstName"] is not empty then put pDataArray["FirstName"] & space after fld "DLabel" of me end if if pDataArray["MiddleName"] is not empty then put pDataArray["MiddleName"] & space after fld "DLabel" of me end if put pDataArray["LastName"] after fld "DLabel" of me put char 1 of fld "DLabel" of me into fld "HLabel" of me set the vis of fld "HLabel" of me to false set the vis of graphic "HBackground" of me to false put the dgControl of me into theGrid put the dgIndex of me into tindex if tindex is empty then put "error" into fld "HLabel" of me set the vis of fld "HLabel" of me to true set the vis of graphic "HBackground" of me to true else put the dgIndexes of theGrid into tlist set itemdel to comma put itemOffset(tindex,tlist) into myPosition If the dgindex of me = 1 then -- we have the first item so show a header set the vis of fld "HLabel" of me to true set the vis of graphic "HBackground" of me to true else put the dgline of me - 1 into previousIndex --item (myPosition -1) of tlist into previousIndex put the dgDataOfline[previousIndex] of me into theotherdata put theotherdata["firstName"] & return after msg if the first char of theotherdata["FirstName"] <> the first char of pDataArray["FirstName"] then -- we found a break so show a header set the vis of fld "HLabel" of me to true set the vis of graphic "HBackground" of me to true end if end if end if end FillInData On Mon, Nov 7, 2011 at 5:54 PM, Mike Bonner wrote: > Hmm. its just gmail and they weren't and aren't there when I paste. As far > as I know gmail doesn't do this so i'm not sure where they came from. > > On Mon, Nov 7, 2011 at 5:49 PM, Peter M. Brigham, MD wrote: > >> On Nov 7, 2011, at 7:00 PM, Mike Bonner wrote: >> >> > ... >> > >> > *on FillInData pDataArray* >> > * put empty into fld "DLabel" of me* >> > * if pDataArray["FirstName"] is not empty then * >> > * put pDataArray["FirstName"] & space after fld "DLabel" of me* >> > * end if* >> > * if pDataArray["MiddleName"] is not empty then * >> > * put pDataArray["MiddleName"] & space after fld "DLabel" of me* >> > * end if* >> > * put pDataArray["LastName"] after fld "DLabel" of me* >> > * put char 1 of fld "DLabel" of me into fld "HLabel" of me* >> > * set the vis of fld "HLabel" of me to false* >> > * set the vis of graphic "HBackground" of me to false* >> > * put the dgControl of me into theGrid* >> > * put the dgIndex of me into tindex* >> > * if tindex is empty then * >> > * put "error" into fld "HLabel" of me* >> > * set the vis of fld "HLabel" of me to true* >> > * set the vis of graphic "HBackground" of me to true* >> > * else* >> > * put the dgIndexes of theGrid into tlist* >> > * set itemdel to comma* >> > * put itemOffset(tindex,tlist) into myPosition* >> > * If the dgindex of me = 1 then * >> > * -- we have the first item so show a header* >> > * set the vis of fld "HLabel" of me to true* >> > * set the vis of graphic "HBackground" of me to true* >> > * else* >> > * put the dgline of me - 1 into previousIndex* >> > * --item (myPosition -1) of tlist into previousIndex* >> > * put the dgDataOfline[previousIndex] of me into theotherdata* >> > * put theotherdata["firstName"] & return after msg* >> > * if the first char of theotherdata["FirstName"] <> the first >> char >> > of pDataArray["FirstName"] then* >> > * -- we found a break so show a header* >> > * set the vis of fld "HLabel" of me to true* >> > * set the vis of graphic "HBackground" of me to true* >> > * end if* >> > * end if* >> > * end if* >> > *end FillInData* >> >> I'm curious, is there something in your email client, or in the >> copy-from-script-and-paste-into-email process that puts the asterisks >> before and after each line? It makes it hard to copy and paste such scripts >> to use them. Just wondering.... >> >> -- 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 mike at doub.com Mon Nov 7 20:25:49 2011 From: mike at doub.com (Michael Doub) Date: Mon, 7 Nov 2011 20:25:49 -0500 Subject: Use of dgIndex In-Reply-To: References: <0E3E4FAF-52FA-4CC1-8216-0867A1A2176F@doub.com> <39F23FB3-1E07-492B-876E-9A5DBC59E281@doub.com> <7AB37898-F36E-48D6-B871-8E7967D49508@gmail.com> Message-ID: <81DF5433-C8BF-43EE-84DB-BBB47480E9EA@doub.com> I think both methods will work. I was having problems with dgLine as well so I found that dgIndexes returns the indexes in the order that they were displayed. So itemOffset is essentially returning dgLine. I am not sure that you can assume that dgIndex of me = 1 is equivalent to dgLine of me = 1. So I think the line: If the dgindex of me = 1 then needs to be: If myPosition of me = 1 then or if the dgLine of me = 1 then What is the procedure to cut and paste a script into email? On my initial email I tried to paste the script below and it go rejected because it was too large. It did remain colorized so I assumed that it was all of the html tags that push it over the limit of the list. BTW thanks for all of the help folks. -= Mike On 2011-11-07, at 7:56 PM, Mike Bonner wrote: > ah, I betcha I know what it is. I italicised the script portion and bet > whatever client you use doesn't recognize it. Either way, heres the script > again no italics. > > on FillInData pDataArray > put empty into fld "DLabel" of me > if pDataArray["FirstName"] is not empty then > put pDataArray["FirstName"] & space after fld "DLabel" of me > end if > if pDataArray["MiddleName"] is not empty then > put pDataArray["MiddleName"] & space after fld "DLabel" of me > end if > put pDataArray["LastName"] after fld "DLabel" of me > put char 1 of fld "DLabel" of me into fld "HLabel" of me > set the vis of fld "HLabel" of me to false > set the vis of graphic "HBackground" of me to false > put the dgControl of me into theGrid > put the dgIndex of me into tindex > if tindex is empty then > put "error" into fld "HLabel" of me > set the vis of fld "HLabel" of me to true > set the vis of graphic "HBackground" of me to true > else > put the dgIndexes of theGrid into tlist > set itemdel to comma > put itemOffset(tindex,tlist) into myPosition > If the dgindex of me = 1 then > -- we have the first item so show a header > set the vis of fld "HLabel" of me to true > set the vis of graphic "HBackground" of me to true > else > put the dgline of me - 1 into previousIndex > --item (myPosition -1) of tlist into previousIndex > put the dgDataOfline[previousIndex] of me into theotherdata > put theotherdata["firstName"] & return after msg > if the first char of theotherdata["FirstName"] <> the first char > of pDataArray["FirstName"] then > -- we found a break so show a header > set the vis of fld "HLabel" of me to true > set the vis of graphic "HBackground" of me to true > end if > end if > end if > end FillInData > > On Mon, Nov 7, 2011 at 5:54 PM, Mike Bonner wrote: > >> Hmm. its just gmail and they weren't and aren't there when I paste. As far >> as I know gmail doesn't do this so i'm not sure where they came from. >> >> On Mon, Nov 7, 2011 at 5:49 PM, Peter M. Brigham, MD wrote: >> >>> On Nov 7, 2011, at 7:00 PM, Mike Bonner wrote: >>> >>>> ... >>>> >>>> *on FillInData pDataArray* >>>> * put empty into fld "DLabel" of me* >>>> * if pDataArray["FirstName"] is not empty then * >>>> * put pDataArray["FirstName"] & space after fld "DLabel" of me* >>>> * end if* >>>> * if pDataArray["MiddleName"] is not empty then * >>>> * put pDataArray["MiddleName"] & space after fld "DLabel" of me* >>>> * end if* >>>> * put pDataArray["LastName"] after fld "DLabel" of me* >>>> * put char 1 of fld "DLabel" of me into fld "HLabel" of me* >>>> * set the vis of fld "HLabel" of me to false* >>>> * set the vis of graphic "HBackground" of me to false* >>>> * put the dgControl of me into theGrid* >>>> * put the dgIndex of me into tindex* >>>> * if tindex is empty then * >>>> * put "error" into fld "HLabel" of me* >>>> * set the vis of fld "HLabel" of me to true* >>>> * set the vis of graphic "HBackground" of me to true* >>>> * else* >>>> * put the dgIndexes of theGrid into tlist* >>>> * set itemdel to comma* >>>> * put itemOffset(tindex,tlist) into myPosition* >>>> * If the dgindex of me = 1 then * >>>> * -- we have the first item so show a header* >>>> * set the vis of fld "HLabel" of me to true* >>>> * set the vis of graphic "HBackground" of me to true* >>>> * else* >>>> * put the dgline of me - 1 into previousIndex* >>>> * --item (myPosition -1) of tlist into previousIndex* >>>> * put the dgDataOfline[previousIndex] of me into theotherdata* >>>> * put theotherdata["firstName"] & return after msg* >>>> * if the first char of theotherdata["FirstName"] <> the first >>> char >>>> of pDataArray["FirstName"] then* >>>> * -- we found a break so show a header* >>>> * set the vis of fld "HLabel" of me to true* >>>> * set the vis of graphic "HBackground" of me to true* >>>> * end if* >>>> * end if* >>>> * end if* >>>> *end FillInData* >>> >>> I'm curious, is there something in your email client, or in the >>> copy-from-script-and-paste-into-email process that puts the asterisks >>> before and after each line? It makes it hard to copy and paste such scripts >>> to use them. Just wondering.... >>> >>> -- 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 bonnmike at gmail.com Mon Nov 7 20:43:57 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 7 Nov 2011 18:43:57 -0700 Subject: Use of dgIndex In-Reply-To: <81DF5433-C8BF-43EE-84DB-BBB47480E9EA@doub.com> References: <0E3E4FAF-52FA-4CC1-8216-0867A1A2176F@doub.com> <39F23FB3-1E07-492B-876E-9A5DBC59E281@doub.com> <7AB37898-F36E-48D6-B871-8E7967D49508@gmail.com> <81DF5433-C8BF-43EE-84DB-BBB47480E9EA@doub.com> Message-ID: Oh yep, I didn't catch the dgindex check for the first one. ###### yep, dgline is the way to go. I am not sure that you can assume that dgIndex of me = 1 is equivalent to dgLine of me = 1. So I think the line: If the dgindex of me = 1 then needs to be: If myPosition of me = 1 then or if the dgLine of me = 1 then ######## As for which way to go (indexes vs lines) the datagrid api says this about them. *dgIndexes* - get the dgIndexes - Returns the internal list of indexes in the order in which they appear in the data grid. Indexes are the numeric indices used when setting the dgData property. *dgIndexOfLine* - put the dgIndexOfLine [ pLine ] - Returns the index associated with the given line. Since the button that generates the data doesn't generate in alphabetical order, when the dgdata is set and then sorted by the first name key, the internal array is still in the order that you generated it, but the lines are the order of appearance. The physical line number displayed in the datagrid. (basically the same thing you said above but applied to the line comparison to determine header visibility) To paste scripts and have them show up right you might set your client to send plaintext rather than html, or use an intermediate paste. Paste into notepad or something, then reselect and copy and paste into the email. Pretty sure you're correct about the reasons behind the list rejection. I'm sure there are better methods though. From pete at mollysrevenge.com Mon Nov 7 20:49:48 2011 From: pete at mollysrevenge.com (Pete) Date: Mon, 7 Nov 2011 17:49:48 -0800 Subject: Use of dgIndex In-Reply-To: References: <0E3E4FAF-52FA-4CC1-8216-0867A1A2176F@doub.com> <39F23FB3-1E07-492B-876E-9A5DBC59E281@doub.com> <7AB37898-F36E-48D6-B871-8E7967D49508@gmail.com> Message-ID: I was wondering the same thing. It probably is the italics, but I'm using gmail too so I would have thought it would have recognised that. No big deal. Pete Molly's Revenge On Mon, Nov 7, 2011 at 4:56 PM, Mike Bonner wrote: > ah, I betcha I know what it is. I italicised the script portion and bet > whatever client you use doesn't recognize it. Either way, heres the script > again no italics. > > on FillInData pDataArray > put empty into fld "DLabel" of me > if pDataArray["FirstName"] is not empty then > put pDataArray["FirstName"] & space after fld "DLabel" of me > end if > if pDataArray["MiddleName"] is not empty then > put pDataArray["MiddleName"] & space after fld "DLabel" of me > end if > put pDataArray["LastName"] after fld "DLabel" of me > put char 1 of fld "DLabel" of me into fld "HLabel" of me > set the vis of fld "HLabel" of me to false > set the vis of graphic "HBackground" of me to false > put the dgControl of me into theGrid > put the dgIndex of me into tindex > if tindex is empty then > put "error" into fld "HLabel" of me > set the vis of fld "HLabel" of me to true > set the vis of graphic "HBackground" of me to true > else > put the dgIndexes of theGrid into tlist > set itemdel to comma > put itemOffset(tindex,tlist) into myPosition > If the dgindex of me = 1 then > -- we have the first item so show a header > set the vis of fld "HLabel" of me to true > set the vis of graphic "HBackground" of me to true > else > put the dgline of me - 1 into previousIndex > --item (myPosition -1) of tlist into previousIndex > put the dgDataOfline[previousIndex] of me into theotherdata > put theotherdata["firstName"] & return after msg > if the first char of theotherdata["FirstName"] <> the first char > of pDataArray["FirstName"] then > -- we found a break so show a header > set the vis of fld "HLabel" of me to true > set the vis of graphic "HBackground" of me to true > end if > end if > end if > end FillInData > > On Mon, Nov 7, 2011 at 5:54 PM, Mike Bonner wrote: > > > Hmm. its just gmail and they weren't and aren't there when I paste. As > far > > as I know gmail doesn't do this so i'm not sure where they came from. > > > > On Mon, Nov 7, 2011 at 5:49 PM, Peter M. Brigham, MD >wrote: > > > >> On Nov 7, 2011, at 7:00 PM, Mike Bonner wrote: > >> > >> > ... > >> > > >> > *on FillInData pDataArray* > >> > * put empty into fld "DLabel" of me* > >> > * if pDataArray["FirstName"] is not empty then * > >> > * put pDataArray["FirstName"] & space after fld "DLabel" of me* > >> > * end if* > >> > * if pDataArray["MiddleName"] is not empty then * > >> > * put pDataArray["MiddleName"] & space after fld "DLabel" of me* > >> > * end if* > >> > * put pDataArray["LastName"] after fld "DLabel" of me* > >> > * put char 1 of fld "DLabel" of me into fld "HLabel" of me* > >> > * set the vis of fld "HLabel" of me to false* > >> > * set the vis of graphic "HBackground" of me to false* > >> > * put the dgControl of me into theGrid* > >> > * put the dgIndex of me into tindex* > >> > * if tindex is empty then * > >> > * put "error" into fld "HLabel" of me* > >> > * set the vis of fld "HLabel" of me to true* > >> > * set the vis of graphic "HBackground" of me to true* > >> > * else* > >> > * put the dgIndexes of theGrid into tlist* > >> > * set itemdel to comma* > >> > * put itemOffset(tindex,tlist) into myPosition* > >> > * If the dgindex of me = 1 then * > >> > * -- we have the first item so show a header* > >> > * set the vis of fld "HLabel" of me to true* > >> > * set the vis of graphic "HBackground" of me to true* > >> > * else* > >> > * put the dgline of me - 1 into previousIndex* > >> > * --item (myPosition -1) of tlist into previousIndex* > >> > * put the dgDataOfline[previousIndex] of me into theotherdata* > >> > * put theotherdata["firstName"] & return after msg* > >> > * if the first char of theotherdata["FirstName"] <> the first > >> char > >> > of pDataArray["FirstName"] then* > >> > * -- we found a break so show a header* > >> > * set the vis of fld "HLabel" of me to true* > >> > * set the vis of graphic "HBackground" of me to true* > >> > * end if* > >> > * end if* > >> > * end if* > >> > *end FillInData* > >> > >> I'm curious, is there something in your email client, or in the > >> copy-from-script-and-paste-into-email process that puts the asterisks > >> before and after each line? It makes it hard to copy and paste such > scripts > >> to use them. Just wondering.... > >> > >> -- 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 mfstuart at cox.net Tue Nov 8 00:06:39 2011 From: mfstuart at cox.net (Mark Stuart) Date: Mon, 7 Nov 2011 21:06:39 -0800 Subject: Formatting ChordPro music charts Message-ID: <4ACB8C15D76541638EEEA0271F98F5C6@stuart> Hi all, Anyone familiar with the ChordPro music chart format? I want to build a desktop app that would allow the user to edit the song chart, and then print it, all using the ChordPro format. Editing the chart looks like this: [A]This is my [D]song [A]It's not very [D]long [A]Hey. When printed it looks like this: A D This is my song A D It's not very long A Hey The key is printed directly above where the key was entered into the chart. The printing script would have to read each line, looking for the opening [ square bracket, look for the next closing ] square bracket, and format that content into a line including spacing based on the line it found the square brackets on. I'm not sure how to do that. Anyone with some ideas on this? Regards, Mark Stuart From janschenkel at yahoo.com Tue Nov 8 00:50:38 2011 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 7 Nov 2011 21:50:38 -0800 (PST) Subject: Formatting ChordPro music charts In-Reply-To: <4ACB8C15D76541638EEEA0271F98F5C6@stuart> References: <4ACB8C15D76541638EEEA0271F98F5C6@stuart> Message-ID: <1320731438.59193.YahooMailNeo@web65416.mail.ac4.yahoo.com> Ooh, another breakfast cereal challenge - what better way to start the day? :-) Here's my take on it; only lightly tested but looked alright in my variations: ## on mouseUp ?? putChordProPrintText(field"ChordProText") intofield"PrintText" end mouseUp private function ChordProPrintText pChordProText ?? local tPrintText, tLine, tIndex, tInBracketFlag, tChords, tLyrics ?? repeat for each line tLine in pChordProText ? ? ? put empty into tChords ? ? ? put empty into tLyrics ? ? ? put false into tInBracketFlag ? ? ? repeat with tIndex = 1 to the number of characters in tLine ?? ? ? ? if char tIndex of tLine is "[" then ? ? ? ? ? ? put true into tInBracketFlag ?? ? ? ? else if char tIndex of tLine is "]" then ? ? ? ? ? ? put false into tInBracketFlag ?? ? ? ? else if tInBracketFlag is true then ? ? ? ? ? ? put char tIndex of tLine after tChords ?? ? ? ? else ? ? ? ? ? ? put char tIndex of tLine after tLyrics ? ? ? ? ? ? if the number of characters in tChords < the number of characters in tLyrics then ?? ? ? ? ? ? ? put space after tChords ? ? ? ? ? ? end if ?? ? ? ? end if ? ? ? end repeat ? ? ? put tChords & return & tLyrics & return after tPrintText ?? end repeat ?? return char 1 to -2 of tPrintText -- no trailing return end ChordProPrintText ## 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: Mark Stuart To: use-livecode at lists.runrev.com Sent: Tuesday, November 8, 2011 6:06 AM Subject: Formatting ChordPro music charts Hi all, Anyone familiar with the ChordPro music chart format? I want to build a desktop app that would allow the user to edit the song chart, and then print it, all using the ChordPro format. Editing the chart looks like this: [A]This is my [D]song [A]It's not very [D]long [A]Hey. When printed it looks like this: A? ? ? ? ? D This is my song A? ? ? ? ? ? D It's not very long A Hey The key is printed directly above where the key was entered into the chart. The printing script would have to read each line, looking for the opening [ square bracket, look for the next closing ] square bracket, and format that content into a line including spacing based on the line it found the square brackets on. I'm not sure how to do that. Anyone with some ideas on this? Regards, Mark Stuart _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Tue Nov 8 01:18:35 2011 From: coiin at verizon.net (Colin Holgate) Date: Tue, 08 Nov 2011 01:18:35 -0500 Subject: Formatting ChordPro music charts In-Reply-To: <1320731438.59193.YahooMailNeo@web65416.mail.ac4.yahoo.com> References: <4ACB8C15D76541638EEEA0271F98F5C6@stuart> <1320731438.59193.YahooMailNeo@web65416.mail.ac4.yahoo.com> Message-ID: <64C8167A-898B-463B-BB68-3483C7316113@verizon.net> Jan, does your routine require that it be a monospaced font? From smudge.andy at googlemail.com Tue Nov 8 02:49:33 2011 From: smudge.andy at googlemail.com (AndyP) Date: Mon, 7 Nov 2011 23:49:33 -0800 (PST) Subject: ANN: Harmonic Oscillators In-Reply-To: References: Message-ID: <1320738573860-4015167.post@n4.nabble.com> Hi Roger, Thanks for sharing this and the great other scripts/apps on your page. I'm learning a lot from these...many thanks. ----- Andy Piddock My software never has bugs. It just develops random features. PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode (v1.4.1 released 26/08/2011) -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-Harmonic-Oscillators-tp3997017p4015167.html Sent from the Revolution - User mailing list archive at Nabble.com. From phil at liverpool.ac.uk Tue Nov 8 03:22:02 2011 From: phil at liverpool.ac.uk (Phil Jimmieson) Date: Tue, 8 Nov 2011 08:22:02 +0000 Subject: iPad crashes with visual effects In-Reply-To: <59F47E58-110B-4BF4-A822-34A99AAAE203@economy-x-talk.com> References: <59F47E58-110B-4BF4-A822-34A99AAAE203@economy-x-talk.com> Message-ID: <2D1C0BD3-8105-48FF-ADEE-BE4BC96298AF@liverpool.ac.uk> Hi mark, this sounds like one I reported for 5.0, which was fixed for 5.0.1-dp-1 http://quality.runrev.com/show_bug.cgi?id=9802 On 7 Nov 2011, at 21:48, Mark Schonewille wrote: > Hi, > > Is anyone else experiencing crashes whenever you try to use a visual effect on iPad? E.g. > > lock screen > hide grp 1 > unlock screen with visual effect wipe left > > freezes my app. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Become our partner in sales http://qery.us/16r Start selling Color Converter today. 20% commission! > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Jimmieson phil at liverpool.ac.uk (UK) 0151 795 4236 (Mobile) 07976 983164 Computer Science Dept., Liverpool University, Ashton Building, Ashton Street Liverpool L69 3BX http://www.csc.liv.ac.uk/~phil/ I used to sit on a special medical board... ...but now I use this ointment. From janschenkel at yahoo.com Tue Nov 8 04:52:37 2011 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 8 Nov 2011 01:52:37 -0800 (PST) Subject: Formatting ChordPro music charts In-Reply-To: <64C8167A-898B-463B-BB68-3483C7316113@verizon.net> References: <4ACB8C15D76541638EEEA0271F98F5C6@stuart> <1320731438.59193.YahooMailNeo@web65416.mail.ac4.yahoo.com> <64C8167A-898B-463B-BB68-3483C7316113@verizon.net> Message-ID: <1320745957.35042.YahooMailNeo@web65406.mail.ac4.yahoo.com> Yes it would - that's how most guitar tab music sites will display it. Otherwise it's a little trickier to figure out the string width and insert appropriate 1 pixel wide spaces. ? 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: Colin Holgate To: How to use LiveCode Sent: Tuesday, November 8, 2011 7:18 AM Subject: Re: Formatting ChordPro music charts Jan, does your routine require that it be a monospaced font? _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Tue Nov 8 07:31:59 2011 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 8 Nov 2011 13:31:59 +0100 Subject: OT: Paradigma Software Inc released Free Business Ready Database and Reports Server Message-ID: Hi, this might be of interest for someone. Paradigma released "Free Business Ready Database and Reports Server. Visit the following link for more informations (including the terms) http://www.valentina-db.com/en/company/news/1-latest-news/257-paradigma-software-releases-free-business-ready-database-and-reports-server Regards, Matthias From mike at doub.com Tue Nov 8 08:15:49 2011 From: mike at doub.com (Michael Doub) Date: Tue, 8 Nov 2011 08:15:49 -0500 Subject: Use of dgIndex In-Reply-To: References: <0E3E4FAF-52FA-4CC1-8216-0867A1A2176F@doub.com> <39F23FB3-1E07-492B-876E-9A5DBC59E281@doub.com> <7AB37898-F36E-48D6-B871-8E7967D49508@gmail.com> Message-ID: <58A7F2A6-BF80-437C-A0A7-B6A67B7E9A5E@doub.com> This is driving me crazy. I modified my real project code as well as my test stack to use the following: put the dgIndex of me into tindex put the dgIndexes of theGrid into tlist set itemdel to comma put itemOffset(tindex,tlist) into myPosition The test stack works fine, but in my project code dgIndex is not retuning anything! I captured the value of me in both the test stack and my project. I get different values of me! test stack returns group "Row Template 0001" (number part seems to be = to dgLine and it increments) my project stack returns group "Row Template" Does anyone know if there are any interactions between the debugger and data grids? I wonder if I have messed up some internal state of the data grid while debugging. My project code is managing 2 different sortings of the data. The different sortings are being directed to the data grid by calling Dispatch "SortDataByKey" to group "DataGrid" of card Main with \ "LastName","text","ascending",true get the sortOrder of Card "Main" and Dispatch "SortDataByKey" to group "DataGrid" of card Main with \ "DaysTill","numeric","ascending",true from the open stack hander. I can't believe that sorting is causing this but I am at a loss at this point ?. And I have a sinking feeling that SortDataByKey is not a stable sort if it is called multiple times. Does anyone know for sure? From mike at doub.com Tue Nov 8 08:24:45 2011 From: mike at doub.com (Michael Doub) Date: Tue, 8 Nov 2011 08:24:45 -0500 Subject: Use of dgIndex In-Reply-To: <58A7F2A6-BF80-437C-A0A7-B6A67B7E9A5E@doub.com> References: <0E3E4FAF-52FA-4CC1-8216-0867A1A2176F@doub.com> <39F23FB3-1E07-492B-876E-9A5DBC59E281@doub.com> <7AB37898-F36E-48D6-B871-8E7967D49508@gmail.com> <58A7F2A6-BF80-437C-A0A7-B6A67B7E9A5E@doub.com> Message-ID: <97E788B8-A806-4DEC-A3AF-6AFA9D92FF85@doub.com> I also tried using dgLine and it is not returning anything either. Obviously because of the invalid reference being returned in me. -= Mike From david at dvglasgow.wanadoo.co.uk Tue Nov 8 10:02:21 2011 From: david at dvglasgow.wanadoo.co.uk (David Glasgow) Date: Tue, 8 Nov 2011 15:02:21 +0000 Subject: standalones onto iOS procedure In-Reply-To: References: Message-ID: Hello folks, Trying to get a hello world iOS app onto my iPad has proved rather more confusing than I expected, coinciding as it did with new versions of iOS, XCode and Live Code. I might be quite close, but it is difficult to tell. I am following the deployment lesson on runrev, and get to the final step. However, the new version of XCode appears to have been significantly changed and there is no Applications pane as shown. I have tried dropping the app all over the place, with no luck. The problem is that I am not sure this is because I am not dropping in the right place, or whether I have not got the provisioning right. I did try to see if this issue had been discussed on the list, but I only found other nasty provisioning related difficulties. Any help out there? Best Wishes, David Glasgow Carlton Glasgow Partnership i-psych.co.uk LinkedIn From m.schonewille at economy-x-talk.com Tue Nov 8 10:08:14 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 8 Nov 2011 16:08:14 +0100 Subject: standalones onto iOS procedure In-Reply-To: References: Message-ID: Hi David, To install the app, drag it on top of the iPad/iPhone icon listed under Devices in the left margin of the Devices pane of the Organizer window or drag your app into your apps library in iTunes. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/16r Start selling Color Converter today. 20% commission! On 8 nov 2011, at 16:02, David Glasgow wrote: > Hello folks, > > Trying to get a hello world iOS app onto my iPad has proved rather more confusing than I expected, coinciding as it did with new versions of iOS, XCode and Live Code. > > I might be quite close, but it is difficult to tell. I am following the deployment lesson on runrev, and get to the final step. However, the new version of XCode appears to have been significantly changed and there is no Applications pane as shown. I have tried dropping the app all over the place, with no luck. The problem is that I am not sure this is because I am not dropping in the right place, or whether I have not got the provisioning right. > > I did try to see if this issue had been discussed on the list, but I only found other nasty provisioning related difficulties. Any help out there? > > > > Best Wishes, > > David Glasgow > Carlton Glasgow Partnership > > i-psych.co.uk > > LinkedIn From iowahengst at mac.com Tue Nov 8 10:09:36 2011 From: iowahengst at mac.com (Randy Hengst) Date: Tue, 08 Nov 2011 09:09:36 -0600 Subject: standalones onto iOS procedure In-Reply-To: References: Message-ID: <75785493-BBA4-4AC2-AAA7-E58895837C2A@mac.com> Hi David, Yes, XCode has changed. Make sure you're in the Organizer window ?. select Devices from the top of the window?. your device should appear along the left side pane of the window. ?. Click the drop down triangle of your device, ?. then click on the Applications item from the list that appears. ?. Drag your app to the top portion of that window. I'll send you a screen shot off list if that would be helpful. be well, randy ----- On Nov 8, 2011, at 9:02 AM, David Glasgow wrote: > Hello folks, > > Trying to get a hello world iOS app onto my iPad has proved rather more confusing than I expected, coinciding as it did with new versions of iOS, XCode and Live Code. > > I might be quite close, but it is difficult to tell. I am following the deployment lesson on runrev, and get to the final step. However, the new version of XCode appears to have been significantly changed and there is no Applications pane as shown. I have tried dropping the app all over the place, with no luck. The problem is that I am not sure this is because I am not dropping in the right place, or whether I have not got the provisioning right. > > I did try to see if this issue had been discussed on the list, but I only found other nasty provisioning related difficulties. Any help out there? > > > > Best Wishes, > > David Glasgow > Carlton Glasgow Partnership > > i-psych.co.uk > > LinkedIn > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Tue Nov 8 10:32:38 2011 From: coiin at verizon.net (Colin Holgate) Date: Tue, 08 Nov 2011 10:32:38 -0500 Subject: standalones onto iOS procedure In-Reply-To: References: Message-ID: I haven't looked at the guide that you refer to, but the way I install LiveCode apps is to show the Organizer window and drag the app file onto the device in the list on the left. You can expand that list to see Applications listed, to select and drag into that set, but you don't have to. Just drag on to the device in the list, even while its contents are collapsed. From rcabdala at gmail.com Tue Nov 8 10:38:40 2011 From: rcabdala at gmail.com (Ricardo Abdala) Date: Tue, 8 Nov 2011 13:38:40 -0200 Subject: standalones onto iOS procedure In-Reply-To: References: Message-ID: Hi, on real device, my trial version of LiveCode/iOs didn't work. Only after I bought it. Ricardo Abdala 2011/11/8 Colin Holgate > I haven't looked at the guide that you refer to, but the way I install > LiveCode apps is to show the Organizer window and drag the app file onto > the device in the list on the left. You can expand that list to see > Applications listed, to select and drag into that set, but you don't have > to. Just drag on to the device in the list, even while its contents are > collapsed. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Ricardo Abdala 61 8122-5545 61 3327-6992 http://www.pesquisadecampo.com.br From yoshino at sys.wakayama-u.ac.jp Tue Nov 8 10:57:18 2011 From: yoshino at sys.wakayama-u.ac.jp (=?iso-2022-jp?B?GyRCNUhMbhsoQiAbJEI5JxsoQg==?=) Date: Wed, 9 Nov 2011 00:57:18 +0900 Subject: Android open other application Message-ID: <7D1D63BC-6C12-40DB-8E8F-A771F5917D1D@sys.wakayama-u.ac.jp> Hi, I make Android software. I want to open other android programs from my stack. But I don't know how to write. I can close my stack, but I don't open other software. The following is the close my stack script. on mouseUp close this tack end mouseUp Could you help me? _.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ Takashi Yoshino http://www.wakayama-u.ac.jp/~yoshino/lab/ Tel: +81-73-457-8441 From lfredricks at proactive-intl.com Tue Nov 8 11:42:12 2011 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Tue, 8 Nov 2011 08:42:12 -0800 Subject: Paradigma Software Inc released Free Business Ready Database andReports Server In-Reply-To: References: Message-ID: <4DE47AC91DD64A7F9100265C673A717E@GATEWAY> > this might be of interest for someone. > > Paradigma released "Free Business Ready Database and Reports Server. > > Visit the following link for more informations (including the terms) > > http://www.valentina-db.com/en/company/news/1-latest-news/257- > paradigma-software-releases-free-business-ready-database-and-r eports-server > Someone beat me to the punch of announcing! :-) Valentina Office Server is our per-deployment server product. What most people may not realize is that Valentina Office Server includes both database and a reporting engine. Reports are stored in project files which are a cross platform format. It is available on 32/64 bit Linux, Windows and Mac OS X. Technically speaking, you can connect to Valentina Office Server from almost every major dev environment/runtime on these platforms. Our commercial product Database ADK has two componentsa: a Client/Connector and a local runtime. The Client/Connector works without a serial number, and supports a single connection (the cost of ADK comes from having a local db runtime). As most people know, we support LiveCode on Linux, Mac OS X and Windows. We've been getting waves of questions from the press and also people requesting licenses, so as those are answered we've been updating the FAQ (such as that you can actually get 3 licenses, one for each OS). Something also to keep in mind is that, Valentina DB isn't just another relational database - there are very good reasons why people pay money to license it in this era of FOSS. These include - - Ultra fast complex queries. Columnar DBs are fast. We've been working at it steadily for well over a decade. Imagine sharing the result of an ad hoc query during a meeting rather than telling a client you'll call them the next day. - Modern object-relational model. You can port over your db with schema set up like you normally would for MySQL. But you can also refine your schema to reduce complexity, increase readability of code and database size. Say goodbye to a lot of intermediary tables! - Lots of native connectors. We make them all, and they work just fine, including server side ones for PHP and RoR, and "client" size ones like LiveCode, xCode/Objective-C/Mac, xCode/Objective-C/iPhone, .NET and even COM. Free admin tools to use on your iPhone and iPad. - Very good security and compression options. Many companies use Valentina to store images, big BLOBs of text and the like. Blowfish encryption (and SSL with Office Server). There is a lot more. Anyway - now everyone can have a real powerhouse server in their small and medium sized workgroups and companies for no cost. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From mfstuart at cox.net Tue Nov 8 11:49:49 2011 From: mfstuart at cox.net (Mark Stuart) Date: Tue, 8 Nov 2011 08:49:49 -0800 (PST) Subject: Formatting ChordPro music charts In-Reply-To: <1320731438.59193.YahooMailNeo@web65416.mail.ac4.yahoo.com> References: <4ACB8C15D76541638EEEA0271F98F5C6@stuart> <1320731438.59193.YahooMailNeo@web65416.mail.ac4.yahoo.com> Message-ID: <1320770989411-4016678.post@n4.nabble.com> Jan, you are brilliant. Thank you very much for the script, it works exactly as expected. Even with chords like Dsus2, F#, Bb, Cm7, etc. So thanx again. Now to finish this project... another story. Regards, Mark Stuart -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Formatting-ChordPro-music-charts-tp4014902p4016678.html Sent from the Revolution - User mailing list archive at Nabble.com. From rene.micout at numericable.com Tue Nov 8 12:03:14 2011 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Tue, 8 Nov 2011 18:03:14 +0100 Subject: MAC OS X Lion, shell and language Message-ID: <8A7B3E25-F37C-4AE3-B682-6CD03E62CFFC@numericable.com> A little information : in Mac OS X Lion when you need to know what is the default (country) language of the system : put "defaults read NSGlobalDomain" into vxLangage get line 10 of shell (vxLangage) Before "Lion" it was line 9 of shell > now line 10 Bon souvenir de Paris Ren? From pete at mollysrevenge.com Tue Nov 8 12:23:49 2011 From: pete at mollysrevenge.com (Pete) Date: Tue, 8 Nov 2011 09:23:49 -0800 Subject: MAC OS X Lion, shell and language In-Reply-To: <8A7B3E25-F37C-4AE3-B682-6CD03E62CFFC@numericable.com> References: <8A7B3E25-F37C-4AE3-B682-6CD03E62CFFC@numericable.com> Message-ID: Hi Rene, I'm on OS X 10.6.8 so I guess line 9 is what I would be looking for, but that comes up as "fr," on my computer and I'm in the USA. Pete Molly's Revenge On Tue, Nov 8, 2011 at 9:03 AM, Ren? Micout wrote: > A little information : > in Mac OS X Lion when you need to know what is the default (country) > language of the system : > > put "defaults read NSGlobalDomain" into vxLangage > get line 10 of shell (vxLangage) > > Before "Lion" it was line 9 of shell > now line 10 > > Bon souvenir de Paris > Ren? > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Nov 8 12:34:41 2011 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Tue, 8 Nov 2011 18:34:41 +0100 Subject: MAC OS X Lion, shell and language In-Reply-To: References: <8A7B3E25-F37C-4AE3-B682-6CD03E62CFFC@numericable.com> Message-ID: Hello Pete, For me : line 9 > AppleLanguages = ( line 10 > fr, line 11 > en, line 12 > ja, Not for you ? If yes it is line 11 for you... Le 8 nov. 2011 ? 18:23, Pete a ?crit : > Hi Rene, > I'm on OS X 10.6.8 so I guess line 9 is what I would be looking for, but > that comes up as "fr," on my computer and I'm in the USA. > Pete > Molly's Revenge > > > > > On Tue, Nov 8, 2011 at 9:03 AM, Ren? Micout wrote: > >> A little information : >> in Mac OS X Lion when you need to know what is the default (country) >> language of the system : >> >> put "defaults read NSGlobalDomain" into vxLangage >> get line 10 of shell (vxLangage) >> >> Before "Lion" it was line 9 of shell > now line 10 >> >> Bon souvenir de Paris >> Ren? >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From warren at warrensweb.us Tue Nov 8 12:39:52 2011 From: warren at warrensweb.us (Warren Samples) Date: Tue, 08 Nov 2011 11:39:52 -0600 Subject: MAC OS X Lion, shell and language In-Reply-To: <8A7B3E25-F37C-4AE3-B682-6CD03E62CFFC@numericable.com> References: <8A7B3E25-F37C-4AE3-B682-6CD03E62CFFC@numericable.com> Message-ID: <4EB96968.1050508@warrensweb.us> On 11/08/2011 11:03 AM, Ren? Micout wrote: > A little information : > in Mac OS X Lion when you need to know what is the default (country) language of the system : > > put "defaults read NSGlobalDomain" into vxLangage > get line 10 of shell (vxLangage) > > Before "Lion" it was line 9 of shell> now line 10 > > Bon souvenir de Paris > Ren? > _______________________________________________ Not even close here. Don't you want the line that begins with "AppleLocale" that comes after the list of available languages? Warren From benr_mc at cogapp.com Tue Nov 8 12:57:58 2011 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 08 Nov 2011 17:57:58 +0000 Subject: MAC OS X Lion, shell and language In-Reply-To: References: <8A7B3E25-F37C-4AE3-B682-6CD03E62CFFC@numericable.com> Message-ID: <4EB96DA6.2020107@cogapp.com> I think if you're shipping an app based on this, it would be worth doing a little more parsing of the output. I think what you're probably looking for is the 'AppleLocale', but at least on my system this is reported after the 'AppleLanguages', which can be an array of one to many things. On 08/11/2011 17:23, Pete wrote: > Hi Rene, > I'm on OS X 10.6.8 so I guess line 9 is what I would be looking for, but > that comes up as "fr," on my computer and I'm in the USA. > Pete From rene.micout at numericable.com Tue Nov 8 13:01:20 2011 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Tue, 8 Nov 2011 19:01:20 +0100 Subject: MAC OS X Lion, shell and language In-Reply-To: <4EB96968.1050508@warrensweb.us> References: <8A7B3E25-F37C-4AE3-B682-6CD03E62CFFC@numericable.com> <4EB96968.1050508@warrensweb.us> Message-ID: <4CDC04CF-D9D6-48E6-8328-CC388B9AD1D7@numericable.com> Yes of course, it is better, line 10 is the first language in the list (and I think it is the default system (country) language. AppleLocale is line 33... Thank you Warren Le 8 nov. 2011 ? 18:39, Warren Samples a ?crit : > Not even close here. > > Don't you want the line that begins with "AppleLocale" that comes after the list of available languages? > > Warren From sschvarstein at gmail.com Tue Nov 8 13:06:01 2011 From: sschvarstein at gmail.com (Sergio Schvarstein) Date: Tue, 8 Nov 2011 19:06:01 +0100 Subject: Facebook and Twitter connections Message-ID: Hi, I am developing an app catalog for iOS and I need to put in the products views the typical Facebook "I like it" and the possibility for tweeting about it in Twitter. Is there any component or procedure to accomplish this from LiveCode ? I've been looking in RunRev lessons and documentation and I couldn't find anything. Can anybody give me some hints to explore ? Thanks a lot :-) ______________________________ Sergio Schvarstein ______________________________ From m.schonewille at economy-x-talk.com Tue Nov 8 13:15:41 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 8 Nov 2011 19:15:41 +0100 Subject: Facebook and Twitter connections In-Reply-To: References: Message-ID: <42D990D4-506A-489E-A600-15DC238D1762@economy-x-talk.com> Hi Sergio, Andr? Garzia has a library, which is not very expensive, partly open-source, quite powerful, and a bit complicated, and I have a library, which is quite expensive, closed source, easy to use, slightly limited at this point but customizabble. You could contact either of us. Or both. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/16r Start selling Color Converter today. 20% commission! On 8 nov 2011, at 19:06, Sergio Schvarstein wrote: > Hi, > > I am developing an app catalog for iOS and I need to put in the products views the typical Facebook "I like it" and the possibility for tweeting about it in Twitter. > > Is there any component or procedure to accomplish this from LiveCode ? > > I've been looking in RunRev lessons and documentation and I couldn't find anything. > > Can anybody give me some hints to explore ? > > Thanks a lot :-) From warren at warrensweb.us Tue Nov 8 13:20:46 2011 From: warren at warrensweb.us (Warren Samples) Date: Tue, 08 Nov 2011 12:20:46 -0600 Subject: MAC OS X Lion, shell and language In-Reply-To: <4CDC04CF-D9D6-48E6-8328-CC388B9AD1D7@numericable.com> References: <8A7B3E25-F37C-4AE3-B682-6CD03E62CFFC@numericable.com> <4EB96968.1050508@warrensweb.us> <4CDC04CF-D9D6-48E6-8328-CC388B9AD1D7@numericable.com> Message-ID: <4EB972FE.1090107@warrensweb.us> On 11/08/2011 12:01 PM, Ren? Micout wrote: > Yes of course, it is better, > line 10 is the first language in the list (and I think it is the default system (country) language. > AppleLocale is line 33... > Thank you Warren > > Le 8 nov. 2011 ? 18:39, Warren Samples a ?crit : I get a very different line count. Perhaps this depends on how many languages the user has installed, or removed. It might be safest to look for the line that starts "AppleLocal" rather than hardcode some potentially incorrect line number.. Warren From rene.micout at numericable.com Tue Nov 8 13:25:01 2011 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Tue, 8 Nov 2011 19:25:01 +0100 Subject: MAC OS X Lion, shell and language In-Reply-To: <4CDC04CF-D9D6-48E6-8328-CC388B9AD1D7@numericable.com> References: <8A7B3E25-F37C-4AE3-B682-6CD03E62CFFC@numericable.com> <4EB96968.1050508@warrensweb.us> <4CDC04CF-D9D6-48E6-8328-CC388B9AD1D7@numericable.com> Message-ID: <40EE0713-AF91-4560-9C6A-21499F631B0C@numericable.com> Thank you for this information... I have only one Macintosh in one only country... :-) Le 8 nov. 2011 ? 19:01, Ren? Micout a ?crit : > Yes of course, it is better, > line 10 is the first language in the list (and I think it is the default system (country) language. > AppleLocale is line 33... > Thank you Warren > > Le 8 nov. 2011 ? 18:39, Warren Samples a ?crit : > >> Not even close here. >> >> Don't you want the line that begins with "AppleLocale" that comes after the list of available languages? >> >> 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 zryip.theslug at gmail.com Tue Nov 8 13:36:59 2011 From: zryip.theslug at gmail.com (zryip theSlug) Date: Tue, 8 Nov 2011 19:36:59 +0100 Subject: Use of dgIndex In-Reply-To: <58A7F2A6-BF80-437C-A0A7-B6A67B7E9A5E@doub.com> References: <0E3E4FAF-52FA-4CC1-8216-0867A1A2176F@doub.com> <39F23FB3-1E07-492B-876E-9A5DBC59E281@doub.com> <7AB37898-F36E-48D6-B871-8E7967D49508@gmail.com> <58A7F2A6-BF80-437C-A0A7-B6A67B7E9A5E@doub.com> Message-ID: On Tue, Nov 8, 2011 at 2:15 PM, Michael Doub wrote: > This is driving me crazy. ? ?I ?modified my real project code as well as my test stack to use the following: > > ? put the dgIndex of me into tindex > ? put the dgIndexes of theGrid into tlist > ? set itemdel to comma > ? put itemOffset(tindex,tlist) into myPosition > > The test stack works fine, but in my project code dgIndex is not retuning anything! ? ?I captured the value of me in both the test stack and my project. ?I get different values of me! > > test stack returns ?group "Row Template 0001" ?(number part seems to be = to dgLine and it increments) > > my project stack returns ?group "Row Template" Add a button in your project with this script: put the behavior of the dgProps["row template"] of grp "myDatagrid" where myDatagrid is the name of your datagrid. What is the result in the message box? > Does anyone know if there are any interactions between the debugger and data grids? ? I wonder if I have messed up some internal state of the data grid while debugging. The datagrid is a complex group using simple Livecode controls and custom properties. There is no specific interaction while debugging. > > My project code is managing 2 different sortings of the data. ?The different sortings are being directed to the data grid by calling > > Dispatch "SortDataByKey" ?to group "DataGrid" of card Main with \ > ? ? ? ? "LastName","text","ascending",true > ? get the sortOrder of Card "Main" > > and > > ?Dispatch "SortDataByKey" ?to group "DataGrid" of card Main with \ > ? ? ? ? ? ?"DaysTill","numeric","ascending",true > > from the open stack hander. > > I can't believe that sorting is causing this but I am at a loss at this point ?. And I have a sinking feeling that SortDataByKey is not a stable sort if it is called multiple times. ? Does anyone know for sure? Sorting a datagrid with the "SortDataByKey" works pretty well. The only problem I got is with carriage returns in the data sorted. However that was fixed months ago. Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.com From sschvarstein at gmail.com Tue Nov 8 13:38:14 2011 From: sschvarstein at gmail.com (Sergio Schvarstein) Date: Tue, 8 Nov 2011 19:38:14 +0100 Subject: Local languages list Message-ID: <20881F35-5C0E-42FF-B9CC-C334755C58FF@gmail.com> Hi, Is there any place where I can get the whole list of the languages available for the function "iphoneCurrentLocale()" ? Thanx again :-) ______________________________ Sergio Schvarstein ______________________________ From rene.micout at numericable.com Tue Nov 8 13:39:47 2011 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Tue, 8 Nov 2011 19:39:47 +0100 Subject: MAC OS X Lion, shell and language In-Reply-To: <4CDC04CF-D9D6-48E6-8328-CC388B9AD1D7@numericable.com> References: <8A7B3E25-F37C-4AE3-B682-6CD03E62CFFC@numericable.com> <4EB96968.1050508@warrensweb.us> <4CDC04CF-D9D6-48E6-8328-CC388B9AD1D7@numericable.com> Message-ID: Thanks to Pete, Warren and Ben !! My new script after all their informations : put "defaults read NSGlobalDomain" into vxLangage get shell (vxLangage) get line lineOffset("AppleLocale",it) of it put false into vxFran?ais ; if "fr" is in it then put true into vxFran?ais get shell (defaults read NSGlobalDomain) don't work... !!? From zryip.theslug at gmail.com Tue Nov 8 13:49:36 2011 From: zryip.theslug at gmail.com (zryip theSlug) Date: Tue, 8 Nov 2011 19:49:36 +0100 Subject: Use of dgIndex In-Reply-To: <97E788B8-A806-4DEC-A3AF-6AFA9D92FF85@doub.com> References: <0E3E4FAF-52FA-4CC1-8216-0867A1A2176F@doub.com> <39F23FB3-1E07-492B-876E-9A5DBC59E281@doub.com> <7AB37898-F36E-48D6-B871-8E7967D49508@gmail.com> <58A7F2A6-BF80-437C-A0A7-B6A67B7E9A5E@doub.com> <97E788B8-A806-4DEC-A3AF-6AFA9D92FF85@doub.com> Message-ID: On Tue, Nov 8, 2011 at 2:24 PM, Michael Doub wrote: > I also tried using dgLine and it is not returning anything either. ? Obviously because of the invalid reference being returned in me. As explained and demonstrated in a previous reply, the dgLine property uses the dgIndex property for returning a result. As the dgIndexes property returns the list of the indexes in the order of the displayed list: put the dgIndex of me into tindex put the dgIndexes of theGrid into tlist set itemdel to comma put itemOffset(tindex,tlist) into myPosition is equivalent to: put the dgLine of me into myPosition Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.com From mike at doub.com Tue Nov 8 14:00:19 2011 From: mike at doub.com (Michael Doub) Date: Tue, 8 Nov 2011 14:00:19 -0500 Subject: Use of dgIndex In-Reply-To: References: <0E3E4FAF-52FA-4CC1-8216-0867A1A2176F@doub.com> <39F23FB3-1E07-492B-876E-9A5DBC59E281@doub.com> <7AB37898-F36E-48D6-B871-8E7967D49508@gmail.com> <58A7F2A6-BF80-437C-A0A7-B6A67B7E9A5E@doub.com> Message-ID: on mouseUp put the behavior of the dgProps["row template"] of grp "DataGrid" of card "Main" after msg end mouseUp returns the following: button id 1009 of stack "Data Grid Templates 1320264398269" From warren at warrensweb.us Tue Nov 8 14:09:41 2011 From: warren at warrensweb.us (Warren Samples) Date: Tue, 08 Nov 2011 13:09:41 -0600 Subject: MAC OS X Lion, shell and language In-Reply-To: References: <8A7B3E25-F37C-4AE3-B682-6CD03E62CFFC@numericable.com> <4EB96968.1050508@warrensweb.us> <4CDC04CF-D9D6-48E6-8328-CC388B9AD1D7@numericable.com> Message-ID: <4EB97E75.2090107@warrensweb.us> On 11/08/2011 12:39 PM, Ren? Micout wrote: > get shell (defaults read NSGlobalDomain) don't work... !!? Don't forget to wrap your shell command with "" ! Warren From rene.micout at numericable.com Tue Nov 8 14:17:32 2011 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Tue, 8 Nov 2011 20:17:32 +0100 Subject: MAC OS X Lion, shell and language In-Reply-To: References: <8A7B3E25-F37C-4AE3-B682-6CD03E62CFFC@numericable.com> <4EB96968.1050508@warrensweb.us> <4CDC04CF-D9D6-48E6-8328-CC388B9AD1D7@numericable.com> Message-ID: YES ! But why put "defaults read NSGlobalDomain" into vxLangage get shell (vxLangage) works ? I don't write put quote & "defaults read NSGlobalDomain" & quote into vxLangage ... Le 8 nov. 2011 ? 19:39, Ren? Micout a ?crit : > Thanks to Pete, Warren and Ben !! > > My new script after all their informations : > put "defaults read NSGlobalDomain" into vxLangage > get shell (vxLangage) > get line lineOffset("AppleLocale",it) of it > put false into vxFran?ais ; if "fr" is in it then put true into vxFran?ais > > get shell (defaults read NSGlobalDomain) don't work... !!? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From warren at warrensweb.us Tue Nov 8 14:21:38 2011 From: warren at warrensweb.us (Warren Samples) Date: Tue, 08 Nov 2011 13:21:38 -0600 Subject: MAC OS X Lion, shell and language In-Reply-To: References: <8A7B3E25-F37C-4AE3-B682-6CD03E62CFFC@numericable.com> <4EB96968.1050508@warrensweb.us> <4CDC04CF-D9D6-48E6-8328-CC388B9AD1D7@numericable.com> Message-ID: <4EB98142.8000004@warrensweb.us> On 11/08/2011 01:17 PM, Ren? Micout wrote: > YES ! > But why > put "defaults read NSGlobalDomain" into vxLangage > get shell (vxLangage) > works ? > I don't write put quote& "defaults read NSGlobalDomain"& quote into vxLangage > ... > > Le 8 nov. 2011 ? 19:39, Ren? Micout a ?crit : > >> Thanks to Pete, Warren and Ben !! >> >> My new script after all their informations : >> put "defaults read NSGlobalDomain" into vxLangage >> get shell (vxLangage) >> get line lineOffset("AppleLocale",it) of it >> put false into vxFran?ais ; if "fr" is in it then put true into vxFran?ais >> >> get shell (defaults read NSGlobalDomain) don't work... !!? >> _______________________________________________ vxLangauage is a variable not a string. From pete at mollysrevenge.com Tue Nov 8 14:23:35 2011 From: pete at mollysrevenge.com (Pete) Date: Tue, 8 Nov 2011 11:23:35 -0800 Subject: MAC OS X Lion, shell and language In-Reply-To: References: <8A7B3E25-F37C-4AE3-B682-6CD03E62CFFC@numericable.com> <4EB96968.1050508@warrensweb.us> <4CDC04CF-D9D6-48E6-8328-CC388B9AD1D7@numericable.com> Message-ID: Yes, I think that's better. On my system that returns AppleLocale = "en_US_POSIX"; Pete Molly's Revenge On Tue, Nov 8, 2011 at 10:39 AM, Ren? Micout wrote: > Thanks to Pete, Warren and Ben !! > > My new script after all their informations : > put "defaults read NSGlobalDomain" into vxLangage > get shell (vxLangage) > get line lineOffset("AppleLocale",it) of it > put false into vxFran?ais ; if "fr" is in it then put true into > vxFran?ais > > get shell (defaults read NSGlobalDomain) don't work... !!? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From warren at warrensweb.us Tue Nov 8 14:23:37 2011 From: warren at warrensweb.us (Warren Samples) Date: Tue, 08 Nov 2011 13:23:37 -0600 Subject: MAC OS X Lion, shell and language In-Reply-To: <4EB98142.8000004@warrensweb.us> References: <8A7B3E25-F37C-4AE3-B682-6CD03E62CFFC@numericable.com> <4EB96968.1050508@warrensweb.us> <4CDC04CF-D9D6-48E6-8328-CC388B9AD1D7@numericable.com> <4EB98142.8000004@warrensweb.us> Message-ID: <4EB981B9.9040507@warrensweb.us> On 11/08/2011 01:21 PM, Warren Samples wrote: > > > vxLangauage is a variable not a string. oops! Didn't spell your variable correctly. That would never work either :D Warren From rene.micout at numericable.com Tue Nov 8 14:28:37 2011 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Tue, 8 Nov 2011 20:28:37 +0100 Subject: MAC OS X Lion, shell and language In-Reply-To: <4EB981B9.9040507@warrensweb.us> References: <8A7B3E25-F37C-4AE3-B682-6CD03E62CFFC@numericable.com> <4EB96968.1050508@warrensweb.us> <4CDC04CF-D9D6-48E6-8328-CC388B9AD1D7@numericable.com> <4EB98142.8000004@warrensweb.us> <4EB981B9.9040507@warrensweb.us> Message-ID: Thanks Warren, I simplify my script : get shell ("defaults read NSGlobalDomain") get line lineOffset("AppleLocale",it) of it put false into vxFran?ais ; if "fr" is in it then put true into vxFran?ais Le 8 nov. 2011 ? 20:23, Warren Samples a ?crit : > On 11/08/2011 01:21 PM, Warren Samples wrote: >> >> >> vxLangauage is a variable not a string. > > > oops! Didn't spell your variable correctly. That would never work either :D > > 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 keith.clarke at clarkeandclarke.co.uk Tue Nov 8 14:34:18 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Tue, 8 Nov 2011 19:34:18 +0000 Subject: Paradigma Software Inc released Free Business Ready Database andReports Server In-Reply-To: <4DE47AC91DD64A7F9100265C673A717E@GATEWAY> References: <4DE47AC91DD64A7F9100265C673A717E@GATEWAY> Message-ID: <3D375759-6230-4596-95BA-0FB8D6ED953F@clarkeandclarke.co.uk> Very interesting. So, is there a how-to somewhere on installing this on my on-rev account to experiment and learn more about Valentina? ...starting with which version to download and how to install onto on-rev! Best, Keith.. > > Anyway - now everyone can have a real powerhouse server in their small and > medium sized workgroups and companies for no cost. > > Best regards, > > Lynn Fredricks > President > Paradigma Software > http://www.paradigmasoft.com > > Valentina SQL Server: The Ultra-fast, Royalty Free Database Server > From m.schonewille at economy-x-talk.com Tue Nov 8 16:11:11 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 8 Nov 2011 22:11:11 +0100 Subject: Uploading to App Store with LiveCode 5 Message-ID: <2D4B6E98-7A7F-4877-AF97-905C17601401@economy-x-talk.com> Hi, Could anyone please confirm that he or she has successfully uploaded an app created with LiveCode 5 to the iTunes store using App Loader? No matter what I try, I keep seeing this dialog: http://qery.us/1a6 The picture says: The Bundle ID com.economy-x-talk.com.appname defines in your XCode Project... etc. I really have no clue where the second ".com" in the bundle identifier comes from. Does anyone have any clue where this comes from? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/16r Start selling Color Converter today. 20% commission! From williamdesmet at gmail.com Tue Nov 8 16:20:09 2011 From: williamdesmet at gmail.com (William de Smet) Date: Tue, 8 Nov 2011 22:20:09 +0100 Subject: Uploading to App Store with LiveCode 5 In-Reply-To: <2D4B6E98-7A7F-4877-AF97-905C17601401@economy-x-talk.com> References: <2D4B6E98-7A7F-4877-AF97-905C17601401@economy-x-talk.com> Message-ID: Hi Mark, I think it is a typo on your side. However: with LC 5 I got the same error as you have (the third one) trying the update an app. For over 4 weeks I got this error and eventually I removed the app from sale. Immediately the update went through and I also put the app back on sale. The update went into review but is not yet accepted. I hope it will be within two days or so. I will let you know. So is it a LC 5 problem. Maybe? Heb je hier iets aan? groeten, William 2011/11/8 Mark Schonewille > Hi, > > Could anyone please confirm that he or she has successfully uploaded an > app created with LiveCode 5 to the iTunes store using App Loader? No matter > what I try, I keep seeing this dialog: http://qery.us/1a6 > > The picture says: The Bundle ID com.economy-x-talk.com.appname defines in > your XCode Project... etc. I really have no clue where the second ".com" in > the bundle identifier comes from. Does anyone have any clue where this > comes from? > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Become our partner in sales http://qery.us/16r Start selling Color > Converter today. 20% commission! > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From m.schonewille at economy-x-talk.com Tue Nov 8 16:21:34 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 8 Nov 2011 22:21:34 +0100 Subject: iPad crashes with visual effects In-Reply-To: <2D1C0BD3-8105-48FF-ADEE-BE4BC96298AF@liverpool.ac.uk> References: <59F47E58-110B-4BF4-A822-34A99AAAE203@economy-x-talk.com> <2D1C0BD3-8105-48FF-ADEE-BE4BC96298AF@liverpool.ac.uk> Message-ID: <982A0346-3897-4E6E-AC72-1CE7B4CB16C8@economy-x-talk.com> Thanks, Phil. That's useful info. I completely agree with you that legacy code should not be broken. Preferably, no code should have become legacy in LC and definitely something that is so often used by so many people as "lock screen". -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/16r Start selling Color Converter today. 20% commission! On 8 nov 2011, at 09:22, Phil Jimmieson wrote: > Hi mark, > this sounds like one I reported for 5.0, which was fixed for 5.0.1-dp-1 > > http://quality.runrev.com/show_bug.cgi?id=9802 From williamdesmet at gmail.com Tue Nov 8 16:22:53 2011 From: williamdesmet at gmail.com (William de Smet) Date: Tue, 8 Nov 2011 22:22:53 +0100 Subject: Uploading to App Store with LiveCode 5 In-Reply-To: References: <2D4B6E98-7A7F-4877-AF97-905C17601401@economy-x-talk.com> Message-ID: @mark: I forgot to say that I did upload a new app (Stoplicht) with LC 5 that went fine the first time. greetings, William 2011/11/8 William de Smet > Hi Mark, > > I think it is a typo on your side. > However: with LC 5 I got the same error as you have (the third one) trying > the update an app. > For over 4 weeks I got this error and eventually I removed the app from > sale. Immediately the update went through and I also put the app back on > sale. > The update went into review but is not yet accepted. I hope it will be > within two days or so. > I will let you know. > > So is it a LC 5 problem. Maybe? > > Heb je hier iets aan? > > groeten, > > William > > > > 2011/11/8 Mark Schonewille > >> Hi, >> >> Could anyone please confirm that he or she has successfully uploaded an >> app created with LiveCode 5 to the iTunes store using App Loader? No matter >> what I try, I keep seeing this dialog: http://qery.us/1a6 >> >> The picture says: The Bundle ID com.economy-x-talk.com.appname defines in >> your XCode Project... etc. I really have no clue where the second ".com" in >> the bundle identifier comes from. Does anyone have any clue where this >> comes from? >> >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> Homepage: http://economy-x-talk.com >> Twitter: http://twitter.com/xtalkprogrammer >> KvK: 50277553 >> >> Become our partner in sales http://qery.us/16r Start selling Color >> Converter today. 20% commission! >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From m.schonewille at economy-x-talk.com Tue Nov 8 16:23:12 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 8 Nov 2011 22:23:12 +0100 Subject: iPad crashes with visual effects In-Reply-To: References: <59F47E58-110B-4BF4-A822-34A99AAAE203@economy-x-talk.com> Message-ID: <80AAB77A-E177-4BEB-AA64-FD58128E7721@economy-x-talk.com> Hi Debdoot, Yes, that ought to fix it, but it shouldn't be necessary :-( -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/16r Start selling Color Converter today. 20% commission! On 7 nov 2011, at 22:59, ddas wrote: > Hi Mark, > > It might be a good idea to: > > Lock screen for visual effect > hide grp 1 > unlock screen with visual effect wipe left > > Cheers, > Debdoot > From pete at mollysrevenge.com Tue Nov 8 16:48:34 2011 From: pete at mollysrevenge.com (Pete) Date: Tue, 8 Nov 2011 13:48:34 -0800 Subject: Color of a graphic Message-ID: I set up a line with an arrow at the end as a graphic. If I disable it, it shows up grey. If I change the color of it (the text/border color), the color doesn't change when I disable it. I can change the blendlevel to make it appear disabled but is there some other property to make it appear disabled visually? Pete Molly's Revenge From scott at tactilemedia.com Tue Nov 8 15:49:53 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 08 Nov 2011 13:49:53 -0700 Subject: Distinguish Between Simulator & Device? Message-ID: Anyone know if it's possible determine when a stack is running in the iOS simulator, versus running on a real mobile device? Sorry if this has been asked and answered already. Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX Design From m.schonewille at economy-x-talk.com Tue Nov 8 16:50:10 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 8 Nov 2011 22:50:10 +0100 Subject: Uploading to App Store with LiveCode 5 In-Reply-To: References: <2D4B6E98-7A7F-4877-AF97-905C17601401@economy-x-talk.com> Message-ID: Thanks for the replies, William. It helps to know that it is actually possible. I removed all standalone settings, restarted LiveCode and the app loader and now the bundle error is gone. (I still have an icon or plist problem, though). -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/16r Start selling Color Converter today. 20% commission! On 8 nov 2011, at 22:22, William de Smet wrote: > @mark: I forgot to say that I did upload a new app (Stoplicht) with LC 5 > that went fine the first time. > > greetings, > > William From m.schonewille at economy-x-talk.com Tue Nov 8 17:01:28 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 8 Nov 2011 23:01:28 +0100 Subject: iPad crashes with visual effects In-Reply-To: <698F239F-C2A5-4B20-BF47-4A6864A7D501@tactilemedia.com> References: <59F47E58-110B-4BF4-A822-34A99AAAE203@economy-x-talk.com> <698F239F-C2A5-4B20-BF47-4A6864A7D501@tactilemedia.com> Message-ID: <94C0CACC-743A-4E17-868B-45444C8E021D@economy-x-talk.com> Yup, you're right, Scott. Never expected this code to change. Ever. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/16r Start selling Color Converter today. 20% commission! On 7 nov 2011, at 22:58, Scott Rossi wrote: > Are you using LC 5? If yes, maybe you have to use the new visual effects syntax? > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design From admin at mfelkerco.com Tue Nov 8 17:01:58 2011 From: admin at mfelkerco.com (Admin) Date: Tue, 08 Nov 2011 16:01:58 -0600 Subject: OT: Here is some music from a friend of mine. Take a listen Message-ID: Here is a talented musician that I would like to share with all of you: http://www.william-k.com [1]/ Mike Links: ------ [1] http://www.william-k.com/ From iowahengst at mac.com Tue Nov 8 17:06:53 2011 From: iowahengst at mac.com (Randy Hengst) Date: Tue, 08 Nov 2011 16:06:53 -0600 Subject: Distinguish Between Simulator & Device? In-Reply-To: References: Message-ID: Hi Scott, I've used answer the machine word 2 of that function is "simulator" on the, well, the iOS simulator. be well, randy ----- On Nov 8, 2011, at 2:49 PM, Scott Rossi wrote: > Anyone know if it's possible determine when a stack is running in the iOS > simulator, versus running on a real mobile device? > > Sorry if this has been asked and answered already. > > 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 admin at mfelkerco.com Tue Nov 8 17:00:02 2011 From: admin at mfelkerco.com (Admin) Date: Tue, 08 Nov 2011 16:00:02 -0600 Subject: Just curious - how would I approach creating a drum machine in live =?UTF-8?Q?code=3F?= Message-ID: <081a92ae4babb9f4ad0a6804480de12f@mfelkerco.com> Hello all. I have tons of drum samples (and a new product called KLANG I want to release) and I would love to create a cross-platform drum machine to play those samples with. The reason I want to create one is so I can call it my own - brand it and use it for future stuff. How would I even approach this? How would I create the GUI? Loading and playing the samples seems rather easy, but allowing the user to create patterns and then play those patterns? Also, I would LOVE to utilize MIDI for this - so the pattern is actually based in MIDI and the loaded drum samples are in different MIDI channels. Any thoughts? Anyone want to collaborate? Mike From roger.e.eller at sealedair.com Tue Nov 8 17:12:17 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 8 Nov 2011 17:12:17 -0500 Subject: OT: Here is some music from a friend of mine. Take a listen In-Reply-To: References: Message-ID: On Tue, Nov 8, 2011 at 5:01 PM, Admin wrote: > > > Here is a talented musician that I would like to share with all of > you: > > http://www.william-k.com [1]/ > > Mike > > > > Links: > ------ > [1] > http://www.william-k.com/ Sounds great!!! I really like it. ?Roger (for take-off) :-) From scott at tactilemedia.com Tue Nov 8 16:12:53 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 08 Nov 2011 14:12:53 -0700 Subject: Distinguish Between Simulator & Device? In-Reply-To: Message-ID: Thanks Randy, much appreciated. Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Randy Hengst wrote: > Hi Scott, > > I've used > answer the machine > > word 2 of that function is "simulator" on the, well, the iOS simulator. > > be well, > randy > ----- > On Nov 8, 2011, at 2:49 PM, Scott Rossi wrote: > >> Anyone know if it's possible determine when a stack is running in the iOS >> simulator, versus running on a real mobile device? >> >> Sorry if this has been asked and answered already. >> >> 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 livfoss at mac.com Tue Nov 8 17:44:47 2011 From: livfoss at mac.com (Graham Samuel) Date: Tue, 08 Nov 2011 23:44:47 +0100 Subject: OT? Strange behaviour with Parallels/Lion/LC Message-ID: This may be a bit OT, but I am running the Windows version of the LiveCode 5 IDE on a Mac with Lion, supporting Windows XP via the latest version of Parallels Desktop (7). I can do all the usual development stuff easily enough, but when I run the app I'm developing **from within the IDE**, a process belonging to Parallels named prl_vm_app goes into overdrive, with the Mac's Activity Monitor reporting over 100% CPU usage. This rate of use goes on even when my script appears to be quiescent, waiting for the next click of the mouse, and even when Parallels is in the background. When I quit my app (but not the IDE) this process goes back to around 6% of CPU time. I don't think my script does anything unusual, but somehow I am upsetting the Parallels environment. I am pursuing this via Parallels Support, who acknowledge it as a problem but have not yet found a solution - and I don't think I should hold my breath while waiting for one as there are some similar unanswered issues on their database already. My question to this list is, has anyone seen anything like this and is there a known workaround? TIA Graham (in case you're wondering why I'm using the Windows version of the IDE while I have a perfectly good Mac version on the same machine, it's because I am using a Windows-only external, which means my testing has to be in a Windows environment). From pete at mollysrevenge.com Tue Nov 8 17:53:40 2011 From: pete at mollysrevenge.com (Pete) Date: Tue, 8 Nov 2011 14:53:40 -0800 Subject: Reordering Columns in a datagrid Message-ID: I know it's possible to reorder lines in a datagrid by drag and drop but has anyone come up with a way to reorder columns by dragging and dropping their headings? Pete Molly's Revenge From capellan2000 at gmail.com Tue Nov 8 18:12:39 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 8 Nov 2011 15:12:39 -0800 (PST) Subject: ANN: Harmonic Oscillators In-Reply-To: References: Message-ID: <1320793959345-4017936.post@n4.nabble.com> Amazing demostration! Many great ideas arise, just from watching this wonderful stack. Thanks a lot for sharing. Keep Up your great work! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-Harmonic-Oscillators-tp3997017p4017936.html Sent from the Revolution - User mailing list archive at Nabble.com. From rene.micout at numericable.com Tue Nov 8 18:36:52 2011 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Wed, 9 Nov 2011 00:36:52 +0100 Subject: Just curious - how would I approach creating a drum machine in live code? In-Reply-To: <081a92ae4babb9f4ad0a6804480de12f@mfelkerco.com> References: <081a92ae4babb9f4ad0a6804480de12f@mfelkerco.com> Message-ID: <1B21B64A-8B2F-438A-A3C6-856DFF8C633B@numericable.com> I reply tomorow morning, it is midnight in Paris Ren? Le 8 nov. 2011 ? 23:00, Admin a ?crit : > > > Hello all. > > I have tons of drum samples (and a new product called > KLANG I want to release) and I would love to create a cross-platform > drum machine to play those samples with. > > The reason I want to create > one is so I can call it my own - brand it and use it for future stuff. > > > How would I even approach this? How would I create the GUI? > > Loading > and playing the samples seems rather easy, but allowing the user to > create patterns and then play those patterns? > > Also, I would LOVE to > utilize MIDI for this - so the pattern is actually based in MIDI and the > loaded drum samples are in different MIDI channels. > > Any thoughts? > Anyone want to collaborate? > > 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 ruslan_zasukhin at valentina-db.com Tue Nov 8 18:51:03 2011 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Wed, 09 Nov 2011 01:51:03 +0200 Subject: Paradigma Software Inc released Free Business Ready Database andReports Server In-Reply-To: <3D375759-6230-4596-95BA-0FB8D6ED953F@clarkeandclarke.co.uk> Message-ID: On 11/8/11 9:34 PM, "Keith Clarke" wrote: Hi Keith, > Very interesting. > So, is there a how-to somewhere on installing this on my on-rev account to > experiment and learn more about Valentina? > > ...starting with which version to download and how to install onto on-rev! Version 4.9.1 I am not aware deeply about on-rev account. I think it is more simple to start play just on localhost. V4REV docs: http://www.valentina-db.com/dokuwiki/doku.php?id=valentina:products:adk:v4re v:v4rev Valentina articles http://www.valentina-db.com/dokuwiki/doku.php?id=valentina:articles:articles Valentina Reports some videos http://valentina-db.com/dokuwiki/doku.php?id=valentina:video:vspro:vspro > Best, > Keith.. >> >> Anyway - now everyone can have a real powerhouse server in their small and >> medium sized workgroups and companies for no cost. -- 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 dunbarx at aol.com Tue Nov 8 21:14:23 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 8 Nov 2011 21:14:23 -0500 (EST) Subject: Color of a graphic In-Reply-To: References: Message-ID: <8CE6C9C6EB0751A-20C0-129EFB@webmail-m129.sysops.aol.com> Pete. Interesting. Adding color seems to disable, er, disabling. Why not store the color in a custom property, and when you disable the graphic, clear the color as well, restoring it when you re-enable. Craig Newman -----Original Message----- From: Pete To: How to use LiveCode Sent: Tue, Nov 8, 2011 11:50 am Subject: Color of a graphic I set up a line with an arrow at the end as a graphic. If I disable it, it shows up grey. If I change the color of it (the text/border color), the color doesn't change when I disable it. I can change the blendlevel to make it appear disabled but is there some other property to make it appear disabled visually? Pete Molly's Revenge _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Tue Nov 8 22:12:35 2011 From: pete at mollysrevenge.com (Pete) Date: Tue, 8 Nov 2011 19:12:35 -0800 Subject: Color of a graphic In-Reply-To: <8CE6C9C6EB0751A-20C0-129EFB@webmail-m129.sysops.aol.com> References: <8CE6C9C6EB0751A-20C0-129EFB@webmail-m129.sysops.aol.com> Message-ID: Thanks Craig, good to know it's not just me! Pete Molly's Revenge On Tue, Nov 8, 2011 at 6:14 PM, wrote: > Pete. > > > Interesting. Adding color seems to disable, er, disabling. > > > > Why not store the color in a custom property, and when you disable the > graphic, clear the color as well, restoring it when you re-enable. > > > > Craig Newman > > > > > -----Original Message----- > From: Pete > To: How to use LiveCode > Sent: Tue, Nov 8, 2011 11:50 am > Subject: Color of a graphic > > > I set up a line with an arrow at the end as a graphic. If I disable it, it > shows up grey. If I change the color of it (the text/border color), the > color doesn't change when I disable it. > > I can change the blendlevel to make it appear disabled but is there some > other property to make it appear disabled visually? > > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Nov 9 00:27:14 2011 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 08 Nov 2011 21:27:14 -0800 Subject: Passing Parameters In-Reply-To: <4EB79B0B.2080606@pdslabs.net> References: <4EB751EC.000005.05752@CALS_BIG_PC> <4EB79692.5030702@pdslabs.net> <4EB79B0B.2080606@pdslabs.net> Message-ID: <4EBA0F32.6050303@pdslabs.net> On 11/7/11 12:47 AM, Phil Davis wrote: > If you need to send a message from app1 to app2, and app2 is already running, > you could use socket communication between them. Don't have time to pencil it > out, but maybe someone else will. If not, I'll do it tomorrow. > > Phil There is a nice intro to LC sockets here: http://lessons.runrev.com/s/lessons/m/4071/l/12924-How-to-communicate-with-other-applications-using-sockets For inter-app communication, both apps are client AND server. Phil > > > On 11/7/11 12:28 AM, Phil Davis wrote: >> On Mac OS X, you can do it from the command line. >> >> 1) create a standalone app (named "Untitled1" in this example) that has this >> stack script: >> >> on startup >> dispatch $1 to me >> quit >> end startup >> >> on incoming >> beep >> end incoming >> >> >> 2) create a different stack with this BUTTON script: >> >> on mouseUp >> answer file "Pick the app:" >> if it = empty then exit to top >> >> get shell (it & "/Contents/MacOS/Untitled1 incoming") >> put the result after msg >> end mouseUp >> >> >> 3) click the button. It should start the "Untitled1" app and you should hear >> the beep. At least it works here. >> >> I haven't tried this on Windows, but I bet something similar would work there. >> >> Phil Davis >> >> >> >> >> On 11/6/11 7:35 PM, Cal Horner wrote: >>> Is there any command that will allow me to pass a simple parameter to a >>> compiled LC program? >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 jhurley0305 at sbcglobal.net Wed Nov 9 00:45:35 2011 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Tue, 8 Nov 2011 21:45:35 -0800 Subject: ANN: Harmonic Oscillators In-Reply-To: References: Message-ID: <79BBB5AE-BC1D-4475-9550-23AFF6ED1355@sbcglobal.net> > > Message: 1 > Date: Sun, 06 Nov 2011 15:05:13 -0800 > From: Roger Guay > To: use-livecode at lists.runrev.com > Subject: ANN: Harmonic Oscillators > Message-ID: > Content-Type: text/plain; CHARSET=US-ASCII > > > Not so much an exhaustive physics/math tutorial as a demonstration of some techniques for doing these types of simulations/animations in LiveCode. > > Unfortunately, I was unable to upload to RevOnlin after repeated attempts, and did not get any feedback on my query about my difficulties with it. Therefore if you want a copy of Harmonic Oscillators, you'll have to go to my download page: > > > http://web.me.com/irog/Roger_Guay/Downloads.html > > Cheers, > Roger Guay > Roger, The simulation makes for a good tutorial. Here is another that may interest you. Newton considered, as a thought experiment, a cannon ball fired from the top of a VERY high mountain. With ever increasing muzzle velocity he speculated that the canon ball would eventually circle the Earth, thus simulating the motion of the moon about the Earth. (See: http://waowen.screaming.net/revision/force&motion/ncanon.htm) You might try 1/r, 1/r^2, 1/r^3 gravitational forces to see which produces the observed results. Jim From pete at mollysrevenge.com Wed Nov 9 02:38:37 2011 From: pete at mollysrevenge.com (Pete) Date: Tue, 8 Nov 2011 23:38:37 -0800 Subject: Passing Parameters In-Reply-To: <4EBA0F32.6050303@pdslabs.net> References: <4EB751EC.000005.05752@CALS_BIG_PC> <4EB79692.5030702@pdslabs.net> <4EB79B0B.2080606@pdslabs.net> <4EBA0F32.6050303@pdslabs.net> Message-ID: Very useful lesson. I guess I'm still interested in the differences/pros/cons of using sockets versus open process/read from process/write to process LC commands (assuming both processes are LC). Do those commands use sockets under the covers? Pete Molly's Revenge On Tue, Nov 8, 2011 at 9:27 PM, Phil Davis > > > There is a nice intro to LC sockets here: > http://lessons.runrev.com/s/**lessons/m/4071/l/12924-How-to-** > communicate-with-other-**applications-using-sockets > > For inter-app communication, both apps are client AND server. > Phil > > > From keith.clarke at clarkeandclarke.co.uk Wed Nov 9 03:34:53 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Wed, 9 Nov 2011 08:34:53 +0000 Subject: Paradigma Software Inc released Free Business Ready Database andReports Server In-Reply-To: References: Message-ID: Thanks for the links Ruslan. I guess the 'on-rev' aspect is more about how to install packages there, so I've asked that question on the on-rev forum. Local host is probably easier (in that it's my infrastructure). But, as my interest is web apps, that also introduces the added dependency/complexity of getting the new RevServer installed on my dev Mac and/or server. Best, Keith.. On 8 Nov 2011, at 23:51, Ruslan Zasukhin wrote: > On 11/8/11 9:34 PM, "Keith Clarke" > wrote: > > Hi Keith, > >> Very interesting. >> So, is there a how-to somewhere on installing this on my on-rev account to >> experiment and learn more about Valentina? >> >> ...starting with which version to download and how to install onto on-rev! > > Version 4.9.1 > > I am not aware deeply about on-rev account. > I think it is more simple to start play just on localhost. > > > V4REV docs: > > http://www.valentina-db.com/dokuwiki/doku.php?id=valentina:products:adk:v4re > v:v4rev > > Valentina articles > > http://www.valentina-db.com/dokuwiki/doku.php?id=valentina:articles:articles > > Valentina Reports some videos > > http://valentina-db.com/dokuwiki/doku.php?id=valentina:video:vspro:vspro > > >> Best, >> Keith.. >>> >>> Anyway - now everyone can have a real powerhouse server in their small and >>> medium sized workgroups and companies for no cost. > > > -- > 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 rene.micout at numericable.com Wed Nov 9 03:44:08 2011 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Wed, 9 Nov 2011 09:44:08 +0100 Subject: Just curious - how would I approach creating a drum machine in live code? In-Reply-To: <081a92ae4babb9f4ad0a6804480de12f@mfelkerco.com> References: <081a92ae4babb9f4ad0a6804480de12f@mfelkerco.com> Message-ID: <79DDCA5A-9286-4F19-9823-5CB517BBDBBC@numericable.com> Hello Mike, Le 8 nov. 2011 ? 23:00, Admin a ?crit : > Also, I would LOVE to > utilize MIDI for this - so the pattern is actually based in MIDI and the > loaded drum samples are in different MIDI channels. I think you do use MIDI but no samples (you can use QuickTime to play samples, but not very creative... I am old school...) For my digital instruments made with LiveCode I use the external "sunnYmidi" by Thierry Douez : http://sunny-tdz.com/ see > http://sunny-tdz.com/art-1000 but Macintosh OS X for now... are you ? Bon souvenir de Paris Ren? From ruslan_zasukhin at valentina-db.com Wed Nov 9 05:16:27 2011 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Wed, 09 Nov 2011 12:16:27 +0200 Subject: vserver and on-rev account In-Reply-To: Message-ID: On 11/9/11 10:34 AM, "Keith Clarke" wrote: Hi Keith, > Thanks for the links Ruslan. I guess the 'on-rev' aspect is more about how to > install packages there, Right. What OS is there ? Mac linux? > so I've asked that question on the on-rev forum. > > Local host is probably easier (in that it's my infrastructure). But, as my > interest is web apps, that also introduces the added dependency/complexity of > getting the new RevServer installed on my dev Mac and/or server. -- 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 m.schonewille at economy-x-talk.com Wed Nov 9 05:33:16 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 9 Nov 2011 11:33:16 +0100 Subject: Passing Parameters In-Reply-To: References: <4EB751EC.000005.05752@CALS_BIG_PC> <4EB79692.5030702@pdslabs.net> <4EB79B0B.2080606@pdslabs.net> <4EBA0F32.6050303@pdslabs.net> Message-ID: Pete, Most programmes were not written for socket communication. Instead, they write to stdout, which can be read from using the read from process command. Writing to stdout is much easier than writing to a socket. However, if you are writing the app you want to communicate with yourself, then you might as well use sockets. IIRC writing to stdout doesn't work correctly in LiveCode, which leaves sockets as a good alternative. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/16r Start selling Color Converter today. 20% commission! On 9 nov 2011, at 08:38, Pete wrote: > Very useful lesson. I guess I'm still interested in the > differences/pros/cons of using sockets versus open process/read from > process/write to process LC commands (assuming both processes are LC). Do > those commands use sockets under the covers? > Pete > Molly's Revenge > > From michael-kristensen at dsa-net.dk Wed Nov 9 06:15:33 2011 From: michael-kristensen at dsa-net.dk (Michael Kristensen) Date: Wed, 9 Nov 2011 12:15:33 +0100 Subject: TIP: A Collapsable Tool Palette Message-ID: Hi there If you have finished adding objects to your stack it can be nice to have a smaller Tool Palette with only the RUN - EDIT button visible. You can have that in this way: Go to the preferences of Revolution/Livecode and turn this on: General: Command-Option or Control-Alt edits script. and General: In Revolution UI windows. Now hold Command-Option or Control-Alt down over the Tool Palette card. The script of the Tool Palette card appear. It has no mouseUp handler, so you can add this: on mouseUp if the mouseV < 5 then if the height of this stack is 459 then set the height of this stack to 33 else set the height of this stack to 459 end if end if end mouseUp Now if you click just under the window bar the window will toggle between full and collapsed. NOTE: The height of the toolpalette may vary according to if the draw/paint tool is toggled on. Go check it before. In my case they are on. In any case the ToolPalette will spring to its full when you choose it from the menu. Michael From alex at tweedly.net Wed Nov 9 06:17:02 2011 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 09 Nov 2011 11:17:02 +0000 Subject: Passing Parameters In-Reply-To: References: <4EB751EC.000005.05752@CALS_BIG_PC> <4EB79692.5030702@pdslabs.net> <4EB79B0B.2080606@pdslabs.net> <4EBA0F32.6050303@pdslabs.net> Message-ID: <4EBA612E.8070604@tweedly.net> If you have an existing program that reads from stdin and writes to stdout - and you want to control / monitor it from another app - then it'd be natural to just use 'read from process'. Or if you have a program that you don't own / develop you might have to use 'read from process'. In general, using sockets is much more flexible and (once you've got over the initial hurdle of building socket communications once or twice) very simple - start with the lesson Phil pointed to, look at Chatrev, etc. 'read from process' has many limitations - in particular you need to "poll" for input, using the 'read from process... in x msecs" form. If you use sockets then you can have the programs operate asynchronously, and have a handler that is called when data is ready for you. Or you can communicate with multiple other apps. Or move one of the apps to another machine (with some care over security). Or .... almost anything. -- Alex. On 09/11/2011 07:38, Pete wrote: > Very useful lesson. I guess I'm still interested in the > differences/pros/cons of using sockets versus open process/read from > process/write to process LC commands (assuming both processes are LC). Do > those commands use sockets under the covers? > Pete > Molly's Revenge > > > > > On Tue, Nov 8, 2011 at 9:27 PM, Phil Davis >> >> There is a nice intro to LC sockets here: >> http://lessons.runrev.com/s/**lessons/m/4071/l/12924-How-to-** >> communicate-with-other-**applications-using-sockets >> >> For inter-app communication, both apps are client AND server. >> Phil >> >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Nov 9 06:22:10 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 9 Nov 2011 12:22:10 +0100 Subject: TIP: A Collapsable Tool Palette In-Reply-To: References: Message-ID: <6B29D9C1-FF7E-4956-B40C-595385CB5499@economy-x-talk.com> Hi Michael, Do these script changes stick between sessions? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/16r Start selling Color Converter today. 20% commission! On 9 nov 2011, at 12:15, Michael Kristensen wrote: > Hi there > > If you have finished adding objects to your stack it can be nice to have a smaller Tool Palette with only the RUN - EDIT button visible. > > You can have that in this way: > > Go to the preferences of Revolution/Livecode and turn this on: > > General: Command-Option or Control-Alt edits script. > > and > > General: In Revolution UI windows. > > > Now hold Command-Option or Control-Alt down over the Tool Palette card. > > The script of the Tool Palette card appear. > > It has no mouseUp handler, so you can add this: > > on mouseUp > if the mouseV < 5 then > if the height of this stack is 459 then > set the height of this stack to 33 > else > set the height of this stack to 459 > end if > end if > end mouseUp > > Now if you click just under the window bar the window will toggle between full and collapsed. > > > NOTE: The height of the toolpalette may vary according to if the draw/paint tool is toggled on. Go check it before. In my case they are on. > > In any case the ToolPalette will spring to its full when you choose it from the menu. > > Michael From keith.clarke at clarkeandclarke.co.uk Wed Nov 9 06:50:05 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Wed, 9 Nov 2011 11:50:05 +0000 Subject: vserver and on-rev account In-Reply-To: References: Message-ID: <9B6534EC-E5AB-46A4-9074-0FC53D2A12D4@clarkeandclarke.co.uk> On-rev runs linux but the version is not stated in the on-rev control panel. I'm no expert on on-rev Linux or C-Panel (or anything else, really!) but there does not seem to be a terminal function for users. I don't know if the kernel version 2.6.18-194.32.1.el5PAE means anything? Packages seem to be installed into on-rev via Fantastico De Luxe or Simple Scripts package managers. So, maybe you folks at Paradigma want to consider getting the Office Server package available via Fantastico (as the on-rev forums mention a 3 free-app limit on Simple Scripts) to enable point & click on-rev installation? That would make it very easy for LiveCoders to start playing with Valentina. Best, Keith.. On 9 Nov 2011, at 10:16, Ruslan Zasukhin wrote: > On 11/9/11 10:34 AM, "Keith Clarke" > wrote: > > Hi Keith, > >> Thanks for the links Ruslan. I guess the 'on-rev' aspect is more about how to >> install packages there, > > Right. > > What OS is there ? Mac linux? > >> so I've asked that question on the on-rev forum. >> >> Local host is probably easier (in that it's my infrastructure). But, as my >> interest is web apps, that also introduces the added dependency/complexity of >> getting the new RevServer installed on my dev Mac and/or server. > > -- > 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 williamdesmet at gmail.com Wed Nov 9 09:45:25 2011 From: williamdesmet at gmail.com (William de Smet) Date: Wed, 9 Nov 2011 15:45:25 +0100 Subject: Uploading to App Store with LiveCode 5 In-Reply-To: References: <2D4B6E98-7A7F-4877-AF97-905C17601401@economy-x-talk.com> Message-ID: Hi Mark, I got today about the same errors as you had yesterday. I tried to add an iPad version of my Stoplicht app. It got me puzzled and one thing I didn't try and that worked: I selected ARM v7 and as minimum iOS 5. So my app can't work on iOS 4.2 and 4.3 now? Is this a bug? What do you think? I read that the current LC 5 version isn't the most stable one made :-) groeten, William 2011/11/8 Mark Schonewille > Thanks for the replies, William. It helps to know that it is actually > possible. I removed all standalone settings, restarted LiveCode and the app > loader and now the bundle error is gone. (I still have an icon or plist > problem, though). > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Become our partner in sales http://qery.us/16r Start selling Color > Converter today. 20% commission! > > On 8 nov 2011, at 22:22, William de Smet wrote: > > > @mark: I forgot to say that I did upload a new app (Stoplicht) with LC 5 > > that went fine the first time. > > > > 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 m.schonewille at economy-x-talk.com Wed Nov 9 09:51:04 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 9 Nov 2011 15:51:04 +0100 Subject: Uploading to App Store with LiveCode 5 In-Reply-To: References: <2D4B6E98-7A7F-4877-AF97-905C17601401@economy-x-talk.com> Message-ID: <1D5A474B-507E-464E-9577-D3E042306F72@economy-x-talk.com> Hi William, Contact me off-list with a screenshot of the errors. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/16r Start selling Color Converter today. 20% commission! On 9 nov 2011, at 15:45, William de Smet wrote: > Hi Mark, > > I got today about the same errors as you had yesterday. > I tried to add an iPad version of my Stoplicht app. It got me puzzled and > one thing I didn't try and that worked: > I selected ARM v7 and as minimum iOS 5. > So my app can't work on iOS 4.2 and 4.3 now? > Is this a bug? What do you think? > I read that the current LC 5 version isn't the most stable one made :-) > > groeten, > > William > From williamdesmet at gmail.com Wed Nov 9 10:03:21 2011 From: williamdesmet at gmail.com (William de Smet) Date: Wed, 9 Nov 2011 16:03:21 +0100 Subject: Uploading to App Store with LiveCode 5 In-Reply-To: <1D5A474B-507E-464E-9577-D3E042306F72@economy-x-talk.com> References: <2D4B6E98-7A7F-4877-AF97-905C17601401@economy-x-talk.com> <1D5A474B-507E-464E-9577-D3E042306F72@economy-x-talk.com> Message-ID: Hi Mark, The upload did work (with Arm v7 en iOS5) and the app is waiting for review now. But I think this is not the way it should work. You should be able to make an app for iPad for iOS4. Same for the missing icon error! LC 5 is full of bugs ('Show invisible objects' sometimes doesn't work either). greetings, William 2011/11/9 Mark Schonewille > Hi William, > > Contact me off-list with a screenshot of the errors. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Become our partner in sales http://qery.us/16r Start selling Color > Converter today. 20% commission! > > On 9 nov 2011, at 15:45, William de Smet wrote: > > > Hi Mark, > > > > I got today about the same errors as you had yesterday. > > I tried to add an iPad version of my Stoplicht app. It got me puzzled and > > one thing I didn't try and that worked: > > I selected ARM v7 and as minimum iOS 5. > > So my app can't work on iOS 4.2 and 4.3 now? > > Is this a bug? What do you think? > > I read that the current LC 5 version isn't the most stable one made :-) > > > > groeten, > > > > 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 coiin at verizon.net Wed Nov 9 10:50:53 2011 From: coiin at verizon.net (Colin Holgate) Date: Wed, 09 Nov 2011 10:50:53 -0500 Subject: looking for a co-presenter... In-Reply-To: <1320432082249-3991210.post@n4.nabble.com> References: <1320432082249-3991210.post@n4.nabble.com> Message-ID: <655DB189-3EE2-433B-B0C8-B073E9E3FA99@verizon.net> I asked, and he was generally up for it, but has other commitments for the next several weeks. Still looking for someone, and it may be for this coming Saturday. On Nov 4, 2011, at 2:41 PM, Alejandro Tejada wrote: > Reading the description, this person > is Ken Ray. :-D From bvg at mac.com Wed Nov 9 10:52:34 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 09 Nov 2011 16:52:34 +0100 Subject: LiveCode.tv event #42 (Wrap up) In-Reply-To: <15B0DC1C-8DC2-435B-8DE9-A5506BAB355A@economy-x-talk.com> References: <6B865405-BBC0-491C-AD25-BFB1C85A2D58@mac.com> <7EC6A85B-DD6B-4138-A597-512A194F4453@mac.com> <89782C22-C6E3-4245-95D1-A48F69423753@mac.com> <061D9182-B34B-4ABB-A7D6-9C2D09DA8755@mac.com> <73F84954-890B-4627-859A-702C8054F13B@mac.com> <093DEF5E-6C0F-4924-A262-F6DBE748ED45@mac.com> <3FB852C9-5675-4A19-9506-543733BB2547@mac.com> <914DF999-596E-4023-A213-9469C6A69FA0@mac.com> <2B105965-FB27-41D0-B95F-1F4C84ADD53B@mac.com> <163225D1-67D1-4CE7-8049-E85A8D94D177@mac.com> <225B0941-5D11-434A-BC0B-CD61B998E9F8@mac.com> <201756EB-9601-417D-856E-5128C5256EF1@mac.com> <081FD717-0A48-447D-90AA-A8F370B14F43@mac.com> <913B7E78-3052-4CF0-9883-C1CDD9F8BDFA@mac.com> <0C1B6D89-1745-46DF-9C49-A5FE2E5B67B9@mac.com> <497CC7C9-74BC-419C-9785-CEA07A8FE181@mac.com> <54E0E19F-3F8A-4D69-97E5-0A95CF879616@mac.com> <056EBC7F-549E-4576-9C8F-920DE5118529@mac.com> <5C8CFEAF-E023-4D20-8459-6C60A4E3E70E@mac.com> <15B0DC1C-8DC2-435B-8DE9-A5506BAB355A@economy-x-talk.com> Message-ID: Last weekend Mark presented his latest changes to installer maker. Watch it here: http://www.ustream.tv/recorded/18331995 Learn more about installer maker: http://www3.economy-x-talk.com/file.php?node=installer-maker-for-lc Contact me, if you'd like to present your own products Bj?rnke On 5 Nov 2011, at 17:38, Mark Schonewille wrote: > Hi, > > I just noticed that the link is slightly incorrect. The link the LiveCode plugin is: > http://www3.economy-x-talk.com/file.php?node=installer-maker-for-lc > (and that's where you'll be able to use the coupon code for the 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 > > Become our partner in sales http://qery.us/16r Start selling Color Converter today. 20% commission! > > On 4 nov 2011, at 02:09, Bj?rnke von Gierke wrote: > >> This Saturday, Mark will present his Installer Maker, because he just released a fresh beta version. Join the event and get a big discount on this invaluable tool. >> >> More info about Installer Maker: >> http://www3.economy-x-talk.com/file.php?node=installer-maker >> >> Have your own tool? Present it during the event: >> http://livecode.tv/participate/ >> >> Join ChatRev to watch live at 20:00 CET on Saturday, 5th November. Download a standalone from >> http://bjoernke.com/chatrev/ >> or enter in the message box: >> go stack URL ?http://bjoernke.com/chatrev/chatrev1.3b3.rev? >> >> Berlin Sat 20:00 >> New York Sat 15:00 >> Los Angeles Sat 12:00 >> Sydney Sun 06:00 >> Hong Kong Sun 03:00 >> >> >> See you then :) >> Bj?rnke >> >> >> -- >> Watch live presentations every Saturday: >> http://livecode.tv >> >> Use an alternative Dictionary viewer: >> http://bjoernke.com/bvgdocu/ >> >> Chat with other RunRev developers: >> http://bjoernke.com/chatrev/ > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Watch live presentations every Saturday: http://livecode.tv Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From bvg at mac.com Wed Nov 9 11:02:19 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 09 Nov 2011 17:02:19 +0100 Subject: Color of a graphic In-Reply-To: References: <8CE6C9C6EB0751A-20C0-129EFB@webmail-m129.sysops.aol.com> Message-ID: <65F985CC-3579-4428-A511-3FBDA09814A4@mac.com> I suggest not to disable graphics. Unless they're interactive to begin with, disabling them is kinda pointless. Instead change the foregroundcolor to a grey. put "100,100,100" into theGrey set the foregroundcolor of graphic "myArrow" to theGrey On 9 Nov 2011, at 04:12, Pete wrote: > Thanks Craig, good to know it's not just me! > > Pete > Molly's Revenge > > > > > On Tue, Nov 8, 2011 at 6:14 PM, wrote: > >> Pete. >> >> >> Interesting. Adding color seems to disable, er, disabling. >> >> >> >> Why not store the color in a custom property, and when you disable the >> graphic, clear the color as well, restoring it when you re-enable. >> >> >> >> Craig Newman >> >> >> >> >> -----Original Message----- >> From: Pete >> To: How to use LiveCode >> Sent: Tue, Nov 8, 2011 11:50 am >> Subject: Color of a graphic >> >> >> I set up a line with an arrow at the end as a graphic. If I disable it, it >> shows up grey. If I change the color of it (the text/border color), the >> color doesn't change when I disable it. >> >> I can change the blendlevel to make it appear disabled but is there some >> other property to make it appear disabled visually? >> >> 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 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Watch live presentations every Saturday: http://livecode.tv Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From bvg at mac.com Wed Nov 9 11:04:22 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 09 Nov 2011 17:04:22 +0100 Subject: Passing Parameters In-Reply-To: <4EBA612E.8070604@tweedly.net> References: <4EB751EC.000005.05752@CALS_BIG_PC> <4EB79692.5030702@pdslabs.net> <4EB79B0B.2080606@pdslabs.net> <4EBA0F32.6050303@pdslabs.net> <4EBA612E.8070604@tweedly.net> Message-ID: <664B1C93-4125-4E66-9CBA-018C0C14EDED@mac.com> Note that these days most OSes will put up a security warning when you start to accept sockets, which you will need to do for inter-process communication. On corporate windows environments, accepting sockets might be disabled altogether for user processes. On 9 Nov 2011, at 12:17, Alex Tweedly wrote: > > If you have an existing program that reads from stdin and writes to stdout - and you want to control / monitor it from another app - then it'd be natural to just use 'read from process'. Or if you have a program that you don't own / develop you might have to use 'read from process'. > > In general, using sockets is much more flexible and (once you've got over the initial hurdle of building socket communications once or twice) very simple - start with the lesson Phil pointed to, look at Chatrev, etc. > > 'read from process' has many limitations - in particular you need to "poll" for input, using the 'read from process... in x msecs" form. If you use sockets then you can have the programs operate asynchronously, and have a handler that is called when data is ready for you. Or you can communicate with multiple other apps. Or move one of the apps to another machine (with some care over security). Or .... almost anything. > > -- Alex. > > > > On 09/11/2011 07:38, Pete wrote: >> Very useful lesson. I guess I'm still interested in the >> differences/pros/cons of using sockets versus open process/read from >> process/write to process LC commands (assuming both processes are LC). Do >> those commands use sockets under the covers? >> Pete >> Molly's Revenge >> >> >> >> >> On Tue, Nov 8, 2011 at 9:27 PM, Phil Davis >>> >>> There is a nice intro to LC sockets here: >>> http://lessons.runrev.com/s/**lessons/m/4071/l/12924-How-to-** >>> communicate-with-other-**applications-using-sockets >>> >>> For inter-app communication, both apps are client AND server. >>> Phil >>> >>> >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Watch live presentations every Saturday: http://livecode.tv Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From chipp at chipp.com Wed Nov 9 11:52:38 2011 From: chipp at chipp.com (Chipp Walters) Date: Wed, 9 Nov 2011 10:52:38 -0600 Subject: [ANN] "World's first supercomputer tablet" Message-ID: Richard, I think you already have V1 of these. http://gizmodo.com/5857759/meet-the-asus-eee-pad-transformer-prime-the-worlds-first-supercomputer-tablet -- Chipp Walters CEO, Shafer Walters Group, Inc. From ambassador at fourthworld.com Wed Nov 9 12:06:26 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 09 Nov 2011 09:06:26 -0800 Subject: [ANN] "World's first supercomputer tablet" In-Reply-To: References: Message-ID: <4EBAB312.4030005@fourthworld.com> Chipp Walters wrote: > Richard, > I think you already have V1 of these. > http://gizmodo.com/5857759/meet-the-asus-eee-pad-transformer-prime-the-worlds-first-supercomputer-tablet I do, and the only disappointment, if you can call it that, is that the TF101 already performs so well I'm likely to sit out the upgrade until the version after this next one. Don't get me started. The Transformer has been aptly named for me: with the keyboard dock it's completely transformed my device lineup, replacing both my tablet and my netbook. The cool Jules Verne enclosure motif is just icing on the cake. Other tablet vendors could learn a lot from Asus. You don't have to mimic the iPad to compete with it. The Transformer is the second-best selling tablet on the market today, and IMNSHO for good reason. With the quad-core NVidia Tegra 3 driving Ice Cream Sandwich, it only gets better.... -- 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 Nov 9 12:08:41 2011 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 9 Nov 2011 15:08:41 -0200 Subject: [ANN] "World's first supercomputer tablet" In-Reply-To: References: Message-ID: Chipp, IMHO that is not a tablet but a laptop. The line between laptop and tablet is so thin these days that I begun to use another criteria to distinguish between them than the presence of a physical keyboard. Most if not all tablets in the market can pair with keyboards so in the end it makes little sense to distinguish between an EEE PC PAD PRIME (horrible name) and a MacBook Air. Even in terms of processing power both things are merging. Heck a quad core processor inside a tablet!!! My own macbook pro has a dual core. I tend to classify machines these days in two categories: my machine and their machine. my machine is the hardware that once I buy, I can install whatever I want from whatever source I want. So both my macbook pro and my Google Nexus S are under this category. their machine is the hardware that I can't install whatever I want from whatever source I want and currently this mean iPhone and iPad and if the doomsday predictions come true, will soon include the mac. This machine you sent looks really good. I think we should pay attention to the resolution: 1280x800, that is larger than the iPad. LiveCode needs an easier way to handle the inifite amount of resolutions we face these days. Scripting resizeStack is a good exercise but we really should aim to some form of resolution independence here. Mobile apps tend to use more images as decoration than desktop apps, with all those different resolutions, you need to carry a lot of images of different sizes in your app or loose time resizing them at runtime. Asus Eee Prime Pad is just one among the different Android Tablets our there, each running a different resolution and screwing my resizes. =) On Wed, Nov 9, 2011 at 2:52 PM, Chipp Walters wrote: > Richard, > I think you already have V1 of these. > > http://gizmodo.com/5857759/meet-the-asus-eee-pad-transformer-prime-the-worlds-first-supercomputer-tablet > > -- > 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 > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From pete at mollysrevenge.com Wed Nov 9 12:22:22 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 9 Nov 2011 09:22:22 -0800 Subject: Passing Parameters In-Reply-To: <4EBA612E.8070604@tweedly.net> References: <4EB751EC.000005.05752@CALS_BIG_PC> <4EB79692.5030702@pdslabs.net> <4EB79B0B.2080606@pdslabs.net> <4EBA0F32.6050303@pdslabs.net> <4EBA612E.8070604@tweedly.net> Message-ID: Thanks for the explanations - stopped me from going down the wrong path. Pete Molly's Revenge On Wed, Nov 9, 2011 at 3:17 AM, Alex Tweedly wrote: > > If you have an existing program that reads from stdin and writes to stdout > - and you want to control / monitor it from another app - then it'd be > natural to just use 'read from process'. Or if you have a program that you > don't own / develop you might have to use 'read from process'. > > In general, using sockets is much more flexible and (once you've got over > the initial hurdle of building socket communications once or twice) very > simple - start with the lesson Phil pointed to, look at Chatrev, etc. > > 'read from process' has many limitations - in particular you need to > "poll" for input, using the 'read from process... in x msecs" form. If you > use sockets then you can have the programs operate asynchronously, and have > a handler that is called when data is ready for you. Or you can communicate > with multiple other apps. Or move one of the apps to another machine (with > some care over security). Or .... almost anything. > > -- Alex. > > > > > On 09/11/2011 07:38, Pete wrote: > >> Very useful lesson. I guess I'm still interested in the >> differences/pros/cons of using sockets versus open process/read from >> process/write to process LC commands (assuming both processes are LC). Do >> those commands use sockets under the covers? >> Pete >> Molly's Revenge >> > >> >> >> >> >> >> On Tue, Nov 8, 2011 at 9:27 PM, Phil Davis >> >>> >>> There is a nice intro to LC sockets here: >>> http://lessons.runrev.com/s/****lessons/m/4071/l/12924-How-to-**** >>> communicate-with-other-****applications-using-sockets>> p://lessons.runrev.com/s/**lessons/m/4071/l/12924-How-to-** >>> communicate-with-other-**applications-using-sockets >>> > >>> >>> >>> For inter-app communication, both apps are client AND server. >>> Phil >>> >>> >>> >>> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> >> > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > > From alex at tweedly.net Wed Nov 9 12:35:01 2011 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 09 Nov 2011 17:35:01 +0000 Subject: [ANN] "World's first supercomputer tablet" In-Reply-To: References: Message-ID: <4EBAB9C5.5040506@tweedly.net> On 09/11/2011 17:08, Andre Garzia wrote: > Scripting resizeStack is a good exercise but we really should aim to some > form of resolution independence here. Mobile apps tend to use more images > as decoration than desktop apps, with all those different resolutions, you > need to carry a lot of images of different sizes in your app or loose time > resizing them at runtime. Asus Eee Prime Pad is just one among the > different Android Tablets our there, each running a different resolution > and screwing my resizes. So long as we don't have proper resolution independence, should we instead try for re-sizing at installation time (or, failing that, perhaps "resize on first use"). I know almost nothing about mobile - but I suspect that in most cases the resolution is 'fixed' for any particular installation of an app, so resizing either as the last step of installation or when the image is first displayed would avoid repeated time lost to resizing. You might need a "meta-resize" to determine for any particular screen resolution what size each of your images needs to be. Then, if mobile installation allows it, you could do a one-time resize of the images; if not then it might need to happen on first use. Would users prefer to see a message ("New installation being completed") on first starting up an app (maybe combined with registration or other first-time actions)? Or would it be better to simply hide that cost during usage ? -- Alex. From pete at mollysrevenge.com Wed Nov 9 12:40:50 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 9 Nov 2011 09:40:50 -0800 Subject: Color of a graphic In-Reply-To: <65F985CC-3579-4428-A511-3FBDA09814A4@mac.com> References: <8CE6C9C6EB0751A-20C0-129EFB@webmail-m129.sysops.aol.com> <65F985CC-3579-4428-A511-3FBDA09814A4@mac.com> Message-ID: The graphic is interactive since I'm using it as a button (with a mouseUp handler). I guss drwaing a graphic was just a convenient way of creating an arrow without searching around for an icon to use as a button icon. Right now, I'm changing the blendlevel of the graphic to 50 when I disable it, then back to 0 when it's enabled again. That gives the right visual effect and preserves the color. Pete Molly's Revenge 2011/11/9 Bj?rnke von Gierke > I suggest not to disable graphics. Unless they're interactive to begin > with, disabling them is kinda pointless. Instead change the foregroundcolor > to a grey. > > put "100,100,100" into theGrey > set the foregroundcolor of graphic "myArrow" to theGrey > > On 9 Nov 2011, at 04:12, Pete wrote: > > > Thanks Craig, good to know it's not just me! > > > > Pete > > Molly's Revenge > > > > > > > > > > On Tue, Nov 8, 2011 at 6:14 PM, wrote: > > > >> Pete. > >> > >> > >> Interesting. Adding color seems to disable, er, disabling. > >> > >> > >> > >> Why not store the color in a custom property, and when you disable the > >> graphic, clear the color as well, restoring it when you re-enable. > >> > >> > >> > >> Craig Newman > >> > >> > >> > >> > >> -----Original Message----- > >> From: Pete > >> To: How to use LiveCode > >> Sent: Tue, Nov 8, 2011 11:50 am > >> Subject: Color of a graphic > >> > >> > >> I set up a line with an arrow at the end as a graphic. If I disable > it, it > >> shows up grey. If I change the color of it (the text/border color), the > >> color doesn't change when I disable it. > >> > >> I can change the blendlevel to make it appear disabled but is there some > >> other property to make it appear disabled visually? > >> > >> 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 > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > -- > Watch live presentations every Saturday: > http://livecode.tv > > Use an alternative Dictionary viewer: > http://bjoernke.com/bvgdocu/ > > Chat with other RunRev developers: > http://bjoernke.com/chatrev/ > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From devin_asay at byu.edu Wed Nov 9 12:51:19 2011 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 9 Nov 2011 17:51:19 +0000 Subject: Color of a graphic In-Reply-To: References: <8CE6C9C6EB0751A-20C0-129EFB@webmail-m129.sysops.aol.com> <65F985CC-3579-4428-A511-3FBDA09814A4@mac.com> Message-ID: Pete, Why not just create the various states of your arrow graphic and import snapshots of the various states as images: import snapshot from grc "arrow" [with effects] Then just hide them and assign the images as icon states of a button. Then you don't have to manage the look of your graphic in your scripting. I do this all the time and it works great. HTH Devin On Nov 9, 2011, at 10:40 AM, Pete wrote: > The graphic is interactive since I'm using it as a button (with a mouseUp > handler). I guss drwaing a graphic was just a convenient way of creating > an arrow without searching around for an icon to use as a button icon. > > Right now, I'm changing the blendlevel of the graphic to 50 when I disable > it, then back to 0 when it's enabled again. That gives the right visual > effect and preserves the color. > > Pete > Molly's Revenge > > > > > 2011/11/9 Bj?rnke von Gierke > >> I suggest not to disable graphics. Unless they're interactive to begin >> with, disabling them is kinda pointless. Instead change the foregroundcolor >> to a grey. >> >> put "100,100,100" into theGrey >> set the foregroundcolor of graphic "myArrow" to theGrey >> >> On 9 Nov 2011, at 04:12, Pete wrote: >> >>> Thanks Craig, good to know it's not just me! >>> >>> Pete >>> Molly's Revenge >>> >>> >>> >>> >>> On Tue, Nov 8, 2011 at 6:14 PM, wrote: >>> >>>> Pete. >>>> >>>> >>>> Interesting. Adding color seems to disable, er, disabling. >>>> >>>> >>>> >>>> Why not store the color in a custom property, and when you disable the >>>> graphic, clear the color as well, restoring it when you re-enable. >>>> >>>> >>>> >>>> Craig Newman >>>> >>>> >>>> >>>> >>>> -----Original Message----- >>>> From: Pete >>>> To: How to use LiveCode >>>> Sent: Tue, Nov 8, 2011 11:50 am >>>> Subject: Color of a graphic >>>> >>>> >>>> I set up a line with an arrow at the end as a graphic. If I disable >> it, it >>>> shows up grey. If I change the color of it (the text/border color), the >>>> color doesn't change when I disable it. >>>> >>>> I can change the blendlevel to make it appear disabled but is there some >>>> other property to make it appear disabled visually? >>>> >>>> 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 >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> -- >> Watch live presentations every Saturday: >> http://livecode.tv >> >> Use an alternative Dictionary viewer: >> http://bjoernke.com/bvgdocu/ >> >> Chat with other RunRev developers: >> http://bjoernke.com/chatrev/ >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > _______________________________________________ > use-livecode mailing list > use-livecode 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 pete at mollysrevenge.com Wed Nov 9 13:19:14 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 9 Nov 2011 10:19:14 -0800 Subject: Color of a graphic In-Reply-To: References: <8CE6C9C6EB0751A-20C0-129EFB@webmail-m129.sysops.aol.com> <65F985CC-3579-4428-A511-3FBDA09814A4@mac.com> Message-ID: Thanks Devin, that sounds like the way to go. Pete Molly's Revenge On Wed, Nov 9, 2011 at 9:51 AM, Devin Asay wrote: > Pete, > > Why not just create the various states of your arrow graphic and import > snapshots of the various states as images: > > import snapshot from grc "arrow" [with effects] > > Then just hide them and assign the images as icon states of a button. Then > you don't have to manage the look of your graphic in your scripting. I do > this all the time and it works great. > > HTH > > Devin > > On Nov 9, 2011, at 10:40 AM, Pete wrote: > > > The graphic is interactive since I'm using it as a button (with a mouseUp > > handler). I guss drwaing a graphic was just a convenient way of creating > > an arrow without searching around for an icon to use as a button icon. > > > > Right now, I'm changing the blendlevel of the graphic to 50 when I > disable > > it, then back to 0 when it's enabled again. That gives the right visual > > effect and preserves the color. > > > > Pete > > Molly's Revenge > > > > > > > > > > 2011/11/9 Bj?rnke von Gierke > > > >> I suggest not to disable graphics. Unless they're interactive to begin > >> with, disabling them is kinda pointless. Instead change the > foregroundcolor > >> to a grey. > >> > >> put "100,100,100" into theGrey > >> set the foregroundcolor of graphic "myArrow" to theGrey > >> > >> On 9 Nov 2011, at 04:12, Pete wrote: > >> > >>> Thanks Craig, good to know it's not just me! > >>> > >>> Pete > >>> Molly's Revenge > >>> > >>> > >>> > >>> > >>> On Tue, Nov 8, 2011 at 6:14 PM, wrote: > >>> > >>>> Pete. > >>>> > >>>> > >>>> Interesting. Adding color seems to disable, er, disabling. > >>>> > >>>> > >>>> > >>>> Why not store the color in a custom property, and when you disable the > >>>> graphic, clear the color as well, restoring it when you re-enable. > >>>> > >>>> > >>>> > >>>> Craig Newman > >>>> > >>>> > >>>> > >>>> > >>>> -----Original Message----- > >>>> From: Pete > >>>> To: How to use LiveCode > >>>> Sent: Tue, Nov 8, 2011 11:50 am > >>>> Subject: Color of a graphic > >>>> > >>>> > >>>> I set up a line with an arrow at the end as a graphic. If I disable > >> it, it > >>>> shows up grey. If I change the color of it (the text/border color), > the > >>>> color doesn't change when I disable it. > >>>> > >>>> I can change the blendlevel to make it appear disabled but is there > some > >>>> other property to make it appear disabled visually? > >>>> > >>>> 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 > >>>> > >>>> > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > >>>> subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>> > >>>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > >> -- > >> Watch live presentations every Saturday: > >> http://livecode.tv > >> > >> Use an alternative Dictionary viewer: > >> http://bjoernke.com/bvgdocu/ > >> > >> Chat with other RunRev developers: > >> http://bjoernke.com/chatrev/ > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From michael-kristensen at dsa-net.dk Wed Nov 9 13:21:53 2011 From: michael-kristensen at dsa-net.dk (Michael Kristensen) Date: Wed, 9 Nov 2011 19:21:53 +0100 Subject: TIP: A Collapsable Tool Palette In-Reply-To: References: Message-ID: <218E8624-5647-4B9A-9DE3-1DD3FDEDD430@dsa-net.dk> Yes Mark When you quit Rev the Palette will ask you if you want to save. If yes it will stick for next time. Michael > > Hi Michael, > > Do these script changes stick between sessions? > > -- > Best regards, > > Mark Schonewille From stephenREVOLUTION2 at barncard.com Wed Nov 9 13:26:06 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 9 Nov 2011 10:26:06 -0800 Subject: [OT?] ADOBE DROPS FLASH for HTML5 In-Reply-To: References: Message-ID: THIS IS BIG NEWS. If you-all haven't seen this yet... http://www.huffingtonpost.com/2011/11/09/adobe-flash-player-mobile-plug-in_n_1083869.html -- Stephen Barncard San Francisco Ca. USA more about sqb From scott at tactilemedia.com Wed Nov 9 13:34:43 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 09 Nov 2011 10:34:43 -0800 Subject: Uploading to App Store with LiveCode 5 In-Reply-To: Message-ID: Something does seem to be messed up with mobile builds. After getting LiveCode v5, it said I needed to install the iOS5 version of Apple's SDK. Now when I try to build a standalone from 4.6.4, LiveCode says I need to have the 4.3 version of the SDK and refuses to build. WTF? I thought installing the latest SDK simply added it to the SDKs available for building. AFAICT, the paths to the developer folders are correct, so what am I missing? Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, William de Smet wrote: > Hi Mark, > > The upload did work (with Arm v7 en iOS5) and the app is waiting for > review now. > But I think this is not the way it should work. > You should be able to make an app for iPad for iOS4. > Same for the missing icon error! LC 5 is full of bugs ('Show invisible > objects' sometimes doesn't work either). > > greetings, > > William > > > > 2011/11/9 Mark Schonewille > >> Hi William, >> >> Contact me off-list with a screenshot of the errors. >> >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> Homepage: http://economy-x-talk.com >> Twitter: http://twitter.com/xtalkprogrammer >> KvK: 50277553 >> >> Become our partner in sales http://qery.us/16r Start selling Color >> Converter today. 20% commission! >> >> On 9 nov 2011, at 15:45, William de Smet wrote: >> >>> Hi Mark, >>> >>> I got today about the same errors as you had yesterday. >>> I tried to add an iPad version of my Stoplicht app. It got me puzzled and >>> one thing I didn't try and that worked: >>> I selected ARM v7 and as minimum iOS 5. >>> So my app can't work on iOS 4.2 and 4.3 now? >>> Is this a bug? What do you think? >>> I read that the current LC 5 version isn't the most stable one made :-) >>> >>> groeten, >>> >>> 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 ambassador at fourthworld.com Wed Nov 9 13:40:17 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 09 Nov 2011 10:40:17 -0800 Subject: [OT?] ADOBE DROPS FLASH for HTML5 In-Reply-To: References: Message-ID: <4EBAC911.8030903@fourthworld.com> stephen barncard wrote: > THIS IS BIG NEWS. > > If you-all haven't seen this yet... > > http://www.huffingtonpost.com/2011/11/09/adobe-flash-player-mobile-plug-in_n_1083869.html > > -- > > Nice. Very nice. Another platform distinction gone, further commoditizing OSes, which is always helpful for us cross-platform devs. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From stephenREVOLUTION2 at barncard.com Wed Nov 9 13:50:55 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 9 Nov 2011 10:50:55 -0800 Subject: Paradigma Software Inc released Free Business Ready Database andReports Server In-Reply-To: References: Message-ID: has anyone installed Livecode server on MAMP ? http://www.mamp.info/en/index.html On 9 November 2011 00:34, Keith Clarke wrote: > Thanks for the links Ruslan. I guess the 'on-rev' aspect is more about how > to install packages there, so I've asked that question on the on-rev forum. > > Local host is probably easier (in that it's my infrastructure). But, as my > interest is web apps, that also introduces the added dependency/complexity > of getting the new RevServer installed on my dev Mac and/or server. > Best, > Keith.. > > On 8 Nov 2011, at 23:51, Ruslan Zasukhin wrote: > > > On 11/8/11 9:34 PM, "Keith Clarke" > > wrote: > > > > Hi Keith, > > > >> Very interesting. > >> So, is there a how-to somewhere on installing this on my on-rev account > to > >> experiment and learn more about Valentina? > >> > >> ...starting with which version to download and how to install onto > on-rev! > > > > Version 4.9.1 > > > > I am not aware deeply about on-rev account. > > I think it is more simple to start play just on localhost. > > > > > > V4REV docs: > > > > > http://www.valentina-db.com/dokuwiki/doku.php?id=valentina:products:adk:v4re > > v:v4rev > > > > Valentina articles > > > > > http://www.valentina-db.com/dokuwiki/doku.php?id=valentina:articles:articles > > > > Valentina Reports some videos > > > > http://valentina-db.com/dokuwiki/doku.php?id=valentina:video:vspro:vspro > > > > > >> Best, > >> Keith.. > >>> > >>> Anyway - now everyone can have a real powerhouse server in their small > and > >>> medium sized workgroups and companies for no cost. > > > > > > -- > > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From andre at andregarzia.com Wed Nov 9 13:55:09 2011 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 9 Nov 2011 16:55:09 -0200 Subject: [OT?] ADOBE DROPS FLASH for HTML5 In-Reply-To: <4EBAC911.8030903@fourthworld.com> References: <4EBAC911.8030903@fourthworld.com> Message-ID: On Wed, Nov 9, 2011 at 4:40 PM, Richard Gaskin wrote: > stephen barncard wrote: > > THIS IS BIG NEWS. >> >> If you-all haven't seen this yet... >> >> http://www.huffingtonpost.com/**2011/11/09/adobe-flash-player-** >> mobile-plug-in_n_1083869.html >> >> -- >> >> > player-mobile-plug-in_n_**1083869.html >> > >> > > Nice. Very nice. > > Another platform distinction gone, further commoditizing OSes, which is > always helpful for us cross-platform devs. > Have you guys seen Adobe Edge? > > -- > 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. http://fon.nu -- minimalist url shortening service. From ambassador at fourthworld.com Wed Nov 9 13:59:38 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 09 Nov 2011 10:59:38 -0800 Subject: [OT?] ADOBE DROPS FLASH for HTML5 In-Reply-To: References: Message-ID: <4EBACD9A.3000201@fourthworld.com> Andre Garzia wrote: > > Have you guys seen Adobe Edge? No Linux version, so I have no use for 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 iowahengst at mac.com Wed Nov 9 14:01:29 2011 From: iowahengst at mac.com (Randy Hengst) Date: Wed, 09 Nov 2011 13:01:29 -0600 Subject: Uploading to App Store with LiveCode 5 In-Reply-To: References: Message-ID: Scott, I have the same issue? love to hear how to fix it. be well, randy ------ On Nov 9, 2011, at 12:34 PM, Scott Rossi wrote: > Something does seem to be messed up with mobile builds. After getting > LiveCode v5, it said I needed to install the iOS5 version of Apple's SDK. > Now when I try to build a standalone from 4.6.4, LiveCode says I need to > have the 4.3 version of the SDK and refuses to build. WTF? I thought > installing the latest SDK simply added it to the SDKs available for > building. AFAICT, the paths to the developer folders are correct, so what > am I missing? > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > Recently, William de Smet wrote: > >> Hi Mark, >> >> The upload did work (with Arm v7 en iOS5) and the app is waiting for >> review now. >> But I think this is not the way it should work. >> You should be able to make an app for iPad for iOS4. >> Same for the missing icon error! LC 5 is full of bugs ('Show invisible >> objects' sometimes doesn't work either). >> >> greetings, >> >> William >> >> >> >> 2011/11/9 Mark Schonewille >> >>> Hi William, >>> >>> Contact me off-list with a screenshot of the errors. >>> >>> -- >>> Best regards, >>> >>> Mark Schonewille >>> >>> Economy-x-Talk Consulting and Software Engineering >>> Homepage: http://economy-x-talk.com >>> Twitter: http://twitter.com/xtalkprogrammer >>> KvK: 50277553 >>> >>> Become our partner in sales http://qery.us/16r Start selling Color >>> Converter today. 20% commission! >>> >>> On 9 nov 2011, at 15:45, William de Smet wrote: >>> >>>> Hi Mark, >>>> >>>> I got today about the same errors as you had yesterday. >>>> I tried to add an iPad version of my Stoplicht app. It got me puzzled and >>>> one thing I didn't try and that worked: >>>> I selected ARM v7 and as minimum iOS 5. >>>> So my app can't work on iOS 4.2 and 4.3 now? >>>> Is this a bug? What do you think? >>>> I read that the current LC 5 version isn't the most stable one made :-) >>>> >>>> groeten, >>>> >>>> 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 > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Wed Nov 9 14:02:14 2011 From: coiin at verizon.net (Colin Holgate) Date: Wed, 09 Nov 2011 14:02:14 -0500 Subject: [OT?] ADOBE DROPS FLASH for HTML5 In-Reply-To: References: Message-ID: After Flash Player 11.1 ships they will continue to provide security updates, and it could be years before Android OS is changed in a way that breaks plugins. One thing it will do though is encourage some people to make mobile browser pieces with HTML5, which while being quite hard to do (with a fraction of the Flash features), it would mean that those pages will work on iOS too. So, it will make Android seem less special in the end, but won't have a immediate impact. One small impact on LiveCode is that Adobe will put more effort into making AIR mobile apps (that you make with Flash) better, and have more features. Although LiveCode wasn't competing with the Flash plugin at all, on mobile that is, it is competing as to what tool developers will use for making apps. The more improvements that Adobe make on AIR, the more it stacks up against LiveCode as a tool to use. But I wouldn't worry, Adobe bring out new features at a much slower rate than RunRev, although the Cloud subscription deal may speed that up. On Nov 9, 2011, at 1:26 PM, stephen barncard wrote: > THIS IS BIG NEWS. From lfredricks at proactive-intl.com Wed Nov 9 14:08:02 2011 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Wed, 9 Nov 2011 11:08:02 -0800 Subject: [OT?] ADOBE DROPS FLASH for HTML5 In-Reply-To: <4EBAC911.8030903@fourthworld.com> References: <4EBAC911.8030903@fourthworld.com> Message-ID: <20AE597245A7417FB036FC7F4AB2311D@GATEWAY> > Nice. Very nice. > > Another platform distinction gone, further commoditizing > OSes, which is always helpful for us cross-platform devs. Im not sure how to feel about this. Simple Flash stuff ran terribly on some devices. I have a site that has a Flash based gallery - nothing too complex, which would not render properly on some devices. On the other hand, this means Flash developers are going to have to think twice about using Flash because of mobile device deployment. Doing this - yeah, I think the writing is on the wall for Flash. Now Flash developers can feel what Director users have been feeling for some time ;-) Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From irog at mac.com Wed Nov 9 14:28:19 2011 From: irog at mac.com (Roger Guay) Date: Wed, 09 Nov 2011 11:28:19 -0800 Subject: ANN: Harmonic Oscillators In-Reply-To: References: Message-ID: <6330D2BC-EC41-45A4-A689-22EE5143C1A3@mac.com> As a matter of fact, Jim. I've been working on that exact simulation, but so far have not been able to make it work. Perhaps, I could work with you off-line to come up with the right equation of motion? Thanks and cheers, Roger On Nov 9, 2011, at 9:40 AM, use-livecode-request at lists.runrev.com wrote: > Roger, > > The simulation makes for a good tutorial. > > Here is another that may interest you. > > Newton considered, as a thought experiment, a cannon ball fired from the top of a VERY high mountain. With ever increasing muzzle velocity he speculated that the canon ball would eventually circle the Earth, thus simulating the motion of the moon about the Earth. > > (See: http://waowen.screaming.net/revision/force&motion/ncanon.htm) > > You might try 1/r, 1/r^2, 1/r^3 gravitational forces to see which produces the observed results. > > Jim > From lelitton at littontech.com Wed Nov 9 14:30:39 2011 From: lelitton at littontech.com (Litton Larry) Date: Wed, 9 Nov 2011 11:30:39 -0800 Subject: Compile for Android Message-ID: <3443A5B1-18FD-460D-A2D2-6B190F9461A4@littontech.com> I can't identify the following problem, does anyone have a direction so I can try to figure out exactly what this error may be??? The error is "There was an error while saving the standalone application could not compile application class" I am using sockets in the code, but even when I comment them out, I get the error. I think that using sockets will not work on either Android or IOS, but when I compile the IOS version, I do not get an error and the app runs very well, other than it doesn't have any working socket. Android will not compile. I am using the Lantronics WiBox to interface the tcpip to dual serial port. I currently have both Macintosh and PC versions working quite well, getting ready to ship. I'm waiting on the completion of LiveCode sockets for Android and IOS platforms. From alex at tweedly.net Wed Nov 9 14:38:53 2011 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 09 Nov 2011 19:38:53 +0000 Subject: [ann] taskRunner (was Re: [ANN] "World's first supercomputer tablet") In-Reply-To: <4EBAB9C5.5040506@tweedly.net> References: <4EBAB9C5.5040506@tweedly.net> Message-ID: <4EBAD6CD.3050704@tweedly.net> taskRunner is, as I'm sure you can guess, named after Ken Ray's 'stackRunner', but unlike stackRunner it doesn't run "whole" stacks, it simply performs little "tasks", and does so on behalf of another app rather than for a user directly. I started developing taskRunner about 6 months ago, with the intention of getting to a complete, maybe even polished, state before announcing it. However, I got it basically working 4 months ago, and haven't had any time to work on it since then; I've now decided that it would be better to make it available as a "sample" or "demo" quality stack in the hope that it will be useful, or at least interesting, for some folks. This was partly triggered by a couple of recent threads, on socket inter-app communication and on the Asus tablet. Now that even tablets have multiple cores, and our Livecode apps are leaving 75% of that power unused, it's worth investigating how we can re-factor our apps to allow us to make more use of multi-cores or processors. Many of us have found that our apps have some operations that take a long time (long enough that we need to re-write small parts to make them more asynchronous). This can be as simple as adding a "wait with messages" or "send in time" to the critical loops so that our app can remain responsive, and/or be interrupted and/or give progress updates. In many cases that same refactoring (taken a little bit further) will allow the use of taskRunner to hive off the actual performing of the task to a separate process. Although I haven't worked on taskRunner for months, I do use it every week, almost every day, and in some cases it has reduced my waiting time to 25% or 30% of what it was before (and made my MacBook into a nice warm space-heater :-). As well as the actual taskRunner stack, you can find - a library to make it easy to split out the tasks and communicate with taskRunner - a test stack to demonstrate some simple uses of taskRunner - a few simple 'task stacks' to use in the demo This is all at www.tweedly.org/taskRunner and I will try to get more docs and useful task stacks written up. If you look at it and find it useful or interesting, please do let me know if there is anything particularly confusing or in need of better explanation. Thanks -- Alex. From alex at tweedly.net Wed Nov 9 14:44:21 2011 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 09 Nov 2011 19:44:21 +0000 Subject: [ann] taskRunner (was Re: [ANN] "World's first supercomputer tablet") In-Reply-To: <4EBAD6CD.3050704@tweedly.net> References: <4EBAB9C5.5040506@tweedly.net> <4EBAD6CD.3050704@tweedly.net> Message-ID: <4EBAD815.2030406@tweedly.net> On 09/11/2011 19:38, Alex Tweedly wrote: > > This is all at www.tweedly.org/taskRunner Duh. It can be found at www.tweedly.org/taskRunner.lc -- Alex. From ambassador at fourthworld.com Wed Nov 9 14:49:21 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 09 Nov 2011 11:49:21 -0800 Subject: [OT?] ADOBE DROPS FLASH for HTML5 In-Reply-To: <20AE597245A7417FB036FC7F4AB2311D@GATEWAY> References: <20AE597245A7417FB036FC7F4AB2311D@GATEWAY> Message-ID: <4EBAD941.4020809@fourthworld.com> Lynn Fredricks wrote: > On the other hand, this means Flash developers are going to have to think > twice about using Flash because of mobile device deployment. Doing this - > yeah, I think the writing is on the wall for Flash. Now Flash developers can > feel what Director users have been feeling for some time ;-) On the contrary, unlike Director it seems Flash is very much alive, just changing the engine from a plugin to WebKit - from the horse's mouth: Flash to Focus on PC Browsing and Mobile Apps; Adobe to More Aggressively Contribute to HTML5 ... We will continue to leverage our experience with Flash to accelerate our work with the W3C and WebKit to bring similar capabilities to HTML5 as quickly as possible, just as we have done with CSS Shaders. And, we will design new features in Flash for a smooth transition to HTML5 as the standards evolve so developers can confidently invest knowing their skills will continue to be leveraged. ... -- 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 Wed Nov 9 15:04:47 2011 From: coiin at verizon.net (Colin Holgate) Date: Wed, 09 Nov 2011 15:04:47 -0500 Subject: [OT?] ADOBE DROPS FLASH for HTML5 In-Reply-To: <4EBAD941.4020809@fourthworld.com> References: <20AE597245A7417FB036FC7F4AB2311D@GATEWAY> <4EBAD941.4020809@fourthworld.com> Message-ID: <67C446A2-699D-473C-BFC7-8AE1561561D8@verizon.net> Aside from the fact that Director continues to be developed (a new shockwave update came out only yesterday), I think you misunderstood something. Adobe's use of WebKit is as a preview of the HTML5 content. Flash isn't involved in the playback at all. Flash Pro will be involved in developing HTML5 content, but the playback part doesn't involve Flash, if you export as HTML that is. On Nov 9, 2011, at 2:49 PM, Richard Gaskin wrote: > On the contrary, unlike Director it seems Flash is very much alive, just changing the engine from a plugin to WebKit - from the horse's mouth: From richmondmathewson at gmail.com Wed Nov 9 15:06:08 2011 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 09 Nov 2011 22:06:08 +0200 Subject: TIP: A Collapsable Tool Palette In-Reply-To: <218E8624-5647-4B9A-9DE3-1DD3FDEDD430@dsa-net.dk> References: <218E8624-5647-4B9A-9DE3-1DD3FDEDD430@dsa-net.dk> Message-ID: <4EBADD30.2050602@gmail.com> On 11/09/2011 08:21 PM, Michael Kristensen wrote: > Yes Mark > > When you quit Rev the Palette will ask you if you want to save. > > If yes it will stick for next time. If you type save stack "revTools" into the messageBox the thing will save. > Michael > > > >> Hi Michael, >> >> Do these script changes stick between sessions? >> >> -- >> Best regards, >> >> Mark Schonewille > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Nov 9 15:08:43 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 09 Nov 2011 12:08:43 -0800 Subject: [OT?] ADOBE DROPS FLASH for HTML5 In-Reply-To: <67C446A2-699D-473C-BFC7-8AE1561561D8@verizon.net> References: <67C446A2-699D-473C-BFC7-8AE1561561D8@verizon.net> Message-ID: <4EBADDCB.6000304@fourthworld.com> Colin Holgate wrote: > I think you misunderstood something. Adobe's use of WebKit is as a > preview of the HTML5 content. Flash isn't involved in the playback > at all. Flash Pro will be involved in developing HTML5 content, > but the playback part doesn't involve Flash, if you export as HTML > that is. Yes, that was my understanding, which I tried to convey when I wrote: ...it seems Flash is very much alive, just changing the engine from a plugin to WebKit AFAIK the authoring system will remain pretty much the same, but the output will no longer be limited to the plugin, able to run natively in any HTML5-capable browser. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From richmondmathewson at gmail.com Wed Nov 9 15:10:02 2011 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 09 Nov 2011 22:10:02 +0200 Subject: [OT?] ADOBE DROPS FLASH for HTML5 In-Reply-To: References: Message-ID: <4EBADE1A.1090609@gmail.com> On 11/09/2011 08:26 PM, stephen barncard wrote: > THIS IS BIG NEWS. > > If you-all haven't seen this yet... > > http://www.huffingtonpost.com/2011/11/09/adobe-flash-player-mobile-plug-in_n_1083869.html > HOWEVER; like everything else, there will be a significant lag-time before Flash vanishes from the web; developers have put hours and hours of effort into Flash, and I cannot envisage them redoing anything until they absolutely have to. Therefore, while anybody who is developing anything for Flash right now ought to pause, take a few very deep breaths, say a few rude words, and start all over again without Flash, browsers are going to need to cope with Flash for a good longish time (say 5 years) until all the current content available has been replaced. From coiin at verizon.net Wed Nov 9 15:18:28 2011 From: coiin at verizon.net (Colin Holgate) Date: Wed, 09 Nov 2011 15:18:28 -0500 Subject: [OT?] ADOBE DROPS FLASH for HTML5 In-Reply-To: <4EBADDCB.6000304@fourthworld.com> References: <67C446A2-699D-473C-BFC7-8AE1561561D8@verizon.net> <4EBADDCB.6000304@fourthworld.com> Message-ID: I can't say much, being bound by NDA, but there will still be about 90% of the things Flash can do that won't be playable by the most powerful HTML5 browser. If you simplify what you were going to do as Flash enough, then you may have something that can work just the same in HTML5. On Nov 9, 2011, at 3:08 PM, Richard Gaskin wrote: > AFAIK the authoring system will remain pretty much the same, but the output will no longer be limited to the plugin, able to run natively in any HTML5-capable browser. From admin at mfelkerco.com Wed Nov 9 15:25:28 2011 From: admin at mfelkerco.com (Admin) Date: Wed, 09 Nov 2011 14:25:28 -0600 Subject: Compile for Android In-Reply-To: <3443A5B1-18FD-460D-A2D2-6B190F9461A4@littontech.com> References: <3443A5B1-18FD-460D-A2D2-6B190F9461A4@littontech.com> Message-ID: <03ab3b1dcd0915100557c3a54a1058d4@mfelkerco.com> I've received the same error with just a button and a answer box. What's up with Android deployment? Mike On Wed, 9 Nov 2011 11:30:39 -0800, Litton Larry wrote: > I can't identify the following problem, does anyone have a direction so I can try to figure out exactly what this error may be??? > > The error is "There was an error while saving the standalone application could not compile application class" > > I am using sockets in the code, but even when I comment them out, I get the error. > > I think that using sockets will not work on either Android or IOS, but when I compile the IOS version, I do not get an error and the app runs very well, other than it doesn't have any working socket. Android will not compile. > > I am using the Lantronics WiBox to interface the tcpip to dual serial port. I currently have both Macintosh and PC versions working quite well, getting ready to ship. I'm waiting on the completion of LiveCode sockets for Android and IOS platforms. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com [1] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode [2] Links: ------ [1] mailto:use-livecode at lists.runrev.com [2] http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Nov 9 15:27:15 2011 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 09 Nov 2011 22:27:15 +0200 Subject: [OT?] ADOBE DROPS FLASH for HTML5 In-Reply-To: References: <67C446A2-699D-473C-BFC7-8AE1561561D8@verizon.net> <4EBADDCB.6000304@fourthworld.com> Message-ID: <4EBAE223.9010700@gmail.com> Dunno, but this is fun: http://www.avonandsomerset.police.uk/community_safety/crime_reduction/car_crime/car_thief_keith_v1.html and somebody put quite a bit of effort into it. From rjb at robelko.com Wed Nov 9 15:30:01 2011 From: rjb at robelko.com (Robert Brenstein) Date: Wed, 9 Nov 2011 21:30:01 +0100 Subject: [ann] taskRunner (was Re: [ANN] "World's first supercomputer tablet") In-Reply-To: <4EBAD6CD.3050704@tweedly.net> References: <4EBAB9C5.5040506@tweedly.net> <4EBAD6CD.3050704@tweedly.net> Message-ID: On 09.11.2011 at 19:38 Uhr +0000 Alex Tweedly apparently wrote: >taskRunner is, as I'm sure you can guess, named after Ken Ray's >'stackRunner', but unlike stackRunner it doesn't run "whole" stacks, >it simply performs little "tasks", and does so on behalf of another >app rather than for a user directly. > Brilliant! I wanted to make such a thing for a long time but have never found time... Robert From mwieder at ahsoftware.net Wed Nov 9 15:37:28 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 9 Nov 2011 12:37:28 -0800 Subject: [OT?] ADOBE DROPS FLASH for HTML5 In-Reply-To: <4EBACD9A.3000201@fourthworld.com> References: <4EBACD9A.3000201@fourthworld.com> Message-ID: <129881168734.20111109123728@ahsoftware.net> Richard- Wednesday, November 9, 2011, 10:59:38 AM, you wrote: > No Linux version, so I have no use for it. No problem, they're just following LiveCode's lead. The Edge Linux Edition will no doubt be delivered when there's enough market share and after developers have been clamoring for it for years. Then it'll be missing key features, have bugs that nobody bothers fixing, and still won't support mobile deployment. We're just ahead of the curve. -- -Mark Wieder mwieder at ahsoftware.net From stephenREVOLUTION2 at barncard.com Wed Nov 9 15:50:04 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 9 Nov 2011 12:50:04 -0800 Subject: [OT?] ADOBE DROPS FLASH for HTML5 In-Reply-To: <4EBAC911.8030903@fourthworld.com> References: <4EBAC911.8030903@fourthworld.com> Message-ID: I've been constructing new pages as HTML5 for over a year. One item to note is that the rules are different than html 4.x and things that were allowed before with ( loose ) will not validate. Constructing a web page with old habits could lead to 10-30 errors when attempting to validate as HTML5 , even though it might look fine in one's own browser. My iRev/ lc HTML5 pages always ended up with too many errors and only recently have I figured out what was wrong. It's about the headers. I've learned a lot about creating quality, verifiable HTML5 code using the w3C validator To share with those trying to make validated HTML5 pages using Livecode server: *[ do this before any other HTML is sent: (this will make Apache talk UTF-8 ) ]* *[ this html startup and header code validates for me ]* * * * * * * * * * Jazzcubed Records* * * * * * * *[content]* * * * * so simple and clean, universal now. I like the standard. sqb On 9 November 2011 10:40, Richard Gaskin wrote: > > Nice. Very nice. > > Another platform distinction gone, further commoditizing OSes, which is > always helpful for us cross-platform devs. > > -- > Richard Gaskin > Stephen Barncard San Francisco Ca. USA more about sqb From roger.e.eller at sealedair.com Wed Nov 9 17:12:54 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 9 Nov 2011 17:12:54 -0500 Subject: [ANN] "World's first supercomputer tablet" In-Reply-To: References: Message-ID: On Wed, Nov 9, 2011 at 12:08 PM, Andre Garzia wrote: > Chipp, > > I tend to classify machines these days in two categories: my machine and > their machine. > > my machine is the hardware that once I buy, I can install whatever I want > from whatever source I want. So both my macbook pro and my Google Nexus S > are under this category. > > their machine is the hardware that I can't install whatever I want from > whatever source I want and currently this mean iPhone and iPad and if the > doomsday predictions come true, will soon include the mac. > > -- > http://www.andregarzia.com -- All We Do Is Code. > http://fon.nu -- minimalist url shortening service. Andre, I think doomsday has already come. At work, we configure laptops for our users. We often use opensource Live CDs to boot the machine for whatever reasons like looking at the partition table, or just to see how the latest Ubuntu or Debian or RedHat distro performs on the latest and greatest Apple has to offer. Well, we tried booting from every Linux we had a Live CD or DVD of, and NONE OF THEM would boot on the newest i7 MacBook Pro. We tried 32-bit and 64-bit versions, and could never go past an error that seemed to point to the hard-drive controller. I don't have the exact error at this moment, but it sure seemed like some kind of secure-boot mechanism was behind it all. So, we installed Windows in a VM and gave it to the user. I'm with you on "what's mine" concept Andre. If I buy it with MY money, I should have the right to install any OS that I please. ?Roger From revolution at derbrill.de Wed Nov 9 17:20:55 2011 From: revolution at derbrill.de (Malte Brill) Date: Wed, 9 Nov 2011 23:20:55 +0100 Subject: [OT?] ADOBE DROPS FLASH for HTML5 In-Reply-To: References: Message-ID: <64F56F97-C846-4181-9D40-34289C85E46F@derbrill.de> Stephen wrote: !!!!!! Thank you thank you thank you thank you.... Been gnashing my teeth about why my UTF-8 content wasn't displayed even though I declared it in the part. Malte From stephenREVOLUTION2 at barncard.com Wed Nov 9 17:24:51 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 9 Nov 2011 14:24:51 -0800 Subject: [OT?] HARD DRIVE SHORTAGE : Thailand flooding Message-ID: Better stock up YouTube and Google...... perhaps now google will create their own hard drive factory... mark my words http://news.cnet.com/8301-13924_3-57320282-64/hard-disk-shortage-will-get-worse-piper-jaffray/ -- Stephen Barncard San Francisco Ca. USA more about sqb From lfredricks at proactive-intl.com Wed Nov 9 17:25:34 2011 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Wed, 9 Nov 2011 14:25:34 -0800 Subject: [OT?] ADOBE DROPS FLASH for HTML5 In-Reply-To: <4EBAD941.4020809@fourthworld.com> References: <20AE597245A7417FB036FC7F4AB2311D@GATEWAY> <4EBAD941.4020809@fourthworld.com> Message-ID: <82B8CA558D314179A1F91BA0F6EBD04D@GATEWAY> > On the contrary, unlike Director it seems Flash is very much > alive, just changing the engine from a plugin to WebKit - > from the horse's mouth: > > > Flash to Focus on PC Browsing and Mobile Apps; Adobe to More > Aggressively Contribute to HTML5 Right - but here's the rub. Even if application builders (Flash or whatever) export HTML5 versions for use on mobile devices, that's still two different versions of applications that will need supporting, right? I don't think they can make all the same apps with HTML5 that they can with Flash (as Colin basically implied). I can see why they might pursue this strategy since Apple (and I would guess MS too) have blown off Flash playback, and that its probably easier than dealing with a huge number of hardware makers. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From andre at andregarzia.com Wed Nov 9 17:28:40 2011 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 9 Nov 2011 20:28:40 -0200 Subject: [ANN] "World's first supercomputer tablet" In-Reply-To: References: Message-ID: On Wed, Nov 9, 2011 at 8:12 PM, Roger Eller wrote: > I'm with you on "what's mine" concept Andre. If I buy it with MY money, I > should have the right to install any OS that I please. > Yes, I think it is a great concept! Now, if you want to try linux supported hardware, checkout System76 machines. This is a small vendor that sells Ubuntu 11.10 machines. I don't think they ship to Brazil but I am considering buying a laptop from them the next time I am in the U.S.A. I really don't like Windows and Macs are moving from "my machine" to "their machine" too fast for my taste. http://www.system76.com/laptops/ (my choice would be a customized version of Pangolin Performance machine) Cheers andre -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From sc at sahores-conseil.com Wed Nov 9 17:33:36 2011 From: sc at sahores-conseil.com (Pierre Sahores) Date: Wed, 9 Nov 2011 23:33:36 +0100 Subject: [OT?] ADOBE DROPS FLASH for HTML5 In-Reply-To: <20AE597245A7417FB036FC7F4AB2311D@GATEWAY> References: <4EBAC911.8030903@fourthworld.com> <20AE597245A7417FB036FC7F4AB2311D@GATEWAY> Message-ID: Le 9 nov. 2011 ? 20:08, Lynn Fredricks a ?crit : >> Nice. Very nice. >> >> Another platform distinction gone, further commoditizing >> OSes, which is always helpful for us cross-platform devs. > > Im not sure how to feel about this. > > Simple Flash stuff ran terribly on some devices. I have a site that has a > Flash based gallery - nothing too complex, which would not render properly > on some devices. > > On the other hand, this means Flash developers are going to have to think > twice about using Flash because of mobile device deployment. Doing this - > yeah, I think the writing is on the wall for Flash. Now Flash developers can > feel what Director users have been feeling for some time ;-) (Beside LC server 4.6.3+ on the server-side,) javascript as the glue + JQuery & Mootools plugins + HTML5/CSS3 let us provide on the client-side 150% of what could ever be done in flash, the lightweight and elegance "en prime" along targetting any kind of OSes ;D > > Best regards, > > Lynn Fredricks > President > Paradigma Software > http://www.paradigmasoft.com > > Valentina SQL Server: The Ultra-fast, Royalty Free Database Server > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From curry at pair.com Wed Nov 9 17:36:52 2011 From: curry at pair.com (Curry Kenworthy) Date: Wed, 09 Nov 2011 16:36:52 -0600 Subject: WordLib Test Docs and LiveCode 5 In-Reply-To: References: Message-ID: <4EBB0084.80304@pair.com> WordLib users: This a heads-up on one LiveCode engine issue that affects some test documents, plus exciting news on upcoming import features! There's a new issue in LiveCode 5.0 that affects displaying animated GIFs in fields when the images are referenced from files. Display a moving GIF in your field and LC bails out completely! This affects all such content and is not in any sense a WordLib issue; the WordLib library simply makes it easy to load a huge variety of content into fields, and that helps to identify any field problems. But it does affect two of the standard test documents that come with WordLib (TestMSWord2007 and TestMSWord2003) because they include animated GIFs. LiveCode 5 will crash after importing these documents (just as it will crash after putting similar content into a field by any other method, not related to WordLib) when you scroll a field to the point where an animated image is displayed. I don't plan to edit those test documents; the whole point is to have some files that put WordLib and LiveCode through their paces with an over-the-top, almost insane level of formatting and content features, to test all the various and cool features of word processing documents and WordLib import, and to easily show up any problems. I'd rather leave these documents as they are to show up any future issues. So, I've submitted a bug report, and anyone who has access to the LiveCode Dev Program/QA center can feel free to vote for this issue there, or utilize a Quick fix to support the issue, if this affects your project. Animated images are fairly rare in word processing documents, but Word clipart does include some animations, so it's always possible for a user to insert one! If you offer your end-users the opportunity to open any document with WordLib, you may want to use LiveCode 4.6.4 until this engine issue is resolved. I realize that this issue could lead people who are new to WordLib or LiveCode to mistakenly assume that WordLib is causing a crash, but this is not the case. BTW, we're currently putting the finishing touches on a new version of WordLib that will handle Unicode document imports in any language! If you've been keen on making your projects more multilingual, it's coming soon. (Some of you have used a beta version with some Unicode capability, but the upcoming release is greatly enhanced and much more powerful!) 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 coiin at verizon.net Wed Nov 9 17:36:44 2011 From: coiin at verizon.net (Colin Holgate) Date: Wed, 09 Nov 2011 17:36:44 -0500 Subject: [OT?] ADOBE DROPS FLASH for HTML5 In-Reply-To: <82B8CA558D314179A1F91BA0F6EBD04D@GATEWAY> References: <20AE597245A7417FB036FC7F4AB2311D@GATEWAY> <4EBAD941.4020809@fourthworld.com> <82B8CA558D314179A1F91BA0F6EBD04D@GATEWAY> Message-ID: <04FB170A-14EB-49D6-BC76-5415432C74EB@verizon.net> You can, or will be able to, export a swf for web use, select Android, publish the Android app, select iOS, publish the iOS app, select HTML, export the HTML5 version, all from the same FLA. But, it would have to be a fairly feature limited application if it has to be able to run as HTML5. On Nov 9, 2011, at 5:25 PM, Lynn Fredricks wrote: > Right - but here's the rub. Even if application builders (Flash or whatever) > export HTML5 versions for use on mobile devices, that's still two different > versions of applications that will need supporting, right? I don't think > they can make all the same apps with HTML5 that they can with Flash (as > Colin basically implied). From andrew at rjdfarm.com Wed Nov 9 19:00:24 2011 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Wed, 9 Nov 2011 16:00:24 -0800 (PST) Subject: WordLib Test Docs and LiveCode 5 In-Reply-To: <4EBB0084.80304@pair.com> References: <4EBB0084.80304@pair.com> Message-ID: <1320883224602-4021858.post@n4.nabble.com> WordReport Saved My Job. Any interesting things happening with that? Thank You! -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/WordLib-Test-Docs-and-LiveCode-5-tp4021657p4021858.html Sent from the Revolution - User mailing list archive at Nabble.com. From curry at pair.com Wed Nov 9 19:08:27 2011 From: curry at pair.com (Curry Kenworthy) Date: Wed, 09 Nov 2011 18:08:27 -0600 Subject: WordLib Test Docs and LiveCode 5 In-Reply-To: References: Message-ID: <4EBB15FB.7040809@pair.com> > WordReport Saved My Job. Really? That's great! :-) How did it happen? > Any interesting things happening with that? Thank You! After the WordLib update I'll aim to update WordReport (less picky about formatting, hopefully) and finally release WordOut! 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 sc at sahores-conseil.com Wed Nov 9 20:28:05 2011 From: sc at sahores-conseil.com (Pierre Sahores) Date: Thu, 10 Nov 2011 02:28:05 +0100 Subject: [OT?] ADOBE DROPS FLASH for HTML5 In-Reply-To: References: <4EBAC911.8030903@fourthworld.com> Message-ID: <178067C7-3475-4EC1-881B-D8B1975D77C7@sahores-conseil.com> Many thanks Stephan ! Will use your recommandation as soon as tomorrow morning ;-) Kind regards, Pierre Le 9 nov. 2011 ? 21:50, stephen barncard a ?crit : > I've been constructing new pages as HTML5 for over a year. One item to > note is that the rules are different than html 4.x and things that were > allowed before with ( loose ) will not validate. Constructing a web page > with old habits could lead to 10-30 errors when attempting to validate as > HTML5 , even though it might look fine in one's own browser. > > My iRev/ lc HTML5 pages always ended up with too many errors and only > recently have I figured out what was wrong. It's about the headers. I've > learned a lot about creating quality, verifiable HTML5 code using the w3C > validator > > To share with those trying to make validated HTML5 pages using Livecode > server: > > *[ do this before any other HTML is sent: (this will make Apache talk > UTF-8 ) ]* > > > put new header "Content-type: text/html; charset=utf-8" > > ?> > > *[ this html startup and header code validates for me ]* > > * * > * * > * * > * * > * Jazzcubed Records* > * * > * * > * * > *[content]* > * * > * * > > > > so simple and clean, universal now. I like the standard. > > sqb > > > > On 9 November 2011 10:40, Richard Gaskin wrote: > >> >> Nice. Very nice. >> >> Another platform distinction gone, further commoditizing OSes, which is >> always helpful for us cross-platform devs. >> >> -- >> Richard Gaskin >> > > 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 -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From kray at sonsothunder.com Wed Nov 9 20:45:22 2011 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 9 Nov 2011 19:45:22 -0600 Subject: MAC OS X Lion, shell and language In-Reply-To: References: <8A7B3E25-F37C-4AE3-B682-6CD03E62CFFC@numericable.com> <4EB96968.1050508@warrensweb.us> <4CDC04CF-D9D6-48E6-8328-CC388B9AD1D7@numericable.com> <4EB98142.8000004@warrensweb.us> <4EB981B9.9040507@warrensweb.us> Message-ID: On Nov 8, 2011, at 1:28 PM, Ren? Micout wrote: > Thanks Warren, > I simplify my script : > > get shell ("defaults read NSGlobalDomain") > get line lineOffset("AppleLocale",it) of it > put false into vxFran?ais ; if "fr" is in it then put true into vxFran?ais Even easier: put shell("defaults read NSGlobalDomain AppleLocale") into tLanguage :D Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From mwieder at ahsoftware.net Wed Nov 9 21:01:58 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 9 Nov 2011 18:01:58 -0800 Subject: [ANN] "World's first supercomputer tablet" In-Reply-To: References: Message-ID: <118900638796.20111109180158@ahsoftware.net> Roger- Wednesday, November 9, 2011, 2:12:54 PM, you wrote: > Andre, I think doomsday has already come. At work, we configure laptops > for our users. We often use opensource Live CDs to boot the machine for > whatever reasons like looking at the partition table, or just to see how > the latest Ubuntu or Debian or RedHat distro performs on the latest and > greatest Apple has to offer. Well, we tried booting from every Linux we > had a Live CD or DVD of, and NONE OF THEM would boot on the newest i7 > MacBook Pro. We tried 32-bit and 64-bit versions, and could never go past > an error that seemed to point to the hard-drive controller. I don't have > the exact error at this moment, but it sure seemed like some kind of > secure-boot mechanism was behind it all. So, we installed Windows in a VM > and gave it to the user. Sounds like UEFI. Apple has shipped logic boards with UEFI for years, but it's never been enabled before. http://boingboing.net/2011/09/21/anti-malware-hardware-has-the-potential-to-make-it-illegal-and-impossible-to-choose-to-run-linux.html https://wiki.archlinux.org/index.php/Unified_Extensible_Firmware_Interface http://www.linuxfoundation.org/publications/making-uefi-secure-boot-work-with-open-platforms -- -Mark Wieder mwieder at ahsoftware.net From pete at mollysrevenge.com Wed Nov 9 21:38:00 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 9 Nov 2011 18:38:00 -0800 Subject: Drag/Drop Datagrid Columns Message-ID: I have a little stack that illustrates how to reorder columns in a datagrid by dragging and dropping them. I'd like to share it with anyone who is interested but I can't upload it to revOnline. The upload starts but never seems to terminate. In fact just about anything I try to do in revOnline hangs. If anyone has an interest, email me offlist and I'll send you the stack. Pete Molly's Revenge From chipp at chipp.com Wed Nov 9 22:05:45 2011 From: chipp at chipp.com (Chipp Walters) Date: Wed, 9 Nov 2011 21:05:45 -0600 Subject: [ANN] "World's first supercomputer tablet" In-Reply-To: <4EBAB312.4030005@fourthworld.com> References: <4EBAB312.4030005@fourthworld.com> Message-ID: Yep. And one of the reasons I predict Apple will be forced to license iOS to other manufacturers within the next 3 years-- or lose the commanding presence and top marketshare they now enjoy. The simple fact is it is impossible for the small number of engineers at Apple to keep ahead,or even keep up, with the thousands of engineers in the rest of the world. Small teams of developers can and do create the best software. Unfortunately that's not true for hardware, which needs the skills of a vertically integrated and/or well networked company. Apple is not either. PLUS, and this is a big PLUS, Apple has a virtual lock on the AppStore business. Their model is a huge success and can only get better if Apple were to license their mobile OS. I suppose the only issue is... How long before iOS *becomes* MacOS? It's clear with the latest incarnation of Lion, the merge is coming. The only question is how soon? It's a tough road to navigate, and without the Jobs compass, it will be interesting. Here's another prediction.... AppleTV will play a big part in all of this. I'm not exactly sure how, but if the platform becomes open to developers, it will be big. Not because of the TV, but because of the integration with iOS. On Wednesday, November 9, 2011, Richard Gaskin wrote: > Chipp Walters wrote: > >> Richard, >> I think you already have V1 of these. >> http://gizmodo.com/5857759/meet-the-asus-eee-pad-transformer-prime-the-worlds-first-supercomputer-tablet > > I do, and the only disappointment, if you can call it that, is that the TF101 already performs so well I'm likely to sit out the upgrade until the version after this next one. > > Don't get me started. The Transformer has been aptly named for me: with the keyboard dock it's completely transformed my device lineup, replacing both my tablet and my netbook. > > The cool Jules Verne enclosure motif is just icing on the cake. > > Other tablet vendors could learn a lot from Asus. You don't have to mimic the iPad to compete with it. The Transformer is the second-best selling tablet on the market today, and IMNSHO for good reason. > > With the quad-core NVidia Tegra 3 driving Ice Cream Sandwich, it only gets better.... > > -- > 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 > -- Chipp Walters CEO, Shafer Walters Group, Inc. From andrew at rjdfarm.com Wed Nov 9 23:54:37 2011 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Wed, 9 Nov 2011 20:54:37 -0800 (PST) Subject: WordLib Test Docs and LiveCode 5 In-Reply-To: <4EBB15FB.7040809@pair.com> References: <4EBB0084.80304@pair.com> <4EBB15FB.7040809@pair.com> Message-ID: <1320900877227-4022472.post@n4.nabble.com> I had been working on a Latex based reporting system for a Lease Making Program and it was full of gotchas and bloated dependencies. WordReport made it so much easier and more powerful than what I had been working on and nearly gave up on. Giving up on that project in livecode that I had nearly spent all the budget for would have probably meant losing that client. Good to hear that WordOut and WordReport updates are coming. :) -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/WordLib-Test-Docs-and-LiveCode-5-tp4021657p4022472.html Sent from the Revolution - User mailing list archive at Nabble.com. From curry at pair.com Thu Nov 10 00:59:31 2011 From: curry at pair.com (Curry Kenworthy) Date: Wed, 09 Nov 2011 23:59:31 -0600 Subject: WordLib Test Docs and LiveCode 5 In-Reply-To: References: Message-ID: <4EBB6843.8020707@pair.com> > WordReport made it so much easier and more powerful Awesome! Thanks for sharing that. Best wishes, Curry K. From rene.micout at numericable.com Thu Nov 10 03:47:38 2011 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Thu, 10 Nov 2011 09:47:38 +0100 Subject: MAC OS X Lion, shell and language In-Reply-To: References: <8A7B3E25-F37C-4AE3-B682-6CD03E62CFFC@numericable.com> <4EB96968.1050508@warrensweb.us> <4CDC04CF-D9D6-48E6-8328-CC388B9AD1D7@numericable.com> <4EB98142.8000004@warrensweb.us> <4EB981B9.9040507@warrensweb.us> Message-ID: <9334A809-7E79-4AB8-BAEC-41C7AFEDABCE@numericable.com> One line in less ! Thank you Ken ! :-) A little subsidiary question: with: put shell("defaults read NSGlobalDomain") what is in second line the big number like that: "XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX" = XXXXXXXXXX ? Ren? Le 10 nov. 2011 ? 02:45, Ken Ray a ?crit : > > On Nov 8, 2011, at 1:28 PM, Ren? Micout wrote: > >> Thanks Warren, >> I simplify my script : >> >> get shell ("defaults read NSGlobalDomain") >> get line lineOffset("AppleLocale",it) of it >> put false into vxFran?ais ; if "fr" is in it then put true into vxFran?ais > > Even easier: > > put shell("defaults read NSGlobalDomain AppleLocale") into tLanguage > > :D > > > 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 bogdanoff at me.com Thu Nov 10 04:08:02 2011 From: bogdanoff at me.com (Peter Bogdanoff) Date: Thu, 10 Nov 2011 01:08:02 -0800 Subject: Download a stack file In-Reply-To: <1319833545111-3949126.post@n4.nabble.com> References: <1319833545111-3949126.post@n4.nabble.com> Message-ID: <6853BCFF-39FB-41E9-925D-50119801193D@me.com> This did work for a while. Now it is not working-- the cached message is not sent. I tried putting a wait until URLStatus is "cached" but the program waited indefinitely, so it seems that it is not loading from this remote server. The file is available (I used an FTP application to test download it--took a few seconds.) Did 5.0 break something? The file I'm downloading is: load URL "http://artsinteractive.org/updates/MITA-1NEW.livecode" with message "downloadDone" Peter On Oct 28, 2011, at 1:25 PM, AndyP wrote: > Use a callback to check when the loaded file is cached (fully loaded) and > then save the file via a url. > > load url myUrl with message "loaded" > > on loaded pUrl, pStatus > if pStatus = "cached" then > put url pUrl into url ("binfile:" & pathToLocalFile) > end if > unload url pUrl > end loaded > > > > > > ----- > Andy Piddock > > > My software never has bugs. It just develops random features. > PointandSee is a FREE simple but full featured under cursor colour picker / finder. > http://www.pointandsee.co.uk - made with LiveCode (v1.4.1 released 26/08/2011) > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Download-a-stack-file-tp3947074p3949126.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 keith.clarke at clarkeandclarke.co.uk Thu Nov 10 05:05:21 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Thu, 10 Nov 2011 10:05:21 +0000 Subject: Mobile apps: Where to store web service login details Message-ID: <18868B8B-35A3-4483-A5F4-E19308B39787@clarkeandclarke.co.uk> Hi Folks, I'm dipping my to into mobile development and looking for advice on where best to store web service usernames and passwords that are accessed from the device (with security and persistence between session). The use case is a simple iOS/Android app that would access my revServer. I can't find any reference to this in the docs - am I missing the magic search keyword? Best, Keith.. From john at splash21.com Thu Nov 10 05:23:48 2011 From: john at splash21.com (John Craig) Date: Thu, 10 Nov 2011 10:23:48 +0000 Subject: [ANN] MobGUI V0.25 - new scroller Message-ID: <4EBBA634.10502@splash21.com> Hi, all. I've added the first version of a new scroller control for android (or iOS or both). I'd be grateful for any feedback on performance on actual devices. Thanks :) J From john at splash21.com Thu Nov 10 05:44:47 2011 From: john at splash21.com (John Craig) Date: Thu, 10 Nov 2011 10:44:47 +0000 Subject: [ANN] MobGUI V0.25 - new scroller In-Reply-To: <4EBBA634.10502@splash21.com> References: <4EBBA634.10502@splash21.com> Message-ID: <4EBBAB1F.5040202@splash21.com> http://forums.runrev.com/viewtopic.php?f=54&t=9484 http://youtu.be/9n7sI6UHjBg On 10/11/2011 10:23, John Craig wrote: > Hi, all. I've added the first version of a new scroller control for > android (or iOS or both). I'd be grateful for any feedback on > performance on actual devices. > > Thanks :) > > J > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From andre at andregarzia.com Thu Nov 10 06:04:39 2011 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 10 Nov 2011 09:04:39 -0200 Subject: Mobile apps: Where to store web service login details In-Reply-To: <18868B8B-35A3-4483-A5F4-E19308B39787@clarkeandclarke.co.uk> References: <18868B8B-35A3-4483-A5F4-E19308B39787@clarkeandclarke.co.uk> Message-ID: On Thu, Nov 10, 2011 at 8:05 AM, Keith Clarke < keith.clarke at clarkeandclarke.co.uk> wrote: > Hi Folks, > I'm dipping my to into mobile development and looking for advice on where > best to store web service usernames and passwords that are accessed from > the device (with security and persistence between session). > > The use case is a simple iOS/Android app that would access my revServer. > > I can't find any reference to this in the docs - am I missing the magic > search keyword? > Best, > Keith.. > > > Keith, Check out the specialFolderPaths() in the docs for mobile. 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. http://fon.nu -- minimalist url shortening service. From keith.clarke at clarkeandclarke.co.uk Thu Nov 10 06:17:36 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Thu, 10 Nov 2011 11:17:36 +0000 Subject: Mobile apps: Where to store web service login details In-Reply-To: References: <18868B8B-35A3-4483-A5F4-E19308B39787@clarkeandclarke.co.uk> Message-ID: <76FF9E92-DEFC-4B63-9296-F6000CFBD2D9@clarkeandclarke.co.uk> Thanks Andre, I did look at special folders but it appears the only location on iOS and Android with read/write access is the 'documents' special folder. This seems a bit 'open' for login details - both in terms of accessibility and the potential for the file to be deleted. Do I guess correctly that there is then additional LiveCode magic dust (that I haven't learned about yet) which can be applied to the files to protect / hide / encrypt them when in such a seemingly open folder? :-) Best, Keith.. On 10 Nov 2011, at 11:04, Andre Garzia wrote: > On Thu, Nov 10, 2011 at 8:05 AM, Keith Clarke < > keith.clarke at clarkeandclarke.co.uk> wrote: > >> Hi Folks, >> I'm dipping my to into mobile development and looking for advice on where >> best to store web service usernames and passwords that are accessed from >> the device (with security and persistence between session). >> >> The use case is a simple iOS/Android app that would access my revServer. >> >> I can't find any reference to this in the docs - am I missing the magic >> search keyword? >> Best, >> Keith.. >> >> >> > Keith, > > Check out the specialFolderPaths() in the docs for mobile. > > 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. > http://fon.nu -- minimalist url shortening service. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From keith.clarke at clarkeandclarke.co.uk Thu Nov 10 06:28:00 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Thu, 10 Nov 2011 11:28:00 +0000 Subject: [ANN] MobGUI V0.25 - new scroller In-Reply-To: <4EBBA634.10502@splash21.com> References: <4EBBA634.10502@splash21.com> Message-ID: Thanks for the update John. Is there a trick within MobGUI (now or planned) for managing a single stack for iOS and Android deployments, which 'switches' the appropriate native controls - in a similar fashion to the way you have enabled specific layouts by orientation? I'm envisaging a specific Android radio button to go alongside the iOS devices in your design size and orientation parameters (assuming that 'Custom' is concerned purely with screen dimensions and not specifically the Android platform)? Would the current workaround be to create alternative groups of the native controls and have their visibility set by the platform? Best, Keith.. On 10 Nov 2011, at 10:23, John Craig wrote: > Hi, all. I've added the first version of a new scroller control for android (or iOS or both). I'd be grateful for any feedback on performance on actual devices. > > Thanks :) > > J > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gerry.orkin at gmail.com Thu Nov 10 06:35:04 2011 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Thu, 10 Nov 2011 22:35:04 +1100 Subject: Mobile apps: Where to store web service login details In-Reply-To: <76FF9E92-DEFC-4B63-9296-F6000CFBD2D9@clarkeandclarke.co.uk> References: <18868B8B-35A3-4483-A5F4-E19308B39787@clarkeandclarke.co.uk> <76FF9E92-DEFC-4B63-9296-F6000CFBD2D9@clarkeandclarke.co.uk> Message-ID: <3DC1B407-9B26-405E-BAEB-98C45F4F6335@gmail.com> > Thanks Andre, I did look at special folders but it appears the only location on iOS and Android with read/write access is the 'documents' special folder. The iOS release notes list these locations as valid for files: home ? the (unique) folder containing the application bundle and its associated data and folders documents ? the folder in which the application should store any document data (this folder is backed up by iTunes on sync) cache ? the folder in which the application should store any transient data that needs to be preserved between launches (this folder is not backed up by iTunes on sync) library ? the folder in which the application can store data of various types. In particular, data private to the application should be stored in a folder named with the app's bundle identifier inside library. (this folder is backed up by iTunes on sync). temporary ? the folder in which the application should store any temporary data that is not needed between launches (this folder is not backed up by iTunes on sync) > This seems a bit 'open' for login details - both in terms of accessibility and the potential for the file to be deleted. Your app is sandboxed. Every iOS app that stores login details stores those details in one of the valid folders. > > Do I guess correctly that there is then additional LiveCode magic dust (that I haven't learned about yet) which can be applied to the files to protect / hide / encrypt them when in such a seemingly open folder? :-) You files are encrypted (as I recently discovered). Check out this forum thread: http://forums.runrev.com/viewtopic.php?f=49&t=9468&sid=b17306c823b589abcc24e7954ce81884 Cheers Gerry From keith.clarke at clarkeandclarke.co.uk Thu Nov 10 06:47:24 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Thu, 10 Nov 2011 11:47:24 +0000 Subject: Mobile apps: Where to store web service login details In-Reply-To: <3DC1B407-9B26-405E-BAEB-98C45F4F6335@gmail.com> References: <18868B8B-35A3-4483-A5F4-E19308B39787@clarkeandclarke.co.uk> <76FF9E92-DEFC-4B63-9296-F6000CFBD2D9@clarkeandclarke.co.uk> <3DC1B407-9B26-405E-BAEB-98C45F4F6335@gmail.com> Message-ID: <58D7EC0B-53F9-4D50-B8E7-AEE2FB2205E9@clarkeandclarke.co.uk> Thanks Gerry. The Android notes aren't so specific about whether the cache folder persists (and no library folder is currently supported) so I was taking 'documents' as the only generic option. So, it seems that for iOS, the library is the safe, secure, encrypted and backed-up option, whereas for Android it may be cache or else documents - until/unless special folder support is extended. (Did I get that right?) Thanks also for the link to the article on encryption - though that will take a few read-troughs before I start to understand! :-) On 10 Nov 2011, at 11:35, Gerry Orkin wrote: > >> Thanks Andre, I did look at special folders but it appears the only location on iOS and Android with read/write access is the 'documents' special folder. > > The iOS release notes list these locations as valid for files: > > home ? the (unique) folder containing the application bundle and its associated data and folders > > documents ? the folder in which the application should store any document data (this folder is backed up by iTunes on sync) > > cache ? the folder in which the application should store any transient data that needs to be preserved between launches (this folder is not backed up by iTunes on sync) > > library ? the folder in which the application can store data of various types. In particular, data private to the application should be stored in a folder named with the app's bundle identifier inside library. (this folder is backed up by iTunes on sync). > > temporary ? the folder in which the application should store any temporary data that is not needed between launches (this folder is not backed up by iTunes on sync) > >> This seems a bit 'open' for login details - both in terms of accessibility and the potential for the file to be deleted. > > Your app is sandboxed. Every iOS app that stores login details stores those details in one of the valid folders. > >> >> Do I guess correctly that there is then additional LiveCode magic dust (that I haven't learned about yet) which can be applied to the files to protect / hide / encrypt them when in such a seemingly open folder? :-) > > You files are encrypted (as I recently discovered). Check out this forum thread: http://forums.runrev.com/viewtopic.php?f=49&t=9468&sid=b17306c823b589abcc24e7954ce81884 > > > > Cheers > > Gerry > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From janschenkel at yahoo.com Thu Nov 10 07:06:32 2011 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 10 Nov 2011 04:06:32 -0800 (PST) Subject: Formatting ChordPro music charts In-Reply-To: <1320770989411-4016678.post@n4.nabble.com> References: <4ACB8C15D76541638EEEA0271F98F5C6@stuart> <1320731438.59193.YahooMailNeo@web65416.mail.ac4.yahoo.com> <1320770989411-4016678.post@n4.nabble.com> Message-ID: <1320926792.53144.YahooMailNeo@web65407.mail.ac4.yahoo.com> Hi Mark, Glad to be of assistance. I just took another look at it, and realized that there's still a case where my algorithm didn't work: when the lyrics under the chord are shorter than the chord. The following adapted version should fix that for you: ## on mouseUp ?? put ChordProPrintText(field "ChordProText") into field "PrintText" end mouseUp private function ChordProPrintText pChordProText ?? local tPrintText, tLine, tIndex, tInBracketFlag, tChords, tLyrics ?? repeat for each line tLine in pChordProText ????? put empty into tChords ????? put empty into tLyrics ????? put false into tInBracketFlag ????? repeat with tIndex = 1 to the number of characters in tLine ???????? if char tIndex of tLine is "[" then ??????????? put true into tInBracketFlag ??????????? if tChords is not empty and char -1 of tChords is not space then ?????????????? put space after tChords ??????????? end if ??????????? repeat (the number of characters in tChords) - (the number of characters in tLyrics) times ?????????????? put space after tLyrics ??????????? end repeat ???????? else if char tIndex of tLine is "]" then ??????????? put false into tInBracketFlag ???????? else if tInBracketFlag is true then ??????????? put char tIndex of tLine after tChords ???????? else ??????????? put char tIndex of tLine after tLyrics ??????????? if the number of characters in tChords < the number of characters in tLyrics then ?????????????? put space after tChords ??????????? end if ???????? end if ????? end repeat ????? put tChords & return & tLyrics & return after tPrintText ?? end repeat ?? return char 1 to -2 of tPrintText -- no trailing return end ChordProPrintText ## Cheers, 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: Mark Stuart To: use-revolution at lists.runrev.com Sent: Tuesday, November 8, 2011 5:49 PM Subject: Re: Formatting ChordPro music charts Jan, you are brilliant. Thank you very much for the script, it works exactly as expected. Even with chords like Dsus2, F#, Bb, Cm7, etc. So thanx again. Now to finish this project... another story. Regards, Mark Stuart From effendi at wanadoo.fr Thu Nov 10 07:09:20 2011 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Thu, 10 Nov 2011 13:09:20 +0100 Subject: Wasting space on the forum. Message-ID: <37A9B2FA-E078-445B-B99A-586E0688D42D@wanadoo.fr> Hi to any culpritsl, Sorry to any of you who include past mails within their new mail ....... BUT ......... You are wasting space ! Some of you go up to 6 or 7 levels, without thinking that we don't need to see the same information 6 or 7 times. If anybody wants to follow whatever was said on that thread, they can always use : http://lists.runrev.com/pipermail/use-livecode/ With thanks from us others ....... - Francis "Nothing should ever be done for the first time !" From m.schonewille at economy-x-talk.com Thu Nov 10 07:15:48 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 10 Nov 2011 13:15:48 +0100 Subject: Wasting space on the forum. In-Reply-To: <37A9B2FA-E078-445B-B99A-586E0688D42D@wanadoo.fr> References: <37A9B2FA-E078-445B-B99A-586E0688D42D@wanadoo.fr> Message-ID: Hi Francis, Usually I don't reply to messages that don't quote the preceding message. If you would like me to answer your questions and take part in discussions that may benefit you, quote the previous message. If you don't want me to reply, don't quote. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/16r Start selling Color Converter today. 20% commission! On 10 nov 2011, at 13:09, Francis Nugent Dixon wrote: > Hi to any culpritsl, > > Sorry to any of you who include past mails > within their new mail ....... BUT ......... > > You are wasting space ! > > Some of you go up to 6 or 7 levels, without > thinking that we don't need to see the same > information 6 or 7 times. > > If anybody wants to follow whatever was > said on that thread, they can always use : > > http://lists.runrev.com/pipermail/use-livecode/ > > With thanks from us others ....... > > - Francis From dunbarx at aol.com Thu Nov 10 08:43:53 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 10 Nov 2011 08:43:53 -0500 (EST) Subject: Wasting space on the forum. In-Reply-To: References: <37A9B2FA-E078-445B-B99A-586E0688D42D@wanadoo.fr> Message-ID: <8CE6DC5EB94A85F-A34-2EC5@webmail-d029.sysops.aol.com> Francis. I agree with Mark. It is very convenient to see the recent history of any discussion, laid out below the current entry for quick access. Beats opening other eMails located heaven knows where, or searching the archives. Space is cheap. Craig Newman -----Original Message----- From: Mark Schonewille To: How to use LiveCode Sent: Thu, Nov 10, 2011 2:17 am Subject: Re: Wasting space on the forum. Hi Francis, Usually I don't reply to messages that don't quote the preceding message. If you would like me to answer your questions and take part in discussions that may benefit you, quote the previous message. If you don't want me to reply, don't quote. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/16r Start selling Color Converter today. 20% commission! On 10 nov 2011, at 13:09, Francis Nugent Dixon wrote: > Hi to any culpritsl, > > Sorry to any of you who include past mails > within their new mail ....... BUT ......... > > You are wasting space ! > > Some of you go up to 6 or 7 levels, without > thinking that we don't need to see the same > information 6 or 7 times. > > If anybody wants to follow whatever was > said on that thread, they can always use : > > http://lists.runrev.com/pipermail/use-livecode/ > > With thanks from us others ....... > > - Francis _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Thu Nov 10 09:31:57 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 10 Nov 2011 06:31:57 -0800 Subject: [OT?] ADOBE DROPS FLASH for HTML5 In-Reply-To: <82B8CA558D314179A1F91BA0F6EBD04D@GATEWAY> References: <82B8CA558D314179A1F91BA0F6EBD04D@GATEWAY> Message-ID: <4EBBE05D.6060005@fourthworld.com> Lynn Fredricks wrote: > Right - but here's the rub. Even if application builders (Flash or whatever) > export HTML5 versions for use on mobile devices, that's still two different > versions of applications that will need supporting, right? I don't think > they can make all the same apps with HTML5 that they can with Flash (as > Colin basically implied). Blasphemy! Do you mean to suggest HTML5 is not a complete replacement for Flash? So "Thoughts on Flash" was 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 andre at andregarzia.com Thu Nov 10 10:05:48 2011 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 10 Nov 2011 13:05:48 -0200 Subject: setting data grid columns by code Message-ID: Hey Guys, Anyone here knows if there is a way to set the column information of a data grid table by code? I am saying that because I have a list of records and depending on the type of record wanted, I will show different columns. I checked the API but it appears that the only way there is by using dgText with column names. Is there other way? Cheers andre -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From andrew at rjdfarm.com Thu Nov 10 10:29:10 2011 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Thu, 10 Nov 2011 07:29:10 -0800 (PST) Subject: setting data grid columns by code In-Reply-To: References: Message-ID: <1320938950110-4024020.post@n4.nabble.com> columns - Line delimited list of columns in your table. put the dgProp["columns"] of group "Data Grid" into sColumns set the dgProp["columns"] of group "Data Grid" to sColumns It produces and accepts a line delimited list of columns. I have never done this from script but I use it from message box all the time to copy columns from one grid to another. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/setting-data-grid-columns-by-code-tp4023932p4024020.html Sent from the Revolution - User mailing list archive at Nabble.com. From coiin at verizon.net Thu Nov 10 10:30:21 2011 From: coiin at verizon.net (Colin Holgate) Date: Thu, 10 Nov 2011 10:30:21 -0500 Subject: [OT?] ADOBE DROPS FLASH for HTML5 In-Reply-To: <4EBBE05D.6060005@fourthworld.com> References: <82B8CA558D314179A1F91BA0F6EBD04D@GATEWAY> <4EBBE05D.6060005@fourthworld.com> Message-ID: In so many ways. It's main two flaws were that it made the common mistake of thinking that all Flash work is just playing of video, and that doing something demanding in HTML5 wouldn't also drain the battery. It also had the side effect of killing products such as LiveCode for iOS for about six months. On Nov 10, 2011, at 9:31 AM, Richard Gaskin wrote: > So "Thoughts on Flash" was wrong? From andre at andregarzia.com Thu Nov 10 10:35:16 2011 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 10 Nov 2011 13:35:16 -0200 Subject: setting data grid columns by code In-Reply-To: <1320938950110-4024020.post@n4.nabble.com> References: <1320938950110-4024020.post@n4.nabble.com> Message-ID: On Thu, Nov 10, 2011 at 1:29 PM, Andrew Kluthe wrote: > columns > - Line delimited list of columns in your table. > > put the dgProp["columns"] of group "Data Grid" into sColumns > > set the dgProp["columns"] of group "Data Grid" to sColumns > > It produces and accepts a line delimited list of columns. I have never done > this from script but I use it from message box all the time to copy columns > from one grid to another. > > Thanks Andrew, this is very helpful! =) > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/setting-data-grid-columns-by-code-tp4023932p4024020.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. http://fon.nu -- minimalist url shortening service. From admin at FlexibleLearning.com Thu Nov 10 10:46:09 2011 From: admin at FlexibleLearning.com (FlexibleLearning) Date: Thu, 10 Nov 2011 15:46:09 -0000 Subject: iOS forcing interface rotation In-Reply-To: Message-ID: Did anyone figure how to do this? I need exactly the same thing: All stack windows are landscape, except 1 which must be portrait. How do we force an orientation change without requiring the user to physically rotate the device? Hugh Senior FLCo On Tue Aug 2 09:23:51 CDT 2011 Scott Morrow wrote: I am working with an iOS UI that allows portrait and landscape rotation on one card but requires that the UI be presented in portrait on all other cards. no matter what the actual device rotation is. The problem arises when leaving the card that allows landscape and going to a card that requires portrait. If the user navigates to a "portrait only" card with device already in landscape, the UI is skewed. Is there a way to force the auto-rotation without requiring the user to physically rotate the device? (I had hoped perhaps some trickery with mobileSetAllowedOrientations and mobileLockOrientation /mobileUnlockOrientation.) TIA, Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com ------------------------------------------------------ From chipp at chipp.com Thu Nov 10 12:41:28 2011 From: chipp at chipp.com (Chipp Walters) Date: Thu, 10 Nov 2011 11:41:28 -0600 Subject: [OT?] ADOBE DROPS FLASH for HTML5 In-Reply-To: References: <82B8CA558D314179A1F91BA0F6EBD04D@GATEWAY> <4EBBE05D.6060005@fourthworld.com> Message-ID: Well said, Colin. On Thursday, November 10, 2011, Colin Holgate wrote: > In so many ways. It's main two flaws were that it made the common mistake of thinking that all Flash work is just playing of video, and that doing something demanding in HTML5 wouldn't also drain the battery. It also had the side effect of killing products such as LiveCode for iOS for about six months. -- Chipp Walters CEO, Shafer Walters Group, Inc. From stephenREVOLUTION2 at barncard.com Thu Nov 10 13:32:41 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 10 Nov 2011 10:32:41 -0800 Subject: Wasting space on the forum. In-Reply-To: <8CE6DC5EB94A85F-A34-2EC5@webmail-d029.sysops.aol.com> References: <37A9B2FA-E078-445B-B99A-586E0688D42D@wanadoo.fr> <8CE6DC5EB94A85F-A34-2EC5@webmail-d029.sysops.aol.com> Message-ID: I think the biggest reason people leave the stuff in and don't trim is because many people use Google mail, which not only arranges threads nicely, but obfuscates long chains of conversations completely - out of sight, out of mind. I personally have a pet peeve against the whole chain showing up in every email, and when replying, I usually only include a small portion of what started the thread or the last point raised. I do a lot of trimming. It only takes a second. Hard drives will be getting more expensive. On 10 November 2011 05:43, wrote: > Francis. > > > I agree with Mark. It is very convenient to see the recent history of any > discussion, laid out below the current entry for quick access. Beats > opening other eMails located heaven knows where, or searching the archives. > > > Space is cheap. > > > Craig Newman > > Stephen Barncard > San Francisco Ca. USA more about sqb From RevList at CreaTECHSol.com Thu Nov 10 13:42:50 2011 From: RevList at CreaTECHSol.com (RevList) Date: Thu, 10 Nov 2011 10:42:50 -0800 Subject: Wasting space on the forum. In-Reply-To: References: Message-ID: How to use LiveCode on Thursday, November 10, 2011 at 10:32 AM -0800 wrote: >I think the biggest reason people leave the stuff in and don't trim is >because many people use Google mail, which not only arranges threads >nicely, but obfuscates long chains of conversations completely - out of >sight, out of mind. > >I personally have a pet peeve against the whole chain showing up in every >email, and when replying, I usually only include a small portion of what >started the thread or the last point raised. I do a lot of trimming. It >only takes a second. > >Hard drives will be getting more expensive. I can't agree more. I have been using a system (FirstClass) that has been using a threaded message system for many years (20) so never have I used the Inbox/outbox format. I see all messages related to a specific post all threaded together and it is easy for me to go back and forth among responses on a particular topic. ****************************************** Stewart Lynch CreaTECH Solutions slynch at CreaTECHSol.com 604.484.8499 Skype:StewartLynch There are only 10 kinds of people. Those who understand binary and those who don't. ****************************************** From rene.micout at numericable.com Thu Nov 10 13:42:58 2011 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Thu, 10 Nov 2011 19:42:58 +0100 Subject: Wasting space on the forum. In-Reply-To: References: <37A9B2FA-E078-445B-B99A-586E0688D42D@wanadoo.fr> <8CE6DC5EB94A85F-A34-2EC5@webmail-d029.sysops.aol.com> Message-ID: <1F9ED80F-0DC6-4CA6-B539-4FD37383D880@numericable.com> Like that ? Bon souvenir de Paris Ren? :-) Le 10 nov. 2011 ? 19:32, stephen barncard a ?crit : > I personally have a pet peeve against the whole chain showing up in every > email, and when replying, I usually only include a small portion of what > started the thread or the last point raised. I do a lot of trimming. It > only takes a second. From pete at mollysrevenge.com Thu Nov 10 13:58:44 2011 From: pete at mollysrevenge.com (Pete) Date: Thu, 10 Nov 2011 10:58:44 -0800 Subject: Wasting space on the forum. In-Reply-To: References: Message-ID: I wonder how much hard drive space we've wasted commenting on this :-) Pete Molly's Revenge On Thu, Nov 10, 2011 at 10:42 AM, RevList wrote: > How to use LiveCode on Thursday, November > 10, 2011 at 10:32 AM -0800 wrote: > >I think the biggest reason people leave the stuff in and don't trim is > >because many people use Google mail, which not only arranges threads > >nicely, but obfuscates long chains of conversations completely - out of > >sight, out of mind. > > > >I personally have a pet peeve against the whole chain showing up in every > >email, and when replying, I usually only include a small portion of what > >started the thread or the last point raised. I do a lot of trimming. It > >only takes a second. > > > >Hard drives will be getting more expensive. > > I can't agree more. I have been using a system (FirstClass) that has been > using a threaded message system for many years (20) so never have I used > the Inbox/outbox format. I see all messages > related to a specific post all threaded together and it is easy for me to > go back and forth among responses on a particular topic. > > ****************************************** > Stewart Lynch > CreaTECH Solutions > slynch at CreaTECHSol.com > 604.484.8499 > Skype:StewartLynch > > There are only 10 kinds of people. Those who understand binary and those > who don't. > ****************************************** > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From roger.e.eller at sealedair.com Thu Nov 10 14:02:33 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 10 Nov 2011 14:02:33 -0500 Subject: [OT?] ADOBE DROPS FLASH for HTML5 In-Reply-To: References: <82B8CA558D314179A1F91BA0F6EBD04D@GATEWAY> <4EBBE05D.6060005@fourthworld.com> Message-ID: <9199510824359910408@unknownmsgid> On Nov 10, 2011, at 12:42 PM, Chipp Walters wrote: > Well said, Colin. > > On Thursday, November 10, 2011, Colin Holgate wrote: >> In so many ways. It's main two flaws were that it made the common mistake > of thinking that all Flash work is just playing of video, and that doing > something demanding in HTML5 wouldn't also drain the battery. It also had > the side effect of killing products such as LiveCode for iOS for about six > months. > > -- > Chipp Walters > CEO, Shafer Walters Group, Inc. OTH, rather than killing LC for iOS, it made RunRev think of other mobile OS' like Android. I truly believe that if Apple had not abandoned Flash and other Dev environments, LC On Android would still have a "coming soon" banner on their site. ~Roger Sent from my iPad (yeah, I have one too now) From lfredricks at proactive-intl.com Thu Nov 10 14:12:31 2011 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Thu, 10 Nov 2011 11:12:31 -0800 Subject: [OT?] ADOBE DROPS FLASH for HTML5 In-Reply-To: References: <82B8CA558D314179A1F91BA0F6EBD04D@GATEWAY><4EBBE05D.6060005@fourthworld.com> Message-ID: <99D0D2B7A7F74CC4A405CAEB3DD4D1AB@GATEWAY> > Well said, Colin. > > On Thursday, November 10, 2011, Colin Holgate > wrote: > > In so many ways. It's main two flaws were that it made the common > > mistake > of thinking that all Flash work is just playing of video, and > that doing something demanding in HTML5 wouldn't also drain > the battery. It also had the side effect of killing products > such as LiveCode for iOS for about six months. What I find interesting in the redefinition of Flash as a video only solution is that it exactly parallels the mess Apple made of Quicktime. Quicktime did have this great API (it worked on the Mac at least, though I know it had its share of problems on Windows), which Apple is no longer interested in supporting - making Quicktime just a video format. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From scott at tactilemedia.com Thu Nov 10 14:46:41 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 10 Nov 2011 11:46:41 -0800 Subject: [OT?] ADOBE DROPS FLASH for HTML5 In-Reply-To: <99D0D2B7A7F74CC4A405CAEB3DD4D1AB@GATEWAY> Message-ID: Exactly. The original premise of Flash did and still does makes sense: reduced data and instructions that get rendered on the client side. I'm no Flash fanboy, for sure -- I dislike the direction Adobe took with ActionScript. But watching people hate on Flash seems like any other "mob dis", making claims about something for no good reason other than to claim "me too". Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Lynn Fredricks wrote: > What I find interesting in the redefinition of Flash as a video only > solution is that it exactly parallels the mess Apple made of Quicktime. > Quicktime did have this great API (it worked on the Mac at least, though I > know it had its share of problems on Windows), which Apple is no longer > interested in supporting - making Quicktime just a video format. From effendi at wanadoo.fr Thu Nov 10 15:13:22 2011 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Thu, 10 Nov 2011 21:13:22 +0100 Subject: Wasting space on the forum. Message-ID: <6697E87B-A668-4945-A575-37A88B93966C@wanadoo.fr> Hi to any out there who agree, or who don't agree. I have better things to do than scan down repeated messages. I thought that some of you may agree ! (previous threads on this subject got better responses, and I thought that a reminder was a good idea ). It is your prerogative to fill the forum (or watch it filled) with repetition, and without commenting upon it. It is also mine to ignore, and to beef about it. That is what forums are for (all comments accepted !) I thought that users were repeating past messages because they didn't know how NOT to do it ! If they are doing it deliberately, then go ahead, it's a free world. I'm sure, then, you won't mind if I skip over all of these messages without even a casual glance. I retire gracefully. -Francis "Nothing should ever be done for the first time !" From coiin at verizon.net Thu Nov 10 15:17:48 2011 From: coiin at verizon.net (Colin Holgate) Date: Thu, 10 Nov 2011 15:17:48 -0500 Subject: [OT?] ADOBE DROPS FLASH for HTML5 In-Reply-To: References: Message-ID: <9901C81A-6C75-45F1-A273-1BBAB64612B7@verizon.net> I wonder if there's some space down on Wall Street for someone with a "We Want Flash!" banner... On Nov 10, 2011, at 2:46 PM, Scott Rossi wrote: > But watching people hate on Flash seems like any other "mob > dis", making claims about something for no good reason other than to claim > "me too". From frans at mac.com Thu Nov 10 16:00:32 2011 From: frans at mac.com (Frans) Date: Thu, 10 Nov 2011 22:00:32 +0100 Subject: iOS forcing interface rotation (FlexibleLearning) In-Reply-To: References: Message-ID: On 10.11.2011, at 19:00, use-livecode-request at lists.runrev.com wrote: > I am working with an iOS UI that allows portrait and landscape rotation on > one card but requires that the UI be presented in portrait on all other > cards. no matter what the actual device rotation is. The problem arises > when leaving the card that allows landscape and going to a card that > requires portrait. If the user navigates to a "portrait only" card with > device already in landscape, the UI is skewed. Is there a way to force the > auto-rotation without requiring the user to physically rotate the device? > (I had hoped perhaps some trickery with mobileSetAllowedOrientations and > mobileLockOrientation /mobileUnlockOrientation.) Hi, We have the same problem here with our 90 Card App. Only some of the cards are Landscape which leaves you with the option to leave off the Tab-bar or nav-bar because if the user is holding the device Landscape-wise then it won't send a "orientation-changed" message if you click on a tab-bar button and HAVE to go to a portrait-only card. It will look silly. In the "early" days, before the "orientation-changed" message was captured there was a command to "force" the orientation. But that is no longer available. What we would need for these hybrid orientation systems is that command back to force the orientation to whatever the card can OFFER, not necessarily how the user is holding the device, or rotating it in sheer panic. He/she can then just rotate the device because that's obviously necessary in a visible steady way... not because it looks skewed. Plus it leaves UI-normal direct hops via the tabbar out of reach. We have ben experimenting with setting the orientation lock after invisibly going to a Portrait version of the card currently in Landscape and hoping that the user will grasp what is going on. But is is cumbersome and sometimes way too slow. We had severe flashes of white parts of cards under 4.6.4. Michael ? Ben ? Any way that old Force-Orientation command could be re-instated? best From Berlin Frans Frans Schoffelen http://knowlegistics.com // Home of iCal Alarmist // Software & Sound // Makers of the German-Only "Die Waldfibel" on the Appstore with 100.000+ downloads From richmondmathewson at gmail.com Thu Nov 10 16:17:12 2011 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 10 Nov 2011 23:17:12 +0200 Subject: [OT?] ADOBE DROPS FLASH for HTML5 In-Reply-To: <9901C81A-6C75-45F1-A273-1BBAB64612B7@verizon.net> References: <9901C81A-6C75-45F1-A273-1BBAB64612B7@verizon.net> Message-ID: <4EBC3F58.3020706@gmail.com> On 11/10/2011 10:17 PM, Colin Holgate wrote: > I wonder if there's some space down on Wall Street for someone with a "We Want Flash!" banner... > I'm sure there's always, brief, space for a flasher . . . :) > On Nov 10, 2011, at 2:46 PM, Scott Rossi wrote: > >> But watching people hate on Flash seems like any other "mob >> dis", making claims about something for no good reason other than to claim >> "me too". > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Thu Nov 10 17:38:20 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 10 Nov 2011 12:38:20 -1000 Subject: OT? Strange behaviour with Parallels/Lion/LC In-Reply-To: References: Message-ID: <843D50BC-19FF-40BB-AC54-A9870BF5685F@twft.com> There used to be an issue with WindowServer going full throttle if you launched Parallels and started a VM in a remote desktop session. This was Remote Desktop Mac not the windows one. Apparently the interaction with VNC and Parallels was giving WindowServer fits. If you quit the remote session and started it up again, WindowServer calmed down. That problem has gone away now though, unless it is rearing it's ugly head again. Bob On Nov 8, 2011, at 12:44 PM, Graham Samuel wrote: > This may be a bit OT, but I am running the Windows version of the LiveCode 5 IDE on a Mac with Lion, supporting Windows XP via the latest version of Parallels Desktop (7). I can do all the usual development stuff easily enough, but when I run the app I'm developing **from within the IDE**, a process belonging to Parallels named prl_vm_app goes into overdrive, with the Mac's Activity Monitor reporting over 100% CPU usage. This rate of use goes on even when my script appears to be quiescent, waiting for the next click of the mouse, and even when Parallels is in the background. When I quit my app (but not the IDE) this process goes back to around 6% of CPU time. > > I don't think my script does anything unusual, but somehow I am upsetting the Parallels environment. I am pursuing this via Parallels Support, who acknowledge it as a problem but have not yet found a solution - and I don't think I should hold my breath while waiting for one as there are some similar unanswered issues on their database already. > > My question to this list is, has anyone seen anything like this and is there a known workaround? > > TIA > > Graham > (in case you're wondering why I'm using the Windows version of the IDE while I have a perfectly good Mac version on the same machine, it's because I am using a Windows-only external, which means my testing has to be in a Windows environment). > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pmbrig at gmail.com Thu Nov 10 18:50:32 2011 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Thu, 10 Nov 2011 18:50:32 -0500 Subject: Wasting space on the forum. In-Reply-To: <8CE6DC5EB94A85F-A34-2EC5@webmail-d029.sysops.aol.com> References: <37A9B2FA-E078-445B-B99A-586E0688D42D@wanadoo.fr> <8CE6DC5EB94A85F-A34-2EC5@webmail-d029.sysops.aol.com> Message-ID: I also prefer to see something about the current thread in the reply itself, at least enough to recognize the context. It drives me crazy to see a short reply to something and then "View this message in context:..." -- mostly I ignore such messages when the subject header doesn't immediately illuminate things, which it may not, if the last piece of the thread dates back a week or so. However, I'm in favor of brevity as long as it doesn't sacrifice intelligibility. It only takes a minute to edit the quotes to shorten things up and, especially, delete the repeated 5-line "use-livecode mailing list..." footers, which really are a waste of space. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Nov 10, 2011, at 8:43 AM, DunbarX at aol.com wrote: > Francis. > > I agree with Mark. It is very convenient to see the recent history of any discussion, laid out below the current entry for quick access. Beats opening other eMails located heaven knows where, or searching the archives. > > Space is cheap. > > Craig Newman > > Mark Schonewille wrote: > >> Hi Francis, >> >> Usually I don't reply to messages that don't quote the preceding message. If you >> would like me to answer your questions and take part in discussions that may >> benefit you, quote the previous message. If you don't want me to reply, don't >> quote. >> >> On 10 nov 2011, at 13:09, Francis Nugent Dixon wrote: >> >>> Hi to any culpritsl, >>> >>> Sorry to any of you who include past mails >>> within their new mail ....... BUT ......... >>> >>> You are wasting space ! >>> >>> Some of you go up to 6 or 7 levels, without >>> thinking that we don't need to see the same >>> information 6 or 7 times. >>> >>> If anybody wants to follow whatever was >>> said on that thread, they can always use : >>> >>> http://lists.runrev.com/pipermail/use-livecode/ >>> >>> With thanks from us others ....... From mwieder at ahsoftware.net Thu Nov 10 21:01:12 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 10 Nov 2011 18:01:12 -0800 Subject: [OT?] ADOBE DROPS FLASH for HTML5 In-Reply-To: <4EBBE05D.6060005@fourthworld.com> References: <82B8CA558D314179A1F91BA0F6EBD04D@GATEWAY> <4EBBE05D.6060005@fourthworld.com> Message-ID: <8986997046.20111110180112@ahsoftware.net> Richard- Adobe has also killed off AIR for linux. So not only no linux development, but no linux deployment either. -- -Mark Wieder mwieder at ahsoftware.net From palcibiades-first at yahoo.co.uk Fri Nov 11 03:08:09 2011 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Fri, 11 Nov 2011 08:08:09 +0000 Subject: standalone settings vanished linux Message-ID: <201111110808.09473.palcibiades-first@yahoo.co.uk> When I try to do standalone settings (this is 4.5.2 but it is also in my other versions) it opens a file selection dialogue and not the usual settings screen. Anyone else experienced this? Or any idea what its due to? Peter From scott at tactilemedia.com Fri Nov 11 04:21:01 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 11 Nov 2011 01:21:01 -0800 Subject: [ANN] tmCONTROL - Custom Interface Components for LiveCode Developers Message-ID: If you've been using LiveCode for any length of time, you know that 2011 has been the year of custom controls. So in honor of 11/11/11, I'm happy to announce that tmCONTROL, a custom control suite for LiveCode, is now available from Tactile Media. tmCONTROL is a collection of interface components built exclusively for LiveCode users who want to give their stacks a more customized user experience. Using custom controls is a way to brand your application with a look-and-feel that makes it stand out from the rest. As a LiveCode developer, you may not have the time, the ability, or even the desire to create your own custom controls. You just know you want something different from the standard controls provided by LiveCode. Well, tmCONTROL is that "something different". tmCONTROL is more than just a set of pretty buttons -- it's an evolving architecture developed to support a wide range of components and functions. The best part is, the components work virtually the same way as the LiveCode controls you already know and use. Just drag and drop the component you need from the palette into your stack and script it. Plus, the component sets are designed to work together thematically in your applications. No need to hunt down bits and pieces to scrape together the look you want. Most every control you need to create a complete experience for your application is available in one package. And previews of the themes are provided to help inspire your development. The current set of collections includes: DESKTOP Push Buttons Radio Buttons Tab Controls Checkboxes Label Fields Scrolling Fields Panels Sliders Spinners Progress Bars Scrollbars Accordion Controls Backgrounds iOS Push Buttons Nav Buttons Segmented Controls Switches Tables Sliders Progress Bars Toolbars Backgrounds All together, tmCONTROL includes five desktop themes, two iOS themes, a set of SmartControls, and a set of accordions, totaling over 100 components. On top of all that, dedicated editors are provided so you can customize the components to your needs. tmCONTROL is available in 2 levels: a PRO level, which includes all collections, SmartControls, and support from Tactile Media; and a BASIC level that includes the core architecture only, and allows you to choose only the themes you want on an a-la-carte basis. The PRO level is priced at $199, but is available for 11 days at an introductory price of $149. The BASIC level costs $59, with an introductory price of $39, plus the cost of one or more themes of your choice for $29 each. See the FAQ on the tmCONTROL site to learn more details: http://tmtools.tactilemedia.com/tmcontrol/faq.html Thanks for your time, and I look forward to seeing what you create with the tools. Best Regards, Scott Rossi Creative Director Tactile Media, UX Design From alessandro at system-ini.it Fri Nov 11 04:45:03 2011 From: alessandro at system-ini.it (Alessandro Pisoni) Date: Fri, 11 Nov 2011 10:45:03 +0100 Subject: background color to panel tab Message-ID: how to change the background color to tab panel? thanks Alessandro Pisoni From alessandro at system-ini.it Fri Nov 11 04:56:50 2011 From: alessandro at system-ini.it (Alessandro Pisoni) Date: Fri, 11 Nov 2011 10:56:50 +0100 Subject: background color to panel tab Message-ID: <026C5B1B-195F-4C99-9FD3-558D12708EC1@system-ini.it> how to change the background color to tab panel? the problem is under windows xp , 7 , vista the background under windows is white and only white why this? thanks Alessandro Pisoni From m.schonewille at economy-x-talk.com Fri Nov 11 05:02:20 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 11 Nov 2011 11:02:20 +0100 Subject: background color to panel tab In-Reply-To: References: Message-ID: <1655B7B0-B573-4003-9DA9-D7C43EA9692B@economy-x-talk.com> Hi Alessandro, If I create a new tab button and set its backgroundColor to red in the property inspector, it changes immediately. The tabs themselves, at the top of the tab button, don't change if you're using "native" controls but they do if you use emulated controls (OS9, Win95 or Motif). -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/16r Start selling Color Converter today. 20% commission! On 11 nov 2011, at 10:45, Alessandro Pisoni wrote: > how to change the background color to tab panel? From m.schonewille at economy-x-talk.com Fri Nov 11 06:32:08 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 11 Nov 2011 12:32:08 +0100 Subject: background color to panel tab In-Reply-To: <026C5B1B-195F-4C99-9FD3-558D12708EC1@system-ini.it> References: <026C5B1B-195F-4C99-9FD3-558D12708EC1@system-ini.it> Message-ID: Hi Alessandro, You're right. It doesn't work. I would expect it to work but it doesn't. Btw are you using LiveCode 5 on Vista? I can't get it to run at all on Vista. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/16r Start selling Color Converter today. 20% commission! On 11 nov 2011, at 10:56, Alessandro Pisoni wrote: > how to change the background color to tab panel? > the problem is under windows xp , 7 , vista > the background under windows is white and only white > > why this? > > > > > > > thanks > Alessandro Pisoni From bvg at mac.com Fri Nov 11 08:19:12 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 11 Nov 2011 14:19:12 +0100 Subject: [ANN] LiveCode.tv event #43 In-Reply-To: References: <6B865405-BBC0-491C-AD25-BFB1C85A2D58@mac.com> <7EC6A85B-DD6B-4138-A597-512A194F4453@mac.com> <89782C22-C6E3-4245-95D1-A48F69423753@mac.com> <061D9182-B34B-4ABB-A7D6-9C2D09DA8755@mac.com> <73F84954-890B-4627-859A-702C8054F13B@mac.com> <093DEF5E-6C0F-4924-A262-F6DBE748ED45@mac.com> <3FB852C9-5675-4A19-9506-543733BB2547@mac.com> <914DF999-596E-4023-A213-9469C6A69FA0@mac.com> <2B105965-FB27-41D0-B95F-1F4C84ADD53B@mac.com> <163225D1-67D1-4CE7-8049-E85A8D94D177@mac.com> <225B0941-5D11-434A-BC0B-CD61B998E9F8@mac.com> <201756EB-9601-417D-856E-5128C5256EF1@mac.com> <081FD717-0A48-447D-90AA-A8F370B14F43@mac.com> <913B7E78-3052-4CF0-9883-C1CDD9F8BDFA@mac.com> <0C1B6D89-1745-46DF-9C49-A5FE2E5B67B9@mac.com> <497CC7C9-74BC-419C-9785-CEA07A8FE181@mac.com> <54E0E19F-3F8A-4D69-97E5-0A95CF879616@mac.com> <056EBC7F-549E-4576-9C8F-920DE5118529@mac.com> <5C8CFEAF-E023-4D20-8459-6C60A4E3E70E@mac.com> Message-ID: This weekend, Colin will present two topics: First he will show us Adobe Director, with its an xTalk-like programming language. For an encore, he will present a beginner's Tutorial, in the form of a simple calculator. Colin Holgate has been a regular contributor for the event, and always makes very stringent presentations. Visit his companies website to learn more about him: http://www.funnygarbage.com/ Please consider making a presentation, contact me for doing that. Join ChatRev to watch live at 20:00 CET on Saturday, 12th November. Download a standalone from http://bjoernke.com/chatrev/ or enter in the message box: go stack URL ?http://bjoernke.com/chatrev/chatrev1.3b3.rev? Rome Sat 20:00 New York Sat 14:00 Los Angeles Sat 11:00 Sydney Sun 06:00 Hong Kong Sun 03:00 See you then :) Bj?rnke On 4 Nov 2011, at 02:09, Bj?rnke von Gierke wrote: > This Saturday, Mark will present his Installer Maker, because he just released a fresh beta version. Join the event and get a big discount on this invaluable tool. > > More info about Installer Maker: > http://www3.economy-x-talk.com/file.php?node=installer-maker > > Have your own tool? Present it during the event: > http://livecode.tv/participate/ > > Join ChatRev to watch live at 20:00 CET on Saturday, 5th November. Download a standalone from > http://bjoernke.com/chatrev/ > or enter in the message box: > go stack URL ?http://bjoernke.com/chatrev/chatrev1.3b3.rev? > > Berlin Sat 20:00 > New York Sat 15:00 > Los Angeles Sat 12:00 > Sydney Sun 06:00 > Hong Kong Sun 03:00 > > > See you then :) > Bj?rnke > > > -- > Watch live presentations every Saturday: > http://livecode.tv > > Use an alternative Dictionary viewer: > http://bjoernke.com/bvgdocu/ > > Chat with other RunRev developers: > http://bjoernke.com/chatrev/ > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Watch live presentations every Saturday: http://livecode.tv Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From ambassador at fourthworld.com Fri Nov 11 09:29:20 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 11 Nov 2011 06:29:20 -0800 Subject: [OT?] ADOBE DROPS FLASH for HTML5 In-Reply-To: <8986997046.20111110180112@ahsoftware.net> References: <8986997046.20111110180112@ahsoftware.net> Message-ID: <4EBD3140.3010802@fourthworld.com> Mark Wieder rote: > Richard- > > Adobe has also killed off AIR for linux. So not only no linux > development, but no linux deployment either. I'm quite happy to return the favor. :) AIR is fundamentally flawed by requiring the installation of the engine separately from the apps that use it. If there's any other way to deploy with it it must be broken since I've not seen anyone use it. Instead I see "Before you can install this app you need to install Adobe Air", at which point I click "Cancel" and move on to any alternative app made by developers who care about delivering a clean experience. LiveCode totally outshines AIR in that regard: the small 2.3 MB engine is easily bound to the app to make it truly stand alone - no dependencies, no dependency conflicts. There's no confusion about what files are needed to make an app run, and zero chance of conflict if another LiveCode app requires a different engine version. For those end users who crave dependency conflicts, they can find many in the Linux world without using AIR. But if they just want to great apps made quickly and easily there are far better options, LiveCode being one of them. VMs are useful. Embedded VMs are infinitely more useful. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From ambassador at fourthworld.com Fri Nov 11 09:32:58 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 11 Nov 2011 06:32:58 -0800 Subject: standalone settings vanished linux In-Reply-To: <201111110808.09473.palcibiades-first@yahoo.co.uk> References: <201111110808.09473.palcibiades-first@yahoo.co.uk> Message-ID: <4EBD321A.50309@fourthworld.com> Hello Peter - > When I try to do standalone settings (this is 4.5.2 but it is also in my > other versions) it opens a file selection dialogue and not the usual > settings screen. Anyone else experienced this? Or any idea what its due > to? The method by which LC saves standalone build settings does not differ by platform; for all of them if embeds the settings in a custom property set of the stack (cRevStandaloneSettings, if memory serves). Are you sure you saved the file after establishing the settings? Also, note that the Save As dialog will always come up unless you choose the option in the Standalone Settings to specify a target path to build into by default. I believe that once you set that, and then save the stack, you should have a simpler one-click build process going forward. -- 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 Fri Nov 11 09:42:02 2011 From: coiin at verizon.net (Colin Holgate) Date: Fri, 11 Nov 2011 09:42:02 -0500 Subject: [OT?] ADOBE DROPS FLASH for HTML5 In-Reply-To: <4EBD3140.3010802@fourthworld.com> References: <8986997046.20111110180112@ahsoftware.net> <4EBD3140.3010802@fourthworld.com> Message-ID: In these comparisons you're best off comparing things using the latest version. So, you wouldn't rate another application over LiveCode because it had a native iOS Date Picker, because by now LiveCode does too. Likewise, you should take into account the fact that the current version of AIR does Captive Runtime. The having to install AIR engine only fully applies to the older version. On Nov 11, 2011, at 9:29 AM, Richard Gaskin wrote: > > > AIR is fundamentally flawed by requiring the installation of the engine separately from the apps that use it. From kray at sonsothunder.com Fri Nov 11 10:35:32 2011 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 11 Nov 2011 09:35:32 -0600 Subject: [ANN] tmCONTROL - Custom Interface Components for LiveCode Developers In-Reply-To: References: Message-ID: <5977144F-80CE-46D3-BBFE-B95889DEBE44@sonsothunder.com> On Nov 11, 2011, at 3:21 AM, Scott Rossi wrote: > If you've been using LiveCode for any length of time, you know that 2011 has > been the year of custom controls. So in honor of 11/11/11, I'm happy to > announce that tmCONTROL, a custom control suite for LiveCode, is now > available from Tactile Media. Congratulations, Scott! This looks wonderful? I saw part of your demo on this at the last LiveCode conference and I was truly impressed. Glad to see it become "official"! A quick question that's not on the FAQ? if someone buys Basic and then wants to "go Pro", can they just pay the difference? Or is there some other migration plan from Basic to Pro? Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From ambassador at fourthworld.com Fri Nov 11 10:54:46 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 11 Nov 2011 07:54:46 -0800 Subject: [OT?] ADOBE DROPS FLASH for HTML5 In-Reply-To: References: Message-ID: <4EBD4546.2040107@fourthworld.com> Colin Holgate wrote: > The having to install AIR engine only fully applies to the older > version. Thanks for the clarification. I wonder why so many devs use the old version.... -- 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 palcibiades-first at yahoo.co.uk Fri Nov 11 11:08:17 2011 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Fri, 11 Nov 2011 08:08:17 -0800 (PST) Subject: standalone settings vanished linux In-Reply-To: <4EBD321A.50309@fourthworld.com> References: <201111110808.09473.palcibiades-first@yahoo.co.uk> <4EBD321A.50309@fourthworld.com> Message-ID: <1321027697146-4031777.post@n4.nabble.com> Richard, thank you. What an aberration! Yes, if you have not saved your stack, you don't get to set the standalone options....but once you have, back they come. Oh dear, thanks! I don't usually do standalones, I use stackrunner, because locking the source isn't an issue for me. Peter -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/standalone-settings-vanished-linux-tp4030716p4031777.html Sent from the Revolution - User mailing list archive at Nabble.com. From coiin at verizon.net Fri Nov 11 11:22:27 2011 From: coiin at verizon.net (Colin Holgate) Date: Fri, 11 Nov 2011 11:22:27 -0500 Subject: [OT?] ADOBE DROPS FLASH for HTML5 In-Reply-To: <4EBD4546.2040107@fourthworld.com> References: <4EBD4546.2040107@fourthworld.com> Message-ID: The new one has only been out for two months, and it is a trade off, you're making people install yet another copy of an engine they already have, just to avoid a small amount of confusion. So not everyone will jump on that feature. On Nov 11, 2011, at 10:54 AM, Richard Gaskin wrote: > I wonder why so many devs use the old version.... From scott at tactilemedia.com Fri Nov 11 11:23:55 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 11 Nov 2011 08:23:55 -0800 Subject: [ANN] tmCONTROL - Custom Interface Components for LiveCode Developers In-Reply-To: <5977144F-80CE-46D3-BBFE-B95889DEBE44@sonsothunder.com> Message-ID: Hi Ken: Yes, I should get the details into the FAQ -- thanks for the reminder. Best Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Ken Ray wrote: > > On Nov 11, 2011, at 3:21 AM, Scott Rossi wrote: > >> If you've been using LiveCode for any length of time, you know that 2011 has >> been the year of custom controls. So in honor of 11/11/11, I'm happy to >> announce that tmCONTROL, a custom control suite for LiveCode, is now >> available from Tactile Media. > > Congratulations, Scott! This looks wonderful? I saw part of your demo on this > at the last LiveCode conference and I was truly impressed. Glad to see it > become "official"! > > A quick question that's not on the FAQ? if someone buys Basic and then wants > to "go Pro", can they just pay the difference? Or is there some other > migration plan from Basic to Pro? From rjb at robelko.com Fri Nov 11 11:22:29 2011 From: rjb at robelko.com (Robert Brenstein) Date: Fri, 11 Nov 2011 17:22:29 +0100 Subject: Wasting space on the forum. In-Reply-To: References: <37A9B2FA-E078-445B-B99A-586E0688D42D@wanadoo.fr> Message-ID: On 10.11.2011 at 13:15 Uhr +0100 Mark Schonewille apparently wrote: >Hi Francis, > >Usually I don't reply to messages that don't quote the preceding >message. If you would like me to answer your questions and take part >in discussions that may benefit you, quote the previous message. If >you don't want me to reply, don't quote. > >-- >Best regards, > >Mark Schonewille I understood Francis' was talking about EXCESSIVE quoting. Repeating the post one actually replies to, or a relevant chunk of it, if it is long, is certainly desirable. Robert From dave.cragg at lacscentre.co.uk Fri Nov 11 12:12:20 2011 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Fri, 11 Nov 2011 17:12:20 +0000 Subject: [OT?] ADOBE DROPS FLASH for HTML5 In-Reply-To: <4EBD3140.3010802@fourthworld.com> References: <8986997046.20111110180112@ahsoftware.net> <4EBD3140.3010802@fourthworld.com> Message-ID: On 11 Nov 2011, at 14:29, Richard Gaskin wrote: > > > AIR is fundamentally flawed by requiring the installation of the engine separately from the apps that use it. Richard, maybe I misunderstand what you are describing, but I like the idea of installing a single runtime engine to run much smaller and easily installed app. I'd love to see something similar for LiveCode, and then "apps" would just consist of the stack file. No platform-specific installers or standalones to build. I find the AIR installation process pretty seemless. An extra download the first time, but part of the same installation process. (I agree that the AIR update notifications can be annoying.) Dave From ambassador at fourthworld.com Fri Nov 11 12:52:34 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 11 Nov 2011 09:52:34 -0800 Subject: [OT?] ADOBE DROPS FLASH for HTML5 In-Reply-To: References: Message-ID: <4EBD60E2.2080104@fourthworld.com> Dave Cragg wrote: > Richard, maybe I misunderstand what you are describing, but I like the idea of installing a single runtime engine to run much smaller and easily installed app. I'd love to see something similar for LiveCode, and then "apps" would just consist of the stack file. No platform-specific installers or standalones to build. I find the AIR installation process pretty seemless. An extra download the first time, but part of the same installation process. (I agree that the AIR update notifications can be annoying.) That last sentence says it all. With LC we have the freedom to deliver collections of apps that run off of a single standalone, or not, as we choose. And with "go url" we can delver updates or even whole new apps without ever replacing the standalone. -- 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 m.schonewille at economy-x-talk.com Fri Nov 11 13:02:22 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 11 Nov 2011 19:02:22 +0100 Subject: Wasting space on the forum. In-Reply-To: References: <37A9B2FA-E078-445B-B99A-586E0688D42D@wanadoo.fr> Message-ID: <0AE7C8DC-DBD5-4D38-810A-53671A9E0666@economy-x-talk.com> Hi Robert, No, I don't think he meant excessive quoting, I think he meant all quoting, but if I'm mistaken, I'm sure Francis can explain. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/16r Start selling Color Converter today. 20% commission! On 11 nov 2011, at 17:22, Robert Brenstein wrote: > > I understood Francis' was talking about EXCESSIVE quoting. Repeating the post one actually replies to, or a relevant chunk of it, if it is long, is certainly desirable. > > Robert From sc at sahores-conseil.com Fri Nov 11 13:06:10 2011 From: sc at sahores-conseil.com (Pierre Sahores) Date: Fri, 11 Nov 2011 19:06:10 +0100 Subject: [ANN] tmCONTROL - Custom Interface Components for LiveCode Developers In-Reply-To: References: Message-ID: <3C5EBFBD-4BBE-4362-8061-5FDC6619A1A6@sahores-conseil.com> Hi Scott, Seems useful and cool priced with the "pickup the templates you need, at your choice" option ! Thanks for delivring it. Will probably test it along a next coming project ;-) Best, Pierre Le 11 nov. 2011 ? 17:23, Scott Rossi a ?crit : > Hi Ken: > > Yes, I should get the details into the FAQ -- thanks for the reminder. > > Best Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > Recently, Ken Ray wrote: > >> >> On Nov 11, 2011, at 3:21 AM, Scott Rossi wrote: >> >>> If you've been using LiveCode for any length of time, you know that 2011 has >>> been the year of custom controls. So in honor of 11/11/11, I'm happy to >>> announce that tmCONTROL, a custom control suite for LiveCode, is now >>> available from Tactile Media. >> >> Congratulations, Scott! This looks wonderful? I saw part of your demo on this >> at the last LiveCode conference and I was truly impressed. Glad to see it >> become "official"! >> >> A quick question that's not on the FAQ? if someone buys Basic and then wants >> to "go Pro", can they just pay the difference? Or is there some other >> migration plan from Basic to Pro? > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From matthias_livecode_150811 at m-r-d.de Fri Nov 11 13:24:40 2011 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 11 Nov 2011 19:24:40 +0100 Subject: Wasting space on the forum. In-Reply-To: <0AE7C8DC-DBD5-4D38-810A-53671A9E0666@economy-x-talk.com> References: <37A9B2FA-E078-445B-B99A-586E0688D42D@wanadoo.fr> <0AE7C8DC-DBD5-4D38-810A-53671A9E0666@economy-x-talk.com> Message-ID: <3C8A09A0-0B2A-41B3-922C-8AEFC337FBD3@m-r-d.de> Hi Mark, Francis spoke about 6 to 7 levels of quoting. And that is at least for me excessive quoting and makes it sometimes very hard to read and understand. Regards, Matthias Am 11.11.2011 um 19:02 schrieb Mark Schonewille: > Hi Robert, > > No, I don't think he meant excessive quoting, I think he meant all quoting, but if I'm mistaken, I'm sure Francis can explain. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Become our partner in sales http://qery.us/16r Start selling Color Converter today. 20% commission! > > On 11 nov 2011, at 17:22, Robert Brenstein wrote: >> >> I understood Francis' was talking about EXCESSIVE quoting. Repeating the post one actually replies to, or a relevant chunk of it, if it is long, is certainly desirable. >> >> 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 m.schonewille at economy-x-talk.com Fri Nov 11 13:31:57 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 11 Nov 2011 19:31:57 +0100 Subject: Wasting space on the forum. In-Reply-To: <3C8A09A0-0B2A-41B3-922C-8AEFC337FBD3@m-r-d.de> References: <37A9B2FA-E078-445B-B99A-586E0688D42D@wanadoo.fr> <0AE7C8DC-DBD5-4D38-810A-53671A9E0666@economy-x-talk.com> <3C8A09A0-0B2A-41B3-922C-8AEFC337FBD3@m-r-d.de> Message-ID: <47274BBC-42D0-4A4A-BDF9-A0B22C0900BF@economy-x-talk.com> Hi Matthias, True, he spoke of 6 or 7 levels, but he didn't explicitly say whether he is against quoting at all or only against excessive quoting. I got the impression he is against quoting at all, but as I said I might be mistaken and perhaps Francis could explain it. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/16r Start selling Color Converter today. 20% commission! On 11 nov 2011, at 19:24, Matthias Rebbe wrote: > Hi Mark, > > Francis spoke about 6 to 7 levels of quoting. And that is at least for me excessive quoting and makes it sometimes very hard to read and understand. > > Regards, > > Matthias > From revdev at pdslabs.net Fri Nov 11 13:35:42 2011 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 11 Nov 2011 10:35:42 -0800 Subject: Mac video conversion from command line? Message-ID: <4EBD6AFE.2070705@pdslabs.net> Hey People, Do you use a command line tool of some sort on your Mac to convert .mov files to web formats? I sure would like to hear about it. I'm expecting that I need to end up with several file types as described in this piece of advice from the web: Make one version that uses WebM (VP8 + Vorbis). Make another version that uses H.264 baseline video and AAC ?low complexity? audio in an MP4 container. Make another version that uses Theora video and Vorbis audio in an Ogg container. Here is the advice source: http://diveintohtml5.info/video.html Thanks for your input! My goal is to create a LC front end to manage the commandline-driven coversion process. -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From m.schonewille at economy-x-talk.com Fri Nov 11 13:46:01 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 11 Nov 2011 19:46:01 +0100 Subject: Mac video conversion from command line? In-Reply-To: <4EBD6AFE.2070705@pdslabs.net> References: <4EBD6AFE.2070705@pdslabs.net> Message-ID: <0E2C732E-EB7F-4CBA-BB74-35379726525C@economy-x-talk.com> Hi Phil, I use QuickTime or VLC to convert movies to web-compatible formats. VLC may also work from the command line. I have also used ffmpeg but this is ridiculously complicated. Usually, if the goal is to embed a movie on a website, I just upload it to Vimeo and embed the Vimeo movie on the website. There are gazillions of GUI's for ffmpeg already. You could try to do better than your predecessor. If you succeed, then it'll be very rewarding. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/16r Start selling Color Converter today. 20% commission! On 11 nov 2011, at 19:35, Phil Davis wrote: > Hey People, > > Do you use a command line tool of some sort on your Mac to convert .mov files to web formats? I sure would like to hear about it. > > I'm expecting that I need to end up with several file types as described in this piece of advice from the web: > > Make one version that uses WebM (VP8 + Vorbis). > Make another version that uses H.264 baseline video and AAC ?low complexity? audio in an MP4 container. > Make another version that uses Theora video and Vorbis audio in an Ogg container. > > Here is the advice source: > http://diveintohtml5.info/video.html > > Thanks for your input! My goal is to create a LC front end to manage the commandline-driven coversion process. > -- > Phil Davis > > PDS Labs > Professional Software Development > http://pdslabs.net From roger.e.eller at sealedair.com Fri Nov 11 13:46:06 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 11 Nov 2011 13:46:06 -0500 Subject: Mac video conversion from command line? In-Reply-To: <4EBD6AFE.2070705@pdslabs.net> References: <4EBD6AFE.2070705@pdslabs.net> Message-ID: On Fri, Nov 11, 2011 at 1:35 PM, Phil Davis wrote: > Hey People, > > Do you use a command line tool of some sort on your Mac to convert .mov > files to web formats? I sure would like to hear about it. > > Thanks for your input! My goal is to create a LC front end to manage the > commandline-driven coversion process. > -- > Phil Davis > > PDS Labs > Professional Software Development > http://pdslabs.net I have used FFMPEG on all three desktop platforms supported by LC. In fact, many UI tools that do video conversions utilize the free FFMPEG command-line utility in the background. It would certainly be nice to have a native LC library to do this without having to remember all the switches and parameters. ?Roger From devin_asay at byu.edu Fri Nov 11 13:50:51 2011 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 11 Nov 2011 18:50:51 +0000 Subject: Mac video conversion from command line? In-Reply-To: <4EBD6AFE.2070705@pdslabs.net> References: <4EBD6AFE.2070705@pdslabs.net> Message-ID: On Nov 11, 2011, at 11:35 AM, Phil Davis wrote: > Hey People, > > Do you use a command line tool of some sort on your Mac to convert .mov files to web formats? I sure would like to hear about it. > > I'm expecting that I need to end up with several file types as described in this piece of advice from the web: > > Make one version that uses WebM (VP8 + Vorbis). > Make another version that uses H.264 baseline video and AAC ?low complexity? audio in an MP4 container. > Make another version that uses Theora video and Vorbis audio in an Ogg container. > > Here is the advice source: > http://diveintohtml5.info/video.html > > Thanks for your input! My goal is to create a LC front end to manage the commandline-driven coversion process. Phil, You might want to look into FFMPEG , an open source project that I used in one LC app to transcode video for uploading to a server. It was fairly easy to figure out, and there was an easy-to-follow set up instructions for compiling it to your specific platform and OS. (One thing I discovered was that it needed to be compiled separately for Leopard vs. Snow Leopard. Once it was compiled I just made it part of my .app bundle and the application makes shell calls to it as needed. HTH Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From klaus at major.on-rev.com Fri Nov 11 14:14:42 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Fri, 11 Nov 2011 20:14:42 +0100 Subject: Mac video conversion from command line? In-Reply-To: <4EBD6AFE.2070705@pdslabs.net> References: <4EBD6AFE.2070705@pdslabs.net> Message-ID: <66007616-A189-4A53-A34D-6CE0FB3152AB@major.on-rev.com> Hi Phil, Am 11.11.2011 um 19:35 schrieb Phil Davis: > Hey People, > > Do you use a command line tool of some sort on your Mac to convert .mov files to web formats? I sure would like to hear about it. > > I'm expecting that I need to end up with several file types as described in this piece of advice from the web: > > Make one version that uses WebM (VP8 + Vorbis). > Make another version that uses H.264 baseline video and AAC ?low complexity? audio in an MP4 container. > Make another version that uses Theora video and Vorbis audio in an Ogg container. > > Here is the advice source: > http://diveintohtml5.info/video.html > > Thanks for your input! My goal is to create a LC front end to manage the commandline-driven coversion process. some eat their own haggis (shudder) but I use my own LiveCode app made with Trevors wonderful QuickTime external for this. :-D It's named "The Exporter", it is freeware now and can be found on my website -> "Downloads" > -- > Phil Davis Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From revolution at derbrill.de Fri Nov 11 14:20:01 2011 From: revolution at derbrill.de (Malte Brill) Date: Fri, 11 Nov 2011 20:20:01 +0100 Subject: liveCode server on UBUNTU In-Reply-To: References: Message-ID: <15BC5992-5CE0-4DBA-92F3-B9B006AD9FEC@derbrill.de> Hi all, I successfully installed liveCode on Mac Os and Windows. But on Ubuntu, for the life of me I can not get it up. I assume it has to do with the mod_action not being enabled by default here. However, for the life of me I can not find out how to do so. The installation is rather complicated on UBUNTU it seems. Has anyone succeeded here (Clean fresh out of the WEB UBUNTU) and could give me a step by step guide on what I need to do (but please speak slowly, as I have no idea of linuxes and apache there). Totally lost. Any help much appreciated. Malte From bonnmike at gmail.com Fri Nov 11 14:26:23 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 11 Nov 2011 12:26:23 -0700 Subject: liveCode server on UBUNTU In-Reply-To: <15BC5992-5CE0-4DBA-92F3-B9B006AD9FEC@derbrill.de> References: <15BC5992-5CE0-4DBA-92F3-B9B006AD9FEC@derbrill.de> Message-ID: I have it running here but its been a bit since I did it. I'll go back over files and stuff and see if I can dredge up some memories and help of someone else doesn't chime in first. On Fri, Nov 11, 2011 at 12:20 PM, Malte Brill wrote: > Hi all, > > I successfully installed liveCode on Mac Os and Windows. But on Ubuntu, > for the life of me I can not get it up. I assume it has to do with the > mod_action not being enabled by default here. However, for the life of me I > can not find out how to do so. The installation is rather complicated on > UBUNTU it seems. Has anyone succeeded here (Clean fresh out of the WEB > UBUNTU) and could give me a step by step guide on what I need to do (but > please speak slowly, as I have no idea of linuxes and apache there). > > Totally lost. Any help much appreciated. > > 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 bonnmike at gmail.com Fri Nov 11 14:35:21 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 11 Nov 2011 12:35:21 -0700 Subject: liveCode server on UBUNTU In-Reply-To: References: <15BC5992-5CE0-4DBA-92F3-B9B006AD9FEC@derbrill.de> Message-ID: Oh, as far as mod-action goes, there are 2 folders. One that shows all available mods and one that has active modes. The active mods are just symbolic links to the available. To do it manually use the ln command (L N lower case) And again, i'm not at keyboard at the moment, but I believe: ln -s /path/to/file/to/link /path/to/location/to/create/link So for example ln -s /var/logs ~/logs would create a symbolic link (-s = symbolic of course) from /var/logs and put it in my home directory and name the link logs. Pretty much the same thing as a shortcut on windows. After you figure out which module you want to activate and create the link you need to restart apache using apachectl or you can use the system startup files to do so. Look for a folder named rc.d (might be rc.init) in /etc.. If you get to the right location there will be files that start with either K or S, one of which should be for apache (might say apache, or might say httpd) If you find that file you can execute it with the argument stop to stop it, start to start it, and I think restart will be accepted too. (a kill -HUP might work too but not sure in this case) Either way, this gives you some things to look at while I go poke around. On Fri, Nov 11, 2011 at 12:26 PM, Mike Bonner wrote: > I have it running here but its been a bit since I did it. I'll go back > over files and stuff and see if I can dredge up some memories and help of > someone else doesn't chime in first. > > > On Fri, Nov 11, 2011 at 12:20 PM, Malte Brill wrote: > >> Hi all,Ag >> >> I successfully installed liveCode on Mac Os and Windows. But on Ubuntu, >> for the life of me I can not get it up. I assume it has to do with the >> mod_action not being enabled by default here. However, for the life of me I >> can not find out how to do so. The installation is rather complicated on >> UBUNTU it seems. Has anyone succeeded here (Clean fresh out of the WEB >> UBUNTU) and could give me a step by step guide on what I need to do (but >> please speak slowly, as I have no idea of linuxes and apache there). >> >> Totally lost. Any help much appreciated. >> >> 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 pete at mollysrevenge.com Fri Nov 11 14:47:55 2011 From: pete at mollysrevenge.com (Pete) Date: Fri, 11 Nov 2011 11:47:55 -0800 Subject: Mac video conversion from command line? In-Reply-To: <66007616-A189-4A53-A34D-6CE0FB3152AB@major.on-rev.com> References: <4EBD6AFE.2070705@pdslabs.net> <66007616-A189-4A53-A34D-6CE0FB3152AB@major.on-rev.com> Message-ID: Sounds great Phil. In return for me reducing the quoted text of this thread to the absolute minimum, could you please send me your web site address? Pete Molly's Revenge > It's named "The Exporter", it is freeware now and can be found on my > website -> "Downloads" > > From stephenREVOLUTION2 at barncard.com Fri Nov 11 14:58:14 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 11 Nov 2011 11:58:14 -0800 Subject: Mac video conversion from command line? In-Reply-To: References: <4EBD6AFE.2070705@pdslabs.net> <66007616-A189-4A53-A34D-6CE0FB3152AB@major.on-rev.com> Message-ID: -- Klaus Major http://www.major-k.de klaus at major.on-rev.com On 11 November 2011 11:47, Pete wrote: > Sounds great Phil. In return for me reducing the quoted text of this > thread to the absolute minimum, could you please send me your web site > address? > Pete > Molly's Revenge > > > > It's named "The Exporter", it is freeware now and can be found on my > > website -> "Downloads" > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From andre at andregarzia.com Fri Nov 11 15:01:29 2011 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 11 Nov 2011 18:01:29 -0200 Subject: liveCode server on UBUNTU In-Reply-To: <15BC5992-5CE0-4DBA-92F3-B9B006AD9FEC@derbrill.de> References: <15BC5992-5CE0-4DBA-92F3-B9B006AD9FEC@derbrill.de> Message-ID: Malte, Can you confirm that livecode server runs from the command line? You can try executing it with a text script such as: --- begin test.lc -- --- end test.lc -- livecodeserver ./test.lc If it can run on the command line then the problem lies with apache configuration. If it can't run on the command line then we'll need to check why it does not run. On Fri, Nov 11, 2011 at 5:20 PM, Malte Brill wrote: > Hi all, > > I successfully installed liveCode on Mac Os and Windows. But on Ubuntu, > for the life of me I can not get it up. I assume it has to do with the > mod_action not being enabled by default here. However, for the life of me I > can not find out how to do so. The installation is rather complicated on > UBUNTU it seems. Has anyone succeeded here (Clean fresh out of the WEB > UBUNTU) and could give me a step by step guide on what I need to do (but > please speak slowly, as I have no idea of linuxes and apache there). > > Totally lost. Any help much appreciated. > > 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 > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From klaus at major.on-rev.com Fri Nov 11 15:01:43 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Fri, 11 Nov 2011 21:01:43 +0100 Subject: Mac video conversion from command line? In-Reply-To: References: <4EBD6AFE.2070705@pdslabs.net> <66007616-A189-4A53-A34D-6CE0FB3152AB@major.on-rev.com> Message-ID: Hi Carl, Am 11.11.2011 um 20:47 schrieb Pete: > Sounds great Phil. even my closest firends aren't allowed to call me Phil! :-D > In return for me reducing the quoted text of this > thread to the absolute minimum, could you please send me your web site > address? See below BEFORE you remove that part of my mail! > Pete > Molly's Revenge > > >> It's named "The Exporter", it is freeware now and can be found on my >> website -> "Downloads" -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From zryip.theslug at gmail.com Fri Nov 11 15:02:26 2011 From: zryip.theslug at gmail.com (zryip theSlug) Date: Fri, 11 Nov 2011 21:02:26 +0100 Subject: [ANN] Data Grid Helper 1.5.1 - iOS Date Picker and Progress Bar controls are now supported Message-ID: Dear LiveCode & DGH Users, A new update for DGH is available. What we have for you in this new 1.5.1 version? First, we have added the support of two new controls in the DGH's column and form builders: - the iOS Date Picker - the Progress Bar For more information about implementing these two controls in your projects, please read the corresponding lessons: - http://lessons.runrev.com/s/lessons/m/4068/l/48707-How-Do-I-Create-an-iOS-Date-Picker-in-a-column- - http://lessons.runrev.com/s/lessons/m/4068/l/48814-How-Do-I-Create-a-Progress-Bar-in-a-Column- We have also improved some of the scripts installed by the DGH's Script Installer or the DGH's Script Builder: - DGH Properties & color column scripts (prevent the columns to lose their color after a datagrid refresh). - iOS picker wheel script for datagrid table and form. - iOS scroller. The script should improve performances of the datagrid group in iOS devices. Let us know what are the performances of the datagrid after updating this script. At last we have fixed some issues: - A bug in the iOS list picker script for the datagrid form object. - In the DGH's Column Builder: clicking on the column header of the already selected column , no longer refreshes the content of the template area to its previous saved state. If you have not tried DGH yet, a trial version free for 30 days can be downloaded here: http://www.aslugontheroad.com/index.php?option=com_phocadownload&view=category&id=12:trial&Itemid=63 You can also reach the Data Grid Helper plugin on the LiveCode Marketplace: http://www.runrev.com/store/product/data-grid-helper-1-2-0/ Hope you will enjoy this new version. Best Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.com From revdev at pdslabs.net Fri Nov 11 15:12:32 2011 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 11 Nov 2011 12:12:32 -0800 Subject: Mac video conversion from command line? In-Reply-To: References: <4EBD6AFE.2070705@pdslabs.net> <66007616-A189-4A53-A34D-6CE0FB3152AB@major.on-rev.com> Message-ID: <4EBD81B0.3090405@pdslabs.net> I bet Pete's friends don't call him Carl either! ;-) This is getting too funny - Phil - the actual Phil On 11/11/11 12:01 PM, Klaus on-rev wrote: > Hi Carl, > > Am 11.11.2011 um 20:47 schrieb Pete: > >> Sounds great Phil. > even my closest firends aren't allowed to call me Phil! :-D > >> In return for me reducing the quoted text of this >> thread to the absolute minimum, could you please send me your web site >> address? > See below BEFORE you remove that part of my mail! > >> Pete >> Molly's Revenge >> >> >>> It's named "The Exporter", it is freeware now and can be found on my >>> website -> "Downloads" > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From revdev at pdslabs.net Fri Nov 11 15:14:59 2011 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 11 Nov 2011 12:14:59 -0800 Subject: Mac video conversion from command line? In-Reply-To: <66007616-A189-4A53-A34D-6CE0FB3152AB@major.on-rev.com> References: <4EBD6AFE.2070705@pdslabs.net> <66007616-A189-4A53-A34D-6CE0FB3152AB@major.on-rev.com> Message-ID: <4EBD8243.1000105@pdslabs.net> Thanks everyone! Great input! I love this list. Phil On 11/11/11 11:14 AM, Klaus on-rev wrote: > Hi Phil, > > Am 11.11.2011 um 19:35 schrieb Phil Davis: > >> Hey People, >> >> Do you use a command line tool of some sort on your Mac to convert .mov files to web formats? I sure would like to hear about it. >> >> I'm expecting that I need to end up with several file types as described in this piece of advice from the web: >> >> Make one version that uses WebM (VP8 + Vorbis). >> Make another version that uses H.264 baseline video and AAC ?low complexity? audio in an MP4 container. >> Make another version that uses Theora video and Vorbis audio in an Ogg container. >> >> Here is the advice source: >> http://diveintohtml5.info/video.html >> >> Thanks for your input! My goal is to create a LC front end to manage the commandline-driven coversion process. > some eat their own haggis (shudder) but I use my own LiveCode app made with Trevors wonderful QuickTime external for this. :-D > It's named "The Exporter", it is freeware now and can be found on my website -> "Downloads" > >> -- >> Phil Davis > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From bonnmike at gmail.com Fri Nov 11 15:15:11 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 11 Nov 2011 13:15:11 -0700 Subject: liveCode server on UBUNTU In-Reply-To: References: <15BC5992-5CE0-4DBA-92F3-B9B006AD9FEC@derbrill.de> Message-ID: Ok. The folders in question are /etc/apache2/mods-available and /etc/apache2/mods-enabled. At the command line follow the steps. cd /etc/apache2/mods-enabled sudo ln -s /etc/apache2/mods-available/actions.* . # note the period at the end of the line. That means current directory so it knows to create #the links in the place you are. (IE /etc/apache2/mods-enabled which we cd'd to in step #1. #The links should now be there. If you type ls for a directory listing they should be there. #While in here edit dir.conf sudo nano dir.conf #nano is an easy editor that should be installed. Used to be called pico. #Where it says directory index, add your default file to be read. IE index.lc #I like to add it at the front of the line so it has priority over index.html etc. #ctrl-o to save #ctrl-x to exit cd /etc/apache2/sites-enabled # by default there is most likely 1 file, something like 000-default sudo nano 000-default # to set up /var/www as your default directory, enabled with livecode change the following section to match. Options Indexes FollowSymLinks MultiViews ExecCgi AllowOverride None Order allow,deny allow from all AddHandler livecode-script .lc Action livecode-script /cgi-bin/livecode-server #Notice also the ScriptAlias section. This says where the default cgi-bin directory is. #in my case its /usr/lib/cgi-bin/ so if you place your livecode files where it #indicates, apache should be able to find them. #my folder /usr/lib/cgi-bin/ contains livecode-server and its 2 folders, drivers and externals #At this point lets restart apache. sudo /etc/rc5.d/S*apache2 stop #wait for cursor to come back sudo /etc/rc5.d/S*apache2 start # wait again. If you have a webpage .lc file to try, put it in /var/www and see if it works. If not, do as andre said and see if you can execute it on the command line. (might do andres part first) If there are still problems you might need to set livecode-server to executable, or.. well that bridge shouldn't be too tough to cross hopefully. From bonnmike at gmail.com Fri Nov 11 15:23:42 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 11 Nov 2011 13:23:42 -0700 Subject: Mac video conversion from command line? In-Reply-To: <4EBD8243.1000105@pdslabs.net> References: <4EBD6AFE.2070705@pdslabs.net> <66007616-A189-4A53-A34D-6CE0FB3152AB@major.on-rev.com> <4EBD8243.1000105@pdslabs.net> Message-ID: Looks like you have several answers that will work already but thought i'd toss one more out there. handbrake works pretty well for what i've done with it, not positive it will fit all your needs but .. well heres a link to its CLI info. https://trac.handbrake.fr/wiki/CLIGuide On Fri, Nov 11, 2011 at 1:14 PM, Phil Davis wrote: > Thanks everyone! Great input! > I love this list. > > Phil > > > > On 11/11/11 11:14 AM, Klaus on-rev wrote: > >> Hi Phil, >> >> Am 11.11.2011 um 19:35 schrieb Phil Davis: >> >> Hey People, >>> >>> Do you use a command line tool of some sort on your Mac to convert .mov >>> files to web formats? I sure would like to hear about it. >>> >>> I'm expecting that I need to end up with several file types as described >>> in this piece of advice from the web: >>> >>> Make one version that uses WebM (VP8 + Vorbis). >>> Make another version that uses H.264 baseline video and AAC ?low >>> complexity? audio in an MP4 container. >>> Make another version that uses Theora video and Vorbis audio in an Ogg >>> container. >>> >>> Here is the advice source: >>> http://diveintohtml5.info/**video.html >>> >>> Thanks for your input! My goal is to create a LC front end to manage the >>> commandline-driven coversion process. >>> >> some eat their own haggis (shudder) but I use my own LiveCode app made >> with Trevors wonderful QuickTime external for this. :-D >> It's named "The Exporter", it is freeware now and can be found on my >> website -> "Downloads" >> >> -- >>> Phil Davis >>> >> Best >> >> Klaus >> >> -- >> Klaus Major >> http://www.major-k.de >> klaus at major.on-rev.com >> >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> >> > -- > Phil Davis > > 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 klaus at major.on-rev.com Fri Nov 11 15:27:16 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Fri, 11 Nov 2011 21:27:16 +0100 Subject: Mac video conversion from command line? In-Reply-To: <4EBD81B0.3090405@pdslabs.net> References: <4EBD6AFE.2070705@pdslabs.net> <66007616-A189-4A53-A34D-6CE0FB3152AB@major.on-rev.com> <4EBD81B0.3090405@pdslabs.net> Message-ID: <9311C83E-F759-40A7-A771-207115835582@major.on-rev.com> Hi Phil (the actual Phil), Am 11.11.2011 um 21:12 schrieb Phil Davis: > I bet Pete's friends don't call him Carl either! ;-) ;-) > This is getting too funny - > > Phil - the actual Phil > > On 11/11/11 12:01 PM, Klaus on-rev wrote: >> Hi Carl, >> Am 11.11.2011 um 20:47 schrieb Pete: >>> Sounds great Phil. >> even my closest firends aren't allowed to call me Phil! :-D >>> In return for me reducing the quoted text of this >>> thread to the absolute minimum, could you please send me your web site >>> address? >> See below BEFORE you remove that part of my mail! >>> Pete >>> Molly's Revenge >>> >>>> It's named "The Exporter", it is freeware now and can be found on my >>>> website -> "Downloads" Best Ethel :-) -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From pete at mollysrevenge.com Fri Nov 11 16:19:43 2011 From: pete at mollysrevenge.com (Pete) Date: Fri, 11 Nov 2011 13:19:43 -0800 Subject: Mac video conversion from command line? In-Reply-To: <4EBD81B0.3090405@pdslabs.net> References: <4EBD6AFE.2070705@pdslabs.net> <66007616-A189-4A53-A34D-6CE0FB3152AB@major.on-rev.com> <4EBD81B0.3090405@pdslabs.net> Message-ID: Hi Phil, Are you the famous Scottish dentist, Phil McCavity? Pete Molly's Revenge On Fri, Nov 11, 2011 at 12:12 PM, Phil Davis wrote: > I bet Pete's friends don't call him Carl either! ;-) > This is getting too funny - > > Phil - the actual Phil > > > > From bonnmike at gmail.com Fri Nov 11 16:25:34 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 11 Nov 2011 14:25:34 -0700 Subject: Mac video conversion from command line? In-Reply-To: References: <4EBD6AFE.2070705@pdslabs.net> <66007616-A189-4A53-A34D-6CE0FB3152AB@major.on-rev.com> <4EBD81B0.3090405@pdslabs.net> Message-ID: More likely the famous gas station attendant phil rupp. On Fri, Nov 11, 2011 at 2:19 PM, Pete wrote: > Hi Phil, > Are you the famous Scottish dentist, Phil McCavity? > Pete > Molly's Revenge > > > > > On Fri, Nov 11, 2011 at 12:12 PM, Phil Davis wrote: > > > I bet Pete's friends don't call him Carl either! ;-) > > This is getting too funny - > > > > Phil - the actual Phil > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Nov 11 16:34:04 2011 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 11 Nov 2011 13:34:04 -0800 Subject: Mac video conversion from command line? In-Reply-To: References: <4EBD6AFE.2070705@pdslabs.net> <66007616-A189-4A53-A34D-6CE0FB3152AB@major.on-rev.com> <4EBD81B0.3090405@pdslabs.net> Message-ID: <4EBD94CC.2000803@pdslabs.net> Neither - I'm named after the Irish botanist, Phil O'dendron. I'm almost positive. My mother was a plant lover so it sort of makes perfect sense. On 11/11/11 1:25 PM, Mike Bonner wrote: > More likely the famous gas station attendant phil rupp. > > On Fri, Nov 11, 2011 at 2:19 PM, Pete wrote: > >> Hi Phil, >> Are you the famous Scottish dentist, Phil McCavity? >> Pete >> Molly's Revenge >> >> >> >> >> On Fri, Nov 11, 2011 at 12:12 PM, Phil Davis wrote: >> >>> I bet Pete's friends don't call him Carl either! ;-) >>> This is getting too funny - >>> >>> Phil - the actual Phil >>> >>> >>> >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode 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 martyknapp at comcast.net Fri Nov 11 16:47:45 2011 From: martyknapp at comcast.net (Marty Knapp) Date: Fri, 11 Nov 2011 13:47:45 -0800 Subject: Mac video conversion from command line? In-Reply-To: <4EBD94CC.2000803@pdslabs.net> References: <4EBD6AFE.2070705@pdslabs.net> <66007616-A189-4A53-A34D-6CE0FB3152AB@major.on-rev.com> <4EBD81B0.3090405@pdslabs.net> <4EBD94CC.2000803@pdslabs.net> Message-ID: <4EBD9801.6080400@comcast.net> I would have guessed Phil Lanthropist, but perhaps I'm being too generous . . . Marty Knapp > Neither - I'm named after the Irish botanist, Phil O'dendron. I'm > almost positive. My mother was a plant lover so it sort of makes > perfect sense. > From jhj at jhj.com Fri Nov 11 16:59:12 2011 From: jhj at jhj.com (Jerry Jensen) Date: Fri, 11 Nov 2011 13:59:12 -0800 Subject: Mac video conversion from command line? In-Reply-To: <4EBD9801.6080400@comcast.net> References: <4EBD6AFE.2070705@pdslabs.net> <66007616-A189-4A53-A34D-6CE0FB3152AB@major.on-rev.com> <4EBD81B0.3090405@pdslabs.net> <4EBD94CC.2000803@pdslabs.net> <4EBD9801.6080400@comcast.net> Message-ID: ...or the French Phil DeBasquette... On Nov 11, 2011, at 1:47 PM, Marty Knapp wrote: > I would have guessed Phil Lanthropist, but perhaps I'm being too generous . . . > > Marty Knapp >> Neither - I'm named after the Irish botanist, Phil O'dendron. I'm almost positive. My mother was a plant lover so it sort of makes perfect sense. >> > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Nov 11 17:09:21 2011 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 12 Nov 2011 00:09:21 +0200 Subject: Mac video conversion from command line? In-Reply-To: References: <4EBD6AFE.2070705@pdslabs.net> <66007616-A189-4A53-A34D-6CE0FB3152AB@major.on-rev.com> <4EBD81B0.3090405@pdslabs.net> Message-ID: <4EBD9D11.3080305@gmail.com> On 11/11/2011 11:19 PM, Pete wrote: > Hi Phil, > Are you the famous Scottish dentist, Phil McCavity? > Pete > Molly's Revenge > > To whom the Chinese man went and said "Two Thirty". > > On Fri, Nov 11, 2011 at 12:12 PM, Phil Davis wrote: > >> I bet Pete's friends don't call him Carl either! ;-) >> This is getting too funny - >> >> Phil - the actual Phil >> >> >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Nov 11 17:11:01 2011 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 12 Nov 2011 00:11:01 +0200 Subject: Mac video conversion from command line? In-Reply-To: <4EBD94CC.2000803@pdslabs.net> References: <4EBD6AFE.2070705@pdslabs.net> <66007616-A189-4A53-A34D-6CE0FB3152AB@major.on-rev.com> <4EBD81B0.3090405@pdslabs.net> <4EBD94CC.2000803@pdslabs.net> Message-ID: <4EBD9D75.8090305@gmail.com> On 11/11/2011 11:34 PM, Phil Davis wrote: > Neither - I'm named after the Irish botanist, Phil O'dendron. I'm > almost positive. My mother was a plant lover so it sort of makes > perfect sense. > When I was at school I had a friend who was called Phil Thee, and another (who was aways chasing girls) called Mustapha Phil. > > On 11/11/11 1:25 PM, Mike Bonner wrote: >> More likely the famous gas station attendant phil rupp. >> >> On Fri, Nov 11, 2011 at 2:19 PM, Pete wrote: >> >>> Hi Phil, >>> Are you the famous Scottish dentist, Phil McCavity? >>> Pete >>> Molly's Revenge >>> >>> >>> >>> >>> On Fri, Nov 11, 2011 at 12:12 PM, Phil Davis >>> wrote: >>> >>>> I bet Pete's friends don't call him Carl either! ;-) >>>> This is getting too funny - >>>> >>>> Phil - the actual Phil >>>> >>>> >>>> >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 Nov 11 17:12:36 2011 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 12 Nov 2011 00:12:36 +0200 Subject: Mac video conversion from command line? In-Reply-To: References: <4EBD6AFE.2070705@pdslabs.net> <66007616-A189-4A53-A34D-6CE0FB3152AB@major.on-rev.com> <4EBD81B0.3090405@pdslabs.net> <4EBD94CC.2000803@pdslabs.net> <4EBD9801.6080400@comcast.net> Message-ID: <4EBD9DD4.5050607@gmail.com> > ...or the French Phil DeBasquette... Or the Swiss psycho-analyst called Phil Mi Uppe. From richmondmathewson at gmail.com Fri Nov 11 17:18:01 2011 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 12 Nov 2011 00:18:01 +0200 Subject: [OT] Do you Phil these kinds of jokes are alright? Is this message Justin time? Message-ID: <4EBD9F19.8050204@gmail.com> Certainly the politically correct brigade, or the PORH people (People Of Restricted Humour) will get majorly curdled milk product-off. So maybe this should be stopped, now. Or, put it another way; we should be careful what we type on this Use-List, whatever the Heather! From pete at mollysrevenge.com Fri Nov 11 17:29:06 2011 From: pete at mollysrevenge.com (Pete) Date: Fri, 11 Nov 2011 14:29:06 -0800 Subject: Mac video conversion from command line? In-Reply-To: <4EBD94CC.2000803@pdslabs.net> References: <4EBD6AFE.2070705@pdslabs.net> <66007616-A189-4A53-A34D-6CE0FB3152AB@major.on-rev.com> <4EBD81B0.3090405@pdslabs.net> <4EBD94CC.2000803@pdslabs.net> Message-ID: Ah, so you're chloro-phil. Pete Molly's Revenge On Fri, Nov 11, 2011 at 1:34 PM, Phil Davis wrote: > Neither - I'm named after the Irish botanist, Phil O'dendron. I'm almost > positive. My mother was a plant lover so it sort of makes perfect sense. > > > From revolution at derbrill.de Fri Nov 11 19:14:23 2011 From: revolution at derbrill.de (Malte Brill) Date: Sat, 12 Nov 2011 01:14:23 +0100 Subject: liveCode server on UBUNTU In-Reply-To: References: Message-ID: <3114028A-C545-4AC0-99BC-80DDE0EF3462@derbrill.de> Thank you so much for the handholding! Got it running now (even though interestingly not from the commandline) This was the missing step: cd /etc/apache2/sites-enabled # by default there is most likely 1 file, something like 000-default sudo nano 000-default I was doing stuff in httpdconf, which did not work... So thank you very very much mike! And thank you too Andre! I believe this would make a good lesson on runrevs site. Install on the most common linux distros... The steps in the documentation are a little too general for Linux. All the best, Malte From bonnmike at gmail.com Fri Nov 11 19:24:05 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 11 Nov 2011 17:24:05 -0700 Subject: liveCode server on UBUNTU In-Reply-To: <3114028A-C545-4AC0-99BC-80DDE0EF3462@derbrill.de> References: <3114028A-C545-4AC0-99BC-80DDE0EF3462@derbrill.de> Message-ID: So glad its working. I think its still possible to do it from the httpd.conf but i'm not sure what kind of hoops you'd have to go through to make it work with the way things are setup with the recent ubuntus and apache2. And I didn't do it that way so couldn't tell you what to change either way. You say you couldn't get it working from the command line? I'm curious now, how did you try it, and what were the results? Enquiring mikes want to know. On Fri, Nov 11, 2011 at 5:14 PM, Malte Brill wrote: > > Thank you so much for the handholding! Got it running now (even though > interestingly not from the commandline) > > This was the missing step: > > cd /etc/apache2/sites-enabled > # by default there is most likely 1 file, something like 000-default > sudo nano 000-default > I was doing stuff in httpdconf, which did not work... > > So thank you very very much mike! And thank you too Andre! > I believe this would make a good lesson on runrevs site. Install on the > most common linux distros... The steps in the documentation are a little > too general for Linux. > > All the best, > > 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 revdev at pdslabs.net Fri Nov 11 19:36:07 2011 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 11 Nov 2011 16:36:07 -0800 Subject: Mac video conversion from command line? In-Reply-To: References: <4EBD6AFE.2070705@pdslabs.net> <66007616-A189-4A53-A34D-6CE0FB3152AB@major.on-rev.com> <4EBD81B0.3090405@pdslabs.net> <4EBD94CC.2000803@pdslabs.net> Message-ID: <4EBDBF77.8090605@pdslabs.net> Wow. I've been called a lot of things in my life, but... that's hilarious! This moniker sounds like a perfect ending to this thread. Thanks to all for the fun! The P-Man On 11/11/11 2:29 PM, Pete wrote: > Ah, so you're chloro-phil. > Pete > Molly's Revenge > > On Fri, Nov 11, 2011 at 1:34 PM, Phil Davis wrote: > >> Neither - I'm named after the Irish botanist, Phil O'dendron. I'm almost >> positive. My mother was a plant lover so it sort of makes perfect sense. >> >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From mwieder at ahsoftware.net Fri Nov 11 20:51:48 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 11 Nov 2011 17:51:48 -0800 Subject: [OT?] ADOBE DROPS FLASH for HTML5 In-Reply-To: References: <8986997046.20111110180112@ahsoftware.net> <4EBD3140.3010802@fourthworld.com> Message-ID: <1985552218.20111111175148@ahsoftware.net> Dave- Friday, November 11, 2011, 9:12:20 AM, you wrote: > Richard, maybe I misunderstand what you are describing, but I > like the idea of installing a single runtime engine to run much > smaller and easily installed app. I'd love to see something similar > for LiveCode, and then "apps" would just consist of the stack file. ...and we used to be have that ability, before it was nixed in rev 4.0 or something. I used to create little stack apps to do tasks and run them from the commandline with the -f option. Made for a nice alternative to perl or . Now I do that with ruby. Another market niche lost to LiveCode. It's getting to be less and less something I use in my work and more of just something to play around with in my spare time. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Fri Nov 11 21:01:43 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 11 Nov 2011 18:01:43 -0800 Subject: [OT?] ADOBE DROPS FLASH for HTML5 In-Reply-To: References: <4EBD4546.2040107@fourthworld.com> Message-ID: <10986147000.20111111180143@ahsoftware.net> Colin- Friday, November 11, 2011, 8:22:27 AM, you wrote: > The new one has only been out for two months, and it is a trade > off It's not always a trade-off. I've just spent the last couple of days painfully converting our ant build scripts from linux to windows running in a VM because I rely on third-party tools that now need the new version of AIR, and Adobe has kicked us once again. The idea to develop for AIR wasn't my decision, but at least it still lets us deploy to Android, which is more than I can say for LC. -- -Mark Wieder mwieder at ahsoftware.net From coiin at verizon.net Fri Nov 11 21:06:21 2011 From: coiin at verizon.net (Colin Holgate) Date: Fri, 11 Nov 2011 21:06:21 -0500 Subject: [OT?] ADOBE DROPS FLASH for HTML5 In-Reply-To: <10986147000.20111111180143@ahsoftware.net> References: <4EBD4546.2040107@fourthworld.com> <10986147000.20111111180143@ahsoftware.net> Message-ID: <2BDA700F-6B8D-4CB3-A54C-300530958E47@verizon.net> I may have misunderstood that. The fact that you can include the runtime in an application doesn't stop people from using the separate AIR runtime. If you have a case where an AIR update broke something, let me know, I'm on the AIR beta and can let them know. From mwieder at ahsoftware.net Fri Nov 11 23:03:01 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 11 Nov 2011 20:03:01 -0800 Subject: [OT?] ADOBE DROPS FLASH for HTML5 In-Reply-To: <2BDA700F-6B8D-4CB3-A54C-300530958E47@verizon.net> References: <4EBD4546.2040107@fourthworld.com> <10986147000.20111111180143@ahsoftware.net> <2BDA700F-6B8D-4CB3-A54C-300530958E47@verizon.net> Message-ID: <6393425343.20111111200301@ahsoftware.net> Colin- Friday, November 11, 2011, 6:06:21 PM, you wrote: > I may have misunderstood that. The fact that you can include the > runtime in an application doesn't stop people from using the > separate AIR runtime. If you have a case where an AIR update broke > something, let me know, I'm on the AIR beta and can let them know. This is getting way off topic here, even in spite of the OT heading, and I wouldn't mind continuing this offlist. So in a nutshell, Adobe has killed AIR on linux. I'm using FlexMonkey and need the 5.1.1. release, which requires a newer version of AIR than I had installed. There's no current version and the previous version didn't install on my Fedora machine. I'm using ant scripts to build because a)we build them on a CI machine so it has to be outside the IDE and b)Adobe killed their IDE on linux last year. So I've moved the ant scripts to a Windows VM because I can read the writing on the wall. Sed is still giving me problems, but that's a Windows issue and I'll get it sorted soon enough. -- -Mark Wieder mwieder at ahsoftware.net From coiin at verizon.net Fri Nov 11 23:15:48 2011 From: coiin at verizon.net (Colin Holgate) Date: Fri, 11 Nov 2011 23:15:48 -0500 Subject: [OT?] ADOBE DROPS FLASH for HTML5 In-Reply-To: <6393425343.20111111200301@ahsoftware.net> References: <4EBD4546.2040107@fourthworld.com> <10986147000.20111111180143@ahsoftware.net> <2BDA700F-6B8D-4CB3-A54C-300530958E47@verizon.net> <6393425343.20111111200301@ahsoftware.net> Message-ID: <28080A92-B252-4DB1-B76E-1FC972A47422@verizon.net> Sorry, I didn't realize it we were talking about Linux in particular. I don't have any input on what happens with any Flash things and Linux, I know that Adobe have effectively handed off development of Flash Player to the Linux partners, but I don't know where that leaves AIR. I can ask. From mwieder at ahsoftware.net Fri Nov 11 23:41:16 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 11 Nov 2011 20:41:16 -0800 Subject: [OT?] ADOBE DROPS FLASH for HTML5 In-Reply-To: <28080A92-B252-4DB1-B76E-1FC972A47422@verizon.net> References: <4EBD4546.2040107@fourthworld.com> <10986147000.20111111180143@ahsoftware.net> <2BDA700F-6B8D-4CB3-A54C-300530958E47@verizon.net> <6393425343.20111111200301@ahsoftware.net> <28080A92-B252-4DB1-B76E-1FC972A47422@verizon.net> Message-ID: <12595720093.20111111204116@ahsoftware.net> Colin- Friday, November 11, 2011, 8:15:48 PM, you wrote: No, I can tell you where that leaves AIR. "Beginning June 14, 2011, Adobe AIR is no longer supported for desktop Linux distributions." http://kb2.adobe.com/cps/902/cpsid_90202.html -- -Mark Wieder mwieder at ahsoftware.net From coiin at verizon.net Fri Nov 11 23:47:18 2011 From: coiin at verizon.net (Colin Holgate) Date: Fri, 11 Nov 2011 23:47:18 -0500 Subject: [OT?] ADOBE DROPS FLASH for HTML5 In-Reply-To: <12595720093.20111111204116@ahsoftware.net> References: <4EBD4546.2040107@fourthworld.com> <10986147000.20111111180143@ahsoftware.net> <2BDA700F-6B8D-4CB3-A54C-300530958E47@verizon.net> <6393425343.20111111200301@ahsoftware.net> <28080A92-B252-4DB1-B76E-1FC972A47422@verizon.net> <12595720093.20111111204116@ahsoftware.net> Message-ID: <04056C5D-2BE6-4F8E-8DAC-36F41C9AEDB5@verizon.net> Well, AIR 2.6, which is pretty decent, is still going to work. I'll ask whether AIR is allowed to be developed by the Linux providers, in the way that Flash Player is. From mwieder at ahsoftware.net Sat Nov 12 00:07:46 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 11 Nov 2011 21:07:46 -0800 Subject: [OT?] ADOBE DROPS FLASH for HTML5 In-Reply-To: <04056C5D-2BE6-4F8E-8DAC-36F41C9AEDB5@verizon.net> References: <4EBD4546.2040107@fourthworld.com> <10986147000.20111111180143@ahsoftware.net> <2BDA700F-6B8D-4CB3-A54C-300530958E47@verizon.net> <6393425343.20111111200301@ahsoftware.net> <28080A92-B252-4DB1-B76E-1FC972A47422@verizon.net> <12595720093.20111111204116@ahsoftware.net> <04056C5D-2BE6-4F8E-8DAC-36F41C9AEDB5@verizon.net> Message-ID: <13797310234.20111111210746@ahsoftware.net> Colin- Friday, November 11, 2011, 8:47:18 PM, you wrote: > Well, AIR 2.6, which is pretty decent, is still going to work. > I'll ask whether AIR is allowed to be developed by the Linux > providers, in the way that Flash Player is. Well, this is still OT, so I'm done venting. Been a long week. -- -Mark Wieder mwieder at ahsoftware.net From palcibiades-first at yahoo.co.uk Sat Nov 12 02:36:29 2011 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sat, 12 Nov 2011 07:36:29 +0000 Subject: OK, second dumb question: revlets and revWeb for linux? Message-ID: <201111120736.29682.palcibiades-first@yahoo.co.uk> I never much needed this, but now am thinking about it again, and it is marked as it has been for years now 'coming shortly'. Is it really coming, or is this a euphemism for not coming at all? Obviously there are real questions about plugins in a public environment, but in a closed environment where you can just install the plugin into all the browsers in an organisation or on a LAN, they are not an issue, and it would be very nice to be able to run an app in a browser.... Peter From rene.micout at numericable.com Sat Nov 12 03:53:35 2011 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Sat, 12 Nov 2011 09:53:35 +0100 Subject: [ANN] tmCONTROL - Custom Interface Components for LiveCode Developers In-Reply-To: References: Message-ID: <4042F5C4-22E1-4526-9941-51FA91398F0A@numericable.com> All that seems to be great (BIG work) !!! But some questions : 1. Some controls (radio buttons, checkBox, sliders, ...) have they 3 sizes (Mac OS X : standard, small and mini)? 2. Is there a project with the basic controls complete Mac OS X Lion? 3. If not, is it easy from an existing theme to create (all) controls Mac OS X Lion (with 3 sizes by example)? The paradox for me would be to use a customization tool for creating standard controls so badly needed by LiveCode... Merci Ren? Le 11 nov. 2011 ? 10:21, Scott Rossi a ?crit : > All together, tmCONTROL includes five desktop themes, two iOS themes, a set > of SmartControls, and a set of accordions, totaling over 100 components. On > top of all that, dedicated editors are provided so you can customize the > components to your needs. From effendi at wanadoo.fr Sat Nov 12 05:37:26 2011 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Sat, 12 Nov 2011 11:37:26 +0100 Subject: Wasting space on the forum. Message-ID: Hi to all who may have had problems understanding my very bad English, You are correct, I did mention 6 and 7 levels, I felt sure that many of you would think that this is a little excessive. Of course, Mark, I agree that one level is perfectly acceptable, IF the mail is counsel, or an answer to a question. It saves people scrabbling to find out what the question was ........ :>) And it is certainly useful to those who don't consult the forum regularly. As for those who thought my thread wasted more disk space than 6/7 levels of repetition over an indeterminate period of time, I'm sure you would grudgingly agree that this is obviously false. I hope this closes the debate. -Francis "Nothing should ever be done for the first time !" From admin at FlexibleLearning.com Sat Nov 12 06:59:33 2011 From: admin at FlexibleLearning.com (FlexibleLearning) Date: Sat, 12 Nov 2011 11:59:33 -0000 Subject: mouse within oval filled area In-Reply-To: Message-ID: Has anyone worked out how to test if the mouseLoc is within the filled area of an oval graphic (defined by startAngle and arcAngle)? I was thinking polar coordinates, but this assumes a circle and a fixed radius which is not necessarily the case. A btter math brain than mine is needed! Hugh Senior FLCo From dixonja at hotmail.co.uk Sat Nov 12 07:04:36 2011 From: dixonja at hotmail.co.uk (John Dixon) Date: Sat, 12 Nov 2011 12:04:36 +0000 Subject: mouse within oval filled area In-Reply-To: References: , Message-ID: Use the mouseColor ? > From: admin at FlexibleLearning.com > To: use-livecode at lists.runrev.com > Subject: mouse within oval filled area > Date: Sat, 12 Nov 2011 11:59:33 +0000 > > Has anyone worked out how to test if the mouseLoc is within the filled area > of an oval graphic (defined by startAngle and arcAngle)? I was thinking > polar coordinates, but this assumes a circle and a fixed radius which is not > necessarily the case. A btter math brain than mine is needed! > > Hugh Senior > FLCo > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sc at sahores-conseil.com Sat Nov 12 07:07:19 2011 From: sc at sahores-conseil.com (Pierre Sahores) Date: Sat, 12 Nov 2011 13:07:19 +0100 Subject: liveCode server on UBUNTU In-Reply-To: <15BC5992-5CE0-4DBA-92F3-B9B006AD9FEC@derbrill.de> References: <15BC5992-5CE0-4DBA-92F3-B9B006AD9FEC@derbrill.de> Message-ID: <58EB66FC-8240-45B7-A230-B2AF55FA33DD@sahores-conseil.com> Hi Malte, I did extensive tests month ago and did't try again in the last weeks : both revServer and LC server works fine under Redhat Enterprise Linux and CentOS (free version of REHL). Works but can't bind PostgreSQL (needed for all my apps) under OpenSuse. If you can switch your linux box to CentOS, all will be OK. HTH, Pierre Le 11 nov. 2011 ? 20:20, Malte Brill a ?crit : > Hi all, > > I successfully installed liveCode on Mac Os and Windows. But on Ubuntu, for the life of me I can not get it up. I assume it has to do with the mod_action not being enabled by default here. However, for the life of me I can not find out how to do so. The installation is rather complicated on UBUNTU it seems. Has anyone succeeded here (Clean fresh out of the WEB UBUNTU) and could give me a step by step guide on what I need to do (but please speak slowly, as I have no idea of linuxes and apache there). > > Totally lost. Any help much appreciated. > > 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 -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From m.schonewille at economy-x-talk.com Sat Nov 12 07:43:04 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 12 Nov 2011 13:43:04 +0100 Subject: Wasting space on the forum. In-Reply-To: References: Message-ID: Thanks for explaining, Francis. Yes, I agree that one level of quoting is sufficient, but I also believe it is necessary. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/16r Start selling Color Converter today. 20% commission! On 12 nov 2011, at 11:37, Francis Nugent Dixon wrote: > Hi to all who may have had problems understanding > my very bad English, > > You are correct, I did mention 6 and 7 levels, > I felt sure that many of you would think that this > is a little excessive. > > Of course, Mark, I agree that one level is perfectly > acceptable, IF the mail is counsel, or an answer > to a question. It saves people scrabbling to find > out what the question was ........ :>) > > And it is certainly useful to those who don't consult > the forum regularly. > > As for those who thought my thread wasted more > disk space than 6/7 levels of repetition over an > indeterminate period of time, I'm sure you would > grudgingly agree that this is obviously false. > > I hope this closes the debate. > > -Francis > > "Nothing should ever be done for the first time !" From ambassador at fourthworld.com Sat Nov 12 09:46:18 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 12 Nov 2011 06:46:18 -0800 Subject: CLI support in LC (was [OT?] ADOBE DROPS FLASH for HTML5) In-Reply-To: <1985552218.20111111175148@ahsoftware.net> References: <1985552218.20111111175148@ahsoftware.net> Message-ID: <4EBE86BA.2020907@fourthworld.com> Mark Wieder touched on a subject recently dear to my heart when he wrote: > ...and we used to be have that ability, before it was nixed in rev 4.0 > or something. I used to create little stack apps to do tasks and run > them from the commandline with the -f option. Made for a nice > alternative to perl or . > > Now I do that with ruby. Another market niche lost to LiveCode. IIRC, -f was to prevent file access, yes? Is there a way that using secureMode might work for what you need? If not, is there any chance we might get -f reinstated? It does seem a very useful flag to be able to pass to 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 From barryb at libero.it Sat Nov 12 10:24:15 2011 From: barryb at libero.it (barryb at libero.it) Date: Sat, 12 Nov 2011 16:24:15 +0100 (CET) Subject: [ANN] tmCONTROL - Custom Interface Components for LiveCode Developers Message-ID: <19016423.4023041321111455560.JavaMail.defaultUser@defaultHost> Hi Pierre Fri, 11 Nov 2011 Pierre Sahores wrote: >Seems useful and cool priced with the "pickup the templates you need, at your choice" option !> Thanks for delivring it. Will probably test it along a next coming project ;-) >Best, >Pierre Agreed, a nice tool professionally produced but at what "cool" price? If you decide to eventually buy all the tools on the "budget" version it will make you spend 91 dollars more than the so called Pro version! Kind regards, Barry Barber From revlist at azurevision.co.uk Sat Nov 12 10:24:57 2011 From: revlist at azurevision.co.uk (Ian Wood) Date: Sat, 12 Nov 2011 15:24:57 +0000 Subject: [OT?] ADOBE DROPS FLASH for HTML5 In-Reply-To: <13797310234.20111111210746@ahsoftware.net> References: <4EBD4546.2040107@fourthworld.com> <10986147000.20111111180143@ahsoftware.net> <2BDA700F-6B8D-4CB3-A54C-300530958E47@verizon.net> <6393425343.20111111200301@ahsoftware.net> <28080A92-B252-4DB1-B76E-1FC972A47422@verizon.net> <12595720093.20111111204116@ahsoftware.net> <04056C5D-2BE6-4F8E-8DAC-36F41C9AEDB5@verizon.net> <13797310234.20111111210746@ahsoftware.net> Message-ID: <7EBF1541-93D6-49AE-8041-46B836D0CFEF@azurevision.co.uk> We've heard *what* Adobe are doing, now there's a blog post about *why* they are doing it. http://www.mikechambers.com/blog/2011/11/11/clarifications-on-flash-player-for-mobile-browsers-the-flash-platform-and-the-future-of-flash/ No comments from me on on the different things covered in the article as I've not finished digesting it all yet. Ian From todd at geistinteractive.com Sat Nov 12 10:51:28 2011 From: todd at geistinteractive.com (Todd Geist) Date: Sat, 12 Nov 2011 07:51:28 -0800 Subject: [ANN] tmCONTROL - Custom Interface Components for LiveCode Developers In-Reply-To: <19016423.4023041321111455560.JavaMail.defaultUser@defaultHost> References: <19016423.4023041321111455560.JavaMail.defaultUser@defaultHost> Message-ID: I think the "so called Pro version" is a at a great price I am happy to support Scott's work. I have everyone of his tools and was happy to purchase the pre-release and the final release of tm-control. I see tools such as this and a vibrant, profitable 3rd party tool ecosystem in general as essential to the success of LiveCode. Todd On Sat, Nov 12, 2011 at 7:24 AM, barryb at libero.it wrote: > > Hi Pierre > > Agreed, a nice tool professionally produced but at what "cool" price? If > you decide to eventually buy all the tools on the "budget" version it will > make you spend 91 dollars more than the so called Pro version! -- Todd Geist geist interactive (805) 419-9382 From iowahengst at mac.com Sat Nov 12 10:56:03 2011 From: iowahengst at mac.com (Randy Hengst) Date: Sat, 12 Nov 2011 09:56:03 -0600 Subject: mouse within oval filled area In-Reply-To: References: Message-ID: <646E0F44-C067-4B67-A7E9-73B2AF7928A4@mac.com> Hi Hugh, I haven't done exactly as you describe, but have made things where I only wanted a response when the user clicked the filled area of a graphic. I used the function version of within?. This script in the graphic?. on mouseUp if within(graphic "myGraphic",the mouseLoc) then beep end if end mouseUp The beep only happens on the filled area of the graphic. be well, randy hengst ----- On Nov 12, 2011, at 5:59 AM, FlexibleLearning wrote: > Has anyone worked out how to test if the mouseLoc is within the filled area > of an oval graphic (defined by startAngle and arcAngle)? I was thinking > polar coordinates, but this assumes a circle and a fixed radius which is not > necessarily the case. A btter math brain than mine is needed! > > Hugh Senior > FLCo > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From iowahengst at mac.com Sat Nov 12 11:09:15 2011 From: iowahengst at mac.com (Randy Hengst) Date: Sat, 12 Nov 2011 10:09:15 -0600 Subject: mouse within oval filled area In-Reply-To: <646E0F44-C067-4B67-A7E9-73B2AF7928A4@mac.com> References: <646E0F44-C067-4B67-A7E9-73B2AF7928A4@mac.com> Message-ID: <0069632A-9E66-4415-A6DA-4947F2460205@mac.com> Sorry to flood the list.. but nevermind? I double-checked and that idea doesn't help you?. On Nov 12, 2011, at 9:56 AM, Randy Hengst wrote: > Hi Hugh, > > I haven't done exactly as you describe, but have made things where I only wanted a response when the user clicked the filled area of a graphic. > > I used the function version of within?. > > This script in the graphic?. > > on mouseUp > if within(graphic "myGraphic",the mouseLoc) then > beep > end if > end mouseUp > > > The beep only happens on the filled area of the graphic. > > be well, > randy hengst > ----- > On Nov 12, 2011, at 5:59 AM, FlexibleLearning wrote: > >> Has anyone worked out how to test if the mouseLoc is within the filled area >> of an oval graphic (defined by startAngle and arcAngle)? I was thinking >> polar coordinates, but this assumes a circle and a fixed radius which is not >> necessarily the case. A btter math brain than mine is needed! >> >> Hugh Senior >> FLCo >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Sat Nov 12 11:13:32 2011 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 12 Nov 2011 17:13:32 +0100 Subject: [ANN] tmCONTROL - Custom Interface Components for LiveCode Developers In-Reply-To: <19016423.4023041321111455560.JavaMail.defaultUser@defaultHost> References: <19016423.4023041321111455560.JavaMail.defaultUser@defaultHost> Message-ID: Am 12.11.2011 um 16:24 schrieb barryb at libero.it: > > Hi Pierre > Fri, 11 Nov 2011 Pierre Sahores wrote: > >> Seems useful and cool priced with the "pickup the templates you need, at your choice" option !> Thanks for delivring it. Will probably test it along a next coming project ;-) >> Best, >> Pierre > > Agreed, a nice tool professionally produced but at what "cool" price? If you decide to eventually buy all the tools on the "budget" version it will make you spend 91 dollars more than the so called Pro version! > Kind regards, > Barry Barber > _______________________________________________ Barry, just see the Pro version as an all inclusive version with a huge discount. A few days ago i purchased 3 imaging tools from an other vendor as a bundle and spent over 70% of the price compared with the price i had to pay, if i had bought the products separate. There are many other vendors who do the same. Adobe?s creative suite is also much cheaper than buying the cs products separate. So there?s no reason to complain. Regards, Matthias From mwieder at ahsoftware.net Sat Nov 12 11:59:27 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 12 Nov 2011 08:59:27 -0800 Subject: CLI support in LC (was [OT?] ADOBE DROPS FLASH for HTML5) In-Reply-To: <4EBE86BA.2020907@fourthworld.com> References: <1985552218.20111111175148@ahsoftware.net> <4EBE86BA.2020907@fourthworld.com> Message-ID: <116140011296.20111112085927@ahsoftware.net> Richard- Saturday, November 12, 2011, 6:46:18 AM, you wrote: > IIRC, -f was to prevent file access, yes? I'm probably misremembering the exact details - it's been a while now. It may even have just been redirection revolution < scriptFile > Is there a way that using secureMode might work for what you need? No, what we need there is a way to invoke the engine with a file argument. Something that says "load and run the following script". As a trivial example, a three-line script file "lastyear" put the files into tFiles filter tFiles with "*2010" put tFiles would give me all the files in the current directory that were created last year. And as a worst case example it could be invoked with > LiveCode -f lastyear even better if I specified a file mapping so that .rev files were launched by the LC engine so that I could just say > lastyear -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sat Nov 12 12:07:45 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 12 Nov 2011 09:07:45 -0800 Subject: [OT?] ADOBE DROPS FLASH for HTML5 In-Reply-To: <7EBF1541-93D6-49AE-8041-46B836D0CFEF@azurevision.co.uk> References: <4EBD4546.2040107@fourthworld.com> <10986147000.20111111180143@ahsoftware.net> <2BDA700F-6B8D-4CB3-A54C-300530958E47@verizon.net> <6393425343.20111111200301@ahsoftware.net> <28080A92-B252-4DB1-B76E-1FC972A47422@verizon.net> <12595720093.20111111204116@ahsoftware.net> <04056C5D-2BE6-4F8E-8DAC-36F41C9AEDB5@verizon.net> <13797310234.20111111210746@ahsoftware.net> <7EBF1541-93D6-49AE-8041-46B836D0CFEF@azurevision.co.uk> Message-ID: <122140508687.20111112090745@ahsoftware.net> Ian- Saturday, November 12, 2011, 7:24:57 AM, you wrote: > We've heard *what* Adobe are doing, now there's a blog post about *why* they are doing it. Thanks. Interesting. Even Adobe recommends HTML5 over Flex. http://blogs.adobe.com/flex/2011/11/your-questions-about-flex.html "we are planning to contribute the Flex SDK to an open source foundation..." "Does Adobe recommend we use Flex or HTML5 for our enterprise application development? In the long-term, we believe HTML5 will be the best technology for enterprise application development." -- -Mark Wieder mwieder at ahsoftware.net From chipp at chipp.com Sat Nov 12 12:45:59 2011 From: chipp at chipp.com (Chipp Walters) Date: Sat, 12 Nov 2011 11:45:59 -0600 Subject: [OT?] ADOBE DROPS FLASH for HTML5 In-Reply-To: <7EBF1541-93D6-49AE-8041-46B836D0CFEF@azurevision.co.uk> References: <4EBD4546.2040107@fourthworld.com> <10986147000.20111111180143@ahsoftware.net> <2BDA700F-6B8D-4CB3-A54C-300530958E47@verizon.net> <6393425343.20111111200301@ahsoftware.net> <28080A92-B252-4DB1-B76E-1FC972A47422@verizon.net> <12595720093.20111111204116@ahsoftware.net> <04056C5D-2BE6-4F8E-8DAC-36F41C9AEDB5@verizon.net> <13797310234.20111111210746@ahsoftware.net> <7EBF1541-93D6-49AE-8041-46B836D0CFEF@azurevision.co.uk> Message-ID: Ian, Thanks for the link. Great read. Here's my take: *Adobe is in the process of repositioning Flash from a browser plugin to a dedicated cross platform application development tool-- just like LC is right now (assuming LC sees the writing on the wall and tosses the revPlugin).* This makes sense to me. Based on what I read, and our own experience writing a million dollar Flex web app over the past couple of years, it's obvious to me how difficult it now is for Flash to be considered a worthwhile web application enterprise strategy. Add this to the current day situation of extreme poor performance (if at all) on mobile, their decision is all but made up for them. I suspect this repositioning will take some time, and upset some developers, but as mobile and desktop continue to merge, and HTML5 tools continue to get better, it only makes sense to phase out Flash, albeit slowly. -- Chipp Walters CEO, Shafer Walters Group, Inc. From bvg at mac.com Sat Nov 12 13:01:55 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat, 12 Nov 2011 19:01:55 +0100 Subject: [ANN] LiveCode.tv event #43 In-Reply-To: References: <6B865405-BBC0-491C-AD25-BFB1C85A2D58@mac.com> <7EC6A85B-DD6B-4138-A597-512A194F4453@mac.com> <89782C22-C6E3-4245-95D1-A48F69423753@mac.com> <061D9182-B34B-4ABB-A7D6-9C2D09DA8755@mac.com> <73F84954-890B-4627-859A-702C8054F13B@mac.com> <093DEF5E-6C0F-4924-A262-F6DBE748ED45@mac.com> <3FB852C9-5675-4A19-9506-543733BB2547@mac.com> <914DF999-596E-4023-A213-9469C6A69FA0@mac.com> <2B105965-FB27-41D0-B95F-1F4C84ADD53B@mac.com> <163225D1-67D1-4CE7-8049-E85A8D94D177@mac.com> <225B0941-5D11-434A-BC0B-CD61B998E9F8@mac.com> <201756EB-9601-417D-856E-5128C5256EF1@mac.com> <081FD717-0A48-447D-90AA-A8F370B14F43@mac.com> <913B7E78-3052-4CF0-9883-C1CDD9F8BDFA@mac.com> <0C1B6D89-1745-46DF-9C49-A5FE2E5B67B9@mac.com> <497CC7C9-74BC-419C-9785-CEA07A8FE181@mac.com> <54E0E19F-3F8A-4D69-97E5-0A95CF879616@mac.com> <056EBC7F-549E-4576-9C8F-920DE5118529@mac.com> <5C8CFEAF-E023-4D20-8459-6C60A4E3E70E@mac.com> Message-ID: <715CBE0C-6E26-4775-A92B-404396C30142@mac.com> Remember that the event will start in an hour, join ChatRev before then :) http://bjoernke.com/chatrev/ On 11 Nov 2011, at 14:19, Bj?rnke von Gierke wrote: > This weekend, Colin will present two topics: > > First he will show us Adobe Director, with its an xTalk-like programming language. > For an encore, he will present a beginner's Tutorial, in the form of a simple calculator. > > Colin Holgate has been a regular contributor for the event, and always makes very stringent presentations. Visit his companies website to learn more about him: http://www.funnygarbage.com/ > > > Please consider making a presentation, contact me for doing that. > > Join ChatRev to watch live at 20:00 CET on Saturday, 12th November. Download a standalone from > http://bjoernke.com/chatrev/ > or enter in the message box: > go stack URL ?http://bjoernke.com/chatrev/chatrev1.3b3.rev? > > Rome Sat 20:00 > New York Sat 14:00 > Los Angeles Sat 11:00 > Sydney Sun 06:00 > Hong Kong Sun 03:00 > > > See you then :) > Bj?rnke > > On 4 Nov 2011, at 02:09, Bj?rnke von Gierke wrote: > >> This Saturday, Mark will present his Installer Maker, because he just released a fresh beta version. Join the event and get a big discount on this invaluable tool. >> >> More info about Installer Maker: >> http://www3.economy-x-talk.com/file.php?node=installer-maker >> >> Have your own tool? Present it during the event: >> http://livecode.tv/participate/ >> >> Join ChatRev to watch live at 20:00 CET on Saturday, 5th November. Download a standalone from >> http://bjoernke.com/chatrev/ >> or enter in the message box: >> go stack URL ?http://bjoernke.com/chatrev/chatrev1.3b3.rev? >> >> Berlin Sat 20:00 >> New York Sat 15:00 >> Los Angeles Sat 12:00 >> Sydney Sun 06:00 >> Hong Kong Sun 03:00 >> >> >> See you then :) >> Bj?rnke >> >> >> -- >> Watch live presentations every Saturday: >> http://livecode.tv >> >> Use an alternative Dictionary viewer: >> http://bjoernke.com/bvgdocu/ >> >> Chat with other RunRev developers: >> http://bjoernke.com/chatrev/ >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > -- > Watch live presentations every Saturday: > http://livecode.tv > > Use an alternative Dictionary viewer: > http://bjoernke.com/bvgdocu/ > > Chat with other RunRev developers: > http://bjoernke.com/chatrev/ > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Watch live presentations every Saturday: http://livecode.tv Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From scott at tactilemedia.com Sat Nov 12 13:20:56 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 12 Nov 2011 10:20:56 -0800 Subject: [ANN] tmCONTROL - Custom Interface Components for LiveCode Developers In-Reply-To: <4042F5C4-22E1-4526-9941-51FA91398F0A@numericable.com> Message-ID: Hi Ren?: 1) At this time, the width of sliders and scrollbars can be set, but radio buttons/checkboxes cannot. This could be added later. 2) Currently, there are no Lion controls. 3) For me, it's not worth producing Lion controls if LiveCode will eventually provide these. Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Ren? Micout wrote: > All that seems to be great (BIG work) !!! > But some questions : > 1. Some controls (radio buttons, checkBox, sliders, ...) have they 3 sizes > (Mac OS X : standard, small and mini)? > 2. Is there a project with the basic controls complete Mac OS X Lion? > 3. If not, is it easy from an existing theme to create (all) controls Mac OS X > Lion (with 3 sizes by example)? > The paradox for me would be to use a customization tool for creating standard > controls so badly needed by LiveCode... > Merci > Ren? > > Le 11 nov. 2011 ? 10:21, Scott Rossi a ?crit : > >> All together, tmCONTROL includes five desktop themes, two iOS themes, a set >> of SmartControls, and a set of accordions, totaling over 100 components. On >> top of all that, dedicated editors are provided so you can customize the >> components to your needs. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From admin at FlexibleLearning.com Sat Nov 12 14:25:16 2011 From: admin at FlexibleLearning.com (FlexibleLearning) Date: Sat, 12 Nov 2011 19:25:16 -0000 Subject: mouse within oval filled area In-Reply-To: Message-ID: Indeed, John, but not a unique object identifier if more than one grc uses the same color. I think I am back to polar coordinates (unfortunately). The current engine behaviour is painfully inconsistent with other controls whose transparency is immune from mouse events. Hugh Senior FLCo John Dixon wrote: > Use the mouseColor ? Original message: > Has anyone worked out how to test if the mouseLoc is within the filled area > of an oval graphic (defined by startAngle and arcAngle)? I was thinking > polar coordinates, but this assumes a circle and a fixed radius which is not > necessarily the case. A btter math brain than mine is needed! > > Hugh Senior > FLCo From ambassador at fourthworld.com Sat Nov 12 14:42:06 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 12 Nov 2011 11:42:06 -0800 Subject: CLI support in LC (was [OT?] ADOBE DROPS FLASH for HTML5) In-Reply-To: <116140011296.20111112085927@ahsoftware.net> References: <116140011296.20111112085927@ahsoftware.net> Message-ID: <4EBECC0E.1000003@fourthworld.com> Mark Wieder wrote: > Richard- > > Saturday, November 12, 2011, 6:46:18 AM, you wrote: > >> IIRC, -f was to prevent file access, yes? > > I'm probably misremembering the exact details - it's been a while now. > It may even have just been redirection > > revolution < scriptFile > >> Is there a way that using secureMode might work for what you need? > > No, what we need there is a way to invoke the engine with a file > argument. Something that says "load and run the following script". > As a trivial example, a three-line script file "lastyear" > > put the files into tFiles > filter tFiles with "*2010" > put tFiles > > would give me all the files in the current directory that were created > last year. And as a worst case example it could be invoked with > >> LiveCode -f lastyear > > even better if I specified a file mapping so that .rev files were > launched by the LC engine so that I could just say > >> lastyear Wouldn't you be able to get the params you need from a standalone? I haven't used the runtime engine by itself in a very long time, but have had great success (and quite a bit of fun) adding CLI support to standalones. -- 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 dixonja at hotmail.co.uk Sat Nov 12 15:09:29 2011 From: dixonja at hotmail.co.uk (John Dixon) Date: Sat, 12 Nov 2011 20:09:29 +0000 Subject: mouse within oval filled area In-Reply-To: References: , Message-ID: OK then... on mouseWithin put the backgroundcolor of me into colorCheck if the mouseColor = colorCheck then put "I am inside the coloured bit of control ID no" && the short id of me end if end mouseWithin > From: admin at FlexibleLearning.com > To: use-livecode at lists.runrev.com > Subject: RE: mouse within oval filled area > Date: Sat, 12 Nov 2011 19:25:16 +0000 > > Indeed, John, but not a unique object identifier if more than one grc uses > the same color. I think I am back to polar coordinates (unfortunately). > > The current engine behaviour is painfully inconsistent with other controls > whose transparency is immune from mouse events. > > Hugh Senior > FLCo > > > John Dixon wrote: > > > Use the mouseColor ? > > > Original message: > > > Has anyone worked out how to test if the mouseLoc is within the filled > area > > of an oval graphic (defined by startAngle and arcAngle)? I was thinking > > polar coordinates, but this assumes a circle and a fixed radius which is > not > > necessarily the case. A btter math brain than mine is needed! > > > > Hugh Senior > > FLCo > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gbojsza at gmail.com Sat Nov 12 15:34:32 2011 From: gbojsza at gmail.com (Glen Bojsza) Date: Sat, 12 Nov 2011 13:34:32 -0700 Subject: mouse within oval filled area In-Reply-To: References: Message-ID: This would be very difficult to implement if the graphic had a gradient. On Sat, Nov 12, 2011 at 1:09 PM, John Dixon wrote: > > OK then... > > on mouseWithin > put the backgroundcolor of me into colorCheck > if the mouseColor = colorCheck then > put "I am inside the coloured bit of control ID no" && the short id > of me > end if > end mouseWithin > > > > > From: admin at FlexibleLearning.com > > To: use-livecode at lists.runrev.com > > Subject: RE: mouse within oval filled area > > Date: Sat, 12 Nov 2011 19:25:16 +0000 > > > > Indeed, John, but not a unique object identifier if more than one grc > uses > > the same color. I think I am back to polar coordinates (unfortunately). > > > > The current engine behaviour is painfully inconsistent with other > controls > > whose transparency is immune from mouse events. > > > > Hugh Senior > > FLCo > > > > > > John Dixon wrote: > > > > > Use the mouseColor ? > > > > > > Original message: > > > > > Has anyone worked out how to test if the mouseLoc is within the filled > > area > > > of an oval graphic (defined by startAngle and arcAngle)? I was thinking > > > polar coordinates, but this assumes a circle and a fixed radius which > is > > not > > > necessarily the case. A btter math brain than mine is needed! > > > > > > Hugh Senior > > > FLCo > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dixonja at hotmail.co.uk Sat Nov 12 15:38:46 2011 From: dixonja at hotmail.co.uk (John Dixon) Date: Sat, 12 Nov 2011 20:38:46 +0000 Subject: mouse within oval filled area In-Reply-To: References: , , , Message-ID: Yes, it would... but a gradient wasn't mentioned... we could throw spanners into the works all night! > From: gbojsza at gmail.com > Date: Sat, 12 Nov 2011 13:34:32 -0700 > Subject: Re: mouse within oval filled area > To: use-livecode at lists.runrev.com > > This would be very difficult to implement if the graphic had a gradient. > > > > On Sat, Nov 12, 2011 at 1:09 PM, John Dixon wrote: > > > > > OK then... > > > > on mouseWithin > > put the backgroundcolor of me into colorCheck > > if the mouseColor = colorCheck then > > put "I am inside the coloured bit of control ID no" && the short id > > of me > > end if > > end mouseWithin > > > > > > > > > From: admin at FlexibleLearning.com > > > To: use-livecode at lists.runrev.com > > > Subject: RE: mouse within oval filled area > > > Date: Sat, 12 Nov 2011 19:25:16 +0000 > > > > > > Indeed, John, but not a unique object identifier if more than one grc > > uses > > > the same color. I think I am back to polar coordinates (unfortunately). > > > > > > The current engine behaviour is painfully inconsistent with other > > controls > > > whose transparency is immune from mouse events. > > > > > > Hugh Senior > > > FLCo > > > > > > > > > John Dixon wrote: > > > > > > > Use the mouseColor ? > > > > > > > > > Original message: > > > > > > > Has anyone worked out how to test if the mouseLoc is within the filled > > > area > > > > of an oval graphic (defined by startAngle and arcAngle)? I was thinking > > > > polar coordinates, but this assumes a circle and a fixed radius which > > is > > > not > > > > necessarily the case. A btter math brain than mine is needed! > > > > > > > > Hugh Senior > > > > FLCo > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Sat Nov 12 18:03:48 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 12 Nov 2011 15:03:48 -0800 (PST) Subject: [OT?] ADOBE DROPS FLASH for HTML5 In-Reply-To: References: <10986147000.20111111180143@ahsoftware.net> <2BDA700F-6B8D-4CB3-A54C-300530958E47@verizon.net> <6393425343.20111111200301@ahsoftware.net> <28080A92-B252-4DB1-B76E-1FC972A47422@verizon.net> <12595720093.20111111204116@ahsoftware.net> <04056C5D-2BE6-4F8E-8DAC-36F41C9AEDB5@verizon.net> <13797310234.20111111210746@ahsoftware.net> <7EBF1541-93D6-49AE-8041-46B836D0CFEF@azurevision.co.uk> Message-ID: <1321139028114-4035458.post@n4.nabble.com> Hi Chipp, After these news, looks like a DLL for running a Flash player inside a Livecode application would find a more enthusiastic reception. Chipp Walters wrote: > > [snip] > I suspect this repositioning will take some > time, and upset some developers, but as mobile and > desktop continue to merge, and HTML5 tools continue > to get better, it only makes sense to phase out Flash, > albeit slowly. > -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Re-OT-ADOBE-DROPS-FLASH-for-HTML5-tp4020804p4035458.html Sent from the Revolution - User mailing list archive at Nabble.com. From scott at elementarysoftware.com Sat Nov 12 18:19:19 2011 From: scott at elementarysoftware.com (Scott Morrow) Date: Sat, 12 Nov 2011 15:19:19 -0800 Subject: iOS forcing interface rotation In-Reply-To: References: Message-ID: Hello Hugh, I don't believe LC provides a way to do this. At one point I created an animation that took over the screen and prompted the user to rotate the device. That was the best I could come up with. -Scott Morrow On Nov 10, 2011, at 7:46 AM, FlexibleLearning wrote: > Did anyone figure how to do this? I need exactly the same thing: All stack > windows are landscape, except 1 which must be portrait. > > How do we force an orientation change without requiring the user to > physically rotate the device? > > Hugh Senior > FLCo > > > > On Tue Aug 2 09:23:51 CDT 2011 Scott Morrow wrote: > > I am working with an iOS UI that allows portrait and landscape rotation on > one card but requires that the UI be presented in portrait on all other > cards. no matter what the actual device rotation is. The problem arises > when leaving the card that allows landscape and going to a card that > requires portrait. If the user navigates to a "portrait only" card with > device already in landscape, the UI is skewed. Is there a way to force the > auto-rotation without requiring the user to physically rotate the device? > (I had hoped perhaps some trickery with mobileSetAllowedOrientations and > mobileLockOrientation /mobileUnlockOrientation.) > > TIA, > > Scott Morrow > > Elementary Software > (Now with 20% less chalk dust!) > web http://elementarysoftware.com/ > email scott at elementarysoftware.com > ------------------------------------------------------ > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Nov 12 18:23:08 2011 From: niggemann at uni-wh.de (BNig) Date: Sat, 12 Nov 2011 15:23:08 -0800 (PST) Subject: mouse within oval filled area In-Reply-To: References: Message-ID: <1321140188418-4035498.post@n4.nabble.com> Hi Hugh, to get the area of a oval graphic with a startangle and an acrangle set and opaque to true you could use the new 5.0 intersect(object,object,"pixel") syntax. You would have to cheat though in that you create a hidden polygon graphic "hidden" and call your start/arcangle graphic "halfCircle" plus any field for feedback The script of graphic "halfCircle" could be: ------------------------------------------------ on mouseWithin put the mouseLoc into tLoc put item 1 of tLoc - 1 & comma & item 2 of tLoc - 1 & comma & \ item 1 of tLoc +1 & comma & item 2 of tLoc + 1 into tRect set the rect of grc "hidden" to tRect if intersect(graphic "halfCircle", grc "hidden", "pixels") then put the milliseconds into field 1 else put "" into field 1 end if end mouseWithin ----------------------------------------------- it works but it is a more of a hack. maybe someone has a better solution... Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/mouse-within-oval-filled-area-tp4034252p4035498.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Sat Nov 12 18:59:45 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 12 Nov 2011 15:59:45 -0800 (PST) Subject: An really useful property for vector graphics Message-ID: <1321142385986-4035584.post@n4.nabble.com> Hi All, How many of you have downloaded and test the stack "Eps Import v05B" http://www.megaupload.com/?d=TL5QP5WD Please, download this compressed folder to show you a really useful property for vector graphics. Open the stack "eps_import_v05B" and click in the topleft button to import the adobe ilustrator file named "Gradients" that appears inside the same folder as the stack. A new stack is created with the polygonal graphics filled with different gradients... Now, comes the interesting part. Did you noticed that in the new created stack there are some circular shapes filled with radial gradients? Remember that these are polygonal graphics, not circles. Grab any of these circular graphics for a corner and enlarge it... Now all the rough edges becomes apparent in the enlarged figure. You could convert this rough circular figure in a true vector circle with a single step: Select the enlarged vector graphics and open the Properties Inspector panel. Then, inside this panel, change the Type of graphic from "Polygonal" to "Oval" Now, you have an Oval graphic instead of a rough polygonal graphic. You could do the same with the "Rounded Rectangle" (and set the correct corner radius) and "Regular polygon" (and set the angle and number of sides) This apparent simple conversion opens a whole new world of oportunities to create polished interfaces using gradients and vector graphics... Please, do some test and report your results. If there is any glitch in the linear and radial gradient import process, report it to look for a solution. Post a link to the ilustrator file (version 7 or inferior) to download and check the file in detail. Notice that I use the graphics software named Xara to create these ilustrator (version 7) files. Have a nice weekend! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/An-really-useful-property-for-vector-graphics-tp4035584p4035584.html Sent from the Revolution - User mailing list archive at Nabble.com. From andre at andregarzia.com Sat Nov 12 20:41:42 2011 From: andre at andregarzia.com (Andre Garzia) Date: Sat, 12 Nov 2011 23:41:42 -0200 Subject: [ANN] tmCONTROL - Custom Interface Components for LiveCode Developers In-Reply-To: References: <4042F5C4-22E1-4526-9941-51FA91398F0A@numericable.com> Message-ID: I just want to say that I brought the PRO version and I am quite happy with it. I've purchased many (if not all) tools that Scott made available thru all these years and every time he surprises me. His tools are at the same time aesthetically pleasing and functional, two qualities not usually found together. He pushes the usability of LiveCode forward more than many developers here. While many developers create tools that are really useful and powerful, Scott has the gift of creating tools that are not only useful but pleasant (fun) to use. I measure my tools in a unit I call rossium, which is how close I am to scott rossi ideal. My closest tool reached 40% rossium and that was good enough for me. Seriously guys, if you don't have ever tried any of tactile media tools, you should. Whenever Scott releases some new marvel. I simply observe it for a while, then, I tend to buy it and then observe more. I want to grasp the details, the care, the passion for powerful features and great UX that he puts into it. One day I will understand, until then I will simply admire it. Thanks Scott for all the tools thru all these years. =) From jhj at jhj.com Sat Nov 12 21:53:30 2011 From: jhj at jhj.com (Jerry Jensen) Date: Sat, 12 Nov 2011 18:53:30 -0800 Subject: [ANN] tmCONTROL - Custom Interface Components for LiveCode Developers In-Reply-To: References: <4042F5C4-22E1-4526-9941-51FA91398F0A@numericable.com> Message-ID: <96F7C8D2-5168-4B7F-9211-7D4389428A05@jhj.com> Well put, Andre! --Jerry Jensen On Nov 12, 2011, at 5:41 PM, Andre Garzia wrote: > I just want to say that I brought the PRO version and I am quite happy with > it. > > I've purchased many (if not all) tools that Scott made available thru all > these years and every time he surprises me. His tools are at the same time > aesthetically pleasing and functional, two qualities not usually found > together. He pushes the usability of LiveCode forward more than many > developers here. While many developers create tools that are really useful > and powerful, Scott has the gift of creating tools that are not only useful > but pleasant (fun) to use. I measure my tools in a unit I call rossium, > which is how close I am to scott rossi ideal. My closest tool reached 40% > rossium and that was good enough for me. > > Seriously guys, if you don't have ever tried any of tactile media tools, > you should. Whenever Scott releases some new marvel. I simply observe it > for a while, then, I tend to buy it and then observe more. I want to grasp > the details, the care, the passion for powerful features and great UX that > he puts into it. One day I will understand, until then I will simply admire > it. > > Thanks Scott for all the tools thru all these years. =) > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jhurley0305 at sbcglobal.net Sun Nov 13 01:01:57 2011 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Sat, 12 Nov 2011 22:01:57 -0800 Subject: mouse within oval filled area In-Reply-To: References: Message-ID: <27C38FAD-9161-4B44-B18C-82E9ABA696B9@sbcglobal.net> Hugh, Would this help? The script below will draw a polygon that looks like an ellipse with a start and stop angle. The trouble with the start angle and the arcangle in RR is that they are not polar angles but are related in a complex way: arcAngle = arctangent( b/a * tangent(polarangle) (Don't ask.) And then use a mousewithin handler for the "oval" grc--actually a polygon local a,b on mouseUp put 10 into tStartAngle -- Or whatever put 250 into tEndAngle -- Or whatever put 200 into a --Semi major axis put 100 into b -- Semi minor axis put 300 into x0 -- The origin put 250 into y0 -- The origin put x0,y0 & cr into tPoints --Construct the points for the ellipse repeat with i = tStartANgle to tEndANgle put r(i) into tR put round ( x0 + r(i) * cos(i*pi/180)), round(y0+r(i) * sin(i*pi/180)) into temp put temp & cr after tPoints end repeat put x0,y0 after tPoints --Construct the graphic if there is no grc "oval" then create grc "oval" set the style of grc "oval" to "polygon" set the opaque of grc "oval" to true set the points of grc "oval" to tPoints end mouseUp function r tA --Radial distance to the ellipse as afunction of the angle put (cos(tA*pi/180))^2 / (a*a) + (sin(tA*pi/180))^2 / (b*b) into temp return 1/sqrt(temp) end r > Has anyone worked out how to test if the mouseLoc is within the filled area > of an oval graphic (defined by startAngle and arcAngle)? I was thinking > polar coordinates, but this assumes a circle and a fixed radius which is not > necessarily the case. A btter math brain than mine is needed! > > Hugh Senior > FLCo From jacque at hyperactivesw.com Sun Nov 13 01:29:47 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 13 Nov 2011 00:29:47 -0600 Subject: mouse within oval filled area In-Reply-To: <27C38FAD-9161-4B44-B18C-82E9ABA696B9@sbcglobal.net> References: <27C38FAD-9161-4B44-B18C-82E9ABA696B9@sbcglobal.net> Message-ID: <4EBF63DB.8040000@hyperactivesw.com> On 11/13/11 12:01 AM, James Hurley wrote: > function r tA --Radial distance to the ellipse as afunction of the angle > put (cos(tA*pi/180))^2 / (a*a) + (sin(tA*pi/180))^2 / (b*b) into temp > return 1/sqrt(temp) > end r This means something, right? Well, for your information I happen to know how to say "beer" in Turkish. So there. :P -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sc at sahores-conseil.com Sun Nov 13 02:40:44 2011 From: sc at sahores-conseil.com (Pierre Sahores) Date: Sun, 13 Nov 2011 08:40:44 +0100 Subject: mouse within oval filled area In-Reply-To: <27C38FAD-9161-4B44-B18C-82E9ABA696B9@sbcglobal.net> References: <27C38FAD-9161-4B44-B18C-82E9ABA696B9@sbcglobal.net> Message-ID: <3131E6EC-F500-4E0D-BFE1-464D87FE1121@sahores-conseil.com> James, "Magnifique*! Pierre Le 13 nov. 2011 ? 07:01, James Hurley a ?crit : > Hugh, > > Would this help? The script below will draw a polygon that looks like an ellipse with a start and stop angle. > > The trouble with the start angle and the arcangle in RR is that they are not polar angles but are related in a complex way: > > arcAngle = arctangent( b/a * tangent(polarangle) > > (Don't ask.) > > And then use a mousewithin handler for the "oval" grc--actually a polygon > > > local a,b > > on mouseUp > put 10 into tStartAngle -- Or whatever > put 250 into tEndAngle -- Or whatever > put 200 into a --Semi major axis > put 100 into b -- Semi minor axis > put 300 into x0 -- The origin > put 250 into y0 -- The origin > put x0,y0 & cr into tPoints > --Construct the points for the ellipse > repeat with i = tStartANgle to tEndANgle > put r(i) into tR > put round ( x0 + r(i) * cos(i*pi/180)), round(y0+r(i) * sin(i*pi/180)) into temp > put temp & cr after tPoints > end repeat > > put x0,y0 after tPoints > --Construct the graphic > if there is no grc "oval" then create grc "oval" > set the style of grc "oval" to "polygon" > set the opaque of grc "oval" to true > set the points of grc "oval" to tPoints > end mouseUp > > > function r tA --Radial distance to the ellipse as afunction of the angle > put (cos(tA*pi/180))^2 / (a*a) + (sin(tA*pi/180))^2 / (b*b) into temp > return 1/sqrt(temp) > end r > >> Has anyone worked out how to test if the mouseLoc is within the filled area >> of an oval graphic (defined by startAngle and arcAngle)? I was thinking >> polar coordinates, but this assumes a circle and a fixed radius which is not >> necessarily the case. A btter math brain than mine is needed! >> >> Hugh Senior >> FLCo > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From richmondmathewson at gmail.com Sun Nov 13 04:26:16 2011 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 13 Nov 2011 11:26:16 +0200 Subject: An really useful property for vector graphics In-Reply-To: <1321142385986-4035584.post@n4.nabble.com> References: <1321142385986-4035584.post@n4.nabble.com> Message-ID: <4EBF8D38.4080906@gmail.com> On 11/13/2011 01:59 AM, Alejandro Tejada wrote: > Hi All, > > How many of you have downloaded and test > the stack "Eps Import v05B" > > http://www.megaupload.com/?d=TL5QP5WD > > Please, download this compressed folder to show > you a really useful property for vector graphics. > > Open the stack "eps_import_v05B" and click in the > topleft button to import the adobe ilustrator file > named "Gradients" that appears inside the same > folder as the stack. > > A new stack is created with the polygonal graphics > filled with different gradients... Now, comes the > interesting part. > > Did you noticed that in the new created stack there > are some circular shapes filled with radial gradients? > Remember that these are polygonal graphics, not circles. > > Grab any of these circular graphics for a corner and > enlarge it... Now all the rough edges becomes > apparent in the enlarged figure. > > You could convert this rough circular figure in a > true vector circle with a single step: > > Select the enlarged vector graphics and open the > Properties Inspector panel. Then, inside this panel, > change the Type of graphic from "Polygonal" to "Oval" > Now, you have an Oval graphic instead of a > rough polygonal graphic. > > You could do the same with the "Rounded Rectangle" > (and set the correct corner radius) and "Regular > polygon" (and set the angle and number of sides) > > This apparent simple conversion opens a whole new world > of oportunities to create polished interfaces using > gradients and vector graphics... > > Please, do some test and report your results. > If there is any glitch in the linear and radial gradient > import process, report it to look for a solution. > Post a link to the ilustrator file (version 7 or inferior) > to download and check the file in detail. > > Notice that I use the graphics software named > Xara to create these ilustrator (version 7) files. > > Have a nice weekend! Thanks Alejandro; my weekend will be NICER now, with your stack! > Al > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/An-really-useful-property-for-vector-graphics-tp4035584p4035584.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 Sun Nov 13 05:57:31 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sun, 13 Nov 2011 11:57:31 +0100 Subject: iOS forcing interface rotation In-Reply-To: References: Message-ID: <2F155AB7-CD05-4E20-B7D3-4E796B94B8EF@mac.com> I'm not developing in iOS, but this intrigued me. It seems you can't force a reorientation (feature request?), but you can force a lock, by using the iphoneSetAllowedOrientations with a single entry, if the user then rotates the device, the new restrictions will be adhered after that point. However, it seems not to be possible to force the device to receive an orientation refresh by script. --random step during my testing on mouseUp --iphoneLockOrientation put iphoneAllowedOrientations() into prevAllowed put iphoneDeviceOrientation() into theCurr if theCurr contains "landscape" then put "portrait" into theNew else put "landscape left" into theNew end if iphoneSetAllowedOrientations theNew --maybe its possible to set iphoneOrientation()? --nope does nothing --put iphoneOrientation(theNew) --reset and force a redraw? nope, doesn't help it seems iphoneSetAllowedOrientations theCurr --iphoneUnlockOrientation end mouseUp On 13 Nov 2011, at 00:19, Scott Morrow wrote: > Hello Hugh, > > I don't believe LC provides a way to do this. At one point I created an animation that took over the screen and prompted the user to rotate the device. That was the best I could come up with. > > -Scott Morrow > > On Nov 10, 2011, at 7:46 AM, FlexibleLearning wrote: > >> Did anyone figure how to do this? I need exactly the same thing: All stack >> windows are landscape, except 1 which must be portrait. >> >> How do we force an orientation change without requiring the user to >> physically rotate the device? >> >> Hugh Senior >> FLCo >> >> >> >> On Tue Aug 2 09:23:51 CDT 2011 Scott Morrow wrote: >> >> I am working with an iOS UI that allows portrait and landscape rotation on >> one card but requires that the UI be presented in portrait on all other >> cards. no matter what the actual device rotation is. The problem arises >> when leaving the card that allows landscape and going to a card that >> requires portrait. If the user navigates to a "portrait only" card with >> device already in landscape, the UI is skewed. Is there a way to force the >> auto-rotation without requiring the user to physically rotate the device? >> (I had hoped perhaps some trickery with mobileSetAllowedOrientations and >> mobileLockOrientation /mobileUnlockOrientation.) >> >> TIA, >> >> Scott Morrow >> >> Elementary Software >> (Now with 20% less chalk dust!) >> web http://elementarysoftware.com/ >> email scott at elementarysoftware.com >> ------------------------------------------------------ >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Watch live presentations every Saturday: http://livecode.tv Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From niggemann at uni-wh.de Sun Nov 13 06:48:58 2011 From: niggemann at uni-wh.de (BNig) Date: Sun, 13 Nov 2011 03:48:58 -0800 (PST) Subject: mouse within oval filled area In-Reply-To: <1321140188418-4035498.post@n4.nabble.com> References: <1321140188418-4035498.post@n4.nabble.com> Message-ID: <1321184938368-4036414.post@n4.nabble.com> a simplifyed version of the "hack" to get at the boundaries of a oval with startangle and arcangle set. Again to get the area of a oval graphic with a startangle and an arcangle set and opaque = true you could use the new 5.0 intersect(object,object,"pixels") syntax. You would have to cheat though in that you create a hidden polygon graphic "hidden" and call your start/arcangle graphic "halfCircle" plus a field for feedback (for testing) the script of the graphic "halfCircle": ------------------------------------------------- on mouseWithin set the points of grc "hidden" to the mouseLoc if intersect(graphic "halfCircle", grc "hidden", "pixels") then put the mouseColor && the milliseconds into field 1 else put "" into field 1 end if end mouseWithin on mouseLeave put "" into field 1 end mouseLeave ------------------------------------------------- Depending on your needs you could change this to mouseMove. Maybe it would be nice if the 'within' syntax would also have the option of pixels. No more clunky workarounds. within(object,point,"pixels") Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/mouse-within-oval-filled-area-tp4034252p4036414.html Sent from the Revolution - User mailing list archive at Nabble.com. From bonnmike at gmail.com Sun Nov 13 08:51:41 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 13 Nov 2011 06:51:41 -0700 Subject: mouse within oval filled area In-Reply-To: <1321184938368-4036414.post@n4.nabble.com> References: <1321140188418-4035498.post@n4.nabble.com> <1321184938368-4036414.post@n4.nabble.com> Message-ID: This is probably a silly idea, but.. if you have AE 5 with its collision detection, maybe you can drag a hidden pixel around at the mouseloc and set your ovals up to detect collisions. At which point a message is sent with all the From bonnmike at gmail.com Sun Nov 13 08:53:00 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 13 Nov 2011 06:53:00 -0700 Subject: mouse within oval filled area In-Reply-To: References: <1321140188418-4035498.post@n4.nabble.com> <1321184938368-4036414.post@n4.nabble.com> Message-ID: oops. accidental send on that last one. Clumsy day for me! As I was saying, if you use AE5 and drag around a pixel at the mouseloc the collision detection stuff in AE5 should make this a piece of cake. On Sun, Nov 13, 2011 at 6:51 AM, Mike Bonner wrote: > This is probably a silly idea, but.. if you have AE 5 with its collision > detection, maybe you can drag a hidden pixel around at the mouseloc and set > your ovals up to detect collisions. At which point a message is sent with > all the From jhurley0305 at sbcglobal.net Sun Nov 13 09:47:40 2011 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Sun, 13 Nov 2011 06:47:40 -0800 Subject: mouse within oval filled area In-Reply-To: References: Message-ID: Jacque, BOL! (Burst out laughing) This may be more recognizable, the equation for the ellipse in rectangular coordinates: x^2 + y^2 ----- ----- = 1 a^2 b^2 Just replace x by r*cos(theta) and y by r*sin(theta) and solve for r. Voila. Well maybe not. Foreign languages are not difficult, just alien. Speaking of which, I have no idea what the emoticon :P means. I hope its not something naughty. After two years of classical Greek I recall (?) that Ho strategos eine micros, means the general is small. (It doesn't look anything like this in modern Greek.) The rest is all Greek to me. Jim > On 11/13/11 12:01 AM, James Hurley wrote: > > function r tA --Radial distance to the ellipse as afunction of the angle > put (cos(tA*pi/180))^2 / (a*a) + (sin(tA*pi/180))^2 / (b*b) into temp > return 1/sqrt(temp) > end r > > > This means something, right? Well, for your information I happen to know > how to say "beer" in Turkish. So there. :P > > -- > Jacqueline Landman Gay | > jacque at hyperactivesw.com > > HyperActive Software | > http://www.hyperactivesw.com From jhurley0305 at sbcglobal.net Sun Nov 13 09:55:09 2011 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Sun, 13 Nov 2011 06:55:09 -0800 Subject: mouse within oval filled area In-Reply-To: References: Message-ID: <808EDDB5-DAAC-4E9F-996C-0043E2BDC1AD@sbcglobal.net> By the way, to see how different the startAngle is from the polar angle, make a very wide oval with a very small height. Set the startangle to 45 degrees and the arcangle to say 250. The start angle appears to be about 10 degrees. From bonnmike at gmail.com Sun Nov 13 10:05:35 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 13 Nov 2011 08:05:35 -0700 Subject: lc shell and command line Message-ID: Hey all, have a question re: parsing command lines. I'm working on an lcshell script (as in a script that mimics a shell like bash) and .. well the simple stuff is simple as you might guess. Its easy enough to set a prompt based on current directory, loop and read stdin for command lines, have it execute commands internal to the script, or execute a shell for external commands as long as they're simple. Currently working on re-creating the functionality of cd command. However, before I proceed too far with this ugly hack it has become apparent that I need better methods of parsing. I'm hoping to include pipes, redirects, etc. Basically I am hoping to make a fully functional interactive lcshell similar to perlsh. Can anyone suggest reading materials, tutorials, examples of this type of parsing that are basic enough to get me started down a better path than the spaghetti code i'm smooshing together so far? (a mixture of switch blocks, ifs, and 'best guesses') Also, there was a post here about lc and the command line, and being able to execute scripts directly. On linux and mac at least, scripts can use the #! method to locate its executable, so lcserver works great for this. In my case lcserver is located in /usr/lib/cgi-bin/livecode-server so putting the following line first in an lc script will cause it to execute. #!/usr/lib/cgi-bin/livecode-server The only negative is lc doesn't know to NOT print the # line. (part of the reason i'm working towards an lcshell type script, start it up, then execute what you want.) Don't forget to set the file to executable of course. From bonnmike at gmail.com Sun Nov 13 10:43:39 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 13 Nov 2011 08:43:39 -0700 Subject: mouse within oval filled area In-Reply-To: <808EDDB5-DAAC-4E9F-996C-0043E2BDC1AD@sbcglobal.net> References: <808EDDB5-DAAC-4E9F-996C-0043E2BDC1AD@sbcglobal.net> Message-ID: Just tried doing the detection using AE5 and it works like a champ. With the collisionListernerDemo, a couple really simple changes gets the job done. in the card script I added the following: #### command startMove if tMoving is empty then put false into tMoving --put false into tMoving put not tMoving into tMoving mover end startMove command mover if tMoving then lock screen set the loc of grc "grmypnt" to the mouseloc unlock screen send mover to me in 10 milliseconds end if end mover #### In the button script that starts the demo listening I added a startmove call so the final handler ends up as so: #### --> all handlers on mouseUp pMouseBtnNo if "animationEngine" is not among the lines of the stacksInUse then answer "This stack needs animationEngine 5 or higher to run." exit mouseUp end if aeStopListeningForCollisions local tList set the flag of me to not the flag of me if the flag of me then -- set up graphics to be draggable repeat with i=1 to the number of graphics set the constrainRectangular of graphic i to the rect of this cd -- graphics need to be opaque to be draggable set the opaque of graphic i to true end repeat repeat with i = 2 to the number of graphics --put the long id of graphic i &",bounds"& cr after tList put the long id of graphic i & cr after tList end repeat -- remove trailing carriage return delete char -1 of tList set the aeListenForCollisionsWith of graphic 1 to tList -- right now we assume all but graphic 1 are predators -- you could set up lists for each graphic though aeStartListeningForCollisions set the label of me to "Stop listening for collisions" else aeStopListeningForCollisions set the label of me to "Start listening for collisions" end if startMove -- my change end mouseUp #### I then created a grc named grmypnt and moved its layer to the back so that it becomes the focus of the listener. It also needs to be moved to the back so you can still click other items. (otherwise you're clicking the graphic no matter WHERE the mouse is. On moving the mouse around and over the other graphics, the output field populates with the other graphics that are being mouseovered. Seems to work pretty well. From bonnmike at gmail.com Sun Nov 13 10:45:06 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 13 Nov 2011 08:45:06 -0700 Subject: mouse within oval filled area In-Reply-To: References: <808EDDB5-DAAC-4E9F-996C-0043E2BDC1AD@sbcglobal.net> Message-ID: Oh, forgot to mention. The really cool thing about the collision listener is if you have overlapping graphics, it will list all of them as collisions. AE5 is just too cool. On Sun, Nov 13, 2011 at 8:43 AM, Mike Bonner wrote: > Just tried doing the detection using AE5 and it works like a champ. > > With the collisionListernerDemo, a couple really simple changes gets the > job done. > > in the card script I added the following: > > #### > command startMove > if tMoving is empty then put false into tMoving > --put false into tMoving > put not tMoving into tMoving > mover > end startMove > > command mover > if tMoving then > lock screen > set the loc of grc "grmypnt" to the mouseloc > unlock screen > send mover to me in 10 milliseconds > end if > end mover > #### > > In the button script that starts the demo listening I added a startmove > call so the final handler ends up as so: > > #### > --> all handlers > > on mouseUp pMouseBtnNo > if "animationEngine" is not among the lines of the stacksInUse then > answer "This stack needs animationEngine 5 or higher to run." > exit mouseUp > end if > aeStopListeningForCollisions > local tList > set the flag of me to not the flag of me > if the flag of me then > -- set up graphics to be draggable > repeat with i=1 to the number of graphics > set the constrainRectangular of graphic i to the rect of this cd > -- graphics need to be opaque to be draggable > set the opaque of graphic i to true > end repeat > repeat with i = 2 to the number of graphics > --put the long id of graphic i &",bounds"& cr after tList > put the long id of graphic i & cr after tList > end repeat > -- remove trailing carriage return > delete char -1 of tList > set the aeListenForCollisionsWith of graphic 1 to tList > -- right now we assume all but graphic 1 are predators > -- you could set up lists for each graphic though > aeStartListeningForCollisions > set the label of me to "Stop listening for collisions" > else > aeStopListeningForCollisions > set the label of me to "Start listening for collisions" > end if > startMove -- my change > end mouseUp > #### > > I then created a grc named grmypnt and moved its layer to the back so that > it becomes the focus of the listener. It also needs to be moved to the back > so you can still click other items. (otherwise you're clicking the graphic > no matter WHERE the mouse is. > > On moving the mouse around and over the other graphics, the output field > populates with the other graphics that are being mouseovered. Seems to work > pretty well. > From capellan2000 at gmail.com Sun Nov 13 12:44:40 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 13 Nov 2011 09:44:40 -0800 (PST) Subject: An really useful property for vector graphics In-Reply-To: <4EBF8D38.4080906@gmail.com> References: <1321142385986-4035584.post@n4.nabble.com> <4EBF8D38.4080906@gmail.com> Message-ID: <1321206280246-4037047.post@n4.nabble.com> Hi Richmond, Richmond Mathewson-2 wrote: > > Thanks Alejandro; my weekend will be NICER now, with your stack! > You are welcome! :-D I am glad that this is useful in some way, but it's good to remember that we should be using Ian MacPhail's creation: SVGL http://revonline2.runrev.com/stack/112/SVGL Hopefully, he will update his awesome work allowing to import gradients, transparencies and basic shapes as rectangles (including optional rounded corners), circles, ellipses and polygons from svg files. Notice that every vector graphic produced by SVGL is of polygonal type, even when you import any of the basic shapes. Now, Richmond, just for curiosity. Which graphics software do you use to save your graphics as an Adobe Ilustrator file (version 7 or less)? Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/An-really-useful-property-for-vector-graphics-tp4035584p4037047.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Sun Nov 13 13:10:04 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 13 Nov 2011 10:10:04 -0800 Subject: Android Terminal Emulator Message-ID: <2230647718.20111113101004@ahsoftware.net> All- Giving a shoutout to a former coworker, I want to recommend the Best Android Tool Ever. https://market.android.com/details?id=jackpal.androidterm&hl=en -- -Mark Wieder mwieder at ahsoftware.net From cszasz at mac.com Sun Nov 13 13:14:31 2011 From: cszasz at mac.com (Charles Szasz) Date: Sun, 13 Nov 2011 13:14:31 -0500 Subject: Problem with reading Preferences file Message-ID: I am able to set up Preferences for my app. But the following script in the preOpenStack will NOT retrieve the data Preferences. Here is my script: IF the platform is "MacOS" then if there is a file (specialFolderPath(26) & "/" & "mileage_prefs") then put url ("binfile:" & specialFolderPath("preferences") & "/" & "mileage_prefs") into tPrefs put tPrefs["name"] into field "name" of card "one" of stack "mileage report" put tPrefs["name"] into field "name" of card id 1002 of stack "prefs" end if end if I also have the same problem on the Windows version of my app: IF the platform is "win32" then if there is a file (specialFolderPath(26) & "/" & "mileage_prefs") then put url ("binfile:" & specialFolderPath(26) & "/" & "mileage_prefs") into tPrefs put arrayDecode(tPrefs) into tPrefs put tPrefs["name"] into field "name" of card "one" of stack "mileage report" put tPrefs["name"] into field "name" of card id 1002 of stack "prefs" end if end if Any suggestions would be greatly appreciated!!! Charles Szasz cszasz at mac.com From klaus at major.on-rev.com Sun Nov 13 13:24:36 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sun, 13 Nov 2011 19:24:36 +0100 Subject: Problem with reading Preferences file In-Reply-To: References: Message-ID: Hi Charles, Am 13.11.2011 um 19:14 schrieb Charles Szasz: > I am able to set up Preferences for my app. But the following script in the preOpenStack will NOT retrieve the data Preferences. Here is my script: > > IF the platform is "MacOS" then > if there is a file (specialFolderPath(26) & "/" & "mileage_prefs") then > put url ("binfile:" & specialFolderPath("preferences") & "/" & "mileage_prefs") into tPrefs ## at this point tPrefs is definitively NOT an array! ## So using ARRAY syntax will give empty values! > put tPrefs["name"] into field "name" of card "one" of stack "mileage report" > put tPrefs["name"] into field "name" of card id 1002 of stack "prefs" > end if > end if Same for Windows! > Any suggestions would be greatly appreciated!!! How did you save that prefs file? Of course you need to go "the other way round" when reading the file! > Charles Szasz Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From mike at doub.com Sun Nov 13 13:30:03 2011 From: mike at doub.com (Michael Doub) Date: Sun, 13 Nov 2011 13:30:03 -0500 Subject: DataGrid Speed Message-ID: <0EFF261B-CF20-4FCF-A072-F39011464109@doub.com> Does anyone understand the basic internal workings of DataGrid enough to help me understand what is going on. I am trying to use the least amount of memory and maximize performance on IOS. I have a field of 4000 lines with 6 items in each line that have been pre-sorted. Is it better for me to set the dgText or manually create an array and use dgData. Either I create the array or the data grid library does. Is the data grid library unpacking this array into text anyway? What is going on under the covers with persistent data? Can I climate a copy of the data if this is turned off? Thanks in advance. -= Mike From mike at doub.com Sun Nov 13 13:44:18 2011 From: mike at doub.com (Michael Doub) Date: Sun, 13 Nov 2011 13:44:18 -0500 Subject: DataGrid Speed In-Reply-To: <0EFF261B-CF20-4FCF-A072-F39011464109@doub.com> References: <0EFF261B-CF20-4FCF-A072-F39011464109@doub.com> Message-ID: <504E402A-6F5C-4847-954E-51BB088C417C@doub.com> > > What is going on under the covers with persistent data? Can I climate a copy of the data if this is turned off? Sorry I was not clear. I understand that if persistent data is use the dgData is stored in a custom property. What about dgText? Is it recreated for the next session? From jacque at hyperactivesw.com Sun Nov 13 13:48:32 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 13 Nov 2011 12:48:32 -0600 Subject: Android Terminal Emulator In-Reply-To: <2230647718.20111113101004@ahsoftware.net> References: <2230647718.20111113101004@ahsoftware.net> Message-ID: <4EC01100.1080205@hyperactivesw.com> On 11/13/11 12:10 PM, Mark Wieder wrote: > All- > > Giving a shoutout to a former coworker, I want to recommend the Best > Android Tool Ever. > > https://market.android.com/details?id=jackpal.androidterm&hl=en > Thanks for the heads-up. This is lovely and even better, free. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From cszasz at mac.com Sun Nov 13 13:57:38 2011 From: cszasz at mac.com (Charles Szasz) Date: Sun, 13 Nov 2011 13:57:38 -0500 Subject: Problem with reading Preferences file Message-ID: <8F11908E-2D85-4575-B5CF-1104FFE1C1EB@mac.com> Klaus, I left out this bit code: (put arrayDecode(tPrefs)into tPrefs) So, my code looks like this: IF the platform is "MacOS" then if there is a file (specialFolderPath(26) & "/" & "mileage_prefs") then put url ("binfile:" & specialFolderPath("preferences") & "/" & "mileage_prefs") into tPref put arrayDecode(tPrefs)into tPrefs put tPrefs["name"] into field "name" of card id 1002 of stack "prefs" put tPrefs["name"] into field "name" of card "one" of stack "mileage report" end if end if IF the platform is "win32" then if there is a file (specialFolderPath(26) & "/" & "mileage_prefs") then put url ("binfile:" & specialFolderPath(26) & "/" & "mileage_prefs") into tPrefs put arrayDecode(tPrefs) into tPrefs -- now fill in all my data... put tPrefs["name"] into field "name" of card id 1002 of stack "prefs" end if end if Charles Szasz cszasz at mac.com From m.schonewille at economy-x-talk.com Sun Nov 13 14:06:48 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 13 Nov 2011 20:06:48 +0100 Subject: Problem with reading Preferences file In-Reply-To: <8F11908E-2D85-4575-B5CF-1104FFE1C1EB@mac.com> References: <8F11908E-2D85-4575-B5CF-1104FFE1C1EB@mac.com> Message-ID: Hi Charles, This doesn't solve the problem on Windows, but try specialfolderpath("preferences") instead of specialfolderpath(26) In Mac OS X. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission! On 13 nov 2011, at 19:57, Charles Szasz wrote: > Klaus, > > I left out this bit code: (put arrayDecode(tPrefs)into tPrefs) So, my code looks like this: > > IF the platform is "MacOS" then > if there is a file (specialFolderPath(26) & "/" & "mileage_prefs") then > put url ("binfile:" & specialFolderPath("preferences") & "/" & "mileage_prefs") into tPref > > put arrayDecode(tPrefs)into tPrefs > > put tPrefs["name"] into field "name" of card id 1002 of stack "prefs" > put tPrefs["name"] into field "name" of card "one" of stack "mileage report" > end if > end if > > IF the platform is "win32" then > if there is a file (specialFolderPath(26) & "/" & "mileage_prefs") then > put url ("binfile:" & specialFolderPath(26) & "/" & "mileage_prefs") into tPrefs > > put arrayDecode(tPrefs) into tPrefs > -- now fill in all my data... > put tPrefs["name"] into field "name" of card id 1002 of stack "prefs" > end if > > end if > > > > Charles Szasz > cszasz at mac.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major.on-rev.com Sun Nov 13 14:08:31 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sun, 13 Nov 2011 20:08:31 +0100 Subject: Problem with reading Preferences file In-Reply-To: <8F11908E-2D85-4575-B5CF-1104FFE1C1EB@mac.com> References: <8F11908E-2D85-4575-B5CF-1104FFE1C1EB@mac.com> Message-ID: <3BBE0110-59CE-43CB-B995-13F5BCD90B93@major.on-rev.com> Hi Charles, Am 13.11.2011 um 19:57 schrieb Charles Szasz: > Klaus, > > I left out this bit code: (put arrayDecode(tPrefs)into tPrefs) AHA! :-D > So, my code looks like this: > IF the platform is "MacOS" then > if there is a file (specialFolderPath(26) & "/" & "mileage_prefs") then OK, there is no specialfolderpath (26) on a Mac but a specialfolderpath("preferences")! Otherwise this should work! > put url ("binfile:" & specialFolderPath("preferences") & "/" & "mileage_prefs") into tPref Here you use the correct specialfolderpath, but now its too late ;-) > put arrayDecode(tPrefs)into tPrefs > put tPrefs["name"] into field "name" of card id 1002 of stack "prefs" > put tPrefs["name"] into field "name" of card "one" of stack "mileage report" > end if > end if > > IF the platform is "win32" then > if there is a file (specialFolderPath(26) & "/" & "mileage_prefs") then > put url ("binfile:" & specialFolderPath(26) & "/" & "mileage_prefs") into tPrefs > put arrayDecode(tPrefs) into tPrefs > -- now fill in all my data... > put tPrefs["name"] into field "name" of card id 1002 of stack "prefs" > end if > end if See abvoe, this shouold work in general. How and what do you save? > Charles Szasz > cszasz at mac.com Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From cszasz at mac.com Sun Nov 13 14:20:29 2011 From: cszasz at mac.com (Charles Szasz) Date: Sun, 13 Nov 2011 14:20:29 -0500 Subject: Problem with reading Preferences file Message-ID: <8879D3C3-5A6F-46ED-9E2A-01925C8339DB@mac.com> Mark and Klaus, Yes, you are right. put url ("binfile:" & specialFolderPath("preferences") & "/" & "mileage_prefs") does work! I will try the following Windows code again and see if it will work. The last time it did not work. IF the platform is "win32" then if there is a file (specialFolderPath(26) & "/" & "mileage_prefs") then put url ("binfile:" & specialFolderPath(26) & "/" & "mileage_prefs") into tPrefs put arrayDecode(tPrefs) into tPrefs -- now fill in all my data... put tPrefs["name"] into field "name" of card id 1002 of stack "prefs" put tPrefs["name"] into field "name" of card "one" of stack "mileage report" end if end if Thanks!! Charles Szasz cszasz at mac.com From jacque at hyperactivesw.com Sun Nov 13 14:22:59 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 13 Nov 2011 13:22:59 -0600 Subject: mouse within oval filled area In-Reply-To: References: Message-ID: <4EC01913.2050508@hyperactivesw.com> On 11/13/11 8:47 AM, James Hurley wrote: > Jacque, > > BOL! (Burst out laughing) > > This may be more recognizable, the equation for the ellipse in rectangular coordinates: > > x^2 + y^2 > ----- ----- = 1 > a^2 b^2 > > Just replace x by r*cos(theta) and y by r*sin(theta) and solve for r. Voila. Oh, of course. I should have thought of that... > Speaking of which, I have no idea what the emoticon :P means. It means I'm sticking out my tongue at you. Nyah. But seriously, I'm totally in awe. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From zryip.theslug at gmail.com Sun Nov 13 14:51:20 2011 From: zryip.theslug at gmail.com (zryip theSlug) Date: Sun, 13 Nov 2011 20:51:20 +0100 Subject: DataGrid Speed In-Reply-To: <504E402A-6F5C-4847-954E-51BB088C417C@doub.com> References: <0EFF261B-CF20-4FCF-A072-F39011464109@doub.com> <504E402A-6F5C-4847-954E-51BB088C417C@doub.com> Message-ID: On Sun, Nov 13, 2011 at 7:44 PM, Michael Doub wrote: > >> >> What is going on under the covers with persistent data? ? Can I climate a copy of the data if this is turned off? > > > Sorry I was not clear. ? ?I understand that if persistent data is use the dgData is stored in a custom property. ? What about dgText? ? Is it recreated for the next session? Hello Mike, If the persistent data of a datagrid is set to true, the data will persist under sessions, whatever you chose to populate it with dgText or dgData. If the stack is saved as a standalone, the data stored in the datagrid, before the save of the stack, will be available under sessions. However if the datagrid is in the standalone, data updates will be not persistent, because custom properties in a standalone are not stored. Have a look to this lesson about storing data in custom properties in a standalone: http://lessons.runrev.com/s/lessons/m/4071/l/17375-How-do-I-save-custom-properties-in-a-standalone-application- > Is it better for me to set the dgText or manually create an array and use dgData. The datagrid engine works internally with arrays. So when you populate the datagrid with dgText, the data is parsed and the engine sets the dgData property. So for performances, dgData should be prefer. Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.com From richmondmathewson at gmail.com Sun Nov 13 15:48:08 2011 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 13 Nov 2011 22:48:08 +0200 Subject: An really useful property for vector graphics In-Reply-To: <1321142385986-4035584.post@n4.nabble.com> References: <1321142385986-4035584.post@n4.nabble.com> Message-ID: <4EC02D08.8030204@gmail.com> On 11/13/2011 01:59 AM, Alejandro Tejada wrote: > Hi All, > > How many of you have downloaded and test > the stack "Eps Import v05B" > > http://www.megaupload.com/?d=TL5QP5WD > > Please, download this compressed folder to show > you a really useful property for vector graphics. > > Open the stack "eps_import_v05B" and click in the > topleft button to import the adobe ilustrator file > named "Gradients" that appears inside the same > folder as the stack. > > A new stack is created with the polygonal graphics > filled with different gradients... Now, comes the > interesting part. > > Did you noticed that in the new created stack there > are some circular shapes filled with radial gradients? > Remember that these are polygonal graphics, not circles. Well: 4.5 SalineOS (Debian 6) GNOME (gdm3) imported Gradients.ai as a solid graphic where individual circular shapes filled with radial gradients cannot be grabbed. [Should point out that 4.5 works like a charm on SalineOS - which, with GNOME 2 is my current "Yar-Boo-Sucks" to Shufflebottom over at Ubuntu] [Tangentially, and completely off-topic; what thinks you-all about MATE; the GNOME 2 thingy for all of us who are a bit disquieted about Unity and GNOME3 ???] Unable to import several of my own "things" exported from Xara Xtreme. Unable to import your other .ai files in the folder. Something going on a bit odd. Just to be "awkward" I saved a copy of your stack in 'legacy' format and opened it with RunRev 2.2.1 for Linux, and it made a mess, but in a different way to 4.5. Currently my Mac is "on holiday", but will be set up again tomorrow night, and at that point I shall try it with 4.0, Dreamcard 2.6.1 and so on, and, with luck, I will have some joy. > Grab any of these circular graphics for a corner and > enlarge it... Now all the rough edges becomes > apparent in the enlarged figure. > > Please, do some test and report your results. > If there is any glitch in the linear and radial gradient > import process, report it to look for a solution. > Post a link to the ilustrator file (version 7 or inferior) > to download and check the file in detail. > > Notice that I use the graphics software named > Xara to create these ilustrator (version 7) files. > > Have a nice weekend! > > Al From admin at FlexibleLearning.com Sun Nov 13 16:04:43 2011 From: admin at FlexibleLearning.com (FlexibleLearning) Date: Sun, 13 Nov 2011 21:04:43 -0000 Subject: mouse within oval filled area: A solution using geometry In-Reply-To: Message-ID: For those who do not have LC5 or AE (ideas already suggested), here is a solution to detect whether a point is within the filled area of an oval graphic using polar geometry. It is offered as a starting point for a more compact solution. on mouseUp --| Syntax: isWithinSegment(long ID,point) put isWithinSegment(the long id of grc "myOval",the mouseLoc) end mouseUp function isWithinSegment pGrc.obj,pLoc --| pGrc.obj is the long id of the graphic --| pLoc is a point expressed as x,y --| Returned value is "TRUE" or "FALSE" if word 1 of pGrc.obj <> "graphic" then return "" if the style of pGrc.obj <> "oval" then return "" put the startAngle of pGrc.obj into tSA put the arcAngle of pGrc.obj into tAA put the width of pGrc.obj into W put the height of pGrc.obj into H put item 1 of the loc of pGrc.obj into objX put item 2 of the loc of pGrc.obj into objY put item 1 of pLoc into pointX put item 2 of pLoc into pointY --| Get the point's relative coordinates... put pointX - objX into x put pointY - objY into y if y=0 then --| Handle the exceptions... if x>0 then put 0 into tAngle else put 180 into tAngle else put atan ((x*H)/(y*W)) into tAngle --| Convert from radians to degrees... put (tAngle * 180 / pi) into tAngle --| Adjust the angle according to the quadrant... put (tAngle MOD 180)+90 into tAngle if y>0 then add 180 to tAngle end if return (tAngle>= tSA) AND (tAngle<=tSA+tAA) end isWithinSegment Hugh Senior FLCo From mpezzo at gmail.com Sun Nov 13 17:19:56 2011 From: mpezzo at gmail.com (AcidJazz) Date: Sun, 13 Nov 2011 14:19:56 -0800 (PST) Subject: Nice Leonardo da Vinci Bezier, just a click away In-Reply-To: References: <61933CB0-7E32-4784-B953-C026F1CD1651@dsa-net.dk> <1320337799267-3986625.post@n4.nabble.com> Message-ID: <1321222796039-4037719.post@n4.nabble.com> Thanks Devin. I've been off the grid for a bit, or would have thanked you sooner. Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Nice-Leonardo-da-Vinci-Bezier-just-a-click-away-tp3984964p4037719.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Sun Nov 13 19:55:23 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 13 Nov 2011 16:55:23 -0800 (PST) Subject: An really useful property for vector graphics In-Reply-To: <4EC02D08.8030204@gmail.com> References: <1321142385986-4035584.post@n4.nabble.com> <4EC02D08.8030204@gmail.com> Message-ID: <1321232123281-4037954.post@n4.nabble.com> Hi Richmmond, Richmond Mathewson-2 wrote: > > Well: 4.5 SalineOS (Debian 6) GNOME (gdm3) imported Gradients.ai as a > solid graphic where individual circular shapes filled with radial > gradients > cannot be grabbed. > [snip] > Unable to import several of my own "things" exported from Xara Xtreme. > Unable to import your other .ai files in the folder. > Something going on a bit odd. > Just to be "awkward" I saved a copy of your stack in 'legacy' format and > opened it with RunRev 2.2.1 for Linux, and it made a mess, but in a > different way to 4.5. > [snip] > Could you show me a screenshot of the error that you receive while importing the file "Gradients.ai"? If I remember well, Xara for Linux only export bitmap formats, not vector graphics. The only vector graphics that it supports are other xara files. By the way, the gradients produced by Xara are similar to the kind of gradients that we could use inside Livecode. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/An-really-useful-property-for-vector-graphics-tp4035584p4037954.html Sent from the Revolution - User mailing list archive at Nabble.com. From matthias_livecode_150811 at m-r-d.de Sun Nov 13 20:03:01 2011 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 14 Nov 2011 02:03:01 +0100 Subject: OT: Live Support Chat script/solution? Message-ID: Hi, does anyone know if there is a free LiveChat/LiveSupport tool available.I am looking for a solution where my website visitors can press a link on my site and a chat windows opens where they can contact me online by chat. I had something already, but the chat app for me was a windows program. But i am looking either for an mac app or better a solution where i have also to login from web instead from a desktop application. I am looking for a solution i can host on my server. Searched Google already, but found only commercial ones with a monthly fee. Regards, Matthias From stephenREVOLUTION2 at barncard.com Sun Nov 13 20:12:19 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 13 Nov 2011 17:12:19 -0800 Subject: OT: Live Support Chat script/solution? In-Reply-To: References: Message-ID: what kind of chat? text, audio or video? On 13 November 2011 17:03, Matthias Rebbe wrote: > Hi, > > does anyone know if there is a free LiveChat/LiveSupport tool available.I > am looking for a solution where my website visitors can press a link on my > site and a chat windows opens where they can contact me online by chat. > > I had something already, but the chat app for me was a windows program. > But i am looking either for an mac app or better a solution where i have > also to login from web instead from a desktop application. > I am looking for a solution i can host on my server. Searched Google > already, but found only commercial ones with a monthly fee. > > Regards, > > Matthias > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From irog at mac.com Sun Nov 13 22:22:30 2011 From: irog at mac.com (Roger Guay) Date: Sun, 13 Nov 2011 19:22:30 -0800 Subject: An really useful property for vector graphics In-Reply-To: References: Message-ID: <82E7449B-7B59-4011-BB1A-E977387C9D6C@mac.com> Al, when i go to your URL, I find no active links to your stack . . . just MegaUpload stuff being advertised there. What am I doing wrong? Thanks, Roger On Nov 13, 2011, at 9:44 AM, use-livecode-request at lists.runrev.com wrote: > Message: 11 > Date: Sat, 12 Nov 2011 15:59:45 -0800 (PST) > From: Alejandro Tejada > To: use-revolution at lists.runrev.com > Subject: An really useful property for vector graphics > Message-ID: <1321142385986-4035584.post at n4.nabble.com> > Content-Type: text/plain; charset=us-ascii > > Hi All, > > How many of you have downloaded and test > the stack "Eps Import v05B" > > http://www.megaupload.com/?d=TL5QP5WD > > Please, download this compressed folder to show > you a really useful property for vector graphics. From roger.e.eller at sealedair.com Sun Nov 13 22:47:07 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 13 Nov 2011 22:47:07 -0500 Subject: An really useful property for vector graphics In-Reply-To: <82E7449B-7B59-4011-BB1A-E977387C9D6C@mac.com> References: <82E7449B-7B59-4011-BB1A-E977387C9D6C@mac.com> Message-ID: On Sun, Nov 13, 2011 at 10:22 PM, Roger Guay wrote: > Al, when i go to your URL, I find no active links to your stack . . . > just MegaUpload stuff being advertised there. What am I doing wrong? > > Thanks, > Roger Look UNDER the large orange Premium Download button, and you will see a count-down from 45 seconds. For the FREE downloads, you must wait 45 seconds (while enjoying the ads), THEN you can download. ?Roger (other Roger) > > From: Alejandro Tejada > > How many of you have downloaded and test the stack "Eps Import v05B" > > > > http://www.megaupload.com/?d=TL5QP5WD > > > > Please, download this compressed folder to show > > you a really useful property for vector graphics. From palcibiades-first at yahoo.co.uk Mon Nov 14 03:12:41 2011 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Mon, 14 Nov 2011 00:12:41 -0800 (PST) Subject: lc shell and command line In-Reply-To: References: Message-ID: <1321258361765-4038742.post@n4.nabble.com> I'm having trouble with the livecode shell and cd command also. pwd in a terminal does: :~/ runrev 4.5/livecode-4.5.2$ cd .. :~/ runrev 4.5$ pwd runrev 4.5$ If you do the exact same things using put shell("...."), this doesn't work. In particular, put shell("pwd") does indeed return the working directory, but put shell("cd ..") does not work at all. Why not? Probably an obvious reason - is it something to do with escaping characters? Peter -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/lc-shell-and-command-line-tp4036681p4038742.html Sent from the Revolution - User mailing list archive at Nabble.com. From mazzapaoloitaly at gmail.com Mon Nov 14 05:01:22 2011 From: mazzapaoloitaly at gmail.com (paolo mazza) Date: Mon, 14 Nov 2011 11:01:22 +0100 Subject: Permanent data in IOS app Message-ID: Hi all. Referring to LC documentation "Each application in iPhoneOS is stored in its own 'sandbox' folder. An application is free to read and write files within this folder and its descendants, but is not allowed to access anything outside of this." So I guess that when you delete the application and reinstall it in the iPhone, all data are gone. But, how can store data permanently? I need data not to be cancelled when the user reinstalls the application or installs a new version of the application . Is it possible? How can I do it ? If it is not possible, I guess I have to record this data in a remote server. How can I get the IPhone Serial Number (or the IMEI or the ICCID ) from a LC app ? Thanks a lot. Paolo Mazza From revlist at azurevision.co.uk Mon Nov 14 05:32:34 2011 From: revlist at azurevision.co.uk (Ian Wood) Date: Mon, 14 Nov 2011 10:32:34 +0000 Subject: Permanent data in IOS app In-Reply-To: References: Message-ID: <3441DF52-36E7-4FD6-BFCC-F5E7786D59C7@azurevision.co.uk> On 14 Nov 2011, at 10:01, paolo mazza wrote: > I need data not to be cancelled when the user reinstalls the > application or installs a new version of the application . > > Is it possible? How can I do it ? Locally on the device this isn't possible. This is intentional on Apple's part - delete an app and you delete *everything* stored by that app. This is also how users expect it to work by now, unless your app is a front-end for a web service such as a Twitter client, people expect a re-installed app to be 'new'. > If it is not possible, I guess I have to record this data in a remote server. > How can I get the IPhone Serial Number (or the IMEI or the ICCID ) > from a LC app ? Not sure this is possible, you might also need to read the iOS developer's documentation as I have a vague memory of access to that info being deprecated/not recommended/not being allowed to pass the information over the network. Does your app require some kind of online password or account? Ian From alessandro at system-ini.it Mon Nov 14 06:40:05 2011 From: alessandro at system-ini.it (Alessandro Pisoni) Date: Mon, 14 Nov 2011 12:40:05 +0100 Subject: how to change the background color to tab panel? Message-ID: <717572D3-1156-4B11-9112-F67EDF4E4B9E@system-ini.it> how to change the background color to tab panel? the problem is under windows xp , 7 , vista the background under windows is white and only white why this? thanks Alessandro Pisoni From revolution at derbrill.de Mon Nov 14 07:14:37 2011 From: revolution at derbrill.de (Malte Brill) Date: Mon, 14 Nov 2011 13:14:37 +0100 Subject: liveCode server on UBUNTU In-Reply-To: References: Message-ID: Hi all, thanks for your patience with me... While with Mikes help, I managed to install the engine under UBUNTU Desktop, I can for the life of me not get it to run on the UBUNTU server version. I do get an error 500, so I suspect now this has something to do with the permissions for the engine, however, I am still unsure on how to test it from the terminal and what else could be wrong... Any ideas much appreciated, Malte From bdrunrev at gmail.com Mon Nov 14 07:26:09 2011 From: bdrunrev at gmail.com (Bernard Devlin) Date: Mon, 14 Nov 2011 12:26:09 +0000 Subject: lc shell and command line In-Reply-To: <1321258361765-4038742.post@n4.nabble.com> References: <1321258361765-4038742.post@n4.nabble.com> Message-ID: put shell("cd ..; pwd") would appear to do what you want. There is going to be no state maintained between different calls of shell(). Thus, changing to a directory in one calls is not (IMO) going to be maintained on a subsequent call of shel|(). Concatenating commands (as I did above using the semi-collon), will mean they run in the same invocation. If you use 'cd' inside a shell such as Tclsh, it will maintain the state of the change in directory. But even in something like Tclsh, there are peculiarities around file globbing etc. I guess you could try 'open process' and then 'talk' to the shell opened that way. Although it's not clear to me that both of you are trying to do the same thing. It looks like the OP may be planning to use LiveCode as a general purpose shell-scripting language. I'm not sure that is possible any more. The way he is invoking it is rather like using PHP as a general purpose shell-scripting language. Bernard On Mon, Nov 14, 2011 at 8:12 AM, Peter Alcibiades wrote: > I'm having trouble with the livecode shell and cd command also. > > pwd in a terminal does: > > ? ? :~/ ?runrev 4.5/livecode-4.5.2$ > > cd .. > > ? ? :~/ ?runrev 4.5$ > > pwd > > ? ? runrev 4.5$ > > If you do the exact same things using put shell("...."), this doesn't work. > In particular, > > ? ? put shell("pwd") > > does indeed return the working directory, but > > ? ? put shell("cd ..") > > does not work at all. ? Why not? Probably an obvious reason - is it > something to do with escaping characters? > > Peter From revolution at derbrill.de Mon Nov 14 08:12:09 2011 From: revolution at derbrill.de (Malte Brill) Date: Mon, 14 Nov 2011 14:12:09 +0100 Subject: liveCode server on UBUNTU In-Reply-To: References: Message-ID: <7E353952-FDC2-45CF-A632-C9F2E0A04D90@derbrill.de> Ok. After installing the 32 Bit compatibility layer I got it up and running. :-) (Thanks Andre!!!) Crawling back into my cave now. From bdrunrev at gmail.com Mon Nov 14 08:17:23 2011 From: bdrunrev at gmail.com (Bernard Devlin) Date: Mon, 14 Nov 2011 13:17:23 +0000 Subject: [DGH] inks needs to be reset to addMin; sometimes inks is disabled Message-ID: When I use DGH to add a custom control to a datagrid (e.g. just a 'classic' field control), I can get my custom field to display the data when the datagrid is updated. However, the datagrid for that column(s) loses the alternating row colour that is found in other columns. In my experiments with solving this, I found that reseting the 'inks' to addMin in DGH would reintroduce the alternating rows. But sometimes even the 'inks' menu is disabled. Any clues as to what is going on? I expect this is a little off-the-beaten-track for the DGH, which is why no-one else has run into this problem. Bernard From bvg at mac.com Mon Nov 14 08:35:17 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Mon, 14 Nov 2011 14:35:17 +0100 Subject: OT: Live Support Chat script/solution? In-Reply-To: References: Message-ID: <97490481-A417-4110-A3CB-30DAAD0111CE@mac.com> There's a gazillion of website chat thingies in free php or cgi library repositories. How reliable, bug ridden, spyware installing or useful the different ones are.... no idea. There's a similar plethora of libraries for flash-based chats, but my 60 year old boss, who doesn't know the difference between http and ftp, told me that flash is dead and should never be considered anywhere ;) On 14 Nov 2011, at 02:03, Matthias Rebbe wrote: > Hi, > > does anyone know if there is a free LiveChat/LiveSupport tool available.I am looking for a solution where my website visitors can press a link on my site and a chat windows opens where they can contact me online by chat. > > I had something already, but the chat app for me was a windows program. But i am looking either for an mac app or better a solution where i have also to login from web instead from a desktop application. > I am looking for a solution i can host on my server. Searched Google already, but found only commercial ones with a monthly fee. > > Regards, > > Matthias > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Watch live presentations every Saturday: http://livecode.tv Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From jhurley0305 at sbcglobal.net Mon Nov 14 08:49:09 2011 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Mon, 14 Nov 2011 05:49:09 -0800 Subject: mouse within oval filled area: A solution using geometry In-Reply-To: References: Message-ID: Hugh, You'll love the atan2 function. It takes care of all nasty bits at 90 and 270 degrees as well as dealing with the quadrants issues. Use atan2(y,x) for angles measure clockwise from the x-axis Use atan2(-y,x) for angles measure counterclockwise from the x-axis. Jim Hurley --| Get the point's relative coordinates... put pointX - objX into x put pointY - objY into y if y=0 then --| Handle the exceptions... if x>0 then put 0 into tAngle else put 180 into tAngle else put atan ((x*H)/(y*W)) into tAngle --| Convert from radians to degrees... put (tAngle * 180 / pi) into tAngle --| Adjust the angle according to the quadrant... put (tAngle MOD 180)+90 into tAngle if y>0 then add 180 to tAngle end if From sc at sahores-conseil.com Mon Nov 14 09:14:57 2011 From: sc at sahores-conseil.com (Pierre Sahores) Date: Mon, 14 Nov 2011 15:14:57 +0100 Subject: OT: Live Support Chat script/solution? In-Reply-To: References: Message-ID: Untested but this AJAX lib should certainly help to build such a reliable solution : https://github.com/flowersinthesand/jquery-socket HTH, Le 14 nov. 2011 ? 02:03, Matthias Rebbe a ?crit : > Hi, > > does anyone know if there is a free LiveChat/LiveSupport tool available.I am looking for a solution where my website visitors can press a link on my site and a chat windows opens where they can contact me online by chat. > > I had something already, but the chat app for me was a windows program. But i am looking either for an mac app or better a solution where i have also to login from web instead from a desktop application. > I am looking for a solution i can host on my server. Searched Google already, but found only commercial ones with a monthly fee. > > Regards, > > Matthias > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From palcibiades-first at yahoo.co.uk Mon Nov 14 09:31:59 2011 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Mon, 14 Nov 2011 06:31:59 -0800 (PST) Subject: lc shell and command line In-Reply-To: References: <1321258361765-4038742.post@n4.nabble.com> Message-ID: <1321281119743-4039639.post@n4.nabble.com> Bernard, many thanks, yes, that works. Can I ask one more question, how then would you get the shell to interact, like if you do su and want to get the password in, and then run a script that requires root password? Or maybe all that has to be done in shell? Peter -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/lc-shell-and-command-line-tp4036681p4039639.html Sent from the Revolution - User mailing list archive at Nabble.com. From bonnmike at gmail.com Mon Nov 14 09:57:04 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 14 Nov 2011 07:57:04 -0700 Subject: lc shell and command line In-Reply-To: <1321281119743-4039639.post@n4.nabble.com> References: <1321258361765-4038742.post@n4.nabble.com> <1321281119743-4039639.post@n4.nabble.com> Message-ID: you can use a semicolon as command delimiter. So you could do shell("command 1; command 2; command 3") and it would do them in succession. However rather than su to root its a much better idea to use sudo. Beyond that, it might be easier to use open process so that you can open a persistant connection to a shell. Something like : 'open process "/bin/bash" for update'. Haven't done it, so you'd have to determine the steps require to get your job done. It would allow you to send send passwords and run scripts in a persistent environment this way. as for using cd in a shell() call, its much easier to just set the defaultfolder then any following shells will execute from the context you set. On Mon, Nov 14, 2011 at 7:31 AM, Peter Alcibiades < palcibiades-first at yahoo.co.uk> wrote: > Bernard, many thanks, yes, that works. Can I ask one more question, how > then > would you get the shell to interact, like if you do su and want to get the > password in, and then run a script that requires root password? Or maybe > all that has to be done in shell? > > Peter > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/lc-shell-and-command-line-tp4036681p4039639.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 bdrunrev at gmail.com Mon Nov 14 10:31:20 2011 From: bdrunrev at gmail.com (Bernard Devlin) Date: Mon, 14 Nov 2011 15:31:20 +0000 Subject: lc shell and command line In-Reply-To: <1321281119743-4039639.post@n4.nabble.com> References: <1321258361765-4038742.post@n4.nabble.com> <1321281119743-4039639.post@n4.nabble.com> Message-ID: It may be that the easiest way around that is to edit /etc/sudoers and configure some username, such that said the logged-in user does not need to enter a password in order to call 'sudo su - auser'. If you look inside /etc/sudoers it should explain what is required to make access to sudo passwordless for that user. You can limit within sudoers which programs such a passwordless user can run. Basically, by encoding passwords inside scripts you are circumventing security policies. If you are really determined that the password should be stored in a script for some reason, then you may be able to get around unix security by piping a password to some program or by reconfiguring the tty (which is the component in unix that is prompting you for a password) such that it would take the password as a form of input other than from an interactive prompt. A few days ago I saw in a book on shell scripting how to redirect tty, but I don't have it to hand now, and can't remember the details. Once you have your circumvention working from a command line (terminal), you should be able to pass that circumvention to shell() within a livecode script. I know that I have had to various forms of programmatic backflips to "work within" unix security policies. I would focus on the problem as a unix command line problem first. Then take that solution within LiveCode. If it can run from a .sh script, then you are most of the way to your solution. I would really research the issues around unix security and sudo, su, ssh thoroughly to understand the implications of what you are doing, and the potential holes you open up. If you are wishing to su to root programmatically, then unix is going to try and stop you doing that. Bernard On Mon, Nov 14, 2011 at 2:31 PM, Peter Alcibiades wrote: > Bernard, many thanks, yes, that works. ?Can I ask one more question, how then > would you get the shell to interact, like if you do su and want to get the > password in, and then run a script that requires root password? ?Or maybe > all that has to be done in shell? > > Peter From cmsheffield at me.com Mon Nov 14 10:37:48 2011 From: cmsheffield at me.com (Chris Sheffield) Date: Mon, 14 Nov 2011 08:37:48 -0700 Subject: Permanent data in IOS app In-Reply-To: References: Message-ID: Hi Paolo, If you are simply installing an update to an app, the app's data will *not* be deleted. But if you manually delete the app, then the app's data does get deleted and there is no way around this as far as I know. -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com On Nov 14, 2011, at 3:01 AM, paolo mazza wrote: > Hi all. > Referring to LC documentation "Each application in iPhoneOS is stored > in its own 'sandbox' folder. An application is free to read and write > files within this folder and its descendants, but is not allowed to > access anything outside of this." > So I guess that when you delete the application and reinstall it in > the iPhone, all data are gone. > > But, how can store data permanently? > > I need data not to be cancelled when the user reinstalls the > application or installs a new version of the application . > > Is it possible? How can I do it ? > > If it is not possible, I guess I have to record this data in a remote server. > How can I get the IPhone Serial Number (or the IMEI or the ICCID ) > from a LC app ? > > Thanks a lot. > > Paolo Mazza > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Mon Nov 14 10:38:24 2011 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 14 Nov 2011 16:38:24 +0100 Subject: OT: Live Support Chat script/solution? In-Reply-To: References: Message-ID: <4720667B-00DD-4BCE-8DAD-0CA472AA6027@m-r-d.de> HI Stephan, yes, i should have mentioned that. I am looking for a text chat, like Adobe is using for support. Regards, Matthias Am 14.11.2011 um 02:12 schrieb stephen barncard: > what kind of chat? text, audio or video? > > On 13 November 2011 17:03, Matthias Rebbe > wrote: > >> Hi, >> >> does anyone know if there is a free LiveChat/LiveSupport tool available.I >> am looking for a solution where my website visitors can press a link on my >> site and a chat windows opens where they can contact me online by chat. >> >> I had something already, but the chat app for me was a windows program. >> But i am looking either for an mac app or better a solution where i have >> also to login from web instead from a desktop application. >> I am looking for a solution i can host on my server. Searched Google >> already, but found only commercial ones with a monthly fee. >> >> Regards, >> >> Matthias From matthias_livecode_150811 at m-r-d.de Mon Nov 14 10:39:09 2011 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 14 Nov 2011 16:39:09 +0100 Subject: OT: Live Support Chat script/solution? In-Reply-To: <97490481-A417-4110-A3CB-30DAAD0111CE@mac.com> References: <97490481-A417-4110-A3CB-30DAAD0111CE@mac.com> Message-ID: Am 14.11.2011 um 14:35 schrieb Bj?rnke von Gierke: > There's a gazillion of website chat thingies in free php or cgi library repositories. How reliable, bug ridden, spyware installing or useful the different ones are.... no idea. > > There's a similar plethora of libraries for flash-based chats, but my 60 year old boss, who doesn't know the difference between http and ftp, told me that flash is dead and should never be considered anywhere ;) > > ??? I am not looking for a multiuser chat thing. I am looking for a chat where a customer can contact the support stuff by chat. Matthias > > On 14 Nov 2011, at 02:03, Matthias Rebbe wrote: > >> Hi, >> >> does anyone know if there is a free LiveChat/LiveSupport tool available.I am looking for a solution where my website visitors can press a link on my site and a chat windows opens where they can contact me online by chat. >> >> I had something already, but the chat app for me was a windows program. But i am looking either for an mac app or better a solution where i have also to login from web instead from a desktop application. >> I am looking for a solution i can host on my server. Searched Google already, but found only commercial ones with a monthly fee. >> >> Regards, >> >> Matthias From matthias_livecode_150811 at m-r-d.de Mon Nov 14 10:44:45 2011 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 14 Nov 2011 16:44:45 +0100 Subject: OT: Live Support Chat script/solution? In-Reply-To: References: Message-ID: Am 14.11.2011 um 15:14 schrieb Pierre Sahores: > Untested but this AJAX lib should certainly help to build such a reliable solution : > > https://github.com/flowersinthesand/jquery-socket > > HTH, > Pierre, thanks for your suggestion, but i do not have the knowledge and also not the time to build such thing from scratch. I was looking for a ready to use solution, e.g. in PHP, which i could integrate on my site in the next days. Regards, Matthias > Le 14 nov. 2011 ? 02:03, Matthias Rebbe a ?crit : > >> Hi, >> >> does anyone know if there is a free LiveChat/LiveSupport tool available.I am looking for a solution where my website visitors can press a link on my site and a chat windows opens where they can contact me online by chat. >> >> I had something already, but the chat app for me was a windows program. But i am looking either for an mac app or better a solution where i have also to login from web instead from a desktop application. >> I am looking for a solution i can host on my server. Searched Google already, but found only commercial ones with a monthly fee. From littlejamesw at mac.com Mon Nov 14 11:09:31 2011 From: littlejamesw at mac.com (James Little) Date: Mon, 14 Nov 2011 08:09:31 -0800 Subject: OT: Live Support Chat script/solution? In-Reply-To: References: Message-ID: <457E50E5-D980-4C29-8288-20361F5E7679@mac.com> Hi Matthias, Ralf Bitter has a tutorial for a simple chat application in the RevIgniter documentation. I have not tried it myself. I have dabbled with RevIgniter over the past week. The documentation is excellent, as others on this list have mentioned. Regards, Jim L. On Nov 13, 2011, at 5:03 PM, Matthias Rebbe wrote: > Hi, > > does anyone know if there is a free LiveChat/LiveSupport tool available.I am looking for a solution where my website visitors can press a link on my site and a chat windows opens where they can contact me online by chat. > > I had something already, but the chat app for me was a windows program. But i am looking either for an mac app or better a solution where i have also to login from web instead from a desktop application. > I am looking for a solution i can host on my server. Searched Google already, but found only commercial ones with a monthly fee. > > Regards, > > Matthias > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Mon Nov 14 11:26:52 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 14 Nov 2011 09:26:52 -0700 Subject: lc shell and command line In-Reply-To: References: <1321258361765-4038742.post@n4.nabble.com> <1321281119743-4039639.post@n4.nabble.com> Message-ID: if I recall correctly, you can grab a password from a file (as bd stated, this is dangerous) sudo su < filewithpword.txt; command 1; command 2; etc 3 scary thing to do though. On Mon, Nov 14, 2011 at 8:31 AM, Bernard Devlin wrote: > It may be that the easiest way around that is to edit /etc/sudoers and > configure some username, such that said the logged-in user does not > need to enter a password in order to call 'sudo su - auser'. If you > look inside /etc/sudoers it should explain what is required to make > access to sudo passwordless for that user. You can limit within > sudoers which programs such a passwordless user can run. > > Basically, by encoding passwords inside scripts you are circumventing > security policies. > > If you are really determined that the password should be stored in a > script for some reason, then you may be able to get around unix > security by piping a password to some program or by reconfiguring the > tty (which is the component in unix that is prompting you for a > password) such that it would take the password as a form of input > other than from an interactive prompt. A few days ago I saw in a book > on shell scripting how to redirect tty, but I don't have it to hand > now, and can't remember the details. > > Once you have your circumvention working from a command line > (terminal), you should be able to pass that circumvention to shell() > within a livecode script. > > I know that I have had to various forms of programmatic backflips to > "work within" unix security policies. I would focus on the problem as > a unix command line problem first. Then take that solution within > LiveCode. If it can run from a .sh script, then you are most of the > way to your solution. > > I would really research the issues around unix security and sudo, su, > ssh thoroughly to understand the implications of what you are doing, > and the potential holes you open up. If you are wishing to su to root > programmatically, then unix is going to try and stop you doing that. > > Bernard > > On Mon, Nov 14, 2011 at 2:31 PM, Peter Alcibiades > wrote: > > Bernard, many thanks, yes, that works. Can I ask one more question, how > then > > would you get the shell to interact, like if you do su and want to get > the > > password in, and then run a script that requires root password? Or maybe > > all that has to be done in shell? > > > > Peter > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From palcibiades-first at yahoo.co.uk Mon Nov 14 12:03:44 2011 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Mon, 14 Nov 2011 09:03:44 -0800 (PST) Subject: lc shell and command line In-Reply-To: References: <1321258361765-4038742.post@n4.nabble.com> <1321281119743-4039639.post@n4.nabble.com> Message-ID: <1321290224700-4040142.post@n4.nabble.com> Thanks guys. Yes, I know about sudo. The idea was to get the user to put in the root password on each occasion, not to store it someplace which you're quite right of course would be very unwise. I think maybe livecode is not what I should be using for this, the right way is probably to have a shell script launched from a launcher on the desktop. Its a bit complicated because what is needed is to launch a first script which then calls a second one and executes as root. My second problem with livecode was how to call the shell in such a way as to have the user enter the password and then carry on with the script. Its not quite so user friendly if it is all done in a terminal window, but it will work. Peter -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/lc-shell-and-command-line-tp4036681p4040142.html Sent from the Revolution - User mailing list archive at Nabble.com. From bonnmike at gmail.com Mon Nov 14 12:59:20 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 14 Nov 2011 10:59:20 -0700 Subject: lc shell and command line In-Reply-To: <1321290224700-4040142.post@n4.nabble.com> References: <1321258361765-4038742.post@n4.nabble.com> <1321281119743-4039639.post@n4.nabble.com> <1321290224700-4040142.post@n4.nabble.com> Message-ID: Don't forget you can open a script as a process for update and then send whatever you need to it directly from livecode. I also seem to recall that its possible to open a process with elevated privileges but I can't find the info on that for some reason. If you can figure out that portion it could save quite a bit of hassle. Open the script with elevated privs, user is prompted for pword, voila'. I'll see if I can remember where the docs are for elevated process opening stuffs. On Mon, Nov 14, 2011 at 10:03 AM, Peter Alcibiades < palcibiades-first at yahoo.co.uk> wrote: > Thanks guys. Yes, I know about sudo. The idea was to get the user to put > in > the root password on each occasion, not to store it someplace which you're > quite right of course would be very unwise. > > I think maybe livecode is not what I should be using for this, the right > way > is probably to have a shell script launched from a launcher on the desktop. > Its a bit complicated because what is needed is to launch a first script > which then calls a second one and executes as root. My second problem with > livecode was how to call the shell in such a way as to have the user enter > the password and then carry on with the script. > > Its not quite so user friendly if it is all done in a terminal window, but > it will work. > > Peter > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/lc-shell-and-command-line-tp4036681p4040142.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Mon Nov 14 13:46:36 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 14 Nov 2011 12:46:36 -0600 Subject: lc shell and command line In-Reply-To: <1321290224700-4040142.post@n4.nabble.com> References: <1321258361765-4038742.post@n4.nabble.com> <1321281119743-4039639.post@n4.nabble.com> <1321290224700-4040142.post@n4.nabble.com> Message-ID: <4EC1620C.7010901@hyperactivesw.com> On 11/14/11 11:03 AM, Peter Alcibiades wrote: > My second problem with > livecode was how to call the shell in such a way as to have the user enter > the password and then carry on with the script. I probably shouldn't post about something I know so little about, but... If you know you will need a password, could you just ask for it beforehand, store it in a variable, and then incorporate the variable into your shell script? I seem to remember there's a way to pass authenticaion along with the script itself, all at once...I think. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From zryip.theslug at gmail.com Mon Nov 14 14:37:22 2011 From: zryip.theslug at gmail.com (zryip theSlug) Date: Mon, 14 Nov 2011 20:37:22 +0100 Subject: [DGH] inks needs to be reset to addMin; sometimes inks is disabled In-Reply-To: References: Message-ID: On Mon, Nov 14, 2011 at 2:17 PM, Bernard Devlin wrote: Hi Bernard, I will reply in the list, but this is more a specific question than a LiveCode general question. For any question relative to DGH, remember that you are always welcome to contact me directly. 8-) > When I use DGH to add a custom control to a datagrid (e.g. just a > 'classic' field control), I can get my custom field to display the > data when the datagrid is updated. ?However, the datagrid for that > column(s) loses the alternating row colour that is found in other > columns. The opaque property of a field added in the DGH's template area is set to opaque by default, that's why the alternating row color is hidden. To change any property of an object in the TMPL area, just double click on the control to open the LC inspector. For this field, turn off the opaque option, update the change, then apply it to the datagrid. This will fix the alternated color. > In my experiments with solving this, I found that reseting the 'inks' > to addMin in DGH would reintroduce the alternating rows. But sometimes > even the 'inks' menu is disabled. For column coloring, DGH adds it's own properties for specific features not yet covered by the datagrid library. The properties are only available in the DGH's properties palette if the required properties / scripts are installed in the datagrid group script. For installing these properties, use the script installer located in the Scripts topic, then click on the install button of the DGH properties option. A tooltip should indicate why an option is currently disabled in the palette ("DGH properties script missing" in this case) Have a look to this lesson about coloring columns with DGH: http://lessons.runrev.com/s/lessons/m/4068/l/40607-How-Do-I-Give-Color-To-a-Non-Editable-Column- For people of the list who was annoyed by the answer, feel free to throw me lot of che*ses. Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.com From bonnmike at gmail.com Mon Nov 14 15:16:39 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 14 Nov 2011 13:16:39 -0700 Subject: lc shell and command line In-Reply-To: <4EC1620C.7010901@hyperactivesw.com> References: <1321258361765-4038742.post@n4.nabble.com> <1321281119743-4039639.post@n4.nabble.com> <1321290224700-4040142.post@n4.nabble.com> <4EC1620C.7010901@hyperactivesw.com> Message-ID: open elevated process seems to work ok. The following handler, opens bash as an elevated process, then writes to it and reads from it. Should be possible to run a pre-made shell script too. Yep, just tried it works fine. Notice the "whoami" command that is written, it confirms that using open elevated process does indeed = root. on mouseUp put "/bin/bash" into tProcess open elevated process tProcess for text update -- opens a shell with elevated privs -- writes commands to the shell. Here I change owner of a file to root, --then later list it in field 1 as proof that it was done write "chown root test.fil;ls -l test.fil" & return to process tProcess -- makes sure there was time to complete the command before reading wait 15 milliseconds --this does just what it says read from process tProcess until empty put it & return into field 1 -- another check. Should show root as who I am. write "whoami" & return to process tProcess wait 15 milliseconds -- get the results read from process tProcess until empty put it & return after field 1 close process tProcess end mouseUp From cmsheffield at me.com Mon Nov 14 15:20:46 2011 From: cmsheffield at me.com (Chris Sheffield) Date: Mon, 14 Nov 2011 13:20:46 -0700 Subject: special folders in iOS Message-ID: I'm still trying to do some research, but so far I'm hitting a dead end. Can anyone tell me if there is a certain folder in an iOS app's sandbox where data (in this case data would be media files such as pictures, audio, etc.) can be placed where it will get backed up to iTunes *as well as* sync with other devices? For example, say I want to download a package of content via in-app purchasing. I want the users (in this case it could be teachers at a school) to be able to sync the device where the purchase was made, and then sync additional devices and have the downloaded content copy to all synced devices without having to download it over wi-fi on every device. Is something like this possible? Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com From mwieder at ahsoftware.net Mon Nov 14 16:53:27 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 14 Nov 2011 13:53:27 -0800 Subject: lc shell and command line In-Reply-To: References: <1321258361765-4038742.post@n4.nabble.com> <1321281119743-4039639.post@n4.nabble.com> <1321290224700-4040142.post@n4.nabble.com> <4EC1620C.7010901@hyperactivesw.com> Message-ID: <61330450843.20111114135327@ahsoftware.net> Mike- Monday, November 14, 2011, 12:16:39 PM, you wrote: > open elevated process seems to work ok. The following handler, opens bash > as an elevated process, then writes to it and reads from it. Should be > possible to run a pre-made shell script too. That's a nice script. Unfortunately opening elevated processes doesn't always work, as for instance on Fedora Core, where for some reason that got deprecated by around version 9. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Mon Nov 14 17:00:33 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 14 Nov 2011 14:00:33 -0800 Subject: how to change the background color to tab panel? In-Reply-To: <717572D3-1156-4B11-9112-F67EDF4E4B9E@system-ini.it> References: <717572D3-1156-4B11-9112-F67EDF4E4B9E@system-ini.it> Message-ID: <138330877171.20111114140033@ahsoftware.net> Alessandro- Monday, November 14, 2011, 3:40:05 AM, you wrote: > how to change the background color to tab panel? > the problem is under windows xp , 7 , vista > the background under windows is white and only white > why this? You asked this a couple of days ago. Do you mean the reported background color or the displayed background color? If you mean the reported color, that's a long-standing bug. It will probably never get fixed. -- -Mark Wieder mwieder at ahsoftware.net From m.schonewille at economy-x-talk.com Mon Nov 14 17:06:29 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 14 Nov 2011 23:06:29 +0100 Subject: how to change the background color to tab panel? In-Reply-To: <138330877171.20111114140033@ahsoftware.net> References: <717572D3-1156-4B11-9112-F67EDF4E4B9E@system-ini.it> <138330877171.20111114140033@ahsoftware.net> Message-ID: Hi, I replied previously. I believe he means the visible background color. I tested it and apparently this just doesn't work on Windows, but it does work on Mac OS X. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission! On 14 nov 2011, at 23:00, Mark Wieder wrote: > > You asked this a couple of days ago. > Do you mean the reported background color or the displayed background > color? If you mean the reported color, that's a long-standing bug. It > will probably never get fixed. > > -- > -Mark Wieder > mwieder at ahsoftware.net From bonnmike at gmail.com Mon Nov 14 17:06:34 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 14 Nov 2011 15:06:34 -0700 Subject: lc shell and command line In-Reply-To: <61330450843.20111114135327@ahsoftware.net> References: <1321258361765-4038742.post@n4.nabble.com> <1321281119743-4039639.post@n4.nabble.com> <1321290224700-4040142.post@n4.nabble.com> <4EC1620C.7010901@hyperactivesw.com> <61330450843.20111114135327@ahsoftware.net> Message-ID: oh that sucks. I tried quite a few other methods none of which worked very well if at all. Hmm, would calling login directly work? Probably not, as on many systems root login is not allowed. If it were allowed, then the same basic idea works. open process login then do the magic stuff, then exit out. Also looked at suid ideas but couldn't make a suid script do root level stuff no matter what I tried. Makes me wish for a less fragmented linux. Oh well, open elevated is working for me on ubuntu. Wish I had things that needed to be done that way! On Mon, Nov 14, 2011 at 2:53 PM, Mark Wieder wrote: > Mike- > > Monday, November 14, 2011, 12:16:39 PM, you wrote: > > > open elevated process seems to work ok. The following handler, opens bash > > as an elevated process, then writes to it and reads from it. Should be > > possible to run a pre-made shell script too. > > That's a nice script. Unfortunately opening elevated processes doesn't > always work, as for instance on Fedora Core, where for some reason > that got deprecated by around version 9. > > -- > -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 mike at doub.com Mon Nov 14 17:22:48 2011 From: mike at doub.com (Michael Doub) Date: Mon, 14 Nov 2011 17:22:48 -0500 Subject: Scrolling of DataGrid driven by Database on IOS Message-ID: <0A3690AC-3D42-4ACF-98CA-2EAEA1B981DE@doub.com> Does anyone have an example of a DataGrid form with non fixed height rows being directly loaded from the database that is also hooked up to the IOS scroller? Yes I am being kind of specific here. I have found examples for large datasets using data grids, but none of which have variable hight rows. Hooking it up to the IOS scroller is interesting because I don't know how one would figure out the "contentRect" of the scroller. Thanks Mike From tsj at unimelb.edu.au Mon Nov 14 18:21:56 2011 From: tsj at unimelb.edu.au (Terry Judd) Date: Mon, 14 Nov 2011 23:21:56 +0000 Subject: Scrolling of DataGrid driven by Database on IOS In-Reply-To: <0A3690AC-3D42-4ACF-98CA-2EAEA1B981DE@doub.com> References: <0A3690AC-3D42-4ACF-98CA-2EAEA1B981DE@doub.com> Message-ID: On 15/11/2011, at 09:22 AM, Michael Doub wrote: > Does anyone have an example of a DataGrid form with non fixed height rows being directly loaded from the database that is also hooked up to the IOS scroller? > > Yes I am being kind of specific here. I have found examples for large datasets using data grids, but none of which have variable hight rows. Hooking it up to the IOS scroller is interesting because I don't know how one would figure out the "contentRect" of the scroller. I create a locked group containing the datagrid that is set to the dimensions. I then populate the datagrid (usually with data fetched from a database via a PHP script and converted to an array) and set its height based on ALL the records it contains. So, for example if my datagrid is name myData_DG, I place it in a locked and sized group called myData. And do something like this... set the dgData of grp "myData_DG" to tData set the height of grp "myData_DG" to the max((the dgFormattedheight of grp "myData_DG"),(the height of grp "myData")) then to setup the scroller, something like... local pScrollerID, pScrollerGrp iphoneControlCreate "scroller" put the result into pScrollerId put "myData" into pScrollerGrp put the rect of grp pScrollerGrp into theGridRect iphoneControlSet pScrollerId, "rect", theGridRect # setup other scroller properties here # now setup the scroller ContectRect put (the dgFormattedHeight of group "myData_DG") into tHeight put the width of group pScrollerGrp into tWidth iphoneControlSet pScrollerId, "contentRect", (0,0, tWidth, tHeight) If you're using a table datagrid then you'll need to create a separate 'header' (I use another datagrid for this) and 'link' it to the datagrid containing the data so that it will respond when you click the column names in the header to sort the datagrid. My datagrids all have fixed line heights so if you're toggling rows and changing line heights in the process I guess you might need to reset the height of the datagrid using... set the height of grp "myData_DG" to the max((the dgFormattedheight of grp "myData_DG"),(the height of grp "myData")) and reset the scroller's content rect using... put (the dgFormattedHeight of group "myData_DG") into tHeight put the width of group pScrollerGrp into tWidth iphoneControlSet pScrollerId, "contentRect", (0,0, tWidth, tHeight) Not sure what toggling rows will do to the actual scroll value of the scroller however (could be messy). Terry... > > Thanks > Mike > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From mwieder at ahsoftware.net Mon Nov 14 19:32:46 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 14 Nov 2011 16:32:46 -0800 Subject: lc shell and command line In-Reply-To: References: <1321258361765-4038742.post@n4.nabble.com> <1321281119743-4039639.post@n4.nabble.com> <1321290224700-4040142.post@n4.nabble.com> <4EC1620C.7010901@hyperactivesw.com> <61330450843.20111114135327@ahsoftware.net> Message-ID: <28340009687.20111114163246@ahsoftware.net> Mike- Monday, November 14, 2011, 2:06:34 PM, you wrote: > Hmm, would calling login directly work? Probably not, as on many systems > root login is not allowed. If it were allowed, then the same basic idea > works. open process login then do the magic stuff, then exit out. It's not allowed, or at least made hard to get to, for good reason. Nonetheless, the lack of gksu sucks. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Mon Nov 14 19:37:52 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 14 Nov 2011 16:37:52 -0800 Subject: how to change the background color to tab panel? In-Reply-To: References: <717572D3-1156-4B11-9112-F67EDF4E4B9E@system-ini.it> <138330877171.20111114140033@ahsoftware.net> Message-ID: <15340315656.20111114163752@ahsoftware.net> Mark- Monday, November 14, 2011, 2:06:29 PM, you wrote: > Hi, > I replied previously. I believe he means the visible background > color. I tested it and apparently this just doesn't work on Windows, > but it does work on Mac OS X. Works here for me on all platforms. Tabbed controls, right? -- -Mark Wieder mwieder at ahsoftware.net From dev at digifilm.com Mon Nov 14 20:01:00 2011 From: dev at digifilm.com (ddas) Date: Mon, 14 Nov 2011 20:01:00 -0500 Subject: Video Player on Android In-Reply-To: <1321222796039-4037719.post@n4.nabble.com> References: <61933CB0-7E32-4784-B953-C026F1CD1651@dsa-net.dk> <1320337799267-3986625.post@n4.nabble.com> <1321222796039-4037719.post@n4.nabble.com> Message-ID: <27C380FA-1359-4F0B-A9BB-8BB8838D8BD3@digifilm.com> Hi, Is there an eta on the android video player. Thanks, Debdoot From bobs at twft.com Mon Nov 14 20:25:20 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 14 Nov 2011 15:25:20 -1000 Subject: Wasting space on the forum. In-Reply-To: <6697E87B-A668-4945-A575-37A88B93966C@wanadoo.fr> References: <6697E87B-A668-4945-A575-37A88B93966C@wanadoo.fr> Message-ID: <6CDED709-B647-46DA-BDE7-104E2705029E@twft.com> This is why I only quote the relevant part of message, usually the last one or two replies at most. The frustrating thing for me is when the email is set up to reply at the BOTTOM of all the quoted text. Can't people see it's a hassle to scroll all the way through 5 pages of quoted text to see what the reply was? Yes I can drag the elevator box to the bottom on each email. Why should I have to? That is my big beef. Lots of quotes are not a problem for me. Having lots of quotes to scroll through, and some being mixed top and bottom, and finally getting to the bottom where I read that the person replying cannot help, yeah that is a b**ch. I feel ya man. For those who do not know, most email programs allow you to select some text and then hit reply, quoting only the selected text. Sadly, web browsers do not (to my knowledge) know how to do this. But most DO allow you to set where the reply will be placed, top or bottom. Top please. Bob On Nov 10, 2011, at 10:13 AM, Francis Nugent Dixon wrote: > Hi to any out there who agree, or who don't agree. > > I have better things to do than scan down repeated > messages. I thought that some of you may agree ! > (previous threads on this subject got better responses, > and I thought that a reminder was a good idea ). > > It is your prerogative to fill the forum (or watch it > filled) with repetition, and without commenting upon it. > It is also mine to ignore, and to beef about it. > That is what forums are for (all comments accepted !) > > I thought that users were repeating past messages > because they didn't know how NOT to do it ! > If they are doing it deliberately, then go ahead, it's > a free world. > > I'm sure, then, you won't mind if I skip over all of > these messages without even a casual glance. > > I retire gracefully. > > -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 bogdanoff at me.com Mon Nov 14 20:41:38 2011 From: bogdanoff at me.com (Peter Bogdanoff) Date: Tue, 15 Nov 2011 01:41:38 +0000 (GMT) Subject: Waiting for download to complete In-Reply-To: <27C380FA-1359-4F0B-A9BB-8BB8838D8BD3@digifilm.com> Message-ID: <453b9d1e-9636-49f8-a53d-f3eb91eb01b0@me.com> HI, I'm using the following script to download a file. After the download I move on to other things, How do I force LiveCode to wait until the download is completed before doing anything else besides updating a progress bar? Currently the program moves on to other handlers that are contingent on the download being finished, which it isn't. Thanks! Peter on downloadFile ?? open stack "MITA_Updater" ? ? ?? repeat until the lockscreen is "false" ? ? ? unlock screen ?? end repeat ? ? ?? updateStatus "Downloading the update..." ? ? ?? load URL "http://artsinteractive.org/updates/MITA-1NEW.livecode" with message "downloadDone" ? ? ?? libURLSetStatusCallback "myProgress",the long ID of scrollbar "Progress" end downloadFile on myProgress theObject,theStatus ?? put theStatus into theObject end myProgress on downloadDone pUrl, pStatus ?? put theURL & "MITA-1NEW.livecode" into thisURL ? ? ?? ?if pStatus = "cached" then ? ? ? ????put url pUrl into url ("binfile:" & thisURL) ?? ??end if ?? ??unload url pUrl end downloadDone From roger.e.eller at sealedair.com Mon Nov 14 20:51:59 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 14 Nov 2011 20:51:59 -0500 Subject: Wasting space on the forum. In-Reply-To: <6CDED709-B647-46DA-BDE7-104E2705029E@twft.com> References: <6697E87B-A668-4945-A575-37A88B93966C@wanadoo.fr> <6CDED709-B647-46DA-BDE7-104E2705029E@twft.com> Message-ID: On Mon, Nov 14, 2011 at 8:25 PM, Bob Sneidar wrote: > This is why I only quote the relevant part of message, usually the last > one or two replies at most. The frustrating thing for me is when the email > is set up to reply at the BOTTOM of all the quoted text. Can't people see > it's a hassle to scroll all the way through 5 pages of quoted text to see > what the reply was? Yes I can drag the elevator box to the bottom on each > email. Why should I have to? That is my big beef. Lots of quotes are not a > problem for me. Having lots of quotes to scroll through, and some being > mixed top and bottom, and finally getting to the bottom where I read that > the person replying cannot help, yeah that is a b**ch. I feel ya man. > > For those who do not know, most email programs allow you to select some > text and then hit reply, quoting only the selected text. Sadly, web > browsers do not (to my knowledge) know how to do this. But most DO allow > you to set where the reply will be placed, top or bottom. Top please. > > Bob > > > On Nov 10, 2011, at 10:13 AM, Francis Nugent Dixon wrote: > > > Hi to any out there who agree, or who don't agree. > > > > I have better things to do than scan down repeated > > messages. I thought that some of you may agree ! > > (previous threads on this subject got better responses, > > and I thought that a reminder was a good idea ). > > > > It is your prerogative to fill the forum (or watch it > > filled) with repetition, and without commenting upon it. > > It is also mine to ignore, and to beef about it. > > That is what forums are for (all comments accepted !) > > > > I thought that users were repeating past messages > > because they didn't know how NOT to do it ! > > If they are doing it deliberately, then go ahead, it's > > a free world. > > > > I'm sure, then, you won't mind if I skip over all of > > these messages without even a casual glance. > > > > I retire gracefully. > > > > -Francis > > > > "Nothing should ever be done for the first time !" > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > Not like this? Correct? er, uh... I mean Incorrect? ?Roger From warren at warrensweb.us Mon Nov 14 21:10:13 2011 From: warren at warrensweb.us (Warren Samples) Date: Mon, 14 Nov 2011 20:10:13 -0600 Subject: Wasting space on the forum. In-Reply-To: <6CDED709-B647-46DA-BDE7-104E2705029E@twft.com> References: <6697E87B-A668-4945-A575-37A88B93966C@wanadoo.fr> <6CDED709-B647-46DA-BDE7-104E2705029E@twft.com> Message-ID: <4EC1CA05.7040207@warrensweb.us> On 11/14/2011 07:25 PM, Bob Sneidar wrote: > Top please. This is a whole other topic. I personally prefer to have the new reply at the bottom, as the quoted text prepares the context for the reply. I understand the other point of view, and I would say that it frequently doesn't make a difference practically speaking, but usually when it does, it's because I've been assisted by the "prologue". I would complain more about those who reply point by point, placing their replies between quoted sections. This is often confusing. Warren From m.schonewille at economy-x-talk.com Mon Nov 14 21:27:01 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 15 Nov 2011 03:27:01 +0100 Subject: how to change the background color to tab panel? In-Reply-To: <15340315656.20111114163752@ahsoftware.net> References: <717572D3-1156-4B11-9112-F67EDF4E4B9E@system-ini.it> <138330877171.20111114140033@ahsoftware.net> <15340315656.20111114163752@ahsoftware.net> Message-ID: <2D77D829-7802-4CB6-9ECD-B0F515B3A827@economy-x-talk.com> Mark, Yes, tab menu buttons (that's what they're called, I think). I tried Rev 4.5 on Vista and LC 5.0 on XP. In both cases, I can't set the backgroundColor of the control. Here's a screenshot: http://qery.us/1bt -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission! On 15 nov 2011, at 01:37, Mark Wieder wrote: > Mark- > > Monday, November 14, 2011, 2:06:29 PM, you wrote: > >> Hi, > >> I replied previously. I believe he means the visible background >> color. I tested it and apparently this just doesn't work on Windows, >> but it does work on Mac OS X. > > Works here for me on all platforms. Tabbed controls, right? > > -- > -Mark Wieder > mwieder at ahsoftware.net From jacque at hyperactivesw.com Mon Nov 14 22:10:03 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 14 Nov 2011 21:10:03 -0600 Subject: Wasting space on the forum. In-Reply-To: <6CDED709-B647-46DA-BDE7-104E2705029E@twft.com> References: <6697E87B-A668-4945-A575-37A88B93966C@wanadoo.fr> <6CDED709-B647-46DA-BDE7-104E2705029E@twft.com> Message-ID: <4EC1D80B.2030906@hyperactivesw.com> On 11/14/11 7:25 PM, Bob Sneidar wrote: > Top please. You'll start a war. But I believe it is customary to include a brief quote and reply underneath on most lists, so that the conversation can be read from top to bottom in order. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jhj at jhj.com Mon Nov 14 22:24:28 2011 From: jhj at jhj.com (Jerry Jensen) Date: Mon, 14 Nov 2011 19:24:28 -0800 Subject: Wasting space on the forum. In-Reply-To: <4EC1D80B.2030906@hyperactivesw.com> References: <6697E87B-A668-4945-A575-37A88B93966C@wanadoo.fr> <6CDED709-B647-46DA-BDE7-104E2705029E@twft.com> <4EC1D80B.2030906@hyperactivesw.com> Message-ID: <4818378A-6C49-42C5-9CA4-1F8B4AAB2C4A@jhj.com> On Nov 14, 2011, at 7:10 PM, J. Landman Gay wrote: > On 11/14/11 7:25 PM, Bob Sneidar wrote: >> Top please. > > You'll start a war. But I believe it is customary to include a brief quote and reply underneath on most lists, so that the conversation can be read from top to bottom in order. "I refuse to get involved in a theological argument." - Charlie Brown To avoid the endian politic, I suggest going with the flow, and continuing a discussion at the bottom if it is already going that way, or on top if its going that way. First responder gets her/his way. Trimming is the important part for either. --Jerry From lan.kc.macmail at gmail.com Mon Nov 14 23:42:53 2011 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 15 Nov 2011 12:42:53 +0800 Subject: how to read an specific page into pdf document? In-Reply-To: References: Message-ID: I know I'm very late to the party but anyone who is doing this on Mac needs to be aware of one very large WARNING. This will NOT work as expected on anything other than simple page layouts. As of Snow Leopard, Apple made PDF rendering 'smarter'. That is smarter like auto text correction on smart phones. Whilst this technology works a good percentage of the time, it also doesn't work when you really need it to. Prior to SnoLeo Copying text from a PDF document (be it in Preview, Skim or Reader) and Pasting it into TextEdit (or similar) would result in each whole line of text appearing on the equivalent line in the text document. Good if the document is a single column, generally bad if it isn't. To compensate for this you could press the Option key whilst dragging across the text and Jaguar/Tiger/Leopard changed to Column mode and would try to auto figure out where the columns were and when you Pasted, Column 2 text would appear under Column 1 text - neat, a time saver in most cases. As of SnoLeo this feature is automatically turned On and as far as I know it can't be turned Off. I have no idea about Lion. This is great if your documents are simple 1, 2 or more 'basic' columns of text. It is a huge pain in the backside if the page looks like columns of text but isn't. A case in point is any table; it will come out as each column rendered one below the other as a single column in your text document. This is 'fixable' in LC if every cell of the table contains data AND the same amount of lines of data, but if any are blank, then the data is truncated and it becomes a nightmare to correct. If a table appears at the centre of a page of two columns of text squeezing around it, and some cells contain multiple lines of text whilst the majority don't, the result is pretty scrambled and virtually impossible to correct. This 'smart feature' is built into the Quartz graphic engine and therefore effects every application that uses it, including Skim, Acrobat Reader and most unfortunately Devon Technologies PDF2RTFService, which I've used for years to get pdf as text into Rev/LC (highly recommended, it's free from here: http://www.devontechnologies.com/download/index.html). AppleScript's 'get text' uses the same engine and is equivalent to Copy. One workaround is in Acrobat Reader you can use the Save as.... and select Text. Reader knows exactly which is columns, what is a table and will render a good text version*. But Reader is not AppleScriptable so you can't automate this with LC. Some AS gurus here might know how to use AppleEvents to force Reader to submit to LC's will, but that's beyond me. The only automated solution I've found, which is only viable for me/personal use, is I have a G5 that my wife uses and runs Leopard. I have a drop box there I send pdfs to which AppleScript and PDF2RTFService then converts to 'unscrambled' text files. Before you go firm with the previously provided solution you better be sure it works with ALL the likely layouts of pdf files that are going to be thrown at it, otherwise a multitude of support calls await. I'm meaning to ask the Forums at Apple if PDF has been fixed in Lion, but the 5 min I've just had spare I've spent here :-) * The Leopard 'get text' version actually renders a better text version than Reader's 'Save as.... Text'. With Reader any gaps between data is rendered as a single space character, with Leopard it attempts to substitute a variable number of space characters depending on the size of the gap. On Thu, Oct 20, 2011 at 6:03 PM, Francis Nugent Dixon wrote: > Hi from Beautiful Brittany, > > Thanks to Ken Ray for his "close to a one-liner". > > > put char 1 to 3 of field "MyPagesC" into GVPage >> put "tell app " & quote & "Skim" & quote & cr & \ >> "set " & LVDeskTop & " to path to desktop as string" & cr & \ >> "open (" & LVDeskTop & " & " & quote & "SkimTest1.pdf" & quote & ")" & >> cr & \ >> "tell document 1" & cr & "go to page " & GVPage & cr & \ >> "set result to (get text for page " & GVPage & ") as text" & cr & \ >> >> "end tell" & cr & "end tell" into GVMasterScript >> >> do GVMasterScript as AppleScript >> put char 2 to -2 of the result into field "MySkim" >> show field "MySkim" >> > > >> > I have added Kens small correction to his post of yesterday > (he gave me the correction off-forum) > > Great Stuff - Works a treat ! > > Sigh ! - I have a long way to go to master AppleScript ... > > -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 mpezzo at gmail.com Tue Nov 15 00:41:09 2011 From: mpezzo at gmail.com (AcidJazz) Date: Mon, 14 Nov 2011 21:41:09 -0800 (PST) Subject: Auto-numbering in a field Message-ID: <1321335669571-4041992.post@n4.nabble.com> If I paste an auto-numbered text from Microsoft Word (albeit on a Mac) into a field, I can't seem to delete the very first number no matter what I do. I can delete the text, and all the numbers but the very first one. I'm in the "contents" box of the properties window. I can't select it, and there's no way to turn it off that I know of, because I don't think Livecode even has autonumbering. Short of deleting the field and starting over (which is what I've had to do), is there a way to fix this? Is it a bug? 1. first line 2. second line 3. third line Delete all 1. - Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Auto-numbering-in-a-field-tp4041992p4041992.html Sent from the Revolution - User mailing list archive at Nabble.com. From dunbarx at aol.com Tue Nov 15 00:52:15 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 15 Nov 2011 00:52:15 -0500 (EST) Subject: Auto-numbering in a field In-Reply-To: <1321335669571-4041992.post@n4.nabble.com> References: <1321335669571-4041992.post@n4.nabble.com> Message-ID: <8CE7171DC3E7210-854-5327B@Webmail-m124.sysops.aol.com> How are you "deleting all"? Are you saying that if you: put empty into field "yourField" the "1." stays? What happens if you ask for char 1 to 2 of the text of the field? Do you get "1.", or "fi"? I am not on a computer with MS Word, But I will try it soon. Craig Newman -----Original Message----- From: AcidJazz To: use-revolution Sent: Mon, Nov 14, 2011 7:42 pm Subject: Auto-numbering in a field If I paste an auto-numbered text from Microsoft Word (albeit on a Mac) into a field, I can't seem to delete the very first number no matter what I do. I can delete the text, and all the numbers but the very first one. I'm in the "contents" box of the properties window. I can't select it, and there's no way to turn it off that I know of, because I don't think Livecode even has autonumbering. Short of deleting the field and starting over (which is what I've had to do), is there a way to fix this? Is it a bug? 1. first line 2. second line 3. third line Delete all 1. - Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Auto-numbering-in-a-field-tp4041992p4041992.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 Tue Nov 15 00:57:41 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 14 Nov 2011 23:57:41 -0600 Subject: Auto-numbering in a field In-Reply-To: <1321335669571-4041992.post@n4.nabble.com> References: <1321335669571-4041992.post@n4.nabble.com> Message-ID: <4EC1FF55.3000501@hyperactivesw.com> On 11/14/11 11:41 PM, AcidJazz wrote: > If I paste an auto-numbered text from Microsoft Word (albeit on a Mac) into a > field, I can't seem to delete the very first number no matter what I do. I > can delete the text, and all the numbers but the very first one. I'm in > the "contents" box of the properties window. I can't select it, and there's > no way to turn it off that I know of, because I don't think Livecode even > has autonumbering. Short of deleting the field and starting over (which is > what I've had to do), is there a way to fix this? Is it a bug? > > 1. first line > 2. second line > 3. third line > > Delete all > > 1. Don't use the property inspector, use the message box or a temporary script somewhere. Try: delete char 1 of fld I'm guessing Word is adding a non-typeable character to the front of each line. You might have to delete char 1 more than once. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Tue Nov 15 01:09:42 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 14 Nov 2011 22:09:42 -0800 Subject: how to change the background color to tab panel? In-Reply-To: <2D77D829-7802-4CB6-9ECD-B0F515B3A827@economy-x-talk.com> References: <717572D3-1156-4B11-9112-F67EDF4E4B9E@system-ini.it> <138330877171.20111114140033@ahsoftware.net> <15340315656.20111114163752@ahsoftware.net> <2D77D829-7802-4CB6-9ECD-B0F515B3A827@economy-x-talk.com> Message-ID: <1641832718.20111114220942@ahsoftware.net> Mark- Here you go (LC 4.6.4 and LC 5.0 on xp): http://qery.us/1bu -- -Mark Wieder mwieder at ahsoftware.net From toolbook at kestner.de Tue Nov 15 04:12:32 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 15 Nov 2011 10:12:32 +0100 Subject: AW: how to change the background color to tab panel? In-Reply-To: <1641832718.20111114220942@ahsoftware.net> References: <717572D3-1156-4B11-9112-F67EDF4E4B9E@system-ini.it> <138330877171.20111114140033@ahsoftware.net> <15340315656.20111114163752@ahsoftware.net> <2D77D829-7802-4CB6-9ECD-B0F515B3A827@economy-x-talk.com> <1641832718.20111114220942@ahsoftware.net> Message-ID: <004201cca376$b559ee60$200dcb20$@de> LC 4.6.4 on W7 can't set the bgcol either Could the difference be native Win or emulated win at Mark W.? Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Mark Wieder > Gesendet: Dienstag, 15. November 2011 07:10 > An: How to use LiveCode > Betreff: Re: how to change the background color to tab panel? > > Mark- > > Here you go (LC 4.6.4 and LC 5.0 on xp): > > http://qery.us/1bu > > -- > -Mark Wieder > mwieder at ahsoftware.net > From richmondmathewson at gmail.com Tue Nov 15 05:52:03 2011 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 15 Nov 2011 12:52:03 +0200 Subject: Wasting space on the forum. In-Reply-To: <4EC1D80B.2030906@hyperactivesw.com> References: <6697E87B-A668-4945-A575-37A88B93966C@wanadoo.fr> <6CDED709-B647-46DA-BDE7-104E2705029E@twft.com> <4EC1D80B.2030906@hyperactivesw.com> Message-ID: <4EC24453.1030900@gmail.com> On 11/15/2011 05:10 AM, J. Landman Gay wrote: > On 11/14/11 7:25 PM, Bob Sneidar wrote: >> Top please. > I like to interpolate. > You'll start a war. But I believe it is customary to include a brief > quote and reply underneath on most lists, so that the conversation can > be read from top to bottom in order. > From mike at doub.com Tue Nov 15 06:30:02 2011 From: mike at doub.com (Michael Doub) Date: Tue, 15 Nov 2011 06:30:02 -0500 Subject: Scrolling of DataGrid driven by Database on IOS In-Reply-To: References: <0A3690AC-3D42-4ACF-98CA-2EAEA1B981DE@doub.com> Message-ID: <8D25985A-A71D-43BB-A26C-D0056F998F35@doub.com> Thanks for your response Terry, but what I meant by being directly loaded into the database was when the app directly filled in the data from the data base upon receiving the on GetDataForLine pLine, @pOutData message. The only thing that I have seen so far is the setting dgNumberofRecordsto turn on the use of GetDataForLine. set the dgNumberOfRecords of group "Data Grid" to sRecordCount I can see where this would allow a calculation of dgFormattedHeight if the rows were fixed. I am trying to understand how this should work when the row height is variable. On 2011-11-14, at 6:21 PM, Terry Judd wrote: > > On 15/11/2011, at 09:22 AM, Michael Doub wrote: > >> Does anyone have an example of a DataGrid form with non fixed height rows being directly loaded from the database that is also hooked up to the IOS scroller? >> >> Yes I am being kind of specific here. I have found examples for large datasets using data grids, but none of which have variable hight rows. Hooking it up to the IOS scroller is interesting because I don't know how one would figure out the "contentRect" of the scroller. > > I create a locked group containing the datagrid that is set to the dimensions. I then populate the datagrid (usually with data fetched from a database via a PHP script and converted to an array) and set its height based on ALL the records it contains. > So, for example if my datagrid is name myData_DG, I place it in a locked and sized group called myData. And do something like this... > > set the dgData of grp "myData_DG" to tData > set the height of grp "myData_DG" to the max((the dgFormattedheight of grp "myData_DG"),(the height of grp "myData")) > > then to setup the scroller, something like... > > local pScrollerID, pScrollerGrp > iphoneControlCreate "scroller" > put the result into pScrollerId > put "myData" into pScrollerGrp > put the rect of grp pScrollerGrp into theGridRect > iphoneControlSet pScrollerId, "rect", theGridRect > # setup other scroller properties here > # now setup the scroller ContectRect > put (the dgFormattedHeight of group "myData_DG") into tHeight > put the width of group pScrollerGrp into tWidth > iphoneControlSet pScrollerId, "contentRect", (0,0, tWidth, tHeight) > > If you're using a table datagrid then you'll need to create a separate 'header' (I use another datagrid for this) and 'link' it to the datagrid containing the data so that it will respond when you click the column names in the header to sort the datagrid. > > My datagrids all have fixed line heights so if you're toggling rows and changing line heights in the process I guess you might need to reset the height of the datagrid using... > > set the height of grp "myData_DG" to the max((the dgFormattedheight of grp "myData_DG"),(the height of grp "myData")) > > and reset the scroller's content rect using... > > put (the dgFormattedHeight of group "myData_DG") into tHeight > put the width of group pScrollerGrp into tWidth > iphoneControlSet pScrollerId, "contentRect", (0,0, tWidth, tHeight) > > Not sure what toggling rows will do to the actual scroll value of the scroller however (could be messy). > > Terry... > >> >> Thanks >> Mike >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > Dr Terry Judd > Senior Lecturer in Medical Education > Medical Eduction Unit > Faculty of Medicine, Dentistry & Health Sciences > The University of Melbourne > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From yoshino at sys.wakayama-u.ac.jp Tue Nov 15 07:14:21 2011 From: yoshino at sys.wakayama-u.ac.jp (=?iso-2022-jp?B?GyRCNUhMbhsoQiAbJEI5JxsoQg==?=) Date: Tue, 15 Nov 2011 21:14:21 +0900 Subject: =?iso-2022-jp?B?SG93IHRvIHB1dCBhIG5ldyBvYmplY3QgdG8gYmVjb21lIGEg?= =?iso-2022-jp?B?YmFja2dyb3VuZCBvYmplY3QbJEIhKRsoQg==?= Message-ID: Hi, How to put a new object to become a background object? I make 20 cards with one background (grouped) object. Then, I want to add a new object to become a background object? I should delete 19 cards and re-copy 19 cards? _.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ Takashi Yoshino http://www.wakayama-u.ac.jp/~yoshino/lab/ Tel: +81-73-457-8441 From m.schonewille at economy-x-talk.com Tue Nov 15 07:20:57 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 15 Nov 2011 13:20:57 +0100 Subject: =?utf-8?Q?Re=3A_How_to_put_a_new_object_to_become_a_background_o?= =?utf-8?Q?bject=EF=BC=9F?= In-Reply-To: References: Message-ID: <5914E383-2D89-433F-83F7-26D6B0C7011D@economy-x-talk.com> Hi Yoshino, Select the group, choose Edit Group from the Object menu, add your object and select Stop Editing Group from the Objects object. Usually, I find it convenient to stop editing the group before I continue to edit the new object. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission! On 15 nov 2011, at 13:14, ?? ? wrote: > Hi, > > How to put a new object to become a background object? > > I make 20 cards with one background (grouped) object. > Then, I want to add a new object to become a background object? > > I should delete 19 cards and re-copy 19 cards? From dev at digifilm.com Tue Nov 15 10:21:11 2011 From: dev at digifilm.com (ddas) Date: Tue, 15 Nov 2011 10:21:11 -0500 Subject: Stack Centered In-Reply-To: <4EC1FF55.3000501@hyperactivesw.com> References: <1321335669571-4041992.post@n4.nabble.com> <4EC1FF55.3000501@hyperactivesw.com> Message-ID: Hello Everyone, What is the best way of to keep a stack centered without tiling on a display screen that is larger than stack window. Thanks, Debdoot From bvg at mac.com Tue Nov 15 11:05:32 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue, 15 Nov 2011 17:05:32 +0100 Subject: Stack Centered In-Reply-To: References: <1321335669571-4041992.post@n4.nabble.com> <4EC1FF55.3000501@hyperactivesw.com> Message-ID: I guess you want to read the dictionary entry about the "screenLoc" property. set the location of stack "my stack" to the screenLoc Or maybe I missunderstood your question? On 15 Nov 2011, at 16:21, ddas wrote: > Hello Everyone, > > What is the best way of to keep a stack centered without tiling on a display screen that is larger than stack window. > > Thanks, > Debdoot -- Watch live presentations every Saturday: http://livecode.tv Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From bvg at mac.com Tue Nov 15 11:18:01 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue, 15 Nov 2011 17:18:01 +0100 Subject: [ANN] LiveCode.tv event #43 In-Reply-To: References: <6B865405-BBC0-491C-AD25-BFB1C85A2D58@mac.com> <7EC6A85B-DD6B-4138-A597-512A194F4453@mac.com> <89782C22-C6E3-4245-95D1-A48F69423753@mac.com> <061D9182-B34B-4ABB-A7D6-9C2D09DA8755@mac.com> <73F84954-890B-4627-859A-702C8054F13B@mac.com> <093DEF5E-6C0F-4924-A262-F6DBE748ED45@mac.com> <3FB852C9-5675-4A19-9506-543733BB2547@mac.com> <914DF999-596E-4023-A213-9469C6A69FA0@mac.com> <2B105965-FB27-41D0-B95F-1F4C84ADD53B@mac.com> <163225D1-67D1-4CE7-8049-E85A8D94D177@mac.com> <225B0941-5D11-434A-BC0B-CD61B998E9F8@mac.com> <201756EB-9601-417D-856E-5128C5256EF1@mac.com> <081FD717-0A48-447D-90AA-A8F370B14F43@mac.com> <913B7E78-3052-4CF0-9883-C1CDD9F8BDFA@mac.com> <0C1B6D89-1745-46DF-9C49-A5FE2E5B67B9@mac.com> <497CC7C9-74BC-419C-9785-CEA07A8FE181@mac.com> <54E0E19F-3F8A-4D69-97E5-0A95CF879616@mac.com> <056EBC7F-549E-4576-9C8F-920DE5118529@mac.com> <5C8CFEAF-E023-4D20-8459-6C60A4E3E70E@mac.com> Message-ID: During the event, Colin decided to do the tutorial stack at some other date, but here's his explanation about Director, and how it compares to LiveCode: http://www.ustream.tv/recorded/18478288 Please note that we have no presentations ready at all, so contact me. On 11 Nov 2011, at 14:19, Bj?rnke von Gierke wrote: > This weekend, Colin will present two topics: > > First he will show us Adobe Director, with its an xTalk-like programming language. > For an encore, he will present a beginner's Tutorial, in the form of a simple calculator. > > Colin Holgate has been a regular contributor for the event, and always makes very stringent presentations. Visit his companies website to learn more about him: http://www.funnygarbage.com/ > > > Please consider making a presentation, contact me for doing that. > > Join ChatRev to watch live at 20:00 CET on Saturday, 12th November. Download a standalone from > http://bjoernke.com/chatrev/ > or enter in the message box: > go stack URL ?http://bjoernke.com/chatrev/chatrev1.3b3.rev? > > Rome Sat 20:00 > New York Sat 14:00 > Los Angeles Sat 11:00 > Sydney Sun 06:00 > Hong Kong Sun 03:00 > > > See you then :) > Bj?rnke > > On 4 Nov 2011, at 02:09, Bj?rnke von Gierke wrote: > >> This Saturday, Mark will present his Installer Maker, because he just released a fresh beta version. Join the event and get a big discount on this invaluable tool. >> >> More info about Installer Maker: >> http://www3.economy-x-talk.com/file.php?node=installer-maker >> >> Have your own tool? Present it during the event: >> http://livecode.tv/participate/ >> >> Join ChatRev to watch live at 20:00 CET on Saturday, 5th November. Download a standalone from >> http://bjoernke.com/chatrev/ >> or enter in the message box: >> go stack URL ?http://bjoernke.com/chatrev/chatrev1.3b3.rev? >> >> Berlin Sat 20:00 >> New York Sat 15:00 >> Los Angeles Sat 12:00 >> Sydney Sun 06:00 >> Hong Kong Sun 03:00 >> >> >> See you then :) >> Bj?rnke >> >> >> -- >> Watch live presentations every Saturday: >> http://livecode.tv >> >> Use an alternative Dictionary viewer: >> http://bjoernke.com/bvgdocu/ >> >> Chat with other RunRev developers: >> http://bjoernke.com/chatrev/ >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > -- > Watch live presentations every Saturday: > http://livecode.tv > > Use an alternative Dictionary viewer: > http://bjoernke.com/bvgdocu/ > > Chat with other RunRev developers: > http://bjoernke.com/chatrev/ > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Watch live presentations every Saturday: http://livecode.tv Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From mwieder at ahsoftware.net Tue Nov 15 11:24:51 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 15 Nov 2011 08:24:51 -0800 Subject: Wasting space on the forum. In-Reply-To: <4EC24453.1030900@gmail.com> References: <6697E87B-A668-4945-A575-37A88B93966C@wanadoo.fr> <6CDED709-B647-46DA-BDE7-104E2705029E@twft.com> <4EC1D80B.2030906@hyperactivesw.com> <4EC24453.1030900@gmail.com> Message-ID: <16638742046.20111115082451@ahsoftware.net> Richmond- Tuesday, November 15, 2011, 2:52:03 AM, you wrote: > I like to interpolate. ...troublemaker... -- -Mark Wieder mwieder at ahsoftware.net From dev at digifilm.com Tue Nov 15 12:03:08 2011 From: dev at digifilm.com (ddas) Date: Tue, 15 Nov 2011 12:03:08 -0500 Subject: Stack Centered In-Reply-To: References: <1321335669571-4041992.post@n4.nabble.com> <4EC1FF55.3000501@hyperactivesw.com> Message-ID: <5C6C147D-42BA-4059-A24E-D5D0FE87F56C@digifilm.com> Hi Bj?rnke, I have set the location of this stack to the screenLoc However, when a stack is authored for the iphone is run on iPad simulator it goes to the top left and tiles on the rest of the screen. Thanks, Debdoot On Nov 15, 2011, at 11:05 AM, Bj?rnke von Gierke wrote: > set the location of stack "my stack" to the screenLoc From gbojsza at gmail.com Tue Nov 15 12:12:37 2011 From: gbojsza at gmail.com (Glen Bojsza) Date: Tue, 15 Nov 2011 10:12:37 -0700 Subject: Copying datagrid templates between stacks. Message-ID: Are there any inherent problems or reasons not to copy a datagrid template between stacks? I would like to just copy the datagrids from an old application stack to a new application stack that I am working on... can this be done or should it be done? thanks. From bvg at mac.com Tue Nov 15 12:13:10 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue, 15 Nov 2011 18:13:10 +0100 Subject: Stack Centered In-Reply-To: <5C6C147D-42BA-4059-A24E-D5D0FE87F56C@digifilm.com> References: <1321335669571-4041992.post@n4.nabble.com> <4EC1FF55.3000501@hyperactivesw.com> <5C6C147D-42BA-4059-A24E-D5D0FE87F56C@digifilm.com> Message-ID: <0C57492C-DABA-445F-B0D1-67706D7565E5@mac.com> On 15 Nov 2011, at 18:03, ddas wrote: > Hi Bj?rnke, > > I have > > set the location of this stack to the screenLoc > > However, when a stack is authored for the iphone is run on iPad simulator it > goes to the top left and tiles on the rest of the screen. You said nothing about iOS. to not make it behave weirdly, you probably need to set the size of the stack to the size of the screen. Does the screenrect work on iOS? otherwise you'd need to look up the size and adjust accordingly. From bobs at twft.com Tue Nov 15 12:34:25 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 15 Nov 2011 07:34:25 -1000 Subject: Auto-numbering in a field In-Reply-To: <1321335669571-4041992.post@n4.nabble.com> References: <1321335669571-4041992.post@n4.nabble.com> Message-ID: My guess is that it is html text, and the format is a numbered list. Bob On Nov 14, 2011, at 7:41 PM, AcidJazz wrote: > If I paste an auto-numbered text from Microsoft Word (albeit on a Mac) into a > field, I can't seem to delete the very first number no matter what I do. I > can delete the text, and all the numbers but the very first one. I'm in > the "contents" box of the properties window. I can't select it, and there's > no way to turn it off that I know of, because I don't think Livecode even > has autonumbering. Short of deleting the field and starting over (which is > what I've had to do), is there a way to fix this? Is it a bug? > > 1. first line > 2. second line > 3. third line > > Delete all > > 1. > > > - Mark > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Auto-numbering-in-a-field-tp4041992p4041992.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bogdanoff at me.com Tue Nov 15 12:58:49 2011 From: bogdanoff at me.com (Peter Bogdanoff) Date: Tue, 15 Nov 2011 17:58:49 +0000 (GMT) Subject: Waiting for download to complete In-Reply-To: <453b9d1e-9636-49f8-a53d-f3eb91eb01b0@me.com> Message-ID: <590d7dd7-37b9-c6f1-f343-b88d33095a02@me.com> Does anyone have any suggestions as to how modify this script--cause LC to wait until the Load is completed before the script moves on to other handlers? On Nov 14, 2011, at 05:41 PM, Peter Bogdanoff wrote: HI, I'm using the following script to download a file. After the download I move on to other things, How do I force LiveCode to wait until the download is completed before doing anything else besides updating a progress bar? Currently the program moves on to other handlers that are contingent on the download being finished, which it isn't. Thanks! Peter on downloadFile ?? open stack "MITA_Updater" ? ? ?? repeat until the lockscreen is "false" ? ? ? unlock screen ?? end repeat ? ? ?? updateStatus "Downloading the update..." ? ? ?? load URL "http://artsinteractive.org/updates/MITA-1NEW.livecode" with message "downloadDone" ? ? ?? libURLSetStatusCallback "myProgress",the long ID of scrollbar "Progress" end downloadFile on myProgress theObject,theStatus ?? put theStatus into theObject end myProgress on downloadDone pUrl, pStatus ?? put theURL & "MITA-1NEW.livecode" into thisURL ? ? ?? ?if pStatus = "cached" then ? ? ? ????put url pUrl into url ("binfile:" & thisURL) ?? ??end if ?? ??unload url pUrl end downloadDone _______________________________________________ use-livecode mailing list use-livecode at 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 Nov 15 13:07:28 2011 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 15 Nov 2011 20:07:28 +0200 Subject: Stack Centered In-Reply-To: References: <1321335669571-4041992.post@n4.nabble.com> <4EC1FF55.3000501@hyperactivesw.com> Message-ID: <4EC2AA60.20504@gmail.com> On 11/15/2011 05:21 PM, ddas wrote: > Hello Everyone, > > What is the best way of to keep a stack centered without tiling on a display screen that is larger than stack window. on openStack set the loc of me to the screenLoc end openStack > Thanks, > Debdoot > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Tue Nov 15 13:08:28 2011 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 15 Nov 2011 20:08:28 +0200 Subject: Wasting space on the forum. In-Reply-To: <16638742046.20111115082451@ahsoftware.net> References: <6697E87B-A668-4945-A575-37A88B93966C@wanadoo.fr> <6CDED709-B647-46DA-BDE7-104E2705029E@twft.com> <4EC1D80B.2030906@hyperactivesw.com> <4EC24453.1030900@gmail.com> <16638742046.20111115082451@ahsoftware.net> Message-ID: <4EC2AA9C.2090408@gmail.com> On 11/15/2011 06:24 PM, Mark Wieder wrote: > Richmond- > > Tuesday, November 15, 2011, 2:52:03 AM, you wrote: > >> I like to interpolate. What? Me? > ...troublemaker... > From pete at mollysrevenge.com Tue Nov 15 13:23:43 2011 From: pete at mollysrevenge.com (Pete) Date: Tue, 15 Nov 2011 10:23:43 -0800 Subject: Copying datagrid templates between stacks. In-Reply-To: References: Message-ID: I think when you copy stacks from another stack file, the controls on them get renumbered. If so, that will break the link between a datagrid and it's row template group since it refers to the group by ID number ( and card number). You could fix that manually by changing the row template cprop to point to the correct group. Pete Molly's Revenge On Tue, Nov 15, 2011 at 9:12 AM, Glen Bojsza wrote: > Are there any inherent problems or reasons not to copy a datagrid template > between stacks? > > I would like to just copy the datagrids from an old application stack to a > new application stack that I am working on... can this be done or should it > be done? > > 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 gbojsza at gmail.com Tue Nov 15 13:38:12 2011 From: gbojsza at gmail.com (Glen Bojsza) Date: Tue, 15 Nov 2011 11:38:12 -0700 Subject: Copying datagrid templates between stacks. In-Reply-To: References: Message-ID: Thanks, it's a starting point. On Tue, Nov 15, 2011 at 11:23 AM, Pete wrote: > I think when you copy stacks from another stack file, the controls on them > get renumbered. If so, that will break the link between a datagrid and > it's row template group since it refers to the group by ID number ( and > card number). You could fix that manually by changing the > row template cprop to point to the correct group. > Pete > Molly's Revenge > > > > > On Tue, Nov 15, 2011 at 9:12 AM, Glen Bojsza wrote: > > > Are there any inherent problems or reasons not to copy a datagrid > template > > between stacks? > > > > I would like to just copy the datagrids from an old application stack to > a > > new application stack that I am working on... can this be done or should > it > > be done? > > > > thanks. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From devin_asay at byu.edu Tue Nov 15 13:38:51 2011 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 15 Nov 2011 18:38:51 +0000 Subject: Auto-numbering in a field In-Reply-To: References: <1321335669571-4041992.post@n4.nabble.com> Message-ID: <86D1697E-4D88-4484-9F37-A6EA6EE15DF1@byu.edu> As things stand now, you can't delete the list by just editing the contents of a field. You have to use 'put empty into fld x'. If you have access to the the RunRev Quality Control Center, you can see a discussion of this issue under bug # 9342. Devin On Nov 15, 2011, at 10:34 AM, Bob Sneidar wrote: > My guess is that it is html text, and the format is a numbered list. > > Bob > > > On Nov 14, 2011, at 7:41 PM, AcidJazz wrote: > >> If I paste an auto-numbered text from Microsoft Word (albeit on a Mac) into a >> field, I can't seem to delete the very first number no matter what I do. I >> can delete the text, and all the numbers but the very first one. I'm in >> the "contents" box of the properties window. I can't select it, and there's >> no way to turn it off that I know of, because I don't think Livecode even >> has autonumbering. Short of deleting the field and starting over (which is >> what I've had to do), is there a way to fix this? Is it a bug? >> >> 1. first line >> 2. second line >> 3. third line >> >> Delete all >> >> 1. Devin Asay Humanities Technology and Research Support Center Brigham Young University From zryip.theslug at gmail.com Tue Nov 15 13:44:13 2011 From: zryip.theslug at gmail.com (zryip theSlug) Date: Tue, 15 Nov 2011 19:44:13 +0100 Subject: Copying datagrid templates between stacks. In-Reply-To: References: Message-ID: On Tue, Nov 15, 2011 at 6:12 PM, Glen Bojsza wrote: > Are there any inherent problems or reasons not to copy a datagrid template > between stacks? > > I would like to just copy the datagrids from an old application stack to a > new application stack that I am working on... can this be done or should it > be done? Hi Glen, As a DGH user, you can use the "Mimetism" feature of DGH for "cloning" a datagrid in another project. For doing that: 1. Select the datagrid to copy 2. Open the mimetism topic of the DGH's properties palette 3. In the "cloning chamber", click on the 3 dots button 4. Click on the "Add in Chamber" button 5. In the new application stack, drop a fresh datagrid 6. Select the new datagrid in DGH. 7. Click on the "clone properties & template" button This feature copies all the properties of the datagrid, duplicates the template and take in charge the different behaviors in the new template, so you should have nothing to do manually. Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.com From gbojsza at gmail.com Tue Nov 15 13:50:55 2011 From: gbojsza at gmail.com (Glen Bojsza) Date: Tue, 15 Nov 2011 11:50:55 -0700 Subject: Copying datagrid templates between stacks. In-Reply-To: References: Message-ID: Even better! thanks. On Tue, Nov 15, 2011 at 11:44 AM, zryip theSlug wrote: > On Tue, Nov 15, 2011 at 6:12 PM, Glen Bojsza wrote: > > Are there any inherent problems or reasons not to copy a datagrid > template > > between stacks? > > > > I would like to just copy the datagrids from an old application stack to > a > > new application stack that I am working on... can this be done or should > it > > be done? > > Hi Glen, > > As a DGH user, you can use the "Mimetism" feature of DGH for "cloning" > a datagrid in another project. > > For doing that: > 1. Select the datagrid to copy > 2. Open the mimetism topic of the DGH's properties palette > 3. In the "cloning chamber", click on the 3 dots button > 4. Click on the "Add in Chamber" button > 5. In the new application stack, drop a fresh datagrid > 6. Select the new datagrid in DGH. > 7. Click on the "clone properties & template" button > > This feature copies all the properties of the datagrid, duplicates the > template and take in charge the different behaviors in the new > template, so you should have nothing to do manually. > > > Best regards, > -- > -Zryip TheSlug- wish you the best! 8) > http://www.aslugontheroad.com > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Nov 15 19:30:46 2011 From: davidocoker at gmail.com (David C.) Date: Tue, 15 Nov 2011 18:30:46 -0600 Subject: how to change the background color to tab panel? In-Reply-To: <004201cca376$b559ee60$200dcb20$@de> References: <717572D3-1156-4B11-9112-F67EDF4E4B9E@system-ini.it> <138330877171.20111114140033@ahsoftware.net> <15340315656.20111114163752@ahsoftware.net> <2D77D829-7802-4CB6-9ECD-B0F515B3A827@economy-x-talk.com> <1641832718.20111114220942@ahsoftware.net> <004201cca376$b559ee60$200dcb20$@de> Message-ID: > LC 4.6.4 on W7 can't set the bgcol either > Could the difference be native Win or emulated win at Mark W.? > Tiemo Hey folks, On Win 7 systems, colored tabs is always controlled according to the theme engine being used. That is a variable user choice that you will not be able to change unless you build your own custom controls. As a point of reference, here is the exact same stack on Windows 7, one using theme rendering and the other using the "Windows Classic" theme (no theme). http://docstoolchest.com/theme_rendering.jpg Best regards, David C. From bobs at twft.com Tue Nov 15 19:47:24 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 15 Nov 2011 14:47:24 -1000 Subject: Wasting space on the forum. In-Reply-To: <4EC2AA9C.2090408@gmail.com> References: <6697E87B-A668-4945-A575-37A88B93966C@wanadoo.fr> <6CDED709-B647-46DA-BDE7-104E2705029E@twft.com> <4EC1D80B.2030906@hyperactivesw.com> <4EC24453.1030900@gmail.com> <16638742046.20111115082451@ahsoftware.net> <4EC2AA9C.2090408@gmail.com> Message-ID: <57814BAF-45DD-4BC6-A2F3-D9C7FD5785B7@twft.com> On Nov 15, 2011, at 8:08 AM, Richmond wrote: > On 11/15/2011 06:24 PM, Mark Wieder wrote: >> Richmond- Perhaps I should have used a bit of reverse psychology here... >> >> Tuesday, November 15, 2011, 2:52:03 AM, you wrote: >> >>> I like to interpolate. > > What? Me? > >> ...troublemaker... >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Tue Nov 15 20:59:02 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 15 Nov 2011 17:59:02 -0800 Subject: how to change the background color to tab panel? In-Reply-To: References: <717572D3-1156-4B11-9112-F67EDF4E4B9E@system-ini.it> <138330877171.20111114140033@ahsoftware.net> <15340315656.20111114163752@ahsoftware.net> <2D77D829-7802-4CB6-9ECD-B0F515B3A827@economy-x-talk.com> <1641832718.20111114220942@ahsoftware.net> <004201cca376$b559ee60$200dcb20$@de> Message-ID: <18973193250.20111115175902@ahsoftware.net> David- Tuesday, November 15, 2011, 4:30:46 PM, you wrote: > Hey folks, > On Win 7 systems, colored tabs is always controlled according to the > theme engine being used. That is a variable user choice that you will > not be able to change unless you build your own custom controls. Thanks. Mystery solved, I think. -- -Mark Wieder mwieder at ahsoftware.net From richmondmathewson at gmail.com Wed Nov 16 00:51:28 2011 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 16 Nov 2011 07:51:28 +0200 Subject: Wasting space on the forum. In-Reply-To: <57814BAF-45DD-4BC6-A2F3-D9C7FD5785B7@twft.com> References: <6697E87B-A668-4945-A575-37A88B93966C@wanadoo.fr> <6CDED709-B647-46DA-BDE7-104E2705029E@twft.com> <4EC1D80B.2030906@hyperactivesw.com> <4EC24453.1030900@gmail.com> <16638742046.20111115082451@ahsoftware.net> <4EC2AA9C.2090408@gmail.com> <57814BAF-45DD-4BC6-A2F3-D9C7FD5785B7@twft.com> Message-ID: <4EC34F60.7040504@gmail.com> On 11/16/2011 02:47 AM, Bob Sneidar wrote: > On Nov 15, 2011, at 8:08 AM, Richmond wrote: > >> On 11/15/2011 06:24 PM, Mark Wieder wrote: >>> Richmond- > Perhaps I should have used a bit of reverse psychology here... Quite. >>> Tuesday, November 15, 2011, 2:52:03 AM, you wrote: >>> >>>> I like to interpolate. >> What? Me? >> >>> ...troublemaker... >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From yoshino at sys.wakayama-u.ac.jp Wed Nov 16 03:42:46 2011 From: yoshino at sys.wakayama-u.ac.jp (Takashi Yoshino) Date: Wed, 16 Nov 2011 17:42:46 +0900 Subject: =?iso-2022-jp?B?UmU6IEhvdyB0byBwdXQgYSBuZXcgb2JqZWN0IHRvIGJlY29t?= =?iso-2022-jp?B?ZSBhIGJhY2tncm91bmQgb2JqZWN0GyRCISkbKEI=?= In-Reply-To: <5914E383-2D89-433F-83F7-26D6B0C7011D@economy-x-talk.com> References: <5914E383-2D89-433F-83F7-26D6B0C7011D@economy-x-talk.com> Message-ID: Thank you! It works well. I'm sorry for a very beginner's question? _.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ Takashi Yoshino http://www.wakayama-u.ac.jp/~yoshino/lab/ On 2011/11/15, at 21:20, Mark Schonewille wrote: > Hi Yoshino, > > Select the group, choose Edit Group from the Object menu, add your object and select Stop Editing Group from the Objects object. Usually, I find it convenient to stop editing the group before I continue to edit the new object. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission! > > On 15 nov 2011, at 13:14, ?? ? wrote: > >> Hi, >> >> How to put a new object to become a background object? >> >> I make 20 cards with one background (grouped) object. >> Then, I want to add a new object to become a background object? >> >> I should delete 19 cards and re-copy 19 cards? > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Nov 16 07:37:53 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 16 Nov 2011 04:37:53 -0800 (PST) Subject: =?UTF-8?Q?Re:_How_to_put_a_new_object_t?= =?UTF-8?Q?o_become_a_background_object=EF=BC=9F?= In-Reply-To: References: <5914E383-2D89-433F-83F7-26D6B0C7011D@economy-x-talk.com> Message-ID: <1321447073830-4076170.post@n4.nabble.com> Hi, Mr. Yoshino ?? ? wrote: > > Thank you! > It works well. > I'm sorry for a very beginner's question? > Actually, every person that works in the computer field, feels like a beginner one or more times every day or so. There are so many new devices and softwares that our sense of wonder never gets exhausted... Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-to-put-a-new-object-to-become-a-background-object-tp4042736p4076170.html Sent from the Revolution - User mailing list archive at Nabble.com. From pmbrig at gmail.com Wed Nov 16 08:43:27 2011 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Wed, 16 Nov 2011 08:43:27 -0500 Subject: Wasting space on the forum. In-Reply-To: <16638742046.20111115082451@ahsoftware.net> References: <6697E87B-A668-4945-A575-37A88B93966C@wanadoo.fr> <6CDED709-B647-46DA-BDE7-104E2705029E@twft.com> <4EC1D80B.2030906@hyperactivesw.com> <4EC24453.1030900@gmail.com> <16638742046.20111115082451@ahsoftware.net> Message-ID: <8F5179A6-7B79-4AB0-A14D-10CEDC49FE98@gmail.com> On Nov 15, 2011, at 11:24 AM, Mark Wieder wrote: > Richmond- > > Tuesday, November 15, 2011, 2:52:03 AM, you wrote: > >> I like to inter I'm a *real* troublemaker. >> polate. > > ...troublemaker... -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From mike at doub.com Wed Nov 16 12:03:00 2011 From: mike at doub.com (mike at doub.com) Date: Wed, 16 Nov 2011 17:03:00 +0000 Subject: Database Strategy Message-ID: <185547685-1321462983-cardhu_decombobulator_blackberry.rim.net-1949578644-@b5.c31.bise6.blackberry> I am new to the world of databases and I need some advise. I am currently opening and closing the database in the open and close stack handlers. I am storing the connection I'd in a custom stack property. When I go to a card, I am creating a cursor, directly loading each record into the datagrid. Upon closing the card I close the cursor. Now this works fine when I load rev for the first time and go to the card with the datagrid. When I leave the card and return, I am getting errors indicating I have invalid cursor ID. So should I be opening and closing the entire database in the card? I am not seeing anything wrong examining the close cursor function. As a separate question can you have multiple cursors open at the same time. I would think so. Thanks in advance. -= Mike Sent from my BlackBerry device on the Rogers Wireless Network From pete at mollysrevenge.com Wed Nov 16 13:04:51 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 16 Nov 2011 10:04:51 -0800 Subject: Database Strategy In-Reply-To: <185547685-1321462983-cardhu_decombobulator_blackberry.rim.net-1949578644-@b5.c31.bise6.blackberry> References: <185547685-1321462983-cardhu_decombobulator_blackberry.rim.net-1949578644-@b5.c31.bise6.blackberry> Message-ID: Sounds like the problem is that you close the cursor when the card is closed. From that point, it's not a valid cursor, as you're finding when you return to the card. When you return to the card, you'd need to either leave the cursor open or re-execute the SELECT statement that created it. Depending on the needs of your application, you might want to consider not creating a cursor but returning the data from the SELECT statement directly to your application using revDataFromQuery and storing that in a custom property. That's useful if you are using a datagrid on your card since you can simply set the dgtext of the datagrid to the returned data to populate the datagrid. Pete Molly's Revenge On Wed, Nov 16, 2011 at 9:03 AM, wrote: > I am new to the world of databases and I need some advise. > > I am currently opening and closing the database in the open and close > stack handlers. I am storing the connection I'd in a custom stack property. > > When I go to a card, I am creating a cursor, directly loading each record > into the datagrid. Upon closing the card I close the cursor. > > Now this works fine when I load rev for the first time and go to the card > with the datagrid. When I leave the card and return, I am getting errors > indicating I have invalid cursor ID. > > So should I be opening and closing the entire database in the card? > I am not seeing anything wrong examining the close cursor function. > > As a separate question can you have multiple cursors open at the same > time. I would think so. > > Thanks in advance. > > -= Mike > > > Sent from my BlackBerry device on the Rogers Wireless Network > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Nov 16 13:57:05 2011 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 16 Nov 2011 20:57:05 +0200 Subject: Wasting space on the forum. In-Reply-To: <8F5179A6-7B79-4AB0-A14D-10CEDC49FE98@gmail.com> References: <6697E87B-A668-4945-A575-37A88B93966C@wanadoo.fr> <6CDED709-B647-46DA-BDE7-104E2705029E@twft.com> <4EC1D80B.2030906@hyperactivesw.com> <4EC24453.1030900@gmail.com> <16638742046.20111115082451@ahsoftware.net> <8F5179A6-7B79-4AB0-A14D-10CEDC49FE98@gmail.com> Message-ID: <4EC40781.3040608@gmail.com> On 11/16/2011 03:43 PM, Peter M. Brigham, MD wrote: > On Nov 15, 2011, at 11:24 AM, Mark Wieder wrote: > >> Richmond- >> >> Tuesday, November 15, 2011, 2:52:03 AM, you wrote: >> >>> I like to inter > I'm a *real* trouble right-on, boyo . . . :) > maker. > >>> polate. >> ...troublemaker... > -- 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 gbojsza at gmail.com Wed Nov 16 15:14:17 2011 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 16 Nov 2011 13:14:17 -0700 Subject: Number of Controls - Application Browser vs. Script Message-ID: I have a stack with a single card and several objects that I have placed on it ... including a datagrid. In the application browser it shows 58 controls for the card (all the ones I expected). >From script put the number of controls of card 1 of this stack I get 202 controls (which I would guess has to do with the datagrid). Is it possible via script to get the same controls that the Application browser reports? thanks From revlist at azurevision.co.uk Wed Nov 16 15:41:04 2011 From: revlist at azurevision.co.uk (Ian Wood) Date: Wed, 16 Nov 2011 20:41:04 +0000 Subject: Number of Controls - Application Browser vs. Script In-Reply-To: References: Message-ID: <0C01CACE-5E82-4F51-A4C2-9829E6573D10@azurevision.co.uk> You might be able to filter the long ids of the controls to exclude ones contained by the datagrid group. Ian On 16 Nov 2011, at 20:14, Glen Bojsza wrote: > I have a stack with a single card and several objects that I have placed on > it ... including a datagrid. > > In the application browser it shows 58 controls for the card (all the ones > I expected). > > From script > > put the number of controls of card 1 of this stack > > I get 202 controls (which I would guess has to do with the datagrid). > > Is it possible via script to get the same controls that the Application > browser reports? > > 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 mike at doub.com Wed Nov 16 16:05:21 2011 From: mike at doub.com (Michael Doub) Date: Wed, 16 Nov 2011 16:05:21 -0500 Subject: Database Strategy In-Reply-To: References: <185547685-1321462983-cardhu_decombobulator_blackberry.rim.net-1949578644-@b5.c31.bise6.blackberry> Message-ID: <683CFFF9-2D5F-410D-ADC5-DCFA265EAE7C@doub.com> The potential size of the database is causing me to drive the database by loading the data grid by catching command GetDataForLine pLine, @pOutData. On the first execution thru the OpenCard handler everything works just fine. On subsequent calls the OpenCursor routine is never executed. The handler seems get as far as the set the dgProp[ "show vscrollbar" ] of group "DataGrid" to true that statement where it would appear that that the OpenCard handler is terminated. If I make the setup_Scrolling code a comment, then everything works as as I would have expected. it is really odd that the same code executes fine on the first execution. Could this be a bug in the data grid code? I am using 5.0.1 (rc 1) on OpenCard log ("Open Card") set the tmLabel of group "Header" of this card to the short name of this card setup_Scrolling OpenCursor put revDatabaseColumnNames(sCursorID) into sRecordFields put revNumberOfRecords(sCursorID) into sRecordCount lock screen set the dgNumberOfRecords of group "DataGrid" to sRecordCount unlock screen end OpenCard on setup_Scrolling if the environment is "mobile" then set the dgProp[ "show vscrollbar" ] of group "DataGrid" to false -- other code remove for now else set the dgProp[ "show vscrollbar" ] of group "DataGrid" to true end if end setup_Scrolling On 2011-11-16, at 1:04 PM, Pete wrote: > Sounds like the problem is that you close the cursor when the card is > closed. From that point, it's not a valid cursor, as you're finding when > you return to the card. When you return to the card, you'd need to either > leave the cursor open or re-execute the SELECT statement that created it. > > Depending on the needs of your application, you might want to consider > not creating a cursor but returning the data from the SELECT statement > directly to your application using revDataFromQuery and storing that in a > custom property. That's useful if you are using a datagrid on your card > since you can simply set the dgtext of the datagrid to the returned data to > populate the datagrid. > > Pete > Molly's Revenge > > > > > ________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Wed Nov 16 16:39:46 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 16 Nov 2011 13:39:46 -0800 Subject: Number of Controls - Application Browser vs. Script In-Reply-To: References: Message-ID: Hi Glen, I haven't found a way to exclude them from being returned by any of the standard methods of looping through the controls in a script but I have managed to identify which controls are part of the datagrid. If it helps, you can see the structure of a datagrid by selecting it, then in the message box, type: set the selectgroupedcontrols of selobj() to true Then select the card that the datagrid is on in the Application browser (if it's already selected, you'll probably have to refresh the right pane by right-clicking and selecting refresh. Your datagrid won't work until you restore it to normal condition by "set the selectgroupedcontrols of selobj() to false" You'll see that many (but not all) of the datagrid controls have names that begin with "dg" so you can start by excluding those. After that, you have to deal with any columns that you have customised to contain controls and the column headings since they won't have names that begin with "dg" (unless you force yourself to do that). I do that by checking if either "dgList" or "dgHeader" is in the long name of the control. So far that has worked reliably for me. Hope that helps. Pete Molly's Revenge On Wed, Nov 16, 2011 at 12:14 PM, Glen Bojsza wrote: > I have a stack with a single card and several objects that I have placed on > it ... including a datagrid. > > In the application browser it shows 58 controls for the card (all the ones > I expected). > > From script > > put the number of controls of card 1 of this stack > > I get 202 controls (which I would guess has to do with the datagrid). > > Is it possible via script to get the same controls that the Application > browser reports? > > thanks > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From pete at mollysrevenge.com Wed Nov 16 16:41:26 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 16 Nov 2011 13:41:26 -0800 Subject: Number of Controls - Application Browser vs. Script In-Reply-To: References: Message-ID: PS to my post. You can, of course, look for the datagrid name in the long name of the control as Ian suggested. In my case, I had an interest in gathering information about some of the controls so I had to be a bit more granular than that. Pete Molly's Revenge On Wed, Nov 16, 2011 at 1:39 PM, Pete wrote: > Hi Glen, > I haven't found a way to exclude them from being returned by any of the > standard methods of looping through the controls in a script but I have > managed to identify which controls are part of the datagrid. > > If it helps, you can see the structure of a datagrid by selecting it, then > in the message box, type: > > set the selectgroupedcontrols of selobj() to true > > Then select the card that the datagrid is on in the Application browser > (if it's already selected, you'll probably have to refresh the right pane > by right-clicking and selecting refresh. > > Your datagrid won't work until you restore it to normal condition by "set > the selectgroupedcontrols of selobj() to false" > > You'll see that many (but not all) of the datagrid controls have names > that begin with "dg" so you can start by excluding those. After that, you > have to deal with any columns that you have customised to contain controls > and the column headings since they won't have names that begin with "dg" > (unless you force yourself to do that). I do that by checking if either > "dgList" or "dgHeader" is in the long name of the control. So far that has > worked reliably for me. > > Hope that helps. > > > Pete > Molly's Revenge > > > > > On Wed, Nov 16, 2011 at 12:14 PM, Glen Bojsza wrote: > >> I have a stack with a single card and several objects that I have placed >> on >> it ... including a datagrid. >> >> In the application browser it shows 58 controls for the card (all the ones >> I expected). >> >> From script >> >> put the number of controls of card 1 of this stack >> >> I get 202 controls (which I would guess has to do with the datagrid). >> >> Is it possible via script to get the same controls that the Application >> browser reports? >> >> thanks >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > From pete at mollysrevenge.com Wed Nov 16 17:01:28 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 16 Nov 2011 14:01:28 -0800 Subject: Database Strategy In-Reply-To: <683CFFF9-2D5F-410D-ADC5-DCFA265EAE7C@doub.com> References: <185547685-1321462983-cardhu_decombobulator_blackberry.rim.net-1949578644-@b5.c31.bise6.blackberry> <683CFFF9-2D5F-410D-ADC5-DCFA265EAE7C@doub.com> Message-ID: Yes, that is strange. I did find this in the datagrid manual: "When a Data Grid renders it dynamically creates fields and accesses certain properties. Some of these properties can not be properly reported by the Revolution engine unless the field is on an open card." Your code is in OpenCard so this probably isn't the problem, but.....?? Pete Molly's Revenge On Wed, Nov 16, 2011 at 1:05 PM, Michael Doub wrote: > The potential size of the database is causing me to drive the database by > loading the data grid by catching > command GetDataForLine pLine, @pOutData. > > On the first execution thru the OpenCard handler everything works just > fine. On subsequent > calls the OpenCursor routine is never executed. The handler seems get as > far as the > > set the dgProp[ "show vscrollbar" ] of group "DataGrid" to true that > > statement where it would appear that that the OpenCard handler is > terminated. If I make > the setup_Scrolling code a comment, then everything works as as I would > have expected. > it is really odd that the same code executes fine on the first execution. > Could this be a bug > in the data grid code? I am using 5.0.1 (rc 1) > > > on OpenCard > log ("Open Card") > set the tmLabel of group "Header" of this card to the short name of this > card > setup_Scrolling > OpenCursor > put revDatabaseColumnNames(sCursorID) into sRecordFields > put revNumberOfRecords(sCursorID) into sRecordCount > lock screen > set the dgNumberOfRecords of group "DataGrid" to sRecordCount > unlock screen > end OpenCard > > on setup_Scrolling > if the environment is "mobile" then > set the dgProp[ "show vscrollbar" ] of group "DataGrid" to false > -- other code remove for now > else > set the dgProp[ "show vscrollbar" ] of group "DataGrid" to true > end if > end setup_Scrolling > > > > On 2011-11-16, at 1:04 PM, Pete wrote: > > > Sounds like the problem is that you close the cursor when the card is > > closed. From that point, it's not a valid cursor, as you're finding when > > you return to the card. When you return to the card, you'd need to > either > > leave the cursor open or re-execute the SELECT statement that created it. > > > > Depending on the needs of your application, you might want to consider > > not creating a cursor but returning the data from the SELECT statement > > directly to your application using revDataFromQuery and storing that in a > > custom property. That's useful if you are using a datagrid on your card > > since you can simply set the dgtext of the datagrid to the returned data > to > > populate the datagrid. > > > > 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 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From jhurley0305 at sbcglobal.net Wed Nov 16 17:02:00 2011 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Wed, 16 Nov 2011 14:02:00 -0800 Subject: Running a script after pasting text In-Reply-To: References: Message-ID: <433DF3AC-F90F-43DA-871B-269B12FC9E82@sbcglobal.net> Is there a message I might trap to run a script after pasting text into a field? From zryip.theslug at gmail.com Wed Nov 16 17:03:47 2011 From: zryip.theslug at gmail.com (zryip theSlug) Date: Wed, 16 Nov 2011 23:03:47 +0100 Subject: Number of Controls - Application Browser vs. Script In-Reply-To: References: Message-ID: On Wed, Nov 16, 2011 at 9:14 PM, Glen Bojsza wrote: > I have a stack with a single card and several objects that I have placed on > it ... including a datagrid. > > In the application browser it shows 58 controls for the card (all the ones > I expected). > > From script > > put the number of controls of card 1 of this stack > > I get 202 controls (which I would guess has to do with the datagrid). > > Is it possible via script to get the same controls that the Application > browser reports? You can count the number of controls in the card, then subtract to this number, the number of controls inside the datagrid group: put the number of controls of cd 1 - the number of controls of group "myDataGrid" Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.com From gbojsza at gmail.com Wed Nov 16 17:07:55 2011 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 16 Nov 2011 15:07:55 -0700 Subject: Number of Controls - Application Browser vs. Script In-Reply-To: References: Message-ID: Yes it looks like I would need to create a filter to account for all the datagrid objects... this would work but I will have to remember never to create a group that starts with "dg". thanks. On Wed, Nov 16, 2011 at 2:39 PM, Pete wrote: > Hi Glen, > I haven't found a way to exclude them from being returned by any of the > standard methods of looping through the controls in a script but I have > managed to identify which controls are part of the datagrid. > > If it helps, you can see the structure of a datagrid by selecting it, then > in the message box, type: > > set the selectgroupedcontrols of selobj() to true > > Then select the card that the datagrid is on in the Application browser (if > it's already selected, you'll probably have to refresh the right pane by > right-clicking and selecting refresh. > > Your datagrid won't work until you restore it to normal condition by "set > the selectgroupedcontrols of selobj() to false" > > You'll see that many (but not all) of the datagrid controls have names that > begin with "dg" so you can start by excluding those. After that, you have > to deal with any columns that you have customised to contain controls and > the column headings since they won't have names that begin with "dg" > (unless you force yourself to do that). I do that by checking if either > "dgList" or "dgHeader" is in the long name of the control. So far that has > worked reliably for me. > > Hope that helps. > > > Pete > Molly's Revenge > > > > > On Wed, Nov 16, 2011 at 12:14 PM, Glen Bojsza wrote: > > > I have a stack with a single card and several objects that I have placed > on > > it ... including a datagrid. > > > > In the application browser it shows 58 controls for the card (all the > ones > > I expected). > > > > From script > > > > put the number of controls of card 1 of this stack > > > > I get 202 controls (which I would guess has to do with the datagrid). > > > > Is it possible via script to get the same controls that the Application > > browser reports? > > > > thanks > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From m.schonewille at economy-x-talk.com Wed Nov 16 17:27:53 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 16 Nov 2011 23:27:53 +0100 Subject: Running a script after pasting text In-Reply-To: <433DF3AC-F90F-43DA-871B-269B12FC9E82@sbcglobal.net> References: <433DF3AC-F90F-43DA-871B-269B12FC9E82@sbcglobal.net> Message-ID: <8FE03CD4-A1A6-49D6-A3B1-D8CB48F00830@economy-x-talk.com> James, You can catch messages such as commandKeyDown, pasteKey and rawKeyUp. You could also write a script in the Edit button of the Menubar group, which runs whenever the Paste item is selected. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission! On 16 nov 2011, at 23:02, James Hurley wrote: > Is there a message I might trap to run a script after pasting text into a field? From smudge.andy at googlemail.com Wed Nov 16 17:29:58 2011 From: smudge.andy at googlemail.com (AndyP) Date: Wed, 16 Nov 2011 14:29:58 -0800 (PST) Subject: Wasting space on the forum. In-Reply-To: <4EC40781.3040608@gmail.com> References: <6697E87B-A668-4945-A575-37A88B93966C@wanadoo.fr> <6CDED709-B647-46DA-BDE7-104E2705029E@twft.com> <4EC1D80B.2030906@hyperactivesw.com> <4EC24453.1030900@gmail.com> <16638742046.20111115082451@ahsoftware.net> <8F5179A6-7B79-4AB0-A14D-10CEDC49FE98@gmail.com> <4EC40781.3040608@gmail.com> Message-ID: <1321482598698-4078163.post@n4.nabble.com> Talking about troble makers..... Q? Is not this thread wasting forum space? Oh darn it, justed wasted some more... ----- Andy Piddock My software never has bugs. It just develops random features. PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode (v1.4.1 released 26/08/2011) -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Re-Wasting-space-on-the-forum-tp4028499p4078163.html Sent from the Revolution - User mailing list archive at Nabble.com. From mpezzo at gmail.com Wed Nov 16 17:35:20 2011 From: mpezzo at gmail.com (AcidJazz) Date: Wed, 16 Nov 2011 14:35:20 -0800 (PST) Subject: Auto-numbering in a field In-Reply-To: <86D1697E-4D88-4484-9F37-A6EA6EE15DF1@byu.edu> References: <1321335669571-4041992.post@n4.nabble.com> <86D1697E-4D88-4484-9F37-A6EA6EE15DF1@byu.edu> Message-ID: <1321482920264-4078184.post@n4.nabble.com> Thanks Devin! You've helped me twice now in as many weeks. Much appreciated. Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Auto-numbering-in-a-field-tp4041992p4078184.html Sent from the Revolution - User mailing list archive at Nabble.com. From mpezzo at gmail.com Wed Nov 16 17:36:53 2011 From: mpezzo at gmail.com (AcidJazz) Date: Wed, 16 Nov 2011 14:36:53 -0800 (PST) Subject: Auto-numbering in a field In-Reply-To: <8CE7171DC3E7210-854-5327B@Webmail-m124.sysops.aol.com> References: <1321335669571-4041992.post@n4.nabble.com> <8CE7171DC3E7210-854-5327B@Webmail-m124.sysops.aol.com> Message-ID: <1321483013350-4078187.post@n4.nabble.com> I didn't even think to use a script in the message box as both you and Devin and others all suggested. I was just trying to edit within the properties inspector. Your approach works. Thanks. Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Auto-numbering-in-a-field-tp4041992p4078187.html Sent from the Revolution - User mailing list archive at Nabble.com. From pmbrig at gmail.com Wed Nov 16 17:49:42 2011 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Wed, 16 Nov 2011 17:49:42 -0500 Subject: Wasting space on the forum. In-Reply-To: <1321482598698-4078163.post@n4.nabble.com> References: <6697E87B-A668-4945-A575-37A88B93966C@wanadoo.fr> <6CDED709-B647-46DA-BDE7-104E2705029E@twft.com> <4EC1D80B.2030906@hyperactivesw.com> <4EC24453.1030900@gmail.com> <16638742046.20111115082451@ahsoftware.net> <8F5179A6-7B79-4AB0-A14D-10CEDC49FE98@gmail.com> <4EC40781.3040608@gmail.com> <1321482598698-4078163.post@n4.nabble.com> Message-ID: On Nov 16, 2011, at 5:29 PM, AndyP wrote: > Talking about troble makers..... > > Q? Is not this thread wasting forum space? > > Oh darn it, justed wasted some more... Dialog on free will: Q: Are you going to finish reading this dialog? A: As a matter of fact, I think I'll read it again. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From pete at mollysrevenge.com Wed Nov 16 17:52:31 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 16 Nov 2011 14:52:31 -0800 Subject: revOnline Problem Message-ID: Has anyone tried uploading a stack to revOnline recently? I've been trying unsuccessfully for about a week. I select a stack to upload, fill in the title and description, click Save Changes. The screen dims, I get an "Uploading message" in the status bar and that's the way it stays. Pete Molly's Revenge From keith at gulfbreezeortholab.com Wed Nov 16 18:00:24 2011 From: keith at gulfbreezeortholab.com (Keith (Gulf Breeze Ortho Lab)) Date: Wed, 16 Nov 2011 17:00:24 -0600 Subject: File types and icons? Message-ID: <594FF545539143D8BE586E510A0AAD2D@KeithPC> Hello All, Please excuse my ignorance, but is there a way to put a list of files in a datagrid in a way to include the default icon for each file type? For example, if I put a list of files from a directory into a datagrid, is there a way to include a .pdf icon for each .pdf file, a text icon for each text file, an image icon for each image file, etc. I can manually place my own icons (using my own images/icons), but I want to access the file type icons found on each user?s system dynamically... Some users will have different icons... I want each user to be able to identify her/his files accordingly... Thanks! - Boo From jacque at hyperactivesw.com Wed Nov 16 18:47:16 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 16 Nov 2011 17:47:16 -0600 Subject: revOnline Problem In-Reply-To: References: Message-ID: <4EC44B84.7010901@hyperactivesw.com> On 11/16/11 4:52 PM, Pete wrote: > Has anyone tried uploading a stack to revOnline recently? I've been trying > unsuccessfully for about a week. I select a stack to upload, fill in the > title and description, click Save Changes. The screen dims, I get an > "Uploading message" in the status bar and that's the way it stays. Yeah. Same here, for much longer than a week. I'm not sure what to tinker with, but some people seem to be able to upload. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From roger.e.eller at sealedair.com Wed Nov 16 19:50:28 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 16 Nov 2011 19:50:28 -0500 Subject: Wasting space on the forum. In-Reply-To: References: <6697E87B-A668-4945-A575-37A88B93966C@wanadoo.fr> <6CDED709-B647-46DA-BDE7-104E2705029E@twft.com> <4EC1D80B.2030906@hyperactivesw.com> <4EC24453.1030900@gmail.com> <16638742046.20111115082451@ahsoftware.net> <8F5179A6-7B79-4AB0-A14D-10CEDC49FE98@gmail.com> <4EC40781.3040608@gmail.com> <1321482598698-4078163.post@n4.nabble.com> Message-ID: On Wed, Nov 16, 2011 at 5:49 PM, Peter M. Brigham, MD wrote: > On Nov 16, 2011, at 5:29 PM, AndyP wrote: > > > Talking about trouble makers..... > > Dialog on free will: > > Q: Are you going to finish reading this dialog? > A: As a matter of fact, I think I'll read it again. > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > The thing about trouble-makers is they usually are only reacting to someone else's preference that something should be done a certain way; a restriction on free will. This dialog goes on and on and on, partly in fun, and partly to say naa-na Na naa-na (with tongue stuck out, and thumbs in ears, fingers making moose ears). At the end of the day, we sift through it all, we share nuggets of knowledge, we learn, we make fun, but we still respect our fellow listers regardless of where they post a response. It's all good. I appreciate everyone on this list, even space wasters. Oops, there goes a few more bytes. :) ?Roger From pete at mollysrevenge.com Wed Nov 16 21:23:49 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 16 Nov 2011 18:23:49 -0800 Subject: Wasting space on the forum. In-Reply-To: References: <6697E87B-A668-4945-A575-37A88B93966C@wanadoo.fr> <6CDED709-B647-46DA-BDE7-104E2705029E@twft.com> <4EC1D80B.2030906@hyperactivesw.com> <4EC24453.1030900@gmail.com> <16638742046.20111115082451@ahsoftware.net> <8F5179A6-7B79-4AB0-A14D-10CEDC49FE98@gmail.com> <4EC40781.3040608@gmail.com> <1321482598698-4078163.post@n4.nabble.com> Message-ID: Exactly, well said Roger! All this is a matter of personal preference and there is so much knowledge in so many areas of expertise on this list that I will gladly search through as much quoted text as someone wants to include if it means I can add another nugget of LC knowledge to my collection. As to the space issue, I've sometimes had posts rejected because they were too large, so the list administrator has already set an appropriate space limit. Pete Molly's Revenge At the end of the day, we sift through it all, we share nuggets of > knowledge, we learn, we make fun, but we still respect our fellow listers > regardless of where they post a response. It's all good. I appreciate > everyone on this list, even space wasters. Oops, there goes a few more > bytes. :) > > ?Roger > From matthias at matthiasrebbe.eu Mon Nov 14 10:28:55 2011 From: matthias at matthiasrebbe.eu (Matthias Rebbe) Date: Mon, 14 Nov 2011 16:28:55 +0100 Subject: OT: Live Support Chat script/solution? In-Reply-To: References: Message-ID: HI Stephan, yes, i should have mentioned that. I am looking for a text chat, like Adobe is using for support. Regards, Matthias Am 14.11.2011 um 02:12 schrieb stephen barncard: > what kind of chat? text, audio or video? > > On 13 November 2011 17:03, Matthias Rebbe > wrote: > >> Hi, >> >> does anyone know if there is a free LiveChat/LiveSupport tool available.I >> am looking for a solution where my website visitors can press a link on my >> site and a chat windows opens where they can contact me online by chat. >> >> I had something already, but the chat app for me was a windows program. >> But i am looking either for an mac app or better a solution where i have >> also to login from web instead from a desktop application. >> I am looking for a solution i can host on my server. Searched Google >> already, but found only commercial ones with a monthly fee. >> >> Regards, >> >> Matthias >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias at matthiasrebbe.eu Mon Nov 14 10:30:59 2011 From: matthias at matthiasrebbe.eu (Matthias Rebbe) Date: Mon, 14 Nov 2011 16:30:59 +0100 Subject: OT: Live Support Chat script/solution? In-Reply-To: <97490481-A417-4110-A3CB-30DAAD0111CE@mac.com> References: <97490481-A417-4110-A3CB-30DAAD0111CE@mac.com> Message-ID: <9A5C326D-D8AD-41B0-B006-54E8C7DD47F4@matthiasrebbe.eu> Am 14.11.2011 um 14:35 schrieb Bj?rnke von Gierke: > There's a gazillion of website chat thingies in free php or cgi library repositories. How reliable, bug ridden, spyware installing or useful the different ones are.... no idea. > > There's a similar plethora of libraries for flash-based chats, but my 60 year old boss, who doesn't know the difference between http and ftp, told me that flash is dead and should never be considered anywhere ;) > ??? I am not looking for a multiuser chat thing. I am looking for a chat where a customer can contact the support stuff by chat. Matthias > > > On 14 Nov 2011, at 02:03, Matthias Rebbe wrote: > >> Hi, >> >> does anyone know if there is a free LiveChat/LiveSupport tool available.I am looking for a solution where my website visitors can press a link on my site and a chat windows opens where they can contact me online by chat. >> >> I had something already, but the chat app for me was a windows program. But i am looking either for an mac app or better a solution where i have also to login from web instead from a desktop application. >> I am looking for a solution i can host on my server. Searched Google already, but found only commercial ones with a monthly fee. >> >> Regards, >> >> Matthias From matthias_livecode_150811 at m-r-d.de Thu Nov 17 03:57:29 2011 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 17 Nov 2011 09:57:29 +0100 Subject: OT: Live Support Chat script/solution? In-Reply-To: References: Message-ID: Hi, please excuse and ignore the last 2 messages from me. I?ve sent them with the wrong sender address and because of that they were held for approval. Unfortunatley i forgot to cancel them. Sorry. Regards, Matthias From richmondmathewson at gmail.com Thu Nov 17 04:25:15 2011 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 17 Nov 2011 11:25:15 +0200 Subject: Wasting space on the forum. In-Reply-To: References: <6697E87B-A668-4945-A575-37A88B93966C@wanadoo.fr> <6CDED709-B647-46DA-BDE7-104E2705029E@twft.com> <4EC1D80B.2030906@hyperactivesw.com> <4EC24453.1030900@gmail.com> <16638742046.20111115082451@ahsoftware.net> <8F5179A6-7B79-4AB0-A14D-10CEDC49FE98@gmail.com> <4EC40781.3040608@gmail.com> <1321482598698-4078163.post@n4.nabble.com> Message-ID: <4EC4D2FB.8050001@gmail.com> On 11/17/2011 04:23 AM, Pete wrote: > Exactly, well said Roger! All this is a matter of personal preference and > there is so much knowledge in so many areas of expertise on this list that If I could just shove my oar in here . . . > I will gladly search through as much quoted text as someone wants to > include if it means I can add another nugget of LC knowledge to my > collection. Surely, interpolated messages mean that it easy to which parts of previous message components the most recent writer is referring to in his/her reply? > As to the space issue, I've sometimes had posts rejected because they were > too large, so the list administrator has already set an appropriate space > limit. > > Pete > Molly's Revenge > > > > At the end of the day, we sift through it all, we share nuggets of >> knowledge, we learn, we make fun, but we still respect our fellow listers >> regardless of where they post a response. It's all good. I appreciate >> everyone on this list, even space wasters. Oops, there goes a few more >> bytes. :) >> >> ?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 m.schonewille at economy-x-talk.com Thu Nov 17 05:32:37 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 17 Nov 2011 11:32:37 +0100 Subject: LiveCode.tv Event #44 Message-ID: Dear LiveCoders, We have one presentation this week, because no one, besides Bj?rnke, has contacted us with a proposal. To make the next event possible, we need presenters. Contact us now or the event will suffer a silent demise. This weekend's event is scheduled for 19 November 2011 at 19:00h GMT (Sat. 23:00 in Moscow, Sat. 20:00 in Paris, Sat. 14:00 in New York, Sat. 11:00 in Los Angeles, Sun. 06:00 DST in Sydney, Sun. 04:00 in Tokyo, Sun. 3:00 in Beijing). You can find the exact time in your city here http://qery.us/1c5 This edition of the event, Bj?rnke von Gierke is going to show how streaming with Justin.tv works, compare it to Ustream.tv and ask viewers which they think is easier. Make sure to use ChatRev during the happening, otherwise you won't know where to watch the stream, which will be announced in ChatRev. Download ChatRev here: http://bjoernke.com?target=chatrev or enter in the message box: go stack url "http://qery.us/yt" If you would like to participate in the event, contact Mark or Bj?rnke. An easy way to contact us is through this web form http://qery.us/du See also the following page for the same information: http://livecode.tv -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission! From ambassador at fourthworld.com Thu Nov 17 11:05:00 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 17 Nov 2011 08:05:00 -0800 Subject: Wasting space on the forum. In-Reply-To: <4EC4D2FB.8050001@gmail.com> References: <4EC4D2FB.8050001@gmail.com> Message-ID: <4EC530AC.9050109@fourthworld.com> May be please consider this topic thoroughly examined, and move on to LiveCode discussion? -- 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 jhurley0305 at sbcglobal.net Thu Nov 17 11:05:38 2011 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Thu, 17 Nov 2011 08:05:38 -0800 Subject: Location of dialog box In-Reply-To: References: Message-ID: <64D835A2-646B-49E8-8337-E4B441992AF0@sbcglobal.net> Can one set the location of the popup dialog box? In my application, it obscures the object it is addressing. From lfredricks at proactive-intl.com Thu Nov 17 11:25:23 2011 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Thu, 17 Nov 2011 08:25:23 -0800 Subject: So Who Has Tried the Kindle Fire Yet (with LiveCode building)? Message-ID: <3D0BE274D54F48959DB9777D3C0D25CA@GATEWAY> Its been out for all of two seconds - so who's built their first app yet? :-) Its supposed to be running a variant of Android 2.3. I had a chance to play with a demo unit yesterday, however the web browser was locked up in a stupid auto demo so I couldn't evaluate how well that worked. Some Android devices are terribly slow, others not all that bad when it comes to web surfing. I have to say though, for $199, it's a pretty nice little device. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From ambassador at fourthworld.com Thu Nov 17 12:00:50 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 17 Nov 2011 09:00:50 -0800 Subject: SoCal LUG meeting: Dec 1, Pasadena Message-ID: <4EC53DC2.4010304@fourthworld.com> The SoCal LiveCode User Group will be meeting in Pasadena on Thursday, Dec 1 - details in the SC LUG forum that Heather graciously set up for us in the general LiveCode forums: Attendance is open to anyone who wants to show up. The only requirement is an interest in bantering about LiveCode for a couple hours. I'd like to take this opportunity to invite everyone to consider starting up LiveCode groups in your own communities. One of the things I've enjoyed about the Ubuntu community is their practice of holding Ubuntu Hour events, small local gatherings where the members just pick a location and regular meeting time, and show up to talk about their favorite tech. The informality of Ubuntu Hours makes them very easy to set up and keep going. There are no formal presentations, no agendas, and venues are simple, often held in a local coffee shop, restaurant, or other public space. What works for Ubuntu users can work for us LiveCoders as well: LiveCode's audience has grown enough in recent years that most large cities - and even a few small ones - probably have enough members to make it worth doing. And by taking a less formal approach to setting them up, they can be easy and fun and a great way to share ideas, solve problems, and enjoy the company of people who share your interest in LiveCode. In SoCal, we've enjoyed holding larger meetings in the past, but frankly driving time on LA freeways makes it very difficult to do for the region as a whole. So instead it seems much simpler and no less enjoyable to just set up smaller local meetups instead. And these can be done anywhere. Even in your neighborhood. Heather has kindly set up a forum for local meetings in the LiveCode forums: With all the new LiveCode users coming on board there, that's a great place to post a note with something like, "I'm in Eau Claire, Wisconsin - who wants to meet me this Tuesday for a LiveCode get together at Peet's Coffee"? If the fun we've had in our SoCal group is any indication, you're about to have a very good time. This list is great, the forums are great, and LiveCode TV is stellar, but in-person discussion among friends who share a common interest as deep as LiveCode is an unmatchable good 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 effendi at wanadoo.fr Thu Nov 17 12:26:43 2011 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Thu, 17 Nov 2011 18:26:43 +0100 Subject: Wasting space on the forum. Message-ID: Hi from Beautiful Brittany, Richard, > May we please consider this topic thoroughly examined, and move on to > LiveCode discussion? Please accept my apologies for having started this thread. I didn't realize that it would go so far. My Fault !! I hoped to save space on the forum and not waste it. OK You Guys - Cut the crap ! I'm talking about a REVOLUTION ! No pun intended ! Very Best Regards. -Francis "Nothing should ever be done for the first time !" From rene.micout at numericable.com Thu Nov 17 13:19:48 2011 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Thu, 17 Nov 2011 19:19:48 +0100 Subject: Problem with resizeControl Message-ID: <4423A5C0-6324-47AC-8EA5-EFFB1DB79B1B@numericable.com> Hello, I have a problem (simple but...) : 2 buttons (button 1 and button 2), with these 2 buttons I made a group. The script of the group is : on resizeControl set the width of btn "Button 1" to (the width of me)-30 end resizeControl When I resize the group it is OK but when I release the mouse the group and the button grows... What is wrong ? Thank you Ren? From coiin at verizon.net Thu Nov 17 13:25:33 2011 From: coiin at verizon.net (Colin Holgate) Date: Thu, 17 Nov 2011 13:25:33 -0500 Subject: So Who Has Tried the Kindle Fire Yet (with LiveCode building)? In-Reply-To: <3D0BE274D54F48959DB9777D3C0D25CA@GATEWAY> References: <3D0BE274D54F48959DB9777D3C0D25CA@GATEWAY> Message-ID: <94AFC6FA-4B7C-48EF-8CED-22807864163F@verizon.net> On Nov 17, 2011, at 11:25 AM, Lynn Fredricks wrote: > Its been out for all of two seconds - so who's built their first app yet? > :-) I have built apps straight onto it from Flash and LiveCode, and directly download apk files from the web. > > Its supposed to be running a variant of Android 2.3. It's 2.3.4, but has a lot of nice Amazon interface on top of it (either that, or I wasn't familiar with how Android 2.3 should look). Overall it's very good. From scott at tactilemedia.com Thu Nov 17 13:33:04 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 17 Nov 2011 10:33:04 -0800 Subject: Problem with resizeControl In-Reply-To: <4423A5C0-6324-47AC-8EA5-EFFB1DB79B1B@numericable.com> Message-ID: You might try setting the margins of the group to 0. Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Ren? Micout wrote: > Hello, > I have a problem (simple but...) : > 2 buttons (button 1 and button 2), with these 2 buttons I made a group. > The script of the group is : > on resizeControl > set the width of btn "Button 1" to (the width of me)-30 > end resizeControl > When I resize the group it is OK but when I release the mouse the group and > the button grows... > What is wrong ? > Thank you > Ren? From revolution at derbrill.de Thu Nov 17 13:51:48 2011 From: revolution at derbrill.de (Malte Brill) Date: Thu, 17 Nov 2011 19:51:48 +0100 Subject: Location of dialog box In-Reply-To: References: Message-ID: Hi Jim, yes, you can, but it is sort of a hack. You will need to handle the suspendStack message at stack script level: on suspendStack if "answer dialog" is among the lines of the openStacks then set the topLeft of stack "answer dialog" to 0,0 end if end suspendStack Please keep in mind that locations for stacks are coordinates relative the the screen, no the calling stack. Hope that helps, Malte From rene.micout at numericable.com Thu Nov 17 14:12:29 2011 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Thu, 17 Nov 2011 20:12:29 +0100 Subject: Problem with resizeControl In-Reply-To: References: Message-ID: <4A62E1F1-5265-41CE-927E-B2FB1533CD57@numericable.com> Sorry Scott, not better... :-( Le 17 nov. 2011 ? 19:33, Scott Rossi a ?crit : > You might try setting the margins of the group to 0. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > Recently, Ren? Micout wrote: > >> Hello, >> I have a problem (simple but...) : >> 2 buttons (button 1 and button 2), with these 2 buttons I made a group. >> The script of the group is : >> on resizeControl >> set the width of btn "Button 1" to (the width of me)-30 >> end resizeControl >> When I resize the group it is OK but when I release the mouse the group and >> the button grows... >> What is wrong ? >> Thank you >> Ren? > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Nov 17 14:23:55 2011 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Thu, 17 Nov 2011 20:23:55 +0100 Subject: Problem with resizeControl In-Reply-To: References: Message-ID: I think it is not possible... I think I do place other object in the group, place object at the edge of the group and resize the button in relation with this new object (the left of the button = the right of the new object)... Something like that... It is to late this evening (yes it is night in Paris) I will try that tomorrow morning... Le 17 nov. 2011 ? 19:33, Scott Rossi a ?crit : > You might try setting the margins of the group to 0. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > Recently, Ren? Micout wrote: > >> Hello, >> I have a problem (simple but...) : >> 2 buttons (button 1 and button 2), with these 2 buttons I made a group. >> The script of the group is : >> on resizeControl >> set the width of btn "Button 1" to (the width of me)-30 >> end resizeControl >> When I resize the group it is OK but when I release the mouse the group and >> the button grows... >> What is wrong ? >> Thank you >> Ren? > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Nov 17 15:15:53 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 17 Nov 2011 14:15:53 -0600 Subject: Problem with resizeControl In-Reply-To: References: Message-ID: <4EC56B79.7020301@hyperactivesw.com> On 11/17/11 1:23 PM, Ren? Micout wrote: > I think it is not possible... > I think I do place other object in the group, place object at the edge of the group and resize the button in relation with this new object (the left of the button = the right of the new object)... Something like that... > It is to late this evening (yes it is night in Paris) I will try that tomorrow morning... Is the group's lockLocation set to true? Groups will automatically resize if it isn't. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephenREVOLUTION2 at barncard.com Thu Nov 17 15:44:43 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 17 Nov 2011 12:44:43 -0800 Subject: SoCal LUG meeting: Dec 1, Pasadena In-Reply-To: <4EC53DC2.4010304@fourthworld.com> References: <4EC53DC2.4010304@fourthworld.com> Message-ID: That's a great Idea, I know there must be more livecoders in the SF bay area besides myself, David Beck, Mark Weider, Rossi and JHJ. On 17 November 2011 09:00, Richard Gaskin wrote: > The SoCal LiveCode User Group will be meeting in Pasadena on Thursday, Dec > 1 - details in the SC LUG forum that Heather graciously set up for us in > the general LiveCode forums: > > > > > > Attendance is open to anyone who wants to show up. The only requirement > is an interest in bantering about LiveCode for a couple hours. > > > Stephen Barncard San Francisco Ca. USA more about sqb From pete at mollysrevenge.com Thu Nov 17 15:55:42 2011 From: pete at mollysrevenge.com (Pete) Date: Thu, 17 Nov 2011 12:55:42 -0800 Subject: SoCal LUG meeting: Dec 1, Pasadena In-Reply-To: References: <4EC53DC2.4010304@fourthworld.com> Message-ID: I'm in Santa Cruz and would be interested in attending such a meeting. Pete Molly's Revenge On Thu, Nov 17, 2011 at 12:44 PM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > That's a great Idea, I know there must be more livecoders in the SF bay > area besides myself, David Beck, Mark Weider, Rossi and JHJ. > > On 17 November 2011 09:00, Richard Gaskin >wrote: > > > The SoCal LiveCode User Group will be meeting in Pasadena on Thursday, > Dec > > 1 - details in the SC LUG forum that Heather graciously set up for us in > > the general LiveCode forums: > > > > http://forums.runrev.com/viewtopic.php?f=50&t=9577> > > > > > > > Attendance is open to anyone who wants to show up. The only requirement > > is an interest in bantering about LiveCode for a couple hours. > > > > > > > > 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 mark_powell at symantec.com Thu Nov 17 16:10:49 2011 From: mark_powell at symantec.com (Mark Powell) Date: Thu, 17 Nov 2011 13:10:49 -0800 Subject: SoCal LUG meeting: Dec 1, Pasadena In-Reply-To: References: <4EC53DC2.4010304@fourthworld.com> Message-ID: <3469AF22E7D82A46A12B6612437B8DF5029698A4EF@TUS1XCHEVSPIN38.SYMC.SYMANTEC.COM> I am back in the Bay Area (East/South). Sadly, doubtful that I could get down to Pasadena, but would be interested in knowing if there are any LC get-togethers up here. -----Original Message----- From: stephen barncard Sent: Thursday, November 17, 2011 12:45 PM Subject: Re: SoCal LUG meeting: Dec 1, Pasadena That's a great Idea, I know there must be more livecoders in the SF bay area besides myself, David Beck, Mark Weider, Rossi and JHJ. From MikeKerner at roadrunner.com Thu Nov 17 17:32:23 2011 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 17 Nov 2011 17:32:23 -0500 Subject: Installer - "Could not launch installer slave" Message-ID: I'm trying to install LC 5.0.1 dp1 in win 7 which is running in a Parallels VM. I launch the installer, click on through. I get an error "Could not launch installer slave". I get this error whether I right-click on the installer and tell it to run as Administrator (which I am anyway) or not. Suggestions? -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Thu Nov 17 18:29:03 2011 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 17 Nov 2011 18:29:03 -0500 Subject: Installer - "Could not launch installer slave" In-Reply-To: References: Message-ID: OK, never mind, I got it. The installer would not work for "All Users". Once I switched to "Only me" it went fine. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From sc at sahores-conseil.com Thu Nov 17 18:34:33 2011 From: sc at sahores-conseil.com (Pierre Sahores) Date: Fri, 18 Nov 2011 00:34:33 +0100 Subject: Installer - "Could not launch installer slave" In-Reply-To: References: Message-ID: Should have to do with the network config (NAT, etc...) of your Parallels VM. Try the different available options. Le 17 nov. 2011 ? 23:32, Mike Kerner a ?crit : > I'm trying to install LC 5.0.1 dp1 in win 7 which is running in a Parallels > VM. > > I launch the installer, click on through. I get an error "Could not launch > installer slave". I get this error whether I right-click on the installer > and tell it to run as Administrator (which I am anyway) or not. > > Suggestions? > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From todd at geistinteractive.com Thu Nov 17 20:07:32 2011 From: todd at geistinteractive.com (Todd Geist) Date: Thu, 17 Nov 2011 17:07:32 -0800 Subject: SoCal LUG meeting: Dec 1, Pasadena In-Reply-To: References: <4EC53DC2.4010304@fourthworld.com> Message-ID: I'll be there :-) Todd On Thu, Nov 17, 2011 at 12:44 PM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > That's a great Idea, I know there must be more livecoders in the SF bay > area besides myself, David Beck, Mark Weider, Rossi and JHJ. > > On 17 November 2011 09:00, Richard Gaskin >wrote: > > > The SoCal LiveCode User Group will be meeting in Pasadena on Thursday, > Dec > > 1 - details in the SC LUG forum that Heather graciously set up for us in > > the general LiveCode forums: > > > > http://forums.runrev.com/viewtopic.php?f=50&t=9577> > > > > > > > Attendance is open to anyone who wants to show up. The only requirement > > is an interest in bantering about LiveCode for a couple hours. > > > > > > > > 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 > -- Todd Geist geist interactive (805) 419-9382 From kray at sonsothunder.com Thu Nov 17 20:11:54 2011 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 17 Nov 2011 19:11:54 -0600 Subject: Location of dialog box In-Reply-To: <64D835A2-646B-49E8-8337-E4B441992AF0@sbcglobal.net> References: <64D835A2-646B-49E8-8337-E4B441992AF0@sbcglobal.net> Message-ID: On Nov 17, 2011, at 10:05 AM, James Hurley wrote: > Can one set the location of the popup dialog box? In my application, it obscures the object it is addressing. Jim, the only way to set the locaton of a modal dialog box (that I'm aware of) is changing the location in the preOpenStack of the dialog stack you're opening: -- Dialog stack "MyDialog" on preOpenCard set the loc of this stack to 100,100 end preOpenCard -- Calling stack on mouseUp modal "MyDialog" end mouseUp The other possibility is to open a dialog box as modeless, which would let you drag it around? Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From pete at mollysrevenge.com Thu Nov 17 20:24:06 2011 From: pete at mollysrevenge.com (Pete) Date: Thu, 17 Nov 2011 17:24:06 -0800 Subject: Location of dialog box In-Reply-To: References: <64D835A2-646B-49E8-8337-E4B441992AF0@sbcglobal.net> Message-ID: I might be wrong, but I think he's talking about the popup contextual menu dialog box. As I recall, the top right of them is placed at the mouse is click, maybe he wants to have it popup somewhere else? Jim? Pete Molly's Revenge On Thu, Nov 17, 2011 at 5:11 PM, Ken Ray wrote: > > On Nov 17, 2011, at 10:05 AM, James Hurley wrote: > > > Can one set the location of the popup dialog box? In my application, it > obscures the object it is addressing. > > Jim, the only way to set the locaton of a modal dialog box (that I'm aware > of) is changing the location in the preOpenStack of the dialog stack you're > opening: > > -- Dialog stack "MyDialog" > on preOpenCard > set the loc of this stack to 100,100 > end preOpenCard > > -- Calling stack > on mouseUp > modal "MyDialog" > end mouseUp > > The other possibility is to open a dialog box as modeless, which would let > you drag it around? > > > 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 bornstein at designeq.com Fri Nov 18 00:39:29 2011 From: bornstein at designeq.com (Howard Bornstein) Date: Thu, 17 Nov 2011 21:39:29 -0800 Subject: Indirect reference Message-ID: I know I've done this before but I can't seem to remember how at this point. I want to make an indirect reference through a variable. For example, I have a variable, tField, that contains this string: field "Time" of card 1 I want to put something into field "Time" via this variable. So I want to say something like put "10:00 AM" into tField, but rather than have it go into tField (in which case, tField would contain "10:00 AM") I want it to go *through* tField so that the value goes into field "Time". Any reminders on how to do this? -- Regards, Howard Bornstein ----------------------- www.designeq.com From andrew at rjdfarm.com Fri Nov 18 00:57:29 2011 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Thu, 17 Nov 2011 21:57:29 -0800 (PST) Subject: Indirect reference In-Reply-To: References: Message-ID: <1321595849942-4082233.post@n4.nabble.com> There are other ways to accomplish what you need, but here is what you are looking for. do "put" && theTime && "into" && tField this would execute --> put "what was in theTime" into "what was in tField" http://docs.runrev.com/Command/do -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Indirect-reference-tp4082209p4082233.html Sent from the Revolution - User mailing list archive at Nabble.com. From gcanyon+rev at gmail.com Fri Nov 18 01:18:58 2011 From: gcanyon+rev at gmail.com (Geoff Canyon Rev) Date: Fri, 18 Nov 2011 00:18:58 -0600 Subject: Indirect reference In-Reply-To: References: Message-ID: You can't use put "something" into myVariable but as Andrew says you can make it work with a "do" statement. As long as the variable contains a valid object reference, you can set properties on the variable, so this will work also: *put* "field" && quote & "test" & quote into x *set* the text of x to "hello" -- the field now contains hello. On Thu, Nov 17, 2011 at 11:39 PM, Howard Bornstein wrote: > I want to put something into field "Time" via this variable. From pete at mollysrevenge.com Fri Nov 18 01:30:18 2011 From: pete at mollysrevenge.com (Pete) Date: Thu, 17 Nov 2011 22:30:18 -0800 Subject: Indirect reference In-Reply-To: References: Message-ID: If your variable did not contain the word "field", you could do: put "10:00 AM" into field tfield or leave the variable as it is and: put "10:00 AM" into field (word 2 to -1 of tfield) Pete Molly's Revenge On Thu, Nov 17, 2011 at 9:39 PM, Howard Bornstein wrote: > I know I've done this before but I can't seem to remember how at this > point. > > I want to make an indirect reference through a variable. For example, I > have a variable, tField, that contains this string: field "Time" of card 1 > > I want to put something into field "Time" via this variable. So I want to > say something like put "10:00 AM" into tField, but rather than have it go > into tField (in which case, tField would contain "10:00 AM") I want it to > go *through* tField so that the value goes into field "Time". > > Any reminders on how to do this? > > -- > Regards, > > Howard Bornstein > ----------------------- > www.designeq.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From bornstein at designeq.com Fri Nov 18 01:50:55 2011 From: bornstein at designeq.com (Howard Bornstein) Date: Thu, 17 Nov 2011 22:50:55 -0800 Subject: Indirect reference In-Reply-To: References: Message-ID: Thank you everyone. These all do what I was after. I think I used to do it using the field property as Geoff suggested. Funny how I just blanked out about it this time. I'm going to write myself a note about it in case I forget again. Now if I can just remember where I put that note... -Howard From jhurley0305 at sbcglobal.net Fri Nov 18 09:36:20 2011 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Fri, 18 Nov 2011 06:36:20 -0800 Subject: Location of dialog box In-Reply-To: References: Message-ID: Ken and Malte, Thanks for the suggestions. Malte--Your suggestion works well. Thanks. As you say it is a bit of a hack. Ken--I was referring to the stack that opens in response to the RR "Answer" command. Is it possible to set a preopencard handler in that stack? But using a modal stack as you suggest, I can roll my own "answer" dialogue. This would give me more flexibility. I assume many others take this route. Thanks, again, Jim Hurley > On Nov 17, 2011, at 10:05 AM, James Hurley wrote: > > > > Can one set the location of the popup dialog box? In my application, it obscures the object it is addressing. > > > Jim, the only way to set the locaton of a modal dialog box (that I'm aware of) is changing the location in the preOpenStack of the dialog stack you're opening: > > -- Dialog stack "MyDialog" > on preOpenCard > set the loc of this stack to 100,100 > end preOpenCard > > -- Calling stack > on mouseUp > modal "MyDialog" > end mouseUp > > The other possibility is to open a dialog box as modeless, which would let you drag it around? > > > Ken Ray > Sons of Thunder Software, Inc. > Email: > kray at sonsothunder.com > > Web Site: > http://www.sonsothunder.com/ > > ------------------------------------------------ >> Malte Brill wrote: >> >> Hi Jim, >> >> yes, you can, but it is sort of a hack. You will need to handle the suspendStack message at stack script level: >> >> on suspendStack >> if "answer dialog" is among the lines of the openStacks then >> set the topLeft of stack "answer dialog" to 0,0 >> end if >> end suspendStack From johnb at hvc.rr.com Fri Nov 18 11:27:27 2011 From: johnb at hvc.rr.com (John Brozycki) Date: Fri, 18 Nov 2011 11:27:27 -0500 Subject: lc shell and command line In-Reply-To: <1321258361765-4038742.post@n4.nabble.com> References: <1321258361765-4038742.post@n4.nabble.com> Message-ID: Regarding shell commands and LiveCode.... I've noticed that under OS X, invocation of a shell command is silent. But under Windows, you see a CMD window quickly pop up and disappear. I haven't found any options to prevent the shell command popping up under Windows, but wondered if anyone knew of a way to prevent it from happening. Thanks, John On Nov 14, 2011, at 3:12 AM, Peter Alcibiades wrote: > I'm having trouble with the livecode shell and cd command also. > > pwd in a terminal does: > > :~/ runrev 4.5/livecode-4.5.2$ > > cd .. > > :~/ runrev 4.5$ > > pwd > > runrev 4.5$ > > If you do the exact same things using put shell("...."), this doesn't work. > In particular, > > put shell("pwd") > > does indeed return the working directory, but > > put shell("cd ..") > > does not work at all. Why not? Probably an obvious reason - is it > something to do with escaping characters? > > Peter > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/lc-shell-and-command-line-tp4036681p4038742.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Fri Nov 18 11:29:59 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 18 Nov 2011 17:29:59 +0100 Subject: lc shell and command line In-Reply-To: References: <1321258361765-4038742.post@n4.nabble.com> Message-ID: John, set the hideConsoleWindows to true -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission! On 18 nov 2011, at 17:27, John Brozycki wrote: > Regarding shell commands and LiveCode.... > > I've noticed that under OS X, invocation of a shell command is silent. But under Windows, you see a CMD window quickly pop up and disappear. I haven't found any options to prevent the shell command popping up under Windows, but wondered if anyone knew of a way to prevent it from happening. > > Thanks, > John From bonnmike at gmail.com Fri Nov 18 11:30:22 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 18 Nov 2011 09:30:22 -0700 Subject: lc shell and command line In-Reply-To: References: <1321258361765-4038742.post@n4.nabble.com> Message-ID: set the hideconsolewindows to true will do what you wish. On Fri, Nov 18, 2011 at 9:27 AM, John Brozycki wrote: > Regarding shell commands and LiveCode.... > > I've noticed that under OS X, invocation of a shell command is silent. > But under Windows, you see a CMD window quickly pop up and disappear. I > haven't found any options to prevent the shell command popping up under > Windows, but wondered if anyone knew of a way to prevent it from happening. > > Thanks, > John > > On Nov 14, 2011, at 3:12 AM, Peter Alcibiades wrote: > > > I'm having trouble with the livecode shell and cd command also. > > > > pwd in a terminal does: > > > > :~/ runrev 4.5/livecode-4.5.2$ > > > > cd .. > > > > :~/ runrev 4.5$ > > > > pwd > > > > runrev 4.5$ > > > > If you do the exact same things using put shell("...."), this doesn't > work. > > In particular, > > > > put shell("pwd") > > > > does indeed return the working directory, but > > > > put shell("cd ..") > > > > does not work at all. Why not? Probably an obvious reason - is it > > something to do with escaping characters? > > > > Peter > > > > > > -- > > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/lc-shell-and-command-line-tp4036681p4038742.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 sanke at hrz.uni-kassel.de Fri Nov 18 11:56:37 2011 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Fri, 18 Nov 2011 17:56:37 +0100 Subject: Location of dialog box Message-ID: <4EC68E45.4030308@hrz.uni-kassel.de> On Fri, Nov 18 , 2011, James Hurley jhurley0305 at sbcglobal.net wrote: > Ken and Malte, > > Thanks for the suggestions. > > Malte--Your suggestion works well. Thanks. As you say it is a bit of a > hack. > > Ken--I was referring to the stack that opens in response to the RR > "Answer" command. Is it possible to set a preopencard handler in that > stack? > > But using a modal stack as you suggest, I can roll my own "answer" > dialogue. This would give me more flexibility. I assume many others > take this route. > > Thanks, again, > > Jim Hurley I might remind you - and especially Ken as the present chief of the Metacard group - that we have long implemented such a feature for the ask and answer dialogs in the alternative Metacard IDE, following a proposal from my side several years ago. At the end of the preopenstack handler of the dialog stack (in the card script) we have added two lines of code: " if the NewLoc of this stack is not empty then set the loc of this stack to the NewLoc of this stack set the NewLoc of this stack to empty" In the script calling the dialog you have just first to set the "Newloc": "set the newloc of stack "answer dialog" to x,y" or use globalloc alternatively. The second line of code above "set the NewLoc of this stack to empty" makes sure the dialog will pop up at the "normal" loc when no Newloc has been set before calling the dialog. This approach is so simple! I have always wondered why the Livecode guys did not include such a simple solution in the Livecode IDE, too.-- These two line of extra code could of course be added to the revanswerdialog etc., too, but then, when you distribute a non-standalone stack, without prior including the answer dialog as a substack, it will not work with the Livecode IDE of another user. On the other side, with an answer dialog embedded as a substack you might run into troubles, because the Livecode IDE is very special with double stacks and might throw an error (Did not test this with the last version). Best regards, Wilhelm Sanke From andre at andregarzia.com Fri Nov 18 12:26:12 2011 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 18 Nov 2011 15:26:12 -0200 Subject: lc shell and command line In-Reply-To: References: <1321258361765-4038742.post@n4.nabble.com> Message-ID: Guys, As far as I know, you can't ask for the user password and pass it to a shell call with clever use of pipes. That is not how sudo works, you can't: cat password.txt | sudo cd .. or sudo cd .. < password.txt The only way I found to script sudo calls is by using expect ( http://www.nist.gov/el/msid/expect.cfm ). Expect is a tool to automate interactive console applications. You can craft an expect script that call sudo and whatever else you want to do and call that script with shell(). =) From sanke at hrz.uni-kassel.de Fri Nov 18 12:36:10 2011 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Fri, 18 Nov 2011 18:36:10 +0100 Subject: Location of dialog box Message-ID: <4EC6978A.1070500@hrz.uni-kassel.de> Addendum to my last post in this thread: I have used this approach for dialog stacks with the added "newloc" property in many of my stacks, e.g. look at the scripts of buttons "Store image 1" and "Store image 2" in my stack "seamless tiles". This stack contains the Metacard answer dialog as a substack, and works fine in the Livecode IDE, too (tested with version 4.6.4). Regards, Wilhelm SDanke From klaus at major.on-rev.com Fri Nov 18 12:42:09 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Fri, 18 Nov 2011 18:42:09 +0100 Subject: Location of dialog box In-Reply-To: <4EC68E45.4030308@hrz.uni-kassel.de> References: <4EC68E45.4030308@hrz.uni-kassel.de> Message-ID: Hu guys, Am 18.11.2011 um 17:56 schrieb Wilhelm Sanke: > On Fri, Nov 18 , 2011, James Hurley jhurley0305 at sbcglobal.net wrote: > >> Ken and Malte, >> Thanks for the suggestions. >> Malte--Your suggestion works well. Thanks. As you say it is a bit of a hack. >> Ken--I was referring to the stack that opens in response to the RR "Answer" command. Is it possible to set a preopencard handler in that stack? >> But using a modal stack as you suggest, I can roll my own "answer" dialogue. This would give me more flexibility. I assume many others take this route. >> Thanks, again, >> Jim Hurley > I might remind you - and especially Ken as the present chief of the Metacard group - that we have long implemented such a feature for the ask and answer dialogs in the alternative Metacard IDE, following a proposal from my side several years ago. > > At the end of the preopenstack handler of the dialog stack (in the card script) we have added two lines of code: > > " if the NewLoc of this stack is not empty then set the loc of this stack to the NewLoc of this stack > set the NewLoc of this stack to empty" > > In the script calling the dialog you have just first to set the "Newloc": > > "set the newloc of stack "answer dialog" to x,y" > > or use globalloc alternatively. > > The second line of code above "set the NewLoc of this stack to empty" makes sure the dialog will pop up at the "normal" loc when no Newloc has been set before calling the dialog. > > This approach is so simple! I have always wondered why the Livecode guys did not include such a simple solution in the Livecode IDE, too.-- > > These two line of extra code could of course be added to the revanswerdialog etc., too, but then, when you distribute a non-standalone stack, without prior including the answer dialog as a substack, it will not work with the Livecode IDE of another user. On the other side, with an answer dialog embedded as a substack you might run into troubles, because the Livecode IDE is very special with double stacks and might throw an error (Did not test this with the last version). I think this needs to be implemented on the engine side /like ASK and ANSWER itself!) as an optional parameter! > Best regards, > > Wilhelm Sanke Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From mike at doub.com Fri Nov 18 12:48:44 2011 From: mike at doub.com (Michael Doub) Date: Fri, 18 Nov 2011 12:48:44 -0500 Subject: Data Grid Challenges Message-ID: <296DE055-6BE3-4154-8F31-230198324E31@doub.com> I am trying to understand what is going on with data grids. I have a stack with 2 cards each with a different data grid. One is set up to have the card script populate the grid using the GetDataForLine technique the other sets the dgData property of the grid. Below you can see the techniques used. The data grids were set up manually but are identical in that the backgrounds and background boarders are set to different colours but with the same height of 35. Both data grids are set to fixed height of 34 to overlap the boarder to only see a single boarder between rows. There are 2 mysteries: 1) The the grid on each card, the colour of the row backgrounds are always set to white. Not at all the colour of the template. However, the colour of the row background boarders are set copied correctly from the template. 2) The second mystery is that the card using the GetDataForLine technique has two other problems. The data is correctly being populated, but the row hight is set to size of the default template or 21; not the size of the edited template. With this incorrect size the slider does not work. If you go into edit mode, then refresh the DataGrid the sizes are adjusted correctly, return to execute mode then the scrolling works properly. I would really appreciate some help on this one. There must be something really basic that I am missing. The actual stack is here: http://dl.dropbox.com/u/43797494/test.livecode Regards, Mike Card 1 ------- on OpenCard lock screen set the dgNumberOfRecords of group "Contacts" to 20 unlock screen end OpenCard on closeCard set the dgData of group "Contacts" to empty end closeCard command GetDataForLine pLine, @pOutData put "This line is : " into pOutData["FirstName"] put pline into pOutData["LastName"] end GetDataForLine Card 2 ------- on OpenCard put empty into tdata repeat with x = 1 to 20 put " This is a test record: "into tdata [x]["FirstName"] put x into tdata [x]["LastName"] end repeat set the dgData of group "DataGrid" to tdata end OpenCard on closeCard set the dgData of group "DataGrid" to empty end closeCard Both data grids have the identical behaviour scripts. on FillInData pDataArray set the text of field "Label" of me to pDataArray["FirstName"] & pDataArray["LastName"] end FillInData --left top right bottum on LayoutControl pControlRect local x put pControlRect into x put item 2 of x + 35 into item 4 of x set the rect of graphic "Background" to x end LayoutControl on ResetData set the text of field "Label" of me to empty end ResetData From roger.e.eller at sealedair.com Fri Nov 18 12:48:48 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 18 Nov 2011 12:48:48 -0500 Subject: lc shell and command line In-Reply-To: References: <1321258361765-4038742.post@n4.nabble.com> Message-ID: On Fri, Nov 18, 2011 at 12:26 PM, Andre Garzia wrote: > As far as I know, you can't ask for the user password and pass it to a > shell call with clever use of pipes. That is not how sudo works, you can't: > > cat password.txt | sudo cd .. or sudo cd .. < password.txt > > How about this method? shell("pw=" & tPassword & "; echo $pw | sudo -S command") SOURCE: http://www.mail-archive.com/use-revolution at lists.runrev.com/msg137100.html ~Roger From andre at andregarzia.com Fri Nov 18 13:00:08 2011 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 18 Nov 2011 16:00:08 -0200 Subject: lc shell and command line In-Reply-To: References: <1321258361765-4038742.post@n4.nabble.com> Message-ID: Roger, Good finding. I gave the same comment as before lol... it appears that this solution works, I haven't tested it. Cheers andre On Fri, Nov 18, 2011 at 3:48 PM, Roger Eller wrote: > On Fri, Nov 18, 2011 at 12:26 PM, Andre Garzia wrote: > > > As far as I know, you can't ask for the user password and pass it to a > > shell call with clever use of pipes. That is not how sudo works, you > can't: > > > > cat password.txt | sudo cd .. or sudo cd .. < password.txt > > > > > How about this method? > > shell("pw=" & tPassword & "; echo $pw | sudo -S command") > > SOURCE: > http://www.mail-archive.com/use-revolution at lists.runrev.com/msg137100.html > > ~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 > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From roger.e.eller at sealedair.com Fri Nov 18 13:10:43 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 18 Nov 2011 13:10:43 -0500 Subject: lc shell and command line In-Reply-To: References: <1321258361765-4038742.post@n4.nabble.com> Message-ID: On Fri, Nov 18, 2011 at 1:00 PM, Andre Garzia wrote: > Roger, > > Good finding. > > Cheers > andre > > I keep the classic Revolution archive, as well as the new LiveCode archive links handy for searching. There's lots of good stuff in both. It's too bad the Developer List is private, and therefore not searchable. http://www.mail-archive.com/use-revolution at lists.runrev.com http://www.mail-archive.com/use-livecode at lists.runrev.com ~Roger From warrenkuhl at gmail.com Fri Nov 18 13:17:46 2011 From: warrenkuhl at gmail.com (Warren Kuhl) Date: Fri, 18 Nov 2011 12:17:46 -0600 Subject: Read From Socket Question Message-ID: I am trying to retrieve data from a socket. When I try: read from socket myDevSock for xxxx characters put it into tData ...I get data read from socket myDevSock until crlf put it into tData ...I get data read from socket myDecSock until eof put it into tData ...no data Wouldn't the read until eof pull in all data that is passed back? Thanks for any help! Warren From kray at sonsothunder.com Fri Nov 18 13:39:41 2011 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 18 Nov 2011 12:39:41 -0600 Subject: Location of dialog box In-Reply-To: References: Message-ID: <8C2B1FFD-A531-4A8C-B67F-AAC2426D9451@sonsothunder.com> > Ken--I was referring to the stack that opens in response to the RR "Answer" command. Is it possible to set a preopencard handler in that stack? Yes, but for the reasons that Wilhelm wrote you wouldn't be able to distribute a raw stack to someone else and have it work right in their IDE. I *DO*, however, have a workaround to this that seems to work in my tests: 1) In your stack create a hidden button (I called mine "AnswerLoc") with this script: global gAnswerLoc on preOpenCard if the short name of this stack is "Answer Dialog" then if gAnswerLoc is not empty then set the loc of stack "Answer Dialog" to gAnswerLoc put "" into gAnswerLoc end if end if pass preOpenCard end preOpenCard 2) Sometime before you call on "answer" for the first time, insert the script of that button "into front" to make it a frontScript: insert script of btn "AnswerLoc" into front 3) When you're ready to call on "answer", set the global gAnswerLoc to the loc you want the answer dialog to appear at, and then call "answer": global gAnswerLoc on mouseUp put "100,100" into gAnswerLoc answer "Hello" end mouseUp This will give you the desired effect, it cleans up after itself nicely, and is completely distributable. Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From chipp at chipp.com Fri Nov 18 15:20:00 2011 From: chipp at chipp.com (Chipp Walters) Date: Fri, 18 Nov 2011 14:20:00 -0600 Subject: So Who Has Tried the Kindle Fire Yet (with LiveCode building)? In-Reply-To: <94AFC6FA-4B7C-48EF-8CED-22807864163F@verizon.net> References: <3D0BE274D54F48959DB9777D3C0D25CA@GATEWAY> <94AFC6FA-4B7C-48EF-8CED-22807864163F@verizon.net> Message-ID: Dang, Colin-- that was FAST! Thanks for the update. I've been travelling all week while mine is waiting at home. It will be in my grubby hands in a couple hours! Also, I'm about 3/4 through the Steve Jobs bio. Good read, for those of you who haven't checked it out. On Thursday, November 17, 2011, Colin Holgate wrote: > I have built apps straight onto it from Flash and LiveCode, and directly download apk files from the web. > >> >> Its supposed to be running a variant of Android 2.3. > > It's 2.3.4, but has a lot of nice Amazon interface on top of it (either that, or I wasn't familiar with how Android 2.3 should look). > > Overall it's very good. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Chipp Walters CEO, Shafer Walters Group, Inc. From coiin at verizon.net Fri Nov 18 15:49:29 2011 From: coiin at verizon.net (Colin Holgate) Date: Fri, 18 Nov 2011 15:49:29 -0500 Subject: So Who Has Tried the Kindle Fire Yet (with LiveCode building)? In-Reply-To: References: <3D0BE274D54F48959DB9777D3C0D25CA@GATEWAY> <94AFC6FA-4B7C-48EF-8CED-22807864163F@verizon.net> Message-ID: <778DD093-6F3D-4DAD-9CE5-7F9A26454606@verizon.net> I ordered it a few days ago, I guess they had plenty of stock. One of my email buddies arrived home to find an empty space outside his front door, where his Fire had been delivered. Hopefully yours will be alright. On Nov 18, 2011, at 3:20 PM, Chipp Walters wrote: > Dang, Colin-- that was FAST! Thanks for the update. I've been travelling > all week while mine is waiting at home. It will be in my grubby hands in a > couple hours! From sc at sahores-conseil.com Fri Nov 18 16:22:52 2011 From: sc at sahores-conseil.com (Pierre Sahores) Date: Fri, 18 Nov 2011 22:22:52 +0100 Subject: Read From Socket Question In-Reply-To: References: Message-ID: <7E967770-FBDB-436F-BF0A-DC3C1B7CB3E9@sahores-conseil.com> Should this production ready old example help ? http://www.sahores-conseil.com/insead/page5_en.html Best, Le 18 nov. 2011 ? 19:17, Warren Kuhl a ?crit : > I am trying to retrieve data from a socket. > > When I try: > > read from socket myDevSock for xxxx characters > put it into tData > ...I get data > > read from socket myDevSock until crlf > put it into tData > ...I get data > > read from socket myDecSock until eof > put it into tData > ...no data > > Wouldn't the read until eof pull in all data that is passed back? > > 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 -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From bobs at twft.com Fri Nov 18 16:43:40 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 18 Nov 2011 13:43:40 -0800 Subject: DataGrid Speed In-Reply-To: <0EFF261B-CF20-4FCF-A072-F39011464109@doub.com> References: <0EFF261B-CF20-4FCF-A072-F39011464109@doub.com> Message-ID: If you use dgText, the datagrid library will create the array internally, 6 one way half a dozen the other, except that the datagrid library knows how to do it right. But if you have an array already, then using dgData is of course quicker. Bob On Nov 13, 2011, at 10:30 AM, Michael Doub wrote: > Does anyone understand the basic internal workings of DataGrid enough to help me understand what is going on. I am trying to use the least amount of memory and maximize performance on IOS. > > I have a field of 4000 lines with 6 items in each line that have been pre-sorted. Is it better for me to set the dgText or manually create an array and use dgData. Either I create the array or the data grid library does. Is the data grid library unpacking this array into text anyway? > > What is going on under the covers with persistent data? Can I climate a copy of the data if this is turned off? > > Thanks in advance. > -= 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 bobs at twft.com Fri Nov 18 16:49:34 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 18 Nov 2011 13:49:34 -0800 Subject: DataGrid Speed In-Reply-To: References: <0EFF261B-CF20-4FCF-A072-F39011464109@doub.com> <504E402A-6F5C-4847-954E-51BB088C417C@doub.com> Message-ID: <0D2034B6-A439-4013-A381-6A9AAD025472@twft.com> I think I understood him to say he would build his own array and then populate using dgData. My personal preference, once I understood what datagrids did with arrays, is to always use arrays when I can. sqlYoga returns datagrid compatible arrays, so you can get a data set through a query, and then set the dgData of the datagrid directly. Very handy. However, if the initial population of the datagrid is underway, and your data is already delimited text, just use dgText and let the datagrid library handle building the array for you. After that you can work with row elements as needed by accessing the various datagrid array functions for doing that. Maybe I didn't understand the question though. Bob On Nov 13, 2011, at 11:51 AM, zryip theSlug wrote: > The datagrid engine works internally with arrays. So when you populate > the datagrid with dgText, the data is parsed and the engine sets the > dgData property. So for performances, dgData should be prefer. > > > Best regards, > -- > -Zryip TheSlug- wish you the best! 8) From bobs at twft.com Fri Nov 18 16:58:15 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 18 Nov 2011 13:58:15 -0800 Subject: Database Strategy In-Reply-To: <185547685-1321462983-cardhu_decombobulator_blackberry.rim.net-1949578644-@b5.c31.bise6.blackberry> References: <185547685-1321462983-cardhu_decombobulator_blackberry.rim.net-1949578644-@b5.c31.bise6.blackberry> Message-ID: <27C28AC3-0230-40E4-BFAA-3BEDC9478F69@twft.com> If you are working with cursors, my personal preference is to parse the data from the cursor, and then close it and forget about it. If you need new data, requery the database. I have mentioned before on the list that sqlYoga has functions for querying a database and returning an array that is compatible with datagrids. By passing that array in setting the dgData (set the dgData to aQueryArray) you have a very simple way to populate the datagrid without any of that messy parsing. sqlYoga is well worth the price for anyone doing serious database work in Livecode. Bob On Nov 16, 2011, at 9:03 AM, mike at doub.com wrote: > I am new to the world of databases and I need some advise. > > I am currently opening and closing the database in the open and close stack handlers. I am storing the connection I'd in a custom stack property. > > When I go to a card, I am creating a cursor, directly loading each record into the datagrid. Upon closing the card I close the cursor. > > Now this works fine when I load rev for the first time and go to the card with the datagrid. When I leave the card and return, I am getting errors indicating I have invalid cursor ID. > > So should I be opening and closing the entire database in the card? > I am not seeing anything wrong examining the close cursor function. > > As a separate question can you have multiple cursors open at the same time. I would think so. > > Thanks in advance. > > -= Mike > > > Sent from my BlackBerry device on the Rogers Wireless Network > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Nov 18 17:15:54 2011 From: johnpatten at mac.com (John Patten) Date: Fri, 18 Nov 2011 14:15:54 -0800 Subject: So Who Has Tried the Kindle Fire Yet (with LiveCode building)? In-Reply-To: References: <3D0BE274D54F48959DB9777D3C0D25CA@GATEWAY> <94AFC6FA-4B7C-48EF-8CED-22807864163F@verizon.net> Message-ID: Hi All? Just for clarification? Colin you were able to create a LiveCode app, save it as a standalone for Android. Then upoad the newly created app to a web site, and from the KindleFire access the web site and download and install the app onto your KindleFire? Thanks! John Patten SUSD On Nov 18, 2011, at 12:20 PM, Chipp Walters wrote: > Dang, Colin-- that was FAST! Thanks for the update. I've been travelling > all week while mine is waiting at home. It will be in my grubby hands in a > couple hours! > > Also, I'm about 3/4 through the Steve Jobs bio. Good read, for those of you > who haven't checked it out. > > On Thursday, November 17, 2011, Colin Holgate wrote: > >> I have built apps straight onto it from Flash and LiveCode, and directly > download apk files from the web. >> >>> >>> Its supposed to be running a variant of Android 2.3. >> >> It's 2.3.4, but has a lot of nice Amazon interface on top of it (either > that, or I wasn't familiar with how Android 2.3 should look). >> >> Overall it's very good. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > -- > 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 Mike at Doub.com Fri Nov 18 17:36:48 2011 From: Mike at Doub.com (Michael Doub) Date: Fri, 18 Nov 2011 17:36:48 -0500 Subject: Data Grid Challenges In-Reply-To: <296DE055-6BE3-4154-8F31-230198324E31@doub.com> References: <296DE055-6BE3-4154-8F31-230198324E31@doub.com> Message-ID: I would like to share some of the wisdom of Zryip The Slug (ZTS) as it may be of some help to others not the list. For the Color problem: ZTS: If you have the need to change the color of the background rectangle of a row and not want to use the row color property of the datagrid, you have to rename the rectangle object. Internally the datagrid engine applies the properties set for the row color to the rectangle "background" it finds in the template. MD: This is vert subtile. It looks like best practice would be to always change the name of any controls that you would like customize. For the Row height issue in GetDataOfLine mode: MD: Don't seem to have root cause yet but ZTS offered the following work around: on OpenCard lock screen set the dgNumberOfRecords of group "Contacts" to 20 set the dgProp["row height"] of group "Contacts" to 34 unlock screen end OpenCard By setting the row height property of the dagrid group to 34, all is ok. And of coarse I made THE CLASIC behaviour mistake in my testing code. set the rect of graphic "Background" OF ME to x ZTS: Never forget to refer to OF ME when you are referencing an object in the behavior script. Thanks again to Zryip, his help is much appreciated. Regards, Mike From bobs at twft.com Fri Nov 18 18:08:57 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 18 Nov 2011 15:08:57 -0800 Subject: Making an existing stack a substack of another Message-ID: Hi all. I am doing things bass ackwards as usual. I created my main application stack, and now I want to create a splash stack and make my main application a substack of that. I know about the popup menu in the Stack Properties. I set that to the splash stack in my main application stack, then save both stacks but I can see in the Application browser, the change is not taking effect. The splash stack is still it's own stack and the main application stack is still it's own main stack. I hope that is not too confusing. Have I fallen on to a bug here? Bob From bobs at twft.com Fri Nov 18 18:14:18 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 18 Nov 2011 15:14:18 -0800 Subject: Making an existing stack a substack of another Message-ID: Never mind I found the command. You set the substacks of the splash stack to a list of the substacks you want. Odd that the menu option does not work though. Seems that is still a bug. Bob > Hi all. I am doing things bass ackwards as usual. I created my main application stack, and now I want to create a splash stack and make my main application a substack of that. I know about the popup menu in the Stack Properties. I set that to the splash stack in my main application stack, then save both stacks but I can see in the Application browser, the change is not taking effect. The splash stack is still it's own stack and the main application stack is still it's own main stack. > > I hope that is not too confusing. Have I fallen on to a bug here? > > Bob > > From bobs at twft.com Fri Nov 18 18:36:08 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 18 Nov 2011 15:36:08 -0800 Subject: Confused about substacks Message-ID: <761D3335-A153-4A13-9E6A-12212C990BB9@twft.com> Hi all. I am a bit confused now. I created a new stack, saved it, made it a substack of my splash stack. No problemo. I can see the substack on the hard drive, I can see the substack in the application browser as a substack of my splash stack. BUT THEN... I right clicked my splash stack in the application browser, and created a new substack, named it, saved it, application browser looks peachy, but the stack file is not visible on the hard drive! Does making a stack a substack create a COPY of the original stack and imbed it in the main stack, or is the file hiding somewhere else on my hard drive? If the former, then am I correct in thinking I do not need the other stack files I CAN see on my hard drive, because there are now copies of them in the main stack? I am soooo confused... Bob From devin_asay at byu.edu Fri Nov 18 18:42:40 2011 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 18 Nov 2011 23:42:40 +0000 Subject: Confused about substacks In-Reply-To: <761D3335-A153-4A13-9E6A-12212C990BB9@twft.com> References: <761D3335-A153-4A13-9E6A-12212C990BB9@twft.com> Message-ID: <77CA6AE7-4044-4A69-9396-B9F2CF92A8A8@byu.edu> Hi Bob, When you turn a mainstack into a substack of another mainstack, that substack becomes part of the stackfile containing the mainstack. In effect the stackfile containing the former mainstack is "orphaned". Usually I just get rid of these orphaned stackfiles to avoid confusion. Bottom line: substacks are part of the same stack file of the mainstack. Hope this it what you were asking. Devin On Nov 18, 2011, at 4:36 PM, Bob Sneidar wrote: > Hi all. > > I am a bit confused now. I created a new stack, saved it, made it a substack of my splash stack. No problemo. I can see the substack on the hard drive, I can see the substack in the application browser as a substack of my splash stack. > > BUT THEN... > > I right clicked my splash stack in the application browser, and created a new substack, named it, saved it, application browser looks peachy, but the stack file is not visible on the hard drive! Does making a stack a substack create a COPY of the original stack and imbed it in the main stack, or is the file hiding somewhere else on my hard drive? If the former, then am I correct in thinking I do not need the other stack files I CAN see on my hard drive, because there are now copies of them in the main stack? > > I am soooo confused... > > 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 Devin Asay Humanities Technology and Research Support Center Brigham Young University From bonnmike at gmail.com Fri Nov 18 18:44:31 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 18 Nov 2011 16:44:31 -0700 Subject: Confused about substacks In-Reply-To: <761D3335-A153-4A13-9E6A-12212C990BB9@twft.com> References: <761D3335-A153-4A13-9E6A-12212C990BB9@twft.com> Message-ID: Assuming you are doing this so that you can save your stack file, yes. When you make a stack a substack, I do believe it incorporates it all together. However, there is a setting in the standalone builder that avoids this when you build a standalone. Its under the stacks heading, "move substacks into individual stack files." On Fri, Nov 18, 2011 at 4:36 PM, Bob Sneidar wrote: > Hi all. > > I am a bit confused now. I created a new stack, saved it, made it a > substack of my splash stack. No problemo. I can see the substack on the > hard drive, I can see the substack in the application browser as a substack > of my splash stack. > > BUT THEN... > > I right clicked my splash stack in the application browser, and created a > new substack, named it, saved it, application browser looks peachy, but the > stack file is not visible on the hard drive! Does making a stack a substack > create a COPY of the original stack and imbed it in the main stack, or is > the file hiding somewhere else on my hard drive? If the former, then am I > correct in thinking I do not need the other stack files I CAN see on my > hard drive, because there are now copies of them in the main stack? > > I am soooo confused... > > 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 coiin at verizon.net Fri Nov 18 18:46:16 2011 From: coiin at verizon.net (Colin Holgate) Date: Fri, 18 Nov 2011 18:46:16 -0500 Subject: So Who Has Tried the Kindle Fire Yet (with LiveCode building)? In-Reply-To: References: <3D0BE274D54F48959DB9777D3C0D25CA@GATEWAY> <94AFC6FA-4B7C-48EF-8CED-22807864163F@verizon.net> Message-ID: <8B88FDBB-69FE-43EE-A1DF-C7DE7D058054@verizon.net> Not exactly that, but all of the elements of what you said. I did wirelessly download several apks to the Fire by touching the url to the apk in an email message. As with all Android devices, that downloaded and installed the app. You do have to go to settings to allow installs of apps from places other than stores first. Those apks happened to be Flash ones, but there's no reason to think that any other apk would behave differently. I also did tests from LiveCode, with the device connect by USB, and that worked fine. And I did tests from Flash, to the connect USB device, and that worked fine too. There was one particular thing I had to do in order for it all to work, which was to add the value 0x1949 as an extra line at the end of the file ~/.android/adb_usb.ini With other Android devices, at least with Android 3.x, you have to go into settings and Developer, and specifically turn on the feature that allows debugging over USB. With the Kindle Fire that is on by default, and there isn't a setting to turn it off. On Nov 18, 2011, at 5:15 PM, John Patten wrote: > Colin you were able to create a LiveCode app, save it as a standalone for Android. Then upoad the newly created app to a web site, and from the KindleFire access the web site and download and install the app onto your KindleFire? From bobs at twft.com Fri Nov 18 19:08:37 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 18 Nov 2011 16:08:37 -0800 Subject: Confused about substacks In-Reply-To: References: <761D3335-A153-4A13-9E6A-12212C990BB9@twft.com> Message-ID: <2CA3FBF8-0912-4F56-9D6E-C33ED37E3B92@twft.com> Oic. Because if they are substacks of the splash stack then they are part of the standalone and therefore not editable. That makes sense. I think I am misusing substacks then. I should just make them individual stacks on the hard drive. The goal is to have multiple editable forms open at the same time, so having each form as it's own stack seemed a logical choice, but now I am not so sure. I wonder if I should just be using go card in new window instead? Bob On Nov 18, 2011, at 3:44 PM, Mike Bonner wrote: > Assuming you are doing this so that you can save your stack file, yes. When > you make a stack a substack, I do believe it incorporates it all together. > However, there is a setting in the standalone builder that avoids this when > you build a standalone. Its under the stacks heading, "move substacks into > individual stack files." > > > > On Fri, Nov 18, 2011 at 4:36 PM, Bob Sneidar wrote: > >> Hi all. >> >> I am a bit confused now. I created a new stack, saved it, made it a >> substack of my splash stack. No problemo. I can see the substack on the >> hard drive, I can see the substack in the application browser as a substack >> of my splash stack. >> >> BUT THEN... >> >> I right clicked my splash stack in the application browser, and created a >> new substack, named it, saved it, application browser looks peachy, but the >> stack file is not visible on the hard drive! Does making a stack a substack >> create a COPY of the original stack and imbed it in the main stack, or is >> the file hiding somewhere else on my hard drive? If the former, then am I >> correct in thinking I do not need the other stack files I CAN see on my >> hard drive, because there are now copies of them in the main stack? >> >> I am soooo confused... >> >> 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 >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Nov 18 19:09:18 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 18 Nov 2011 16:09:18 -0800 Subject: Confused about substacks In-Reply-To: <77CA6AE7-4044-4A69-9396-B9F2CF92A8A8@byu.edu> References: <761D3335-A153-4A13-9E6A-12212C990BB9@twft.com> <77CA6AE7-4044-4A69-9396-B9F2CF92A8A8@byu.edu> Message-ID: <038CA90D-563D-43B4-BED3-3B59DF1A86A5@twft.com> Thanks Devin I think I understand now. I am going to avoid the whole problem and go card in new window. Bob On Nov 18, 2011, at 3:42 PM, Devin Asay wrote: > Hi Bob, > > When you turn a mainstack into a substack of another mainstack, that substack becomes part of the stackfile containing the mainstack. In effect the stackfile containing the former mainstack is "orphaned". Usually I just get rid of these orphaned stackfiles to avoid confusion. > > Bottom line: substacks are part of the same stack file of the mainstack. > > Hope this it what you were asking. > > Devin > > > On Nov 18, 2011, at 4:36 PM, Bob Sneidar wrote: > >> Hi all. >> >> I am a bit confused now. I created a new stack, saved it, made it a substack of my splash stack. No problemo. I can see the substack on the hard drive, I can see the substack in the application browser as a substack of my splash stack. >> >> BUT THEN... >> >> I right clicked my splash stack in the application browser, and created a new substack, named it, saved it, application browser looks peachy, but the stack file is not visible on the hard drive! Does making a stack a substack create a COPY of the original stack and imbed it in the main stack, or is the file hiding somewhere else on my hard drive? If the former, then am I correct in thinking I do not need the other stack files I CAN see on my hard drive, because there are now copies of them in the main stack? >> >> I am soooo confused... >> >> 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 > > 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 bobs at twft.com Fri Nov 18 19:17:56 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 18 Nov 2011 16:17:56 -0800 Subject: Confused about substacks In-Reply-To: <77CA6AE7-4044-4A69-9396-B9F2CF92A8A8@byu.edu> References: <761D3335-A153-4A13-9E6A-12212C990BB9@twft.com> <77CA6AE7-4044-4A69-9396-B9F2CF92A8A8@byu.edu> Message-ID: Correction. You cannot go to a card in a new window. The command will ignore the new window and just go to the card in the existing window. That would be a nice feature enhancement for having multiple windows open on a single stack. Bob > Thanks Devin I think I understand now. I am going to avoid the whole problem and go card in new window. > > Bob > > > On Nov 18, 2011, at 3:42 PM, Devin Asay wrote: > >> Hi Bob, >> >> When you turn a mainstack into a substack of another mainstack, that substack becomes part of the stackfile containing the mainstack. In effect the stackfile containing the former mainstack is "orphaned". Usually I just get rid of these orphaned stackfiles to avoid confusion. >> >> Bottom line: substacks are part of the same stack file of the mainstack. >> >> Hope this it what you were asking. >> >> Devin >> >> >> On Nov 18, 2011, at 4:36 PM, Bob Sneidar wrote: >> > From bonnmike at gmail.com Fri Nov 18 19:31:15 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 18 Nov 2011 17:31:15 -0700 Subject: Confused about substacks In-Reply-To: References: <761D3335-A153-4A13-9E6A-12212C990BB9@twft.com> <77CA6AE7-4044-4A69-9396-B9F2CF92A8A8@byu.edu> Message-ID: Probably what will work is to make a stackrunner type of splash stack with any libraries etc included. Then you can have your real stack with its substacks be opened by the splash. As long as the right support stuff is included the splash you can "go stack.." and it should be fine, and the splashstack can handle the saving of changes to your real stack. On Fri, Nov 18, 2011 at 5:17 PM, Bob Sneidar wrote: > Correction. You cannot go to a card in a new window. The command will > ignore the new window and just go to the card in the existing window. That > would be a nice feature enhancement for having multiple windows open on a > single stack. > > Bob > > > > Thanks Devin I think I understand now. I am going to avoid the whole > problem and go card in new window. > > > > Bob > > > > > > On Nov 18, 2011, at 3:42 PM, Devin Asay wrote: > > > >> Hi Bob, > >> > >> When you turn a mainstack into a substack of another mainstack, that > substack becomes part of the stackfile containing the mainstack. In effect > the stackfile containing the former mainstack is "orphaned". Usually I just > get rid of these orphaned stackfiles to avoid confusion. > >> > >> Bottom line: substacks are part of the same stack file of the mainstack. > >> > >> Hope this it what you were asking. > >> > >> Devin > >> > >> > >> On Nov 18, 2011, at 4:36 PM, Bob Sneidar wrote: > >> > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dev at digifilm.com Fri Nov 18 19:35:26 2011 From: dev at digifilm.com (ddas) Date: Fri, 18 Nov 2011 19:35:26 -0500 Subject: Dirty Salsa mini - In Appstore In-Reply-To: References: <761D3335-A153-4A13-9E6A-12212C990BB9@twft.com> <77CA6AE7-4044-4A69-9396-B9F2CF92A8A8@byu.edu> Message-ID: Hi Folks, I am happy to announce that now the power to learn Salsa Dancing is in the palm of your hands. Thanks to Gerry, Richard, Mark, Jacqueline, Scott, Bj?rnke and anyone who helped me but I have missed. Special thanks to Bernd. I swiped a lot of code from him. It's a very simple app that plays video clips. Dirty Salsa mini http://itunes.apple.com/us/app/dirty-salsa-mini/id478527196?ls=1&mt=8 Cheers, Debdoot From chipp at chipp.com Fri Nov 18 19:56:07 2011 From: chipp at chipp.com (Chipp Walters) Date: Fri, 18 Nov 2011 18:56:07 -0600 Subject: So Who Has Tried the Kindle Fire Yet (with LiveCode building)? In-Reply-To: <778DD093-6F3D-4DAD-9CE5-7F9A26454606@verizon.net> References: <3D0BE274D54F48959DB9777D3C0D25CA@GATEWAY> <94AFC6FA-4B7C-48EF-8CED-22807864163F@verizon.net> <778DD093-6F3D-4DAD-9CE5-7F9A26454606@verizon.net> Message-ID: Oh, that sucks. Mine's ok. The wife stored it and now I'm typing this response. Whoppie! On Friday, November 18, 2011, Colin Holgate wrote: > I ordered it a few days ago, I guess they had plenty of stock. > > One of my email buddies arrived home to find an empty space outside his front door, where his Fire had been delivered. Hopefully yours will be alright. > -- Chipp Walters CEO, Shafer Walters Group, Inc. From coiin at verizon.net Fri Nov 18 20:05:45 2011 From: coiin at verizon.net (Colin Holgate) Date: Fri, 18 Nov 2011 20:05:45 -0500 Subject: So Who Has Tried the Kindle Fire Yet (with LiveCode building)? In-Reply-To: References: <3D0BE274D54F48959DB9777D3C0D25CA@GATEWAY> <94AFC6FA-4B7C-48EF-8CED-22807864163F@verizon.net> <778DD093-6F3D-4DAD-9CE5-7F9A26454606@verizon.net> Message-ID: <6F2B16D3-0B66-4708-9F8E-5F854D264E54@verizon.net> It turned out to be mis-delivered to his neighbor, and so he got it the next day. On Nov 18, 2011, at 7:56 PM, Chipp Walters wrote: > Oh, that sucks. Mine's ok. The wife stored it and now I'm typing this > response. Whoppie! From palcibiades-first at yahoo.co.uk Sat Nov 19 03:21:29 2011 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sat, 19 Nov 2011 00:21:29 -0800 (PST) Subject: lc shell and command line In-Reply-To: References: <1321258361765-4038742.post@n4.nabble.com> Message-ID: <1321690889801-4085842.post@n4.nabble.com> Roger Eller wrote: > > How about this method? > > shell("pw=" & tPassword & "; echo $pw | sudo -S command") > > SOURCE: > http://www.mail-archive.com/use-revolution at .runrev/msg137100.html > > ~Roger > Yes very neat, thanks. My problem was a bit different but maybe this can be used. The real problem is that its a naive user in a remote location. So without going over, modifying the sudo file isn't a possibility. A number of lessons, one maybe being that remote maintenance would have been a sensible thing to think about. Save a lot of time and trouble. Another being, before you leave, make sure the full series of things the user wants to do with the file has been tested. In the present case the files are being generated OK, but with root ownership.... Its because of a workaround to make a scanner work. It does work, its just the files it generates are owned by root.... -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/lc-shell-and-command-line-tp4036681p4085842.html Sent from the Revolution - User mailing list archive at Nabble.com. From admin at FlexibleLearning.com Sat Nov 19 05:29:58 2011 From: admin at FlexibleLearning.com (FlexibleLearning) Date: Sat, 19 Nov 2011 10:29:58 -0000 Subject: [ANN] ChartMaker 2.1 update (build 56) In-Reply-To: Message-ID: ChartMaker for LiveCode www.FlexibleLearning.com/chartmaker BUILD 56 just released, including support for drill-down charts. www.FlexibleLearning.com/chartmaker/versioning/whatsnew.htm ChartMaker can now retieve the specific details of any bar, column, line or pie slice to support more detailed user-interactivity such as drill-down or drill-up charts, your own look-up information, or any other application you need based on a specific display result. A new Playground is included in the download called 'Interactive data' with coded examples and the built-in documentation has been updated with implementation details. This is a maintenance update and is free for all registered 2.1 users. www.FlexibleLearning.com/chartmaker/downloads/ChartMaker21.zip Available from the software by clicking 'Check for updates...' or from the links above or from the LiveCode store. Enjoy! Hugh Senior FLCo From rjb at robelko.com Sat Nov 19 05:46:16 2011 From: rjb at robelko.com (Robert Brenstein) Date: Sat, 19 Nov 2011 11:46:16 +0100 Subject: Read From Socket Question In-Reply-To: References: Message-ID: On 18.11.2011 at 12:17 Uhr -0600 Warren Kuhl apparently wrote: >I am trying to retrieve data from a socket. > >When I try: >read from socket myDecSock until eof >put it into tData >...no data > Is that your actual code, Warren? There is a typo in the non-working code: myDecSock instead of myDevSock. Robert From rene.micout at numericable.com Sat Nov 19 08:14:36 2011 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Sat, 19 Nov 2011 14:14:36 +0100 Subject: Problem with resizeControl In-Reply-To: <4EC56B79.7020301@hyperactivesw.com> References: <4EC56B79.7020301@hyperactivesw.com> Message-ID: <5B9B7AD0-1840-4BC5-B43A-DC6E3F68B211@numericable.com> Thank you Jacque, I think I will solve my problem with this remark! Simple, but sometimes we dont see what we have in front of our nose... Thank you again :-) Ren? Le 17 nov. 2011 ? 21:15, J. Landman Gay a ?crit : > On 11/17/11 1:23 PM, Ren? Micout wrote: >> I think it is not possible... >> I think I do place other object in the group, place object at the edge of the group and resize the button in relation with this new object (the left of the button = the right of the new object)... Something like that... >> It is to late this evening (yes it is night in Paris) I will try that tomorrow morning... > > Is the group's lockLocation set to true? Groups will automatically resize if it isn't. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bvg at mac.com Sat Nov 19 08:15:06 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat, 19 Nov 2011 14:15:06 +0100 Subject: Read From Socket Question In-Reply-To: References: Message-ID: <0C4D61BC-71B4-4264-88FF-ACE5444C04AD@mac.com> Besides the typo in the last exapmple, it's kinda important to know what you actually send into the socket on the other side. is it another test code, or is it some existing software? Is whatever is contained in the paramenter "myDevSock" actually in "the opensockets"? I suggest to make sure to check "the result" too, one never knows what might crop up there. I haven't done any socket stuff recently, but i faintly remember having problems with EOF myself, but i don't remember what or why, only that i went with return as delimiter instead, and that worked much better. On 18 Nov 2011, at 19:17, Warren Kuhl wrote: > I am trying to retrieve data from a socket. > > When I try: > > read from socket myDevSock for xxxx characters > put it into tData > ...I get data > > read from socket myDevSock until crlf > put it into tData > ...I get data > > read from socket myDecSock until eof > put it into tData > ...no data > > Wouldn't the read until eof pull in all data that is passed back? > > 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 -- Watch live presentations every Saturday: http://livecode.tv Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From bvg at mac.com Sat Nov 19 08:18:02 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat, 19 Nov 2011 14:18:02 +0100 Subject: Making an existing stack a substack of another In-Reply-To: References: Message-ID: The drop down silently fails if you try to set a mainstack _which contains substacks_ to become a substack of another stack. There can always be only one mainstack in a stack file / logical stack hierarchy. On 19 Nov 2011, at 00:08, Bob Sneidar wrote: > Hi all. I am doing things bass ackwards as usual. I created my main application stack, and now I want to create a splash stack and make my main application a substack of that. I know about the popup menu in the Stack Properties. I set that to the splash stack in my main application stack, then save both stacks but I can see in the Application browser, the change is not taking effect. The splash stack is still it's own stack and the main application stack is still it's own main stack. > > I hope that is not too confusing. Have I fallen on to a bug here? > > 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 -- Watch live presentations every Saturday: http://livecode.tv Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From ambassador at fourthworld.com Sat Nov 19 12:05:18 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 19 Nov 2011 09:05:18 -0800 Subject: Problem with resizeControl In-Reply-To: References: Message-ID: <4EC7E1CE.5060805@fourthworld.com> One thing I've found making custom controls from groups in LC is a bit non-obvious but makes sense one you use it: on resizeControl -- do stuff -- then: set the boundingRect of me to the rect of me end resizeControl The boundingRect property determines the working space of the group, initially added so you could define the amount of scrolling area a group may have independently of its internal controls. During resize operations, in which I'm moving stuff around inside of a group while the group is being resized, I find it helps keep things from getting squirrelly. Seems silly to have that extra line, but in many cases here it's made the interaction beautifully smooth. Also, as Scott noted, you'll want to have the margins set to 0. -- 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 m.schonewille at economy-x-talk.com Sat Nov 19 13:12:43 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 19 Nov 2011 19:12:43 +0100 Subject: LiveCode.tv Event #44 starts in 50 minutes! Message-ID: Make sure to be there! http://livecode.tv -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission! From richmondmathewson at gmail.com Sat Nov 19 13:43:45 2011 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 19 Nov 2011 20:43:45 +0200 Subject: [OT] A FLASH in the pan? Message-ID: <4EC7F8E1.5090106@gmail.com> This looks a bit childish: http://www.bbc.co.uk/news/technology-15797399 However, if this sort of stuff catches on we'll have the "Occupy RunRev" movement and so on. This is, of course, a typically socialist sort of reaction, (especially as the Flash "occupiers" are remaining anonymous - so gutless they cannot even stand up and take responsibility for their actions) when a much more constructive way of doing things would be to discuss everything in an open forum. As Adobe is a private company it is the business of the shareholders and NOT the employees to make this sort of decision. Of course those who disapprove of what RunRev are doing have an option; they can download MetaCard and fool around with it to their heart's delight. However, while I have "one or two beefs" with RunRev, I am also well aware that Livecode is not 'mine', nor the 'people's', and I couldn't fight my way out of a paper bag when it comes to providing an alternative. From richmondmathewson at gmail.com Sat Nov 19 13:56:07 2011 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 19 Nov 2011 20:56:07 +0200 Subject: [OT] A FLASH in the pan? Part 2 Message-ID: <4EC7FBC7.9060705@gmail.com> "The movement to rid the world of the Flash Player plugin" http://occupyflash.org/ Wow; how immature can one get!!!! "The only way to truly force the web to embrace modern open standards is to invalidate old technology." I don't like that word 'force', and I feel fairly dicky about 'modern open standards'; especially as "modern" is just about the most useless word in the dictionary as it is totally chimaerical. Why must we be forced to embrace open standards? I'm very much in favour of open standards and interoperability and cross-platform guff, and so on; but NOT by force, and the option for a company to retain closed code has to remain, however distasteful that may be to the fanatical Trots running round brandishing their "open standards at all costs" manifesto as if it will suddenly solve all the world's computer problems. Why should I uninstall Flash from Iceweasel? After all, all that will do is stop me from seeing a vast number of websites; what it MOST DEFINITELY WON'T DO is make programmers move en masse to HTML5 (I mean, who gives a sh*t about little Richmond? or all the other little people farting around with their computers?). -------------------------------------------------------------------------------------- Many years ago; my late friend, Alexander Taylor Annal, who farmed on South Ronaldsay, in Orkney (and for whom I worked some 10 summers), collected me off the boat in his recycled post office van, and I noticed he (who had always been fanatical about seatbelt use) had removed the seatbelts from the van. Why? Because that was the year the British "Government" had made seatbelt usage compulsory! From coiin at verizon.net Sat Nov 19 14:45:57 2011 From: coiin at verizon.net (Colin Holgate) Date: Sat, 19 Nov 2011 14:45:57 -0500 Subject: [OT] A FLASH in the pan? Part 2 In-Reply-To: <4EC7FBC7.9060705@gmail.com> References: <4EC7FBC7.9060705@gmail.com> Message-ID: <52123F8E-634B-419E-A2EC-A03B27605704@verizon.net> You'll hopefully enjoy these two sites: http://occupyhtml.org/ http://occupyoccupyflash.org/ From richmondmathewson at gmail.com Sat Nov 19 15:58:23 2011 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 19 Nov 2011 22:58:23 +0200 Subject: [OT] A FLASH in the pan? Part 2 In-Reply-To: <52123F8E-634B-419E-A2EC-A03B27605704@verizon.net> References: <4EC7FBC7.9060705@gmail.com> <52123F8E-634B-419E-A2EC-A03B27605704@verizon.net> Message-ID: <4EC8186F.5030302@gmail.com> On 11/19/2011 09:45 PM, Colin Holgate wrote: > You'll hopefully enjoy these two sites: > > http://occupyhtml.org/ > > http://occupyoccupyflash.org/ > > Yes . . . :) Although I should point out that I am Flash-neutral. What worries me is word like 'force', 'modern' and 'standards'; all smacking of totalitarian thinking; and the website dressed up as a sort of "Che Guevara scorns Flash" sort of arrangement - and, as we all know, despite having loads of fun spraying stencils of Che all over our neighbourhoods, and so on, Che Guevara was a nasty piece of stuff, enjoying nothing more than emptying his pistol into those who disagreed with him: the spoilt rich-kid who didn't want others to have the privileged upbringing he had, so drag them all into the gutter at gunpoint - this is something that we all should reflect one, whatever our political leanings; intemperate dogmatism never really did anybody any good. Of course the "occupy html" site uses the same imagery, but as we understand it is a reaction to the first site (and uses far less emotive language), we can forgive that. From coiin at verizon.net Sat Nov 19 16:34:50 2011 From: coiin at verizon.net (Colin Holgate) Date: Sat, 19 Nov 2011 16:34:50 -0500 Subject: [OT] A FLASH in the pan? Part 2 In-Reply-To: <4EC8186F.5030302@gmail.com> References: <4EC7FBC7.9060705@gmail.com> <52123F8E-634B-419E-A2EC-A03B27605704@verizon.net> <4EC8186F.5030302@gmail.com> Message-ID: Which of course doesn't stop it from being funny. My hope is that Mike Bloomberg will arrest them all. On Nov 19, 2011, at 3:58 PM, Richmond wrote: > > >Although I should point out that I am Flash-neutral. From richmondmathewson at gmail.com Sat Nov 19 16:35:47 2011 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 19 Nov 2011 23:35:47 +0200 Subject: [OT] A FLASH in the pan? Part 2 In-Reply-To: References: <4EC7FBC7.9060705@gmail.com> <52123F8E-634B-419E-A2EC-A03B27605704@verizon.net> <4EC8186F.5030302@gmail.com> Message-ID: <4EC82133.6070607@gmail.com> On 11/19/2011 11:34 PM, Colin Holgate wrote: > Which of course doesn't stop it from being funny. No, you are quite right . . . :) > My hope is that Mike Bloomberg will arrest them all. > > > On Nov 19, 2011, at 3:58 PM, Richmond wrote: > >>> Although I should point out that I am Flash-neutral. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tereza at califex.com Sat Nov 19 20:03:26 2011 From: tereza at califex.com (Tereza Snyder) Date: Sat, 19 Nov 2011 19:03:26 -0600 Subject: RevBrowser: clearing its cache? Message-ID: <5B6B843C-5381-4D39-BDF8-AA90886F9EE9@califex.com> I?m using revBrowser to preview local html files that I?m developing for a website. I?m finding that unless I quit LC and start it back up, the revBrowser often doesn?t see my changes, especially of javascript files?as if it?s keeping a cache for those files. To be clear, I close all instances, close the stack, reopen the stack, and create a new instance between attempts to preview pages. The stack has its destroywindow set to true, but it is a substack of another stack I can?t close and reopen. I've tried using revBrowserRefresh after loading a new page, and that works sometimes, but not every time. Does anyone have a sure-fire way to force a revBrowser instance to reload all page components? tereza -- Tereza Snyder Califex Software, Inc. From andrew at rjdfarm.com Sat Nov 19 20:03:45 2011 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Sat, 19 Nov 2011 17:03:45 -0800 (PST) Subject: [OT] A FLASH in the pan? Part 2 In-Reply-To: <4EC7FBC7.9060705@gmail.com> References: <4EC7FBC7.9060705@gmail.com> Message-ID: <1321751025364-4087678.post@n4.nabble.com> Honestly, I don't think these topics are really appropriate for this list. Unless, it is a sign that I can start bombing it with propaganda. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-A-FLASH-in-the-pan-Part-2-tp4086974p4087678.html Sent from the Revolution - User mailing list archive at Nabble.com. From stephenREVOLUTION2 at barncard.com Sat Nov 19 20:39:51 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 19 Nov 2011 17:39:51 -0800 Subject: RevBrowser: clearing its cache? In-Reply-To: <5B6B843C-5381-4D39-BDF8-AA90886F9EE9@califex.com> References: <5B6B843C-5381-4D39-BDF8-AA90886F9EE9@califex.com> Message-ID: That's a good question. 'Regular' Safari has a 'developer' mode and allows "Disable Caches" which allows 'immediate refresh'. I use this setting all the time while developing online files. Certainly there's a call in the toolbox for that. sqb On 19 November 2011 17:03, Tereza Snyder wrote: > I?m using revBrowser to preview local html files that I?m developing for a > website. I?m finding that unless I quit LC and start it back up, the > revBrowser often doesn?t see my changes, especially of javascript files?as > if it?s keeping a cache for those files. To be clear, I close all > instances, close the stack, reopen the stack, and create a new instance > between attempts to preview pages. The stack has its destroywindow set to > true, but it is a substack of another stack I can?t close and reopen. > > I've tried using revBrowserRefresh after loading a new page, and that > works sometimes, but not every time. > > Does anyone have a sure-fire way to force a revBrowser instance to reload > all page components? > > tereza > > > -- > 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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From tereza at califex.com Sat Nov 19 21:05:17 2011 From: tereza at califex.com (Tereza Snyder) Date: Sat, 19 Nov 2011 20:05:17 -0600 Subject: RevBrowser: clearing its cache? In-Reply-To: References: <5B6B843C-5381-4D39-BDF8-AA90886F9EE9@califex.com> Message-ID: Yeah, I thought for sure there?s be some kind of cache-disabling call but I haven?t discovered it. Since I?m building the pages with LC, previewing them in RevBrowser was a no-brainer--but not worth the agony of seeing a bug persist through one dreary iteration after another until finally the coin drops and you realize you fixed it on the first try, but you?ve just been looking at the same buggy over and over. sigh. On Nov 19, 2011, at 7:39 PM, stephen barncard wrote: > That's a good question. 'Regular' Safari has a 'developer' mode and allows > "Disable Caches" which allows 'immediate refresh'. I use this setting all > the time while developing online files. > > Certainly there's a call in the toolbox for that. > > sqb > > On 19 November 2011 17:03, Tereza Snyder wrote: > >> I?m using revBrowser to preview local html files that I?m developing for a >> website. I?m finding that unless I quit LC and start it back up, the >> revBrowser often doesn?t see my changes, especially of javascript files?as >> if it?s keeping a cache for those files. To be clear, I close all >> instances, close the stack, reopen the stack, and create a new instance >> between attempts to preview pages. The stack has its destroywindow set to >> true, but it is a substack of another stack I can?t close and reopen. >> >> I've tried using revBrowserRefresh after loading a new page, and that >> works sometimes, but not every time. >> >> Does anyone have a sure-fire way to force a revBrowser instance to reload >> all page components? >> >> tereza >> >> >> -- >> 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 >> > > > > -- > > > > 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 rodney.tamblyn at gmail.com Sat Nov 19 21:07:52 2011 From: rodney.tamblyn at gmail.com (rodney tamblyn) Date: Sun, 20 Nov 2011 15:07:52 +1300 Subject: RevBrowser: clearing its cache? In-Reply-To: References: <5B6B843C-5381-4D39-BDF8-AA90886F9EE9@califex.com> Message-ID: Try adding a random param on end of file you are previewing, e.g "?3823". Does that help? Sent from my iPhone On 20/11/2011, at 3:05 PM, Tereza Snyder wrote: > Yeah, I thought for sure there?s be some kind of cache-disabling call but I haven?t discovered it. Since I?m building the pages with LC, previewing them in RevBrowser was a no-brainer--but not worth the agony of seeing a bug persist through one dreary iteration after another until finally the coin drops and you realize you fixed it on the first try, but you?ve just been looking at the same buggy over and over. > > sigh. > > On Nov 19, 2011, at 7:39 PM, stephen barncard wrote: > >> That's a good question. 'Regular' Safari has a 'developer' mode and allows >> "Disable Caches" which allows 'immediate refresh'. I use this setting all >> the time while developing online files. >> >> Certainly there's a call in the toolbox for that. >> >> sqb >> >> On 19 November 2011 17:03, Tereza Snyder wrote: >> >>> I?m using revBrowser to preview local html files that I?m developing for a >>> website. I?m finding that unless I quit LC and start it back up, the >>> revBrowser often doesn?t see my changes, especially of javascript files?as >>> if it?s keeping a cache for those files. To be clear, I close all >>> instances, close the stack, reopen the stack, and create a new instance >>> between attempts to preview pages. The stack has its destroywindow set to >>> true, but it is a substack of another stack I can?t close and reopen. >>> >>> I've tried using revBrowserRefresh after loading a new page, and that >>> works sometimes, but not every time. >>> >>> Does anyone have a sure-fire way to force a revBrowser instance to reload >>> all page components? >>> >>> tereza >>> >>> >>> -- >>> 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 >>> >> >> >> >> -- >> >> >> >> Stephen Barncard >> San Francisco Ca. USA >> >> more about sqb >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sat Nov 19 21:28:31 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 19 Nov 2011 20:28:31 -0600 Subject: RevBrowser: clearing its cache? In-Reply-To: References: <5B6B843C-5381-4D39-BDF8-AA90886F9EE9@califex.com> Message-ID: <4EC865CF.7030406@hyperactivesw.com> On 11/19/11 8:05 PM, Tereza Snyder wrote: > Yeah, I thought for sure there?s be some kind of cache-disabling call > but I haven?t discovered it. Since I?m building the pages with LC, > previewing them in RevBrowser was a no-brainer--but not worth the > agony of seeing a bug persist through one dreary iteration after > another until finally the coin drops and you realize you fixed it on > the first try, but you?ve just been looking at the same buggy over > and over. I hate that. The same thing happens on mobile builds, so heads up to anyone who's doing that. I wasted a whole evening early on, reloading multiple iOS standalones over and over trying to fix a bug. The iPad would go through the whole installation routine and run its little progress bar exactly like it was replacing the original, but it didn't actually DO anything. I finally realized that if you don't change the version number you get the whole cosmetic "installing" business but the file on disk is never replaced. Android is almost the same, only it gives you a dialog warning that the new app will replace the old one. If you don't see the dialog then at least you know nothing is going to change. It will still happily act as if it's installing something anyway though. It's probably a test to see how smart we are. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kray at sonsothunder.com Sun Nov 20 01:07:12 2011 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 20 Nov 2011 00:07:12 -0600 Subject: RevBrowser: clearing its cache? In-Reply-To: References: <5B6B843C-5381-4D39-BDF8-AA90886F9EE9@califex.com> Message-ID: <5D9FC2BE-C78A-423E-B255-7BD16CD78FEF@sonsothunder.com> On Nov 19, 2011, at 8:05 PM, Tereza Snyder wrote: > Yeah, I thought for sure there?s be some kind of cache-disabling call but I haven?t discovered it. Since I?m building the pages with LC, previewing them in RevBrowser was a no-brainer--but not worth the agony of seeing a bug persist through one dreary iteration after another until finally the coin drops and you realize you fixed it on the first try, but you?ve just been looking at the same buggy over and over. The only way I've found to fix it is to delete the actual cache file on the hard drive - I only know of how to do it on Macs: If you look in the folder for specialFolderPath("pref") there's a folder called "Caches". Also in specialFolderPath("utmp") there may be a folder called "-Caches-". In both places look for a folder that's like "com.runrev.livecode" or "com.runrev.revolution", and if you delete *that* you get a refreshed page the next time the revBrowser needs to display it. I've also been told that if you make sure your URL is unique by passing a dummy parameter to the page, you should get a clean refresh because the URL is not cached. Just my 2 cents, Ken Ray Sons of Thunder Software, Inc. > > sigh. > > On Nov 19, 2011, at 7:39 PM, stephen barncard wrote: > >> That's a good question. 'Regular' Safari has a 'developer' mode and allows >> "Disable Caches" which allows 'immediate refresh'. I use this setting all >> the time while developing online files. >> >> Certainly there's a call in the toolbox for that. >> >> sqb >> >> On 19 November 2011 17:03, Tereza Snyder wrote: >> >>> I?m using revBrowser to preview local html files that I?m developing for a >>> website. I?m finding that unless I quit LC and start it back up, the >>> revBrowser often doesn?t see my changes, especially of javascript files?as >>> if it?s keeping a cache for those files. To be clear, I close all >>> instances, close the stack, reopen the stack, and create a new instance >>> between attempts to preview pages. The stack has its destroywindow set to >>> true, but it is a substack of another stack I can?t close and reopen. >>> >>> I've tried using revBrowserRefresh after loading a new page, and that >>> works sometimes, but not every time. >>> >>> Does anyone have a sure-fire way to force a revBrowser instance to reload >>> all page components? >>> >>> tereza >>> >>> >>> -- >>> 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 >>> >> >> >> >> -- >> >> >> >> 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 rene.micout at numericable.com Sun Nov 20 04:22:06 2011 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Sun, 20 Nov 2011 10:22:06 +0100 Subject: Problem with resizeControl In-Reply-To: <4EC7E1CE.5060805@fourthworld.com> References: <4EC7E1CE.5060805@fourthworld.com> Message-ID: <1CB6C42E-9617-4746-88F3-C2E62790D766@numericable.com> Thank you Richard ! I ignored this property... Bon souvenir de Paris Ren? Le 19 nov. 2011 ? 18:05, Richard Gaskin a ?crit : > One thing I've found making custom controls from groups in LC is a bit non-obvious but makes sense one you use it: > > on resizeControl > -- do stuff > > -- then: > set the boundingRect of me to the rect of me > end resizeControl > > The boundingRect property determines the working space of the group, initially added so you could define the amount of scrolling area a group may have independently of its internal controls. > > During resize operations, in which I'm moving stuff around inside of a group while the group is being resized, I find it helps keep things from getting squirrelly. > > Seems silly to have that extra line, but in many cases here it's made the interaction beautifully smooth. > > Also, as Scott noted, you'll want to have the margins set to 0. > > -- > 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 tereza at califex.com Sun Nov 20 10:19:53 2011 From: tereza at califex.com (Tereza Snyder) Date: Sun, 20 Nov 2011 09:19:53 -0600 Subject: RevBrowser: clearing its cache? In-Reply-To: <5D9FC2BE-C78A-423E-B255-7BD16CD78FEF@sonsothunder.com> References: <5B6B843C-5381-4D39-BDF8-AA90886F9EE9@califex.com> <5D9FC2BE-C78A-423E-B255-7BD16CD78FEF@sonsothunder.com> Message-ID: <2A599396-1080-42A1-8947-3999EED0D646@califex.com> On Nov 20, 2011, at 12:07 AM, Ken Ray wrote: > > On Nov 19, 2011, at 8:05 PM, Tereza Snyder wrote: > >> Yeah, I thought for sure there?s be some kind of cache-disabling call but I haven?t discovered it. Since I?m building the pages with LC, previewing them in RevBrowser was a no-brainer--but not worth the agony of seeing a bug persist through one dreary iteration after another until finally the coin drops and you realize you fixed it on the first try, but you?ve just been looking at the same buggy page over and over. > > The only way I've found to fix it is to delete the actual cache file on the hard drive - I only know of how to do it on Macs: > > If you look in the folder for specialFolderPath("pref") there's a folder called "Caches". Also in specialFolderPath("utmp") there may be a folder called "-Caches-". In both places look for a folder that's like "com.runrev.livecode" or "com.runrev.revolution", and if you delete *that* you get a refreshed page the next time the revBrowser needs to display it. > > I've also been told that if you make sure your URL is unique by passing a dummy parameter to the page, you should get a clean refresh because the URL is not cached. I?m trying both of these suggestions: deleting the cache file(s), and adding a dummy parameter (which Rodney also suggested). It?s to be a mac-only program, so I?m thankful I don?t have to go through this again in Windows! t -- Tereza Snyder Califex Software, Inc. From andre at andregarzia.com Sun Nov 20 11:15:26 2011 From: andre at andregarzia.com (Andre Garzia) Date: Sun, 20 Nov 2011 14:15:26 -0200 Subject: RevBrowser: clearing its cache? In-Reply-To: <2A599396-1080-42A1-8947-3999EED0D646@califex.com> References: <5B6B843C-5381-4D39-BDF8-AA90886F9EE9@califex.com> <5D9FC2BE-C78A-423E-B255-7BD16CD78FEF@sonsothunder.com> <2A599396-1080-42A1-8947-3999EED0D646@califex.com> Message-ID: Tereza, If you are using a local webserver, set it to send no-cache HTTP headers. This way, no matter if you are using RevBrowser or something else, you will be safe. If you are just opening file urls in RevBrowser, then, use META tags to disable caching. Cheers andre From tereza at califex.com Sun Nov 20 12:13:24 2011 From: tereza at califex.com (Tereza Snyder) Date: Sun, 20 Nov 2011 11:13:24 -0600 Subject: RevBrowser: clearing its cache? In-Reply-To: References: <5B6B843C-5381-4D39-BDF8-AA90886F9EE9@califex.com> <5D9FC2BE-C78A-423E-B255-7BD16CD78FEF@sonsothunder.com> <2A599396-1080-42A1-8947-3999EED0D646@califex.com> Message-ID: <269A20B1-CA1F-4C1D-B2EE-B88C60670B49@califex.com> On Nov 20, 2011, at 10:15 AM, Andre Garzia wrote: > Tereza, > > If you are using a local webserver, set it to send no-cache HTTP headers. > This way, no matter if you are using RevBrowser or something else, you will > be safe. If you are just opening file urls in RevBrowser, then, use META > tags to disable caching. I *am* using: No joy. I haven?t had a chance to try Ken?s or Rodney?s approaches, but I have high hopes. t From stephenREVOLUTION2 at barncard.com Sun Nov 20 13:06:04 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 20 Nov 2011 10:06:04 -0800 Subject: RevBrowser: clearing its cache? In-Reply-To: <269A20B1-CA1F-4C1D-B2EE-B88C60670B49@califex.com> References: <5B6B843C-5381-4D39-BDF8-AA90886F9EE9@califex.com> <5D9FC2BE-C78A-423E-B255-7BD16CD78FEF@sonsothunder.com> <2A599396-1080-42A1-8947-3999EED0D646@califex.com> <269A20B1-CA1F-4C1D-B2EE-B88C60670B49@califex.com> Message-ID: Tereza, Is there some reason why you can't work on http pages on an online server rather than on your local machine? This 'sandbox' could be a directory on a server that is password protected until ready for public. Then the 'Disable Caches' method in the Developer menu of Safari will work. As web pages are text and usually small, the upload time is quite fast and all the popular FTP programs will allow the double clicking in FTP listings and launch the document in the assigned text editor. Moreover (at least on the Mac) when you SAVE this document as you normally do, the file is not saved locally, but patched back into your FTP program and saved on the server. Your *edit, 'compile' , run and refresh* cycle can be nearly as fast as working on the desktop, even with an ordinary DSL line. In the days of using Dreamweaver and avoidance of hand editing, working locally with a shadow set of files and reconciling made sense with slow connections. The method above is much more efficient and works for 'fixing in situ" as well. On 20 November 2011 09:13, Tereza Snyder wrote: > > On Nov 20, 2011, at 10:15 AM, Andre Garzia wrote: > > > Tereza, > > > > If you are using a local webserver, set it to send no-cache HTTP headers. > > This way, no matter if you are using RevBrowser or something else, you > will > > be safe. If you are just opening file urls in RevBrowser, then, use META > > tags to disable caching. > > I *am* using: > > > > No joy. > > I haven?t had a chance to try Ken?s or Rodney?s approaches, but I have > high hopes. > > > t > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From pete at mollysrevenge.com Sun Nov 20 14:08:00 2011 From: pete at mollysrevenge.com (Pete) Date: Sun, 20 Nov 2011 11:08:00 -0800 Subject: [OT] eSellerate Message-ID: Has anyone used eSellerate to manage the sale and licensing of their software? I bought some software a couple of days ago and it used eSellerate to handle the payment and generate a license code - I was very impressed with how well it worked. It displayed an invoice to me from within the application and after the sale was complete, the software was automatically licensed with no need for me to key in the license code. They appear to charge 5.9% of sales with no other charges. -- Pete Molly's Revenge From m.schonewille at economy-x-talk.com Sun Nov 20 14:25:19 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 20 Nov 2011 20:25:19 +0100 Subject: [OT] eSellerate In-Reply-To: References: Message-ID: <4151BED3-BAE6-44BA-A530-E0FE95C61974@economy-x-talk.com> Hi Pete, A few years ago, eSellerate was spamming extremely aggressively. That's when I decided never to do business with them. I use PayPal and Plimus. PayPal has many disadvantages but it works nicely if you understand the rules. Plimus works very nicely but is very expensive (10% fee). I wrote an article about this subject, which you can find at http://qery.us/1ch -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission! On 20 nov 2011, at 20:08, Pete wrote: > Has anyone used eSellerate to manage the sale and licensing of their > software? I bought some software a couple of days ago and it used > eSellerate to handle the payment and generate a license code - I was very > impressed with how well it worked. It displayed an invoice to me from > within the application and after the sale was complete, the software was > automatically licensed with no need for me to key in the license code. > > They appear to charge 5.9% of sales with no other charges. > > > -- > Pete > Molly's Revenge From m.schonewille at economy-x-talk.com Sun Nov 20 14:38:03 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 20 Nov 2011 20:38:03 +0100 Subject: [ANN] Color Converter 4.0 Message-ID: <028656BB-52A1-49BF-840F-5579FD4C5E59@economy-x-talk.com> Hi, Economy-x-Talk's most popular product is Color Converter. After almost one year of no releases, it was time to release a big update. Color Converter 4.0 now includes separate channel export for blue, red, green and gray channels. To celebrate this release, you can buy Color Converter with a $2 discout, i.e. 9 instead of 11 dollar. To get the discount, enter the coupon code JUST2DAY here http://qery.us/16s More info about the discount is at http://qery.us/1ci and more info about Color Converter at http://www.color-converter.com . Needless to say, Color Converter was made with Revolution/LiveCode. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission! From pete at mollysrevenge.com Sun Nov 20 15:07:45 2011 From: pete at mollysrevenge.com (Pete) Date: Sun, 20 Nov 2011 12:07:45 -0800 Subject: [OT] eSellerate In-Reply-To: <4151BED3-BAE6-44BA-A530-E0FE95C61974@economy-x-talk.com> References: <4151BED3-BAE6-44BA-A530-E0FE95C61974@economy-x-talk.com> Message-ID: Thanks Mark, interesting stuff. I plan to take a look at Kagi too. On Sun, Nov 20, 2011 at 11:25 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi Pete, > > A few years ago, eSellerate was spamming extremely aggressively. That's > when I decided never to do business with them. I use PayPal and Plimus. > PayPal has many disadvantages but it works nicely if you understand the > rules. Plimus works very nicely but is very expensive (10% fee). I wrote an > article about this subject, which you can find at http://qery.us/1ch > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Become our partner in sales http://qery.us/1bq Start selling Color > Converter today. 20% commission! > > On 20 nov 2011, at 20:08, Pete wrote: > > > Has anyone used eSellerate to manage the sale and licensing of their > > software? I bought some software a couple of days ago and it used > > eSellerate to handle the payment and generate a license code - I was very > > impressed with how well it worked. It displayed an invoice to me from > > within the application and after the sale was complete, the software was > > automatically licensed with no need for me to key in the license code. > > > > They appear to charge 5.9% of sales with no other charges. > > > > > > -- > > 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 > > -- Pete Molly's Revenge From tereza at califex.com Sun Nov 20 15:10:02 2011 From: tereza at califex.com (Tereza Snyder) Date: Sun, 20 Nov 2011 14:10:02 -0600 Subject: RevBrowser: clearing its cache? In-Reply-To: References: <5B6B843C-5381-4D39-BDF8-AA90886F9EE9@califex.com> <5D9FC2BE-C78A-423E-B255-7BD16CD78FEF@sonsothunder.com> <2A599396-1080-42A1-8947-3999EED0D646@califex.com> <269A20B1-CA1F-4C1D-B2EE-B88C60670B49@califex.com> Message-ID: Good advice, Stephen. The specialized tool I am building is ultimately intended for "authors" who are creating a website from stacks that they are editing, and that are normally deployed in a desktop application. The final result will be uploaded and served to yet other users as a "web version" of the desktop app, with the application logic resident on the server. The 'preview' will ultimately serve these website-creating users, who will have to adjust their source stack?s content so it looks OK in the web environment. A network connection is not guaranteed during the editing cycle?and there will be multiple simultaneous users? and each page depends on resources that would have to be uploaded with it? and? and?. Previewing local files is instant, clean, informative, and, I hope, accurate. On Nov 20, 2011, at 12:06 PM, stephen barncard wrote: > Tereza, > > Is there some reason why you can't work on http pages on an online server > rather than on your local machine? > This 'sandbox' could be a directory on a server that is password protected > until ready for public. Then the 'Disable Caches' method in the Developer > menu of Safari will work. > > As web pages are text and usually small, the upload time is quite fast and > all the popular FTP programs will allow the double clicking in FTP listings > and launch the document in the assigned text editor. Moreover (at least on > the Mac) when you SAVE this document as you normally do, the file is not > saved locally, but patched back into your FTP program and saved on the > server. > > Your *edit, 'compile' , run and refresh* cycle can be nearly as fast as > working on the desktop, even with an ordinary DSL line. > > In the days of using Dreamweaver and avoidance of hand editing, working > locally with a shadow set of files and reconciling made sense with slow > connections. The method above is much more efficient and works for 'fixing > in situ" as well. > > On 20 November 2011 09:13, Tereza Snyder wrote: > >> >> On Nov 20, 2011, at 10:15 AM, Andre Garzia wrote: >> >>> Tereza, >>> >>> If you are using a local webserver, set it to send no-cache HTTP headers. >>> This way, no matter if you are using RevBrowser or something else, you >> will >>> be safe. If you are just opening file urls in RevBrowser, then, use META >>> tags to disable caching. >> >> I *am* using: >> >> >> >> No joy. >> >> I haven?t had a chance to try Ken?s or Rodney?s approaches, but I have >> high hopes. >> -- Tereza Snyder Califex Software, Inc. From hershbp at verizon.net Sun Nov 20 17:28:09 2011 From: hershbp at verizon.net (hershbp at verizon.net) Date: Sun, 20 Nov 2011 16:28:09 -0600 (CST) Subject: Datagrid dosn't except data Message-ID: <455859273.307348.1321828089765.JavaMail.root@vms246.mailsrvcs.net> Hi, i have an application with several data grids, in developers mode it works fine (even after suspend developer tools) and after creating a stand alone the grids don't except any data. check all libraries sound to be ok. can't figure it out. Thanks in advanced, Hershel From bonnmike at gmail.com Sun Nov 20 17:46:25 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 20 Nov 2011 15:46:25 -0700 Subject: Datagrid dosn't except data In-Reply-To: <455859273.307348.1321828089765.JavaMail.root@vms246.mailsrvcs.net> References: <455859273.307348.1321828089765.JavaMail.root@vms246.mailsrvcs.net> Message-ID: Not sure it applies but you might look at this: http://lessons.runrev.com/s/lessons/m/datagrid/l/7339-What-Do-I-Need-to-Do-To-Deploy-a-Standalone-With-A-Data-Grid- On Sun, Nov 20, 2011 at 3:28 PM, wrote: > > Hi, i have an application with several data grids, in developers mode it > works fine (even after suspend developer tools) and after creating a stand > alone the grids don't except any data. check all libraries sound to be ok. > can't figure it out. > Thanks in advanced, Hershel > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jiml at netrin.com Sun Nov 20 22:17:48 2011 From: jiml at netrin.com (Jim Lambert) Date: Sun, 20 Nov 2011 19:17:48 -0800 Subject: [ANN] ChartMaker 2.1 update (build 56) In-Reply-To: References: Message-ID: <2994024D-D733-479A-B4E5-A5EBC5F6153D@netrin.com> > > BUILD 56 just released, including support for drill-down charts. Sweet. Thanks Hugh. Jim Lambert From lfredricks at proactive-intl.com Mon Nov 21 10:22:52 2011 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Mon, 21 Nov 2011 07:22:52 -0800 Subject: [OT] eSellerate In-Reply-To: References: Message-ID: <61CF8E887AFC41F69C79305CCDBCBD5B@GATEWAY> > Has anyone used eSellerate to manage the sale and licensing > of their software? I bought some software a couple of days > ago and it used eSellerate to handle the payment and generate > a license code - I was very impressed with how well it > worked. It displayed an invoice to me from within the > application and after the sale was complete, the software was > automatically licensed with no need for me to key in the license code. > > They appear to charge 5.9% of sales with no other charges. Ive used it before for some specialized products. We had some problems along the way, however their support ended up doing a lot of good for us. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From benr_mc at cogapp.com Mon Nov 21 11:02:06 2011 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Mon, 21 Nov 2011 16:02:06 +0000 Subject: Android/iOS datapoints Message-ID: <4ECA75FE.2040409@cogapp.com> Does anyone have experience yet of selling an app (whether made with LC or not) in both iOS and Android marketplaces? I'd be particularly interested in apps that are sold (as opposed to free apps) but any data better than none. I've seen a lot of speculation about size of markets - more Android devices than iOS, countered with 'but android users don't pay for apps' and 'android marketplace is fragmented'; and about barriers to development - Apple make you jump through arbitrary hoops, versus fragmented hardware on Android. The most recent take I've come across is this, which makes a bold assertion but doesn't provide any data to back it up: http://pinchzoom.com/posts/android-math-just-doesnt-compute/ I don't think it's possible to get objective data on development effort - though I'd welcome any anecdotes - but I am hoping that someone out there might have real data on an app sold on both iOS and Android, and be able to give some idea of the sales (and/or revenue) ratio that they've experienced (note I say ratio, I'm not asking anyone to give out actual sales or revenue if they're not comfortable with that, but just ratio between iOS and Android). TIA for any data or anecdotes shared! (Please if possible put polemic that's not accompanied by data or at least anecdote in a separate thread...) Ben From jacque at hyperactivesw.com Mon Nov 21 12:02:14 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 21 Nov 2011 11:02:14 -0600 Subject: Android/iOS datapoints In-Reply-To: <4ECA75FE.2040409@cogapp.com> References: <4ECA75FE.2040409@cogapp.com> Message-ID: <4ECA8416.2070108@hyperactivesw.com> On 11/21/11 10:02 AM, Ben Rubinstein wrote: > Does anyone have experience yet of selling an app (whether made with LC > or not) in both iOS and Android marketplaces? > > I'd be particularly interested in apps that are sold (as opposed to free > apps) but any data better than none. I'll offer one data point but it is for an app that I purchased rather than wrote. There's a wonderful game called Quell that is available on both Android and iOS. When I purchased, on iOS it cost $5. On Android it cost $2. (The price has since changed for both.) Android apps for the most part seem to be either much cheaper or free. I think it's true that Android users don't want to pay. I've been mulling this over myself as I get closer to releasing something. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Mon Nov 21 12:09:03 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 21 Nov 2011 09:09:03 -0800 Subject: Android/iOS datapoints In-Reply-To: <4ECA75FE.2040409@cogapp.com> References: <4ECA75FE.2040409@cogapp.com> Message-ID: <4ECA85AF.40704@fourthworld.com> Ben Rubinstein wrote: > I've seen a lot of speculation.... > The most recent take I've come across is this, which makes a bold assertion > but doesn't provide any data to back it up: > http://pinchzoom.com/posts/android-math-just-doesnt-compute/ > > I don't think it's possible to get objective data on development effort... Certainly not from that page. ;) All speculation with no data. Makes me wonder why he even bothered to write it; it's not like the world is suffering from an absence of FUD. If you search this list and elsewhere there are links to be found about some of the more successful companies making good money on both platforms. But you have to look a little harder to find the dirty secret of ALL mobile development: Most apps out are pulling in less than minimum wage. It's a looooooooooooooooooong tail: the top 100 apps in the iOS app store are doing pretty well, the next 500 or so kinda okay. But the other half-million? Not so much, with incomes ranging from minimum wage down to zero. This long-tail dynamic plays out for the Android Market as well. There are many reasons to make mobile apps, but money alone will be the reward for very few. The best money seems to be where it's always been: on the desktop, where there market is less noisy and there's less downward pressure on prices. -- 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 roger.e.eller at sealedair.com Mon Nov 21 13:24:49 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 21 Nov 2011 13:24:49 -0500 Subject: Android/iOS datapoints In-Reply-To: <4ECA8416.2070108@hyperactivesw.com> References: <4ECA75FE.2040409@cogapp.com> <4ECA8416.2070108@hyperactivesw.com> Message-ID: On Mon, Nov 21, 2011 at 12:02 PM, J. Landman Gay wrote: > When I purchased, on iOS it cost $5. On Android it cost $2. (The price has > since changed for both.) > > Android apps for the most part seem to be either much cheaper or free. I > think it's true that Android users don't want to pay. I've been mulling > this over myself as I get closer to releasing something. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com I'm not in full agreement with you on Android users not "wanting" to pay. In some ways I think iOS makes it easier (and cooler) to pay. It seems to me that Apple users are used to paying more, and that goes back to the early days of computers too. Many Apple users (but not all) believe their stuff is better simply because it is shinier. Even the ads have a stronger lure. Most Android users simply got a new phone by upgrading, and wanted to add mobile Internet access. The Market is secondary in their lives. Their smart-phone is a just utility with new bells and whistles. Then there is the even smaller segment of tech-savvy Android users who go for the high-end tablets. By tech-savvy, I mean they can and have installed an OS, they know about Linux and open source. Ok, nerds. ;) Anyway, they'll pay, but not if there is a free alternative. At the end of the day, Apple has marketed their iStuff to the masses VERY well. The typical end-user (80% is my guess) has never heard of or even cares to know anything about Linux. Then there are the people who WANT the iStuff, but can't justify the cost because it's only a toy to them. Many of those users will get an Android tablet because it offers a touch interface, access to apps, etc. for a more practical budget price. The Kindle Fire is already setting the market on fire for this segment of users. I just know Android app sales will increase as the devices saturate the market. Even if it's not the first thing a user does, they will eventually have a need for an app, and they'll search. And there will be your killer app to save the day. Or, it will only be on iOS, and an opportunity will be lost. ?Roger From bobs at twft.com Mon Nov 21 13:32:37 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 21 Nov 2011 10:32:37 -0800 Subject: Confused about substacks In-Reply-To: References: <761D3335-A153-4A13-9E6A-12212C990BB9@twft.com> <77CA6AE7-4044-4A69-9396-B9F2CF92A8A8@byu.edu> Message-ID: <148C4328-3544-4413-BF9D-0B2535A0F5B0@twft.com> Yes I was actually thinking about and had begun to make each card/form it's own stack, but when I got to the place of thinking about all the variables and code and message paths I had already set up and was deeply entrenched in, the hassle of making it all work non-modally so to speak seemed too much of a hassle. I guess the lesson to be learned here, is plan for standalone and modality before coding an app. Retooling can be a b****! Bob On Nov 18, 2011, at 4:31 PM, Mike Bonner wrote: > Probably what will work is to make a stackrunner type of splash stack with > any libraries etc included. Then you can have your real stack with its > substacks be opened by the splash. As long as the right support stuff is > included the splash you can "go stack.." and it should be fine, and the > splashstack can handle the saving of changes to your real stack. > > > > On Fri, Nov 18, 2011 at 5:17 PM, Bob Sneidar wrote: > >> Correction. You cannot go to a card in a new window. The command will >> ignore the new window and just go to the card in the existing window. That >> would be a nice feature enhancement for having multiple windows open on a >> single stack. >> >> Bob From coiin at verizon.net Mon Nov 21 13:35:38 2011 From: coiin at verizon.net (Colin Holgate) Date: Mon, 21 Nov 2011 13:35:38 -0500 Subject: Android/iOS datapoints In-Reply-To: <4ECA75FE.2040409@cogapp.com> References: <4ECA75FE.2040409@cogapp.com> Message-ID: <03723CEB-40D9-47ED-919C-E112F10C5197@verizon.net> One of my Flash buddies gave me some figures for you. For this app (originally written in GameSalad, re-written in Corona): http://itunes.apple.com/us/app/the-secret-of-grisly-manor/id384282298?mt=8 https://market.android.com/details?id=com.firemaplegames.games.the_secretofgrislymanor http://www.amazon.com/The-Secret-of-Grisly-Manor/dp/B004FOA84A Here are some sales figures for a one year period: iOS: 106,000 copies sold Android: 72,000 copies sold Android without Nook or Fire: 5,000 copies sold There are some things to consider though. The iOS version was not for iPad, so in a sense there were 20 times as many sales on iOS than on an equivalent Android device (plus Android tablets). But, with the Nook and the Kindle, and the half price that Amazon charges, the figures became much better for Android. Overall, off of this very tiny sampling, you could think of future Android OS app sales being similar to iOS, though I have told my friend that he could do better on iOS if he made an iPad version! From hershbp at verizon.net Mon Nov 21 13:37:38 2011 From: hershbp at verizon.net (hershbp at verizon.net) Date: Mon, 21 Nov 2011 12:37:38 -0600 (CST) Subject: Datagrid dosn't except data Message-ID: <2058453966.508459.1321900658874.JavaMail.root@vms184.mailsrvcs.net> Wondering how I overlooked it. Thanks a mill., working. Nov 20, 2011 05:46:59 PM, use-livecode at lists.runrev.com wrote: =========================================== Not sure it applies but you might look at this: http://lessons.runrev.com/s/lessons/m/datagrid/l/7339-What-Do-I-Need-to-Do-To-Deploy-a-Standalone-With-A-Data-Grid- On Sun, Nov 20, 2011 at 3:28 PM, wrote: > > Hi, i have an application with several data grids, in developers mode it > works fine (even after suspend developer tools) and after creating a stand > alone the grids don't except any data. check all libraries sound to be ok. > can't figure it out. > Thanks in advanced, Hershel > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at 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 Nov 21 13:45:55 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 21 Nov 2011 12:45:55 -0600 Subject: Android/iOS datapoints In-Reply-To: <03723CEB-40D9-47ED-919C-E112F10C5197@verizon.net> References: <4ECA75FE.2040409@cogapp.com> <03723CEB-40D9-47ED-919C-E112F10C5197@verizon.net> Message-ID: <4ECA9C63.30102@hyperactivesw.com> On 11/21/11 12:35 PM, Colin Holgate wrote: > One of my Flash buddies gave me some figures for you. For this app (originally written in GameSalad, re-written in Corona): > > http://itunes.apple.com/us/app/the-secret-of-grisly-manor/id384282298?mt=8 > https://market.android.com/details?id=com.firemaplegames.games.the_secretofgrislymanor > http://www.amazon.com/The-Secret-of-Grisly-Manor/dp/B004FOA84A > > Here are some sales figures for a one year period: > > iOS: 106,000 copies sold > Android: 72,000 copies sold > Android without Nook or Fire: 5,000 copies sold You know him? Cool. I downloaded that game and played it on the plane on the way back home from the last Rev conference. It was perfect for the trip. But I remember that it was the free Amazon app of the day, which is how I noticed it and so I grabbed it. That makes me wonder how many of the Android numbers were downloaded for free? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From johnb at hvc.rr.com Mon Nov 21 13:50:48 2011 From: johnb at hvc.rr.com (John Brozycki) Date: Mon, 21 Nov 2011 13:50:48 -0500 Subject: OT: VMware special and running OS X 10.5/6 under Fusion Message-ID: <095309A7-454E-4A86-A849-E4CC5C126EC4@hvc.rr.com> For anyone interested in VMware Fusion for Mac or VMware Workstation for Windows, VMware is going to offer 30% off next Monday ($34.99 USD for Fusion): http://stepcoupons.com/vmware-cyber-monday-sale/ It also appears that with the latest update VMware has removed the check in Fusion to see if pre-Lion OS X versions are server versions, meaning you should be able to install Leopard and Snow Leopard under VMware Fusion. Haven't tried this yet and not sure that Apple is going to like it, but it would be great for testing against older versions of OS X on one machine without having to boot off an alternate boot device. http://arstechnica.com/apple/news/2011/11/vmware-fusion-users-can-now-install-leopard-snow-leopard-in-vms.ars Cheers, John From andre at andregarzia.com Mon Nov 21 13:49:05 2011 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 21 Nov 2011 16:49:05 -0200 Subject: Android/iOS datapoints In-Reply-To: References: <4ECA75FE.2040409@cogapp.com> <4ECA8416.2070108@hyperactivesw.com> Message-ID: Although I can't offer datapoints. I've been a mobile power user for some time. I have both iPhone and Android phones and currently I am using my Android phone as my main phone because I am angry with HP and thus switched off my Pre2. People here might not know but Brazil is 9% of the GLOBAL SMARTPHONE MARKET. Yes, my country may be behind in many things but if there is one thing we are really good at is communication. Brazil has at least 19 million smartphones ( http://thenextweb.com/la/2011/08/22/smartphone-usage-in-brazil-why-youll-be-surprised/) and as a developer with tech and non-tech friends, I can see how trends are going. Android is winning over iPhone here because Android devices are cheaper but the iPhone still a success. Brazilians are not keen on paying for software. Piracy is the norm even in the enterprise. I've seen top companies here such as one of the top 5 medical labs here run on pirated copies of windows and office. Every street corner there is a guy with an easel selling pirate copies of everything from AutoCAD to Wii games. When I say here that I pay for software, people look at me puzzled like "why are you doing this?". Now with that mental picture in your mind, pay attention, Brazilians spend a lot of money in mobile apps, specially games. FREE apps here will get thousands of downloads, so if you can go with ads, this is probably the way to go here but commercial mobile apps are also a success. I have a firm belief that mobile games here in Brazil earn more than the minimal wage if they are good honest fun casual games. What I've learned in the last few years is that good technology can fail if marketed improperly. The opposite is also true, you don't need to have the best thing around to be a success if you market it properly. There are thousands of good mobile apps that are not successful, I think this is due to poor marketing skills. The hardest thing is to get noticed and to get the initial downloads going up to the snowball point where it will start selling on its own. Before placing software on the mobile appstores and praying for reviews, I think developers should prepare a zero-day huge marketing boost and you can do it on the cheap. If you are doing an application for a specific market slice or niche, then find what blogs and publications people interested in your app read. Give away promo codes to these publications. Send emails to journalists and important people in that area. Do this on the same day as you are approved. Marketing is as important as coding these days. I think it doesn't matter which way you go (iOS or Android) as long as you can get your little gem noticed. From bobs at twft.com Mon Nov 21 13:55:23 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 21 Nov 2011 10:55:23 -0800 Subject: [OT] A FLASH in the pan? Part 2 In-Reply-To: <52123F8E-634B-419E-A2EC-A03B27605704@verizon.net> References: <4EC7FBC7.9060705@gmail.com> <52123F8E-634B-419E-A2EC-A03B27605704@verizon.net> Message-ID: <22E36E80-ED8C-4732-82B3-66563D455856@twft.com> Har! Those are hilarious! I think it demonstrates that the best way to deal with idiocy is to laugh out loud at it; to mock it, to humiliate it's proponents into a state of embarrassment. We should all gather at the Occupy Wall Street movements around the world and have some well known comedians come by and do skits and standup ridiculing the people who (lacking jobs or any kind of productive lifestyle) have the time to sit in pee and feces saturated mud (because the grass is now all dead) and chant about how important what they are doing is. Hey, I am all for holding the Wall Street crowd responsible for the scam perpetrated on the citizens (if that is what all this is about) but also, let's go after the politicians who were in on it. Let's launch investigations into who got the money, and who they know in politics, and start cleaning house. Oh yeah, and how about this time when these kids in these protests go to vote, they admit they were wrong about the "change we can believe in" and avoid vote for mealy mouth con artists who want to hand the public coffers over to their "associates" with nary a control about how the money can be spent? Sorry, Bob On Nov 19, 2011, at 11:45 AM, Colin Holgate wrote: > You'll hopefully enjoy these two sites: > > http://occupyhtml.org/ > > http://occupyoccupyflash.org/ > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Mon Nov 21 14:01:06 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 21 Nov 2011 11:01:06 -0800 Subject: [OT] A FLASH in the pan? Part 2 In-Reply-To: <22E36E80-ED8C-4732-82B3-66563D455856@twft.com> References: <4EC7FBC7.9060705@gmail.com> <52123F8E-634B-419E-A2EC-A03B27605704@verizon.net> <22E36E80-ED8C-4732-82B3-66563D455856@twft.com> Message-ID: *the people who (lacking jobs or any kind of productive lifestyle) * Implying they didn't want to work and just goof off? Dude, you have a job. That was just plain mean. let's end this thread now. sqb On 21 November 2011 10:55, Bob Sneidar wrote: > Har! Those are hilarious! I think it demonstrates that the best way to > deal with idiocy is to laugh out loud at it; to mock it, to humiliate it's > proponents into a state of embarrassment. We should all gather at the > Occupy Wall Street movements around the world and have some well known > comedians come by and do skits and standup ridiculing the people who > (lacking jobs or any kind of productive lifestyle) have the time to sit in > pee and feces saturated mud (because the grass is now all dead) and chant > about how important what they are doing is. > > Hey, I am all for holding the Wall Street crowd responsible for the scam > perpetrated on the citizens (if that is what all this is about) but also, > let's go after the politicians who were in on it. Let's launch > investigations into who got the money, and who they know in politics, and > start cleaning house. Oh yeah, and how about this time when these kids in > these protests go to vote, they admit they were wrong about the "change we > can believe in" and avoid vote for mealy mouth con artists who want to hand > the public coffers over to their "associates" with nary a control about how > the money can be spent? > > Sorry, > > Bob > > > On Nov 19, 2011, at 11:45 AM, Colin Holgate wrote: > > > You'll hopefully enjoy these two sites: > > > > http://occupyhtml.org/ > > > > http://occupyoccupyflash.org/ > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From bobs at twft.com Mon Nov 21 14:07:10 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 21 Nov 2011 11:07:10 -0800 Subject: [OT] A FLASH in the pan? Part 2 In-Reply-To: References: <4EC7FBC7.9060705@gmail.com> <52123F8E-634B-419E-A2EC-A03B27605704@verizon.net> <22E36E80-ED8C-4732-82B3-66563D455856@twft.com> Message-ID: <4DC10407-5BAB-4EF5-BB11-A44E65952164@twft.com> Sure let's end it. But first let me say that if I lose my job I am not going to go demonstrate somewhere. I am going to look for another one. Bob On Nov 21, 2011, at 11:01 AM, stephen barncard wrote: > *the people who (lacking jobs or any kind of productive lifestyle) * > > Implying they didn't want to work and just goof off? > > Dude, you have a job. That was just plain mean. > > let's end this thread now. > > sqb From benr_mc at cogapp.com Mon Nov 21 14:34:05 2011 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Mon, 21 Nov 2011 19:34:05 +0000 Subject: Android/iOS datapoints In-Reply-To: <03723CEB-40D9-47ED-919C-E112F10C5197@verizon.net> References: <4ECA75FE.2040409@cogapp.com> <03723CEB-40D9-47ED-919C-E112F10C5197@verizon.net> Message-ID: <4ECAA7AD.7010706@cogapp.com> On 21/11/2011 18:35, Colin Holgate wrote: > iOS: 106,000 copies sold > Android: 72,000 copies sold > Android without Nook or Fire: 5,000 copies sold Colin - Thank you - and your Flash buddy - very much for this. It's very interesting. Just to be sure I understand, is this in effect: iOS: 106,000 copies sold Nook + Fire (Android): 67,000 copies sold Other Android: 5,000 copies sold ... and these were for the same period, ie any general marketing of the app will have benefited both platforms equivalently? Also, do you know whether the current 50% cut in the Amazon price was in fact in place for most of the period in question, ie were these sales at approximately equal consumer price points, or were the iOS sales made at roughly twice the price of the Android? On 21/11/2011 18:49, Andre Garzia wrote: > Before placing software on the mobile appstores and praying for reviews, I > think developers should prepare a zero-day huge marketing boost ... > I think it doesn't matter which way you go (iOS or Android) as long as you > can get your little gem noticed. Andre - I agree with you about the critical importance of marketing. But my question relates to the situation in which you have somehow generated attention, outside the app stores; how do sales in response to that attention pan out? If it needs effort to develop for each platform - and even using a cross-platform solution it does - then deciding whether to go for one or the other or both does matter. Ben From coiin at verizon.net Mon Nov 21 14:44:11 2011 From: coiin at verizon.net (Colin Holgate) Date: Mon, 21 Nov 2011 14:44:11 -0500 Subject: Android/iOS datapoints In-Reply-To: <4ECA9C63.30102@hyperactivesw.com> References: <4ECA75FE.2040409@cogapp.com> <03723CEB-40D9-47ED-919C-E112F10C5197@verizon.net> <4ECA9C63.30102@hyperactivesw.com> Message-ID: <73DD68ED-4E91-4D21-9EE0-353671C055C4@verizon.net> I've known Joe for a few years, and in fact it was when he saw me do a brief demo of GameSalad that got him started on mobile app making. He first did Danger Cats!, in about 10 days, then later he did Stunt Squirrels!, taking a whole three week to do that. He says that on the free app of the day, day, Secret of Grisly Manor was downloaded 102,000 times, and that didn't count towards the figures I gave earlier. His one was one of the first apps of the day. From richmondmathewson at gmail.com Mon Nov 21 15:20:04 2011 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 21 Nov 2011 22:20:04 +0200 Subject: [OT] A FLASH in the pan? Part 2 In-Reply-To: <4DC10407-5BAB-4EF5-BB11-A44E65952164@twft.com> References: <4EC7FBC7.9060705@gmail.com> <52123F8E-634B-419E-A2EC-A03B27605704@verizon.net> <22E36E80-ED8C-4732-82B3-66563D455856@twft.com> <4DC10407-5BAB-4EF5-BB11-A44E65952164@twft.com> Message-ID: <4ECAB274.2000604@gmail.com> On 11/21/2011 09:07 PM, Bob Sneidar wrote: > Sure let's end it. But first let me say that if I lose my job I am not going to go demonstrate somewhere. I am going to look for another one. I've lost quite a few jobs in my time; so in the end I invented my own. I would certainly not hang around waiting for handouts, blaming other people (every time I lost a job I was, at least, partly responsible) or being a pain in the bum in a mucky tent getting in the way of other people who want to get on with their work. I was unemployed for about 18 months when I left my first University; so, I looked for jobs, and while I didn't have one I worked as a volunteer in charity shops. And the fact it took me 18 months to find any sort of serious job was entirely my own. > Bob > > > On Nov 21, 2011, at 11:01 AM, stephen barncard wrote: > >> *the people who (lacking jobs or any kind of productive lifestyle) * >> >> Implying they didn't want to work and just goof off? Yup: and sponge off government handouts - justthe same as those city riots in the summer. >> Dude, you have a job. That was just plain mean. Just plain realistic. >> let's end this thread now. >> >> 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 coiin at verizon.net Mon Nov 21 15:30:04 2011 From: coiin at verizon.net (Colin Holgate) Date: Mon, 21 Nov 2011 15:30:04 -0500 Subject: Android/iOS datapoints In-Reply-To: <4ECAA7AD.7010706@cogapp.com> References: <4ECA75FE.2040409@cogapp.com> <03723CEB-40D9-47ED-919C-E112F10C5197@verizon.net> <4ECAA7AD.7010706@cogapp.com> Message-ID: <4D0F3996-3F56-4096-81AF-C8037FCFB5D3@verizon.net> Today looks like it's the first anniversary of the Android version, and I think it was one of the included title on the color Nook (or at least had promotion along with the Nook). Overall it may have had more marketing on Android than on iOS. Not sure about the Amazon prices, but he has varied the iOS prices over time. It was originally $2.99, then 1.99, and he sometimes drops it to 99c. But overall the price to iOS users was higher. The run rate is higher on Nook and Fire than it has been on iPhone, but then they're more like tablets. Interestingly, all the graphics are 480x320, and are scaled up for the larger screens. From stephenREVOLUTION2 at barncard.com Mon Nov 21 16:29:22 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 21 Nov 2011 13:29:22 -0800 Subject: [OT] A FLASH in the pan? Part 2 In-Reply-To: <4ECAB274.2000604@gmail.com> References: <4EC7FBC7.9060705@gmail.com> <52123F8E-634B-419E-A2EC-A03B27605704@verizon.net> <22E36E80-ED8C-4732-82B3-66563D455856@twft.com> <4DC10407-5BAB-4EF5-BB11-A44E65952164@twft.com> <4ECAB274.2000604@gmail.com> Message-ID: I think both of you have trivialized and underestimated the seriousness of what's happening now. Easy to be smug when you are ok. On 21 November 2011 12:20, Richmond wrote: > On 11/21/2011 09:07 PM, Bob Sneidar wrote: > >> Sure let's end it. But first let me say that if I lose my job I am not >> going to go demonstrate somewhere. I am going to look for another one. >> > > I've lost quite a few jobs in my time; so in the end I invented my own. I > would certainly not hang around > waiting for handouts, blaming other people (every time I lost a job I was, > at least, partly responsible) or being a pain in the bum in a mucky tent > getting in the way of other people who want to get on with their work. > > I was unemployed for about 18 months when I left my first University; so, > I looked for jobs, and while I didn't have one I worked as a volunteer in > charity shops. And the fact it took me 18 months to find any sort of > serious job was entirely my own. > > > Bob >> >> >> On Nov 21, 2011, at 11:01 AM, stephen barncard wrote: >> >> *the people who (lacking jobs or any kind of productive lifestyle) * >>> >>> Implying they didn't want to work and just goof off? >>> >> > Yup: and sponge off government handouts - justthe same as those city riots > in the summer. > > > Dude, you have a job. That was just plain mean. >>> >> > Just plain realistic. > > > let's end this thread now. >>> >>> sqb >>> >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From jhurley0305 at sbcglobal.net Mon Nov 21 17:13:04 2011 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Mon, 21 Nov 2011 14:13:04 -0800 Subject: Copy msg box? In-Reply-To: References: Message-ID: <96023113-A2D7-438F-954C-E10FE83FBE94@sbcglobal.net> Is there a way, by script, to copy the text in the msg box, not the command line but the field below. Thanks, Jim From bonnmike at gmail.com Mon Nov 21 17:18:06 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 21 Nov 2011 15:18:06 -0700 Subject: Copy msg box? In-Reply-To: <96023113-A2D7-438F-954C-E10FE83FBE94@sbcglobal.net> References: <96023113-A2D7-438F-954C-E10FE83FBE94@sbcglobal.net> Message-ID: This works. put msg into field 1 On Mon, Nov 21, 2011 at 3:13 PM, James Hurley wrote: > Is there a way, by script, to copy the text in the msg box, not the > command line but the field below. > > Thanks, Jim > > ______________________________**_________________ > use-livecode mailing list > use-livecode at 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 Mon Nov 21 17:20:13 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 21 Nov 2011 23:20:13 +0100 Subject: Copy msg box? In-Reply-To: <96023113-A2D7-438F-954C-E10FE83FBE94@sbcglobal.net> References: <96023113-A2D7-438F-954C-E10FE83FBE94@sbcglobal.net> Message-ID: <24C69777-198F-4F31-BB98-B8EF1BD4A946@economy-x-talk.com> Jim, I believe that should be: put msg into myVar -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission! On 21 nov 2011, at 23:13, James Hurley wrote: > Is there a way, by script, to copy the text in the msg box, not the command line but the field below. > > Thanks, Jim From jacque at hyperactivesw.com Mon Nov 21 17:39:15 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 21 Nov 2011 16:39:15 -0600 Subject: Android/iOS datapoints In-Reply-To: <73DD68ED-4E91-4D21-9EE0-353671C055C4@verizon.net> References: <4ECA75FE.2040409@cogapp.com> <03723CEB-40D9-47ED-919C-E112F10C5197@verizon.net> <4ECA9C63.30102@hyperactivesw.com> <73DD68ED-4E91-4D21-9EE0-353671C055C4@verizon.net> Message-ID: <4ECAD313.2020505@hyperactivesw.com> On 11/21/11 1:44 PM, Colin Holgate wrote: > He says that on the free app of the day, day, Secret of Grisly Manor > was downloaded 102,000 times, and that didn't count towards the > figures I gave earlier. His one was one of the first apps of the > day. That's kind of amazing, that's a lot of downloads. It's good to hear the numbers you gave don't include those, it gives a better idea of the actual ratios. Tell him I enjoyed the game; I lost track of time and arrived home much faster than ever before. It really helped me get through the agony and indignities of air travel. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From chipp at chipp.com Mon Nov 21 17:45:15 2011 From: chipp at chipp.com (Chipp Walters) Date: Mon, 21 Nov 2011 16:45:15 -0600 Subject: [OT] A FLASH in the pan? Part 2 In-Reply-To: References: <4EC7FBC7.9060705@gmail.com> <52123F8E-634B-419E-A2EC-A03B27605704@verizon.net> <22E36E80-ED8C-4732-82B3-66563D455856@twft.com> <4DC10407-5BAB-4EF5-BB11-A44E65952164@twft.com> <4ECAB274.2000604@gmail.com> Message-ID: On Monday, November 21, 2011, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > I think both of you have trivialized and underestimated the seriousness of > what's happening now. Easy to be smug when you are ok. Hmmm. Do you think it smug to call other folks "smug" just because you don't agree with them? Fact is, there are two sides to this story, with both sides having good points. Sure, Wall Street is now nothing more than a 'gamed system' like Vegas where the computers and fund managers now make all the money, knowing if they screw up the Feds will bail them out. Not to mention these days Wall Street is ONLY ABOUT GREED. They add little to our society other than to promote their own interests. Far from the original concept of enabling small business access to capital for growth. But then as Bob points out, it's our poor leaders who walk around with their hands in everyone's pocket, soliciting favors for promises of virtual kickbacks (Solendra), spending foolishly trillions of our dollars on $16 muffins and wars nobody wants. And academia carries much of the blame, still advocating kids getting $100,000 degrees in "English Literature" knowing there are no jobs available, but who cares as tenured teachers have the least amount of accountability of any in our society. I suppose there's enough blame to go around. -- Chipp Walters CEO, Shafer Walters Group, Inc. From jacque at hyperactivesw.com Mon Nov 21 17:52:55 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 21 Nov 2011 16:52:55 -0600 Subject: [OT] A FLASH in the pan? Part 2 In-Reply-To: References: <4EC7FBC7.9060705@gmail.com> <52123F8E-634B-419E-A2EC-A03B27605704@verizon.net> <22E36E80-ED8C-4732-82B3-66563D455856@twft.com> <4DC10407-5BAB-4EF5-BB11-A44E65952164@twft.com> <4ECAB274.2000604@gmail.com> Message-ID: <4ECAD647.7020105@hyperactivesw.com> I have strong opinions about this too, but it doesn't belong here. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From m.schonewille at economy-x-talk.com Mon Nov 21 17:56:39 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 21 Nov 2011 23:56:39 +0100 Subject: Survey Message-ID: <86E5EA17-5543-4258-A0D1-961613208A88@economy-x-talk.com> Hi, I strongly recommend not doing the survey until we get word from RunRev that the infinite loop has been fixed. You don't want to spend the rest of your life doing the survey (not me at least). -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission! From rdimola at evergreeninfo.net Mon Nov 21 18:07:14 2011 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 21 Nov 2011 18:07:14 -0500 Subject: [OT] A FLASH in the pan? Part 2 In-Reply-To: <4ECAD647.7020105@hyperactivesw.com> References: <4EC7FBC7.9060705@gmail.com> <52123F8E-634B-419E-A2EC-A03B27605704@verizon.net> <22E36E80-ED8C-4732-82B3-66563D455856@twft.com> <4DC10407-5BAB-4EF5-BB11-A44E65952164@twft.com> <4ECAB274.2000604@gmail.com> <4ECAD647.7020105@hyperactivesw.com> Message-ID: <011c01cca8a2$4ea7a640$ebf6f2c0$@net> J, I second the motion! Ralph DiMola IT Director Evergreen Information Services -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay Sent: Monday, November 21, 2011 5:53 PM To: How to use LiveCode Subject: Re: [OT] A FLASH in the pan? Part 2 I have strong opinions about this too, but it doesn't belong here. -- 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 chipp at chipp.com Mon Nov 21 18:21:35 2011 From: chipp at chipp.com (Chipp Walters) Date: Mon, 21 Nov 2011 17:21:35 -0600 Subject: [OT] A FLASH in the pan? Part 2 In-Reply-To: <4ECAD647.7020105@hyperactivesw.com> References: <4EC7FBC7.9060705@gmail.com> <52123F8E-634B-419E-A2EC-A03B27605704@verizon.net> <22E36E80-ED8C-4732-82B3-66563D455856@twft.com> <4DC10407-5BAB-4EF5-BB11-A44E65952164@twft.com> <4ECAB274.2000604@gmail.com> <4ECAD647.7020105@hyperactivesw.com> Message-ID: Well, do you advocate all threads with the [OT] prefix be removed, or just the ones you personally don't care for? On Monday, November 21, 2011, J. Landman Gay wrote: > I have strong opinions about this too, but it doesn't belong here. > > -- > 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 > -- Chipp Walters CEO, Shafer Walters Group, Inc. From m.schonewille at economy-x-talk.com Mon Nov 21 18:29:39 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 22 Nov 2011 00:29:39 +0100 Subject: Survey In-Reply-To: <86E5EA17-5543-4258-A0D1-961613208A88@economy-x-talk.com> References: <86E5EA17-5543-4258-A0D1-961613208A88@economy-x-talk.com> Message-ID: <48792AFA-BE62-4175-87B7-B7565178D19A@economy-x-talk.com> I got a message on Twitter, that they fixed the problem. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission! On 21 nov 2011, at 23:56, Mark Schonewille wrote: > Hi, > > I strongly recommend not doing the survey until we get word from RunRev that the infinite loop has been fixed. You don't want to spend the rest of your life doing the survey (not me at least). > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission! From matthias_livecode_150811 at m-r-d.de Mon Nov 21 18:29:50 2011 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 22 Nov 2011 00:29:50 +0100 Subject: [OT] A FLASH in the pan? Part 2 In-Reply-To: References: <4EC7FBC7.9060705@gmail.com> <52123F8E-634B-419E-A2EC-A03B27605704@verizon.net> <22E36E80-ED8C-4732-82B3-66563D455856@twft.com> <4DC10407-5BAB-4EF5-BB11-A44E65952164@twft.com> <4ECAB274.2000604@gmail.com> <4ECAD647.7020105@hyperactivesw.com> Message-ID: <59BBE490-CEC1-42DE-9A26-6457F8B36B22@m-r-d.de> Gals and Guys, please stop here. I am always shocked, how easy a OT runs out of control. Regards, Matthias Am 22.11.2011 um 00:21 schrieb Chipp Walters: > Well, do you advocate all threads with the [OT] prefix be removed, or just > the ones you personally don't care for? > > On Monday, November 21, 2011, J. Landman Gay > wrote: >> I have strong opinions about this too, but it doesn't belong here. >> >> -- >> 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 >> > > -- > Chipp Walters > CEO, Shafer Walters Group, Inc. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Mon Nov 21 18:31:04 2011 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 22 Nov 2011 00:31:04 +0100 Subject: Survey In-Reply-To: <48792AFA-BE62-4175-87B7-B7565178D19A@economy-x-talk.com> References: <86E5EA17-5543-4258-A0D1-961613208A88@economy-x-talk.com> <48792AFA-BE62-4175-87B7-B7565178D19A@economy-x-talk.com> Message-ID: Survey, survey? What survey? Regards, Matthias Am 22.11.2011 um 00:29 schrieb Mark Schonewille: > I got a message on Twitter, that they fixed the problem. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission! > > On 21 nov 2011, at 23:56, Mark Schonewille wrote: > >> Hi, >> >> I strongly recommend not doing the survey until we get word from RunRev that the infinite loop has been fixed. You don't want to spend the rest of your life doing the survey (not me at least). >> >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> Homepage: http://economy-x-talk.com >> Twitter: http://twitter.com/xtalkprogrammer >> KvK: 50277553 >> >> Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission! > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From todd at geistinteractive.com Mon Nov 21 18:34:19 2011 From: todd at geistinteractive.com (Todd Geist) Date: Mon, 21 Nov 2011 15:34:19 -0800 Subject: [OT] A FLASH in the pan? Part 2 In-Reply-To: References: <4EC7FBC7.9060705@gmail.com> <52123F8E-634B-419E-A2EC-A03B27605704@verizon.net> <22E36E80-ED8C-4732-82B3-66563D455856@twft.com> <4DC10407-5BAB-4EF5-BB11-A44E65952164@twft.com> <4ECAB274.2000604@gmail.com> <4ECAD647.7020105@hyperactivesw.com> Message-ID: We all have strong feelings about what is going on. But please do all of us a favor and stop discussing it here. This is not the place. Thank you Todd On Mon, Nov 21, 2011 at 3:21 PM, Chipp Walters wrote: > Well, do you advocate all threads with the [OT] prefix be removed, or just > the ones you personally don't care for? > > On Monday, November 21, 2011, J. Landman Gay > wrote: > > I have strong opinions about this too, but it doesn't belong here. > > > > -- > > 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 > > > > -- > 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 > -- Todd Geist geist interactive (805) 419-9382 From andre at andregarzia.com Mon Nov 21 18:37:00 2011 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 21 Nov 2011 21:37:00 -0200 Subject: Survey In-Reply-To: References: <86E5EA17-5543-4258-A0D1-961613208A88@economy-x-talk.com> <48792AFA-BE62-4175-87B7-B7565178D19A@economy-x-talk.com> Message-ID: I honestly am not understanding anything... On Mon, Nov 21, 2011 at 9:31 PM, Matthias Rebbe < matthias_livecode_150811 at m-r-d.de> wrote: > Survey, survey? What survey? > > Regards, > > > Matthias > > > Am 22.11.2011 um 00:29 schrieb Mark Schonewille: > > > I got a message on Twitter, that they fixed the problem. > > > > -- > > Best regards, > > > > Mark Schonewille > > > > Economy-x-Talk Consulting and Software Engineering > > Homepage: http://economy-x-talk.com > > Twitter: http://twitter.com/xtalkprogrammer > > KvK: 50277553 > > > > Become our partner in sales http://qery.us/1bq Start selling Color > Converter today. 20% commission! > > > > On 21 nov 2011, at 23:56, Mark Schonewille wrote: > > > >> Hi, > >> > >> I strongly recommend not doing the survey until we get word from RunRev > that the infinite loop has been fixed. You don't want to spend the rest of > your life doing the survey (not me at least). > >> > >> -- > >> Best regards, > >> > >> Mark Schonewille > >> > >> Economy-x-Talk Consulting and Software Engineering > >> Homepage: http://economy-x-talk.com > >> Twitter: http://twitter.com/xtalkprogrammer > >> KvK: 50277553 > >> > >> Become our partner in sales http://qery.us/1bq Start selling Color > Converter today. 20% commission! > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From dixonja at hotmail.co.uk Mon Nov 21 18:41:07 2011 From: dixonja at hotmail.co.uk (John Dixon) Date: Mon, 21 Nov 2011 23:41:07 +0000 Subject: [OT] A FLASH in the pan? Part 2 In-Reply-To: References: <4EC7FBC7.9060705@gmail.com>, <52123F8E-634B-419E-A2EC-A03B27605704@verizon.net>, <22E36E80-ED8C-4732-82B3-66563D455856@twft.com>, , <4DC10407-5BAB-4EF5-BB11-A44E65952164@twft.com>, <4ECAB274.2000604@gmail.com>, , , <4ECAD647.7020105@hyperactivesw.com>, Message-ID: Yes... there wouldn't be any that I didn't care for if it was remembered that this is a list for liveCode, so should be nothing more... nothing less ! > Well, do you advocate all threads with the [OT] prefix be removed, or just > the ones you personally don't care for? > Chipp Walters > CEO, Shafer Walters Group, Inc. From kevin at runrev.com Mon Nov 21 18:43:43 2011 From: kevin at runrev.com (Kevin Miller) Date: Mon, 21 Nov 2011 23:43:43 +0000 Subject: Survey In-Reply-To: Message-ID: All customers will receive an email with an invite, but while we wait for those to grind through the system if you want to fill it out you can go here: LiveCode Feature Set Survey Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ LiveCode: Unleash Your Killer App On 21/11/2011 23:31, "Matthias Rebbe" wrote: >Survey, survey? What survey? > >Regards, > > >Matthias > > >Am 22.11.2011 um 00:29 schrieb Mark Schonewille: > >> I got a message on Twitter, that they fixed the problem. >> >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> Homepage: http://economy-x-talk.com >> Twitter: http://twitter.com/xtalkprogrammer >> KvK: 50277553 >> >> Become our partner in sales http://qery.us/1bq Start selling Color >>Converter today. 20% commission! >> >> On 21 nov 2011, at 23:56, Mark Schonewille wrote: >> >>> Hi, >>> >>> I strongly recommend not doing the survey until we get word from >>>RunRev that the infinite loop has been fixed. You don't want to spend >>>the rest of your life doing the survey (not me at least). >>> >>> -- >>> Best regards, >>> >>> Mark Schonewille >>> >>> Economy-x-Talk Consulting and Software Engineering >>> Homepage: http://economy-x-talk.com >>> Twitter: http://twitter.com/xtalkprogrammer >>> KvK: 50277553 >>> >>> Become our partner in sales http://qery.us/1bq Start selling Color >>>Converter today. 20% commission! >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >_______________________________________________ >use-livecode mailing list >use-livecode at 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 Mon Nov 21 18:51:04 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 22 Nov 2011 00:51:04 +0100 Subject: Survey In-Reply-To: References: <86E5EA17-5543-4258-A0D1-961613208A88@economy-x-talk.com> <48792AFA-BE62-4175-87B7-B7565178D19A@economy-x-talk.com> Message-ID: <15A77D22-3F76-4236-9BCC-70C5CA314E17@economy-x-talk.com> Andre, Matthias, A survey was announced by RunRev on Twitter. After almost an hour of spending my time doing the survey, I got caught up in an infinite loop. I warned people to not do the survey. RunRev has fixed the problem and presumably it is now safe to do the survey without getting into that infinite loop. I haven't tried it myself yet. Btw. I can't help noticing that both of you didn't tidy up the quoted messages ;-) -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission! On 22 nov 2011, at 00:37, Andre Garzia wrote: > I honestly am not understanding anything... > > On Mon, Nov 21, 2011 at 9:31 PM, Matthias Rebbe < > matthias_livecode_150811 at m-r-d.de> wrote: > >> Survey, survey? What survey? >> >> Regards, >> >> >> Matthias From andre at andregarzia.com Mon Nov 21 18:27:06 2011 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 21 Nov 2011 21:27:06 -0200 Subject: Survey In-Reply-To: <86E5EA17-5543-4258-A0D1-961613208A88@economy-x-talk.com> References: <86E5EA17-5543-4258-A0D1-961613208A88@economy-x-talk.com> Message-ID: uh???? On Mon, Nov 21, 2011 at 8:56 PM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi, > > I strongly recommend not doing the survey until we get word from RunRev > that the infinite loop has been fixed. You don't want to spend the rest of > your life doing the survey (not me at least). > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Become our partner in sales http://qery.us/1bq Start selling Color > Converter today. 20% commission! > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From rdimola at evergreeninfo.net Mon Nov 21 19:22:42 2011 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 21 Nov 2011 19:22:42 -0500 Subject: Survey In-Reply-To: References: <86E5EA17-5543-4258-A0D1-961613208A88@economy-x-talk.com> Message-ID: <013d01cca8ac$d9decb80$8d9c6280$@net> Just finished it and had no problems. Ralph DiMola IT Director Evergreen Information Services -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Andre Garzia Sent: Monday, November 21, 2011 6:27 PM To: How to use LiveCode Subject: Re: Survey uh???? On Mon, Nov 21, 2011 at 8:56 PM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi, > > I strongly recommend not doing the survey until we get word from RunRev > that the infinite loop has been fixed. You don't want to spend the rest of > your life doing the survey (not me at least). > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Become our partner in sales http://qery.us/1bq Start selling Color > Converter today. 20% commission! > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bvg at mac.com Mon Nov 21 19:37:35 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue, 22 Nov 2011 01:37:35 +0100 Subject: [OT] A FLASH in the pan? Part 2 In-Reply-To: References: <4EC7FBC7.9060705@gmail.com> <52123F8E-634B-419E-A2EC-A03B27605704@verizon.net> <22E36E80-ED8C-4732-82B3-66563D455856@twft.com> <4DC10407-5BAB-4EF5-BB11-A44E65952164@twft.com> <4ECAB274.2000604@gmail.com> <4ECAD647.7020105@hyperactivesw.com> Message-ID: <5124AB80-8AAF-47F3-96E1-ED73CBD1A725@mac.com> every OT that's not programming related, yes. that includes cheese, politcs, religion and similar topics. On 22 Nov 2011, at 00:21, Chipp Walters wrote: > Well, do you advocate all threads with the [OT] prefix be removed, or just > the ones you personally don't care for? > > On Monday, November 21, 2011, J. Landman Gay > wrote: >> I have strong opinions about this too, but it doesn't belong here. >> >> -- >> 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 >> > > -- > 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 -- Watch live presentations every Saturday: http://livecode.tv Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From m.schonewille at economy-x-talk.com Mon Nov 21 19:41:32 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 22 Nov 2011 01:41:32 +0100 Subject: Survey In-Reply-To: <013d01cca8ac$d9decb80$8d9c6280$@net> References: <86E5EA17-5543-4258-A0D1-961613208A88@economy-x-talk.com> <013d01cca8ac$d9decb80$8d9c6280$@net> Message-ID: <478170C8-F221-41AF-998D-8E59C5D13A44@economy-x-talk.com> Hi Ralph, As I wrote in my previous e-mail, RunRev has fixed the problem. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission! On 22 nov 2011, at 01:22, Ralph DiMola wrote: > Just finished it and had no problems. > > Ralph DiMola > IT Director > Evergreen Information Services From coiin at verizon.net Mon Nov 21 19:57:23 2011 From: coiin at verizon.net (Colin Holgate) Date: Mon, 21 Nov 2011 19:57:23 -0500 Subject: [OT] A FLASH in the pan? Part 2 In-Reply-To: References: <4EC7FBC7.9060705@gmail.com>, <52123F8E-634B-419E-A2EC-A03B27605704@verizon.net>, <22E36E80-ED8C-4732-82B3-66563D455856@twft.com>, , <4DC10407-5BAB-4EF5-BB11-A44E65952164@twft.com>, <4ECAB274.2000604@gmail.com>, , , <4ECAD647.7020105@hyperactivesw.com>, Message-ID: <2950436D-EED1-4E6D-82D5-2711D15EA007@verizon.net> There should be [OT][OT]. I think that talking about industry news that could affect LiveCode's future (even if it's not likely to) is a fair enough topic. To take that discussion off in a non-technical direction makes it less fair enough. Mind you, there are probably a good number of Flash coders occupying Wall Street because they've heard that there's no future for Flash programmers! From coiin at verizon.net Mon Nov 21 20:00:44 2011 From: coiin at verizon.net (Colin Holgate) Date: Mon, 21 Nov 2011 20:00:44 -0500 Subject: Survey In-Reply-To: <86E5EA17-5543-4258-A0D1-961613208A88@economy-x-talk.com> References: <86E5EA17-5543-4258-A0D1-961613208A88@economy-x-talk.com> Message-ID: <080E357D-412F-4BB5-9961-F715C491DCF9@verizon.net> It's good that they fixed it, but previously if you accidentally went on to complete the survey 200 times, you got a too much recursion error. On Nov 21, 2011, at 5:56 PM, Mark Schonewille wrote: > >I strongly recommend not doing the survey until we get word from RunRev that the infinite loop has been fixed. You don't want to spend the rest of your life doing the survey (not me at least). From m.schonewille at economy-x-talk.com Mon Nov 21 20:18:34 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 22 Nov 2011 02:18:34 +0100 Subject: Survey In-Reply-To: <080E357D-412F-4BB5-9961-F715C491DCF9@verizon.net> References: <86E5EA17-5543-4258-A0D1-961613208A88@economy-x-talk.com> <080E357D-412F-4BB5-9961-F715C491DCF9@verizon.net> Message-ID: Wow... you really have got too much time on your hands, Colin! ;-) -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission! On 22 nov 2011, at 02:00, Colin Holgate wrote: > It's good that they fixed it, but previously if you accidentally went on to complete the survey 200 times, you got a too much recursion error. > From johnb at hvc.rr.com Mon Nov 21 20:31:07 2011 From: johnb at hvc.rr.com (John Brozycki) Date: Mon, 21 Nov 2011 20:31:07 -0500 Subject: text color In-Reply-To: <080E357D-412F-4BB5-9961-F715C491DCF9@verizon.net> References: <86E5EA17-5543-4258-A0D1-961613208A88@economy-x-talk.com> <080E357D-412F-4BB5-9961-F715C491DCF9@verizon.net> Message-ID: <8B43AFB9-EA62-4A98-BDB3-475C23A9C703@hvc.rr.com> Is it possible to select text in a field and change the text or highlight color of JUST the selected text? I realize I could do this with HTML ( such as ) but what if you are trying to highlight and display HTML source, and thus the field is plaintext so that HTML commands display instead of being rendered in the field? find string... - only provides a highlight box around sequential searches for the text, and in the same color of the text. set the textColor of field x... - changes the color for the entire field. Any suggestions greatly appreciated! Thanks, John From bonnmike at gmail.com Mon Nov 21 20:31:15 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 21 Nov 2011 18:31:15 -0700 Subject: text color In-Reply-To: <8B43AFB9-EA62-4A98-BDB3-475C23A9C703@hvc.rr.com> References: <86E5EA17-5543-4258-A0D1-961613208A88@economy-x-talk.com> <080E357D-412F-4BB5-9961-F715C491DCF9@verizon.net> <8B43AFB9-EA62-4A98-BDB3-475C23A9C703@hvc.rr.com> Message-ID: you can "set the textcolor of the selection to red" Be aware though, if you just have an insertion point in the field, and set the textcolor of the selection to red, any typing done afterwards will be red. If this isn't what you desire you'll probably want to check to see what is selected so you can avoid this behavior. On Mon, Nov 21, 2011 at 6:31 PM, John Brozycki wrote: > Is it possible to select text in a field and change the text or highlight > color of JUST the selected text? I realize I could do this with HTML ( > such as > ) but what if you are trying to highlight and > display HTML source, and thus the field is plaintext so that HTML commands > display instead of being rendered in the field? > > find string... - only provides a highlight box around sequential searches > for the text, and in the same color of the text. > > set the textColor of field x... - changes the color for the entire field. > > Any suggestions greatly appreciated! > > Thanks, > John > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From chipp at chipp.com Mon Nov 21 20:59:24 2011 From: chipp at chipp.com (Chipp Walters) Date: Mon, 21 Nov 2011 19:59:24 -0600 Subject: [OT] A FLASH in the pan? Part 2 In-Reply-To: <59BBE490-CEC1-42DE-9A26-6457F8B36B22@m-r-d.de> References: <4EC7FBC7.9060705@gmail.com> <52123F8E-634B-419E-A2EC-A03B27605704@verizon.net> <22E36E80-ED8C-4732-82B3-66563D455856@twft.com> <4DC10407-5BAB-4EF5-BB11-A44E65952164@twft.com> <4ECAB274.2000604@gmail.com> <4ECAD647.7020105@hyperactivesw.com> <59BBE490-CEC1-42DE-9A26-6457F8B36B22@m-r-d.de> Message-ID: I always chuckle at these sort of posts: "please stop as this is out of control!" it's almost like folks believe they HAVE TO read posts marked OT-- as if they're caught in some sort of clockwork orange brainwashing scene unable to control their impulses: http://media.weirdworm.com/img/misc/7-weird-movie-scenes/clockwork-orange.jpg For the most part, most of us all know each other. Stephen- a great guy and Jacque a super gal. Richmond always discusses "different" stuff and Colin always imparts an interesting twist on how to do things-- and yes, we're all adults who can manage our own selves without the "sky is falling" mantra of folks who can't stand any sort of divisiveness OR who have a hard time JUST NOT READING posts which don't interest them. One of the best parts of this list is we don't only discuss, "how many ticks in a second" --and sometimes take the time to learn about who each other is and what they stand for. So, please, instead of telling us to stop discussing, please try the delete button. If, you're worried about clogging your email box then consider getting a Gmail account, or perhaps using the forums. On Monday, November 21, 2011, Matthias Rebbe < matthias_livecode_150811 at m-r-d.de> wrote: > Gals and Guys, > > please stop here. > > I am always shocked, how easy a OT runs out of control. > > Regards, > > Matthias -- Chipp Walters CEO, Shafer Walters Group, Inc. From bvlahos at mac.com Tue Nov 22 00:47:15 2011 From: bvlahos at mac.com (Bill Vlahos) Date: Mon, 21 Nov 2011 21:47:15 -0800 Subject: [OT] eSellerate In-Reply-To: References: <4151BED3-BAE6-44BA-A530-E0FE95C61974@economy-x-talk.com> Message-ID: I use Kagi for InfoWallet and they have been terrific. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Nov 20, 2011, at 12:07 PM, Pete wrote: > Thanks Mark, interesting stuff. I plan to take a look at Kagi too. > > On Sun, Nov 20, 2011 at 11:25 AM, Mark Schonewille < > m.schonewille at economy-x-talk.com> wrote: > >> Hi Pete, >> >> A few years ago, eSellerate was spamming extremely aggressively. That's >> when I decided never to do business with them. I use PayPal and Plimus. >> PayPal has many disadvantages but it works nicely if you understand the >> rules. Plimus works very nicely but is very expensive (10% fee). I wrote an >> article about this subject, which you can find at http://qery.us/1ch >> >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> Homepage: http://economy-x-talk.com >> Twitter: http://twitter.com/xtalkprogrammer >> KvK: 50277553 >> >> Become our partner in sales http://qery.us/1bq Start selling Color >> Converter today. 20% commission! >> >> On 20 nov 2011, at 20:08, Pete wrote: >> >>> Has anyone used eSellerate to manage the sale and licensing of their >>> software? I bought some software a couple of days ago and it used >>> eSellerate to handle the payment and generate a license code - I was very >>> impressed with how well it worked. It displayed an invoice to me from >>> within the application and after the sale was complete, the software was >>> automatically licensed with no need for me to key in the license code. >>> >>> They appear to charge 5.9% of sales with no other charges. >>> >>> >>> -- >>> 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 >> >> > > > -- > 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 lan.kc.macmail at gmail.com Tue Nov 22 01:16:47 2011 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 22 Nov 2011 14:16:47 +0800 Subject: [OT] A FLASH in the pan? Part 2 In-Reply-To: <5124AB80-8AAF-47F3-96E1-ED73CBD1A725@mac.com> References: <4EC7FBC7.9060705@gmail.com> <52123F8E-634B-419E-A2EC-A03B27605704@verizon.net> <22E36E80-ED8C-4732-82B3-66563D455856@twft.com> <4DC10407-5BAB-4EF5-BB11-A44E65952164@twft.com> <4ECAB274.2000604@gmail.com> <4ECAD647.7020105@hyperactivesw.com> <5124AB80-8AAF-47F3-96E1-ED73CBD1A725@mac.com> Message-ID: 2011/11/22 Bj?rnke von Gierke > every OT that's not programming related, yes. that includes cheese, > politcs, religion and similar topics. > > Ah, I only ever get to come back and visit this List in microbursts, but I see it hasn't changed ;-) From lan.kc.macmail at gmail.com Tue Nov 22 01:33:30 2011 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 22 Nov 2011 14:33:30 +0800 Subject: [BUG] - Scrollbars in LiveCode Message-ID: OS X 10.6.8 MBPro LiveCode 5.0 I think the button part of my trackpad is starting to fail. Hard to tell, it seems to have most problems after about 10 min of working in LiveCode, but then again, I generally do far more clicking in LiveCode than in any other App. To combat this I've turned On the Track Pad option 'One Finger - Tap to Click'. Now everything is fine except LiveCode scrollbars. No taps in any scrollbars - one's I've added to my stacks or Rev built in the IDE - are ever recognised, I have to click the trackpad button. All other apps are fine with tapping in their scrollbars. Do other people see this or is this just further evidence that my trackpad is all clicked out? From matthias_livecode_150811 at m-r-d.de Tue Nov 22 01:53:31 2011 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 22 Nov 2011 07:53:31 +0100 Subject: [OT] A FLASH in the pan? Part 2 In-Reply-To: References: <4EC7FBC7.9060705@gmail.com> <52123F8E-634B-419E-A2EC-A03B27605704@verizon.net> <22E36E80-ED8C-4732-82B3-66563D455856@twft.com> <4DC10407-5BAB-4EF5-BB11-A44E65952164@twft.com> <4ECAB274.2000604@gmail.com> <4ECAD647.7020105@hyperactivesw.com> <59BBE490-CEC1-42DE-9A26-6457F8B36B22@m-r-d.de> Message-ID: <58AB66E0-4153-4991-86B4-06B26C065FAC@m-r-d.de> Chipp, i have no problems with OT posts. I even post some. And if i have the time, i read all posts of this list. I just was worried that this discussion might end in a flame war. English is not my native language. Maybe therefore it felt for me like the discussion might go up in that direction. If this is not the case, go on. But keep in mind, i?ll read every post. ;) Matthias Am 22.11.2011 um 02:59 schrieb Chipp Walters: > I always chuckle at these sort of posts: "please stop as this is out of > control!" it's almost like folks believe they HAVE TO read posts marked > OT-- as if they're caught in some sort of clockwork orange brainwashing > scene unable to control their impulses: > http://media.weirdworm.com/img/misc/7-weird-movie-scenes/clockwork-orange.jpg > > For the most part, most of us all know each other. Stephen- a great guy and > Jacque a super gal. Richmond always discusses "different" stuff and Colin > always imparts an interesting twist on how to do things-- and yes, we're > all adults who can manage our own selves without the "sky is falling" > mantra of folks who can't stand any sort of divisiveness OR who have a hard > time JUST NOT READING posts which don't interest them. > > One of the best parts of this list is we don't only discuss, "how many > ticks in a second" --and sometimes take the time to learn about who each > other is and what they stand for. So, please, instead of telling us to stop > discussing, please try the delete button. If, you're worried about clogging > your email box then consider getting a Gmail account, or perhaps using the > forums. > > On Monday, November 21, 2011, Matthias Rebbe < > matthias_livecode_150811 at m-r-d.de> wrote: >> Gals and Guys, >> >> please stop here. >> >> I am always shocked, how easy a OT runs out of control. >> >> Regards, >> >> Matthias > > -- > 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 revolution at derbrill.de Tue Nov 22 02:43:56 2011 From: revolution at derbrill.de (Malte Brill) Date: Tue, 22 Nov 2011 08:43:56 +0100 Subject: [BUG] - Scrollbars in LiveCode In-Reply-To: References: Message-ID: > Do other people see this or is this just further evidence that my trackpad > is all clicked out? My trackpad is not that worn out yet and liveCode still ignores tapping in quite a few places here. Same configuration as yours. (Physical clicks always work though) Cheers, Malte From lan.kc.macmail at gmail.com Tue Nov 22 03:18:14 2011 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 22 Nov 2011 16:18:14 +0800 Subject: [BUG] - Scrollbars in LiveCode In-Reply-To: References: Message-ID: On Tue, Nov 22, 2011 at 3:43 PM, Malte Brill wrote: > > My trackpad is not that worn out yet and liveCode still ignores tapping in > quite a few places here. Same configuration as yours. (Physical clicks > always work though) > > Thanks Malte for the quick response, at least that's one less hair I have to rip out - although I'm only seeing taps not working in scrollbars, where else are you seeing them fail - so I don't waste more time when I eventually stumble across them. From andrew at rjdfarm.com Tue Nov 22 03:29:41 2011 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Tue, 22 Nov 2011 02:29:41 -0600 Subject: PHP & LiveCode Server Message-ID: On the desktop, I can execute python and other scripting languages. But how might one go about making calls to PHP functions in LiveCode Server? I have all of these wonderfully useful PHP libraries for different web services. While I have been making a habit of trying to recreate them in livecode and setting them up so that they can be called directly from post submissions, I am curious with making calls to these libraries from livecode like we would for python or any other active scripting language. Does livecode server has these kinds of capabilities? From m.schonewille at economy-x-talk.com Tue Nov 22 05:51:38 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 22 Nov 2011 11:51:38 +0100 Subject: PHP & LiveCode Server In-Reply-To: References: Message-ID: Andrew, You can execute PHP from the command line. Mac OS X/Linux: php [options] [ -f ] file [[--] args...] php [options] -r code [[--] args...] php [options] [-B code] -R code [-E code] [[--] args...] php [options] [-B code] -F file [-E code] [[--] args...] php [options] -- [ args...] php [options] -a Windows: C:\PHP5\php.exe -f "C:\PHP Scripts\script.php" -- -arg1 -arg2 -arg3 This means you can use the shell function to execute PHP scripts. There may be other ways. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission! On 22 nov 2011, at 09:29, Andrew Kluthe wrote: > On the desktop, I can execute python and other scripting languages. But how > might one go about making calls to PHP functions in LiveCode Server? > > I have all of these wonderfully useful PHP libraries for different web > services. While I have been making a habit of trying to recreate them in > livecode and setting them up so that they can be called directly from post > submissions, I am curious with making calls to these libraries from > livecode like we would for python or any other active scripting language. > > Does livecode server has these kinds of capabilities? From m.schonewille at economy-x-talk.com Tue Nov 22 05:54:39 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 22 Nov 2011 11:54:39 +0100 Subject: [BUG] - Scrollbars in LiveCode In-Reply-To: References: Message-ID: Kay, The trackpad works fine for me with scrollbars objects and scrollbars of fields and groups. OSX 10.6.8, MacBook, LC 5.0. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission! On 22 nov 2011, at 07:33, Kay C Lan wrote: > OS X 10.6.8 > MBPro > LiveCode 5.0 > > I think the button part of my trackpad is starting to fail. Hard to tell, > it seems to have most problems after about 10 min of working in LiveCode, > but then again, I generally do far more clicking in LiveCode than in any > other App. > > To combat this I've turned On the Track Pad option 'One Finger - Tap to > Click'. Now everything is fine except LiveCode scrollbars. No taps in any > scrollbars - one's I've added to my stacks or Rev built in the IDE - are > ever recognised, I have to click the trackpad button. All other apps are > fine with tapping in their scrollbars. > > Do other people see this or is this just further evidence that my trackpad > is all clicked out? From lan.kc.macmail at gmail.com Tue Nov 22 07:54:39 2011 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 22 Nov 2011 20:54:39 +0800 Subject: [BUG] - Scrollbars in LiveCode In-Reply-To: References: Message-ID: On Tue, Nov 22, 2011 at 6:54 PM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Kay, > > The trackpad works fine for me with scrollbars objects and scrollbars of > fields and groups. OSX 10.6.8, MacBook, LC 5.0. > > Hmm, now that's confused the issue, although it makes sense - couldn't figure out how it was possible for LC to differentiate between a tap in a scrollbar vs anywhere else, surely it's just responding to a system message, and it's the same system message. Thanks Mark for the response, after Malte's post I thought I was going to be able to sleep tonight, but now I'm going to have to figure out why LC isn't responding to my taps in scrollbars ;-( From mikekann at yahoo.com Tue Nov 22 09:02:36 2011 From: mikekann at yahoo.com (Michael Kann) Date: Tue, 22 Nov 2011 06:02:36 -0800 (PST) Subject: Siri article might be of interest Message-ID: <1321970556.52798.YahooMailClassic@web161605.mail.bf1.yahoo.com> http://www.newscientist.com/blogs/onepercent/2011/11/siri-hacked-to-adjust-your-the.html From ambassador at fourthworld.com Tue Nov 22 09:54:31 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 22 Nov 2011 06:54:31 -0800 Subject: [BUG] - Scrollbars in LiveCode In-Reply-To: References: Message-ID: <4ECBB7A7.2020306@fourthworld.com> Kay C Lan wrote: > Thanks Mark for the response, after Malte's post I thought I was going to > be able to sleep tonight, but now I'm going to have to figure out why LC > isn't responding to my taps in scrollbars ;-( This was a bug in earlier version of LiveCode, fixed as of 4.6.4 (or perhaps a something earlier in the 4.6 series). Testing this AM in that version has LiveCode responding to tap-to-click. What version are you using? -- 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 Tue Nov 22 10:13:16 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 22 Nov 2011 07:13:16 -0800 Subject: Dirty Salsa mini - In Appstore In-Reply-To: References: Message-ID: <4ECBBC0C.5050402@fourthworld.com> Debdoot wrote: > I am happy to announce that now the power to learn Salsa Dancing is in the palm of your hands. > > Thanks to Gerry, Richard, Mark, Jacqueline, Scott, Bj?rnke and anyone who helped me but I have missed. > Special thanks to Bernd. I swiped a lot of code from him. > > It's a very simple app that plays video clips. > > Dirty Salsa mini > http://itunes.apple.com/us/app/dirty-salsa-mini/id478527196?ls=1&mt=8 Congratulations on the release, Debdoot. For those of you who may not be familiar with his work, Debdoot has been producing multimedia for the kinetic arts for many years, going back to the early days of SuperCard when I first came into contact with him. In fact, Debdoot is also the step-father of my WebMerge product: many years ago he and I were talking about a need he had for publishing a small database to the web, and I told him about a tool I'd built for myself for that and he suggested I clean it up and sell it. Thousands of people have since benefited from Debdoot's suggestion, not the least of which is of course myself - thank you, Debdoot. Sometimes we overlook value that a fresh pair of eyes can see clearly. Debdoot, your vision is good. I've enjoyed the DVDs you've sent, and look forward to checking out this latest salsa app. You rock. And let me take this opportunity to echo the special thanks to Bernd. If you hang out in the forums you've no doubt seen many great replies there from Klaus, Mark, Bj?rnke, Jacque, and others, but Bernd often goes the extra mile to write example stacks with fully functioning code to illustrate the suggestions he generously offers. Hats off to you, Bernd. -- 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 jhurley0305 at sbcglobal.net Tue Nov 22 10:27:53 2011 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Tue, 22 Nov 2011 07:27:53 -0800 Subject: Copy msg box? In-Reply-To: References: Message-ID: <74CFC69E-AC94-4C5D-8413-68019F11E658@sbcglobal.net> Thanks Mike and Mark. I just wish it weren't so complicated. Jim > Jim, > > I believe that should be: put msg into myVar > > -- > Best regards, > > Mark Schonewille > Mike Bonner wrote: > > This works. > put msg into field 1 From devin_asay at byu.edu Tue Nov 22 10:37:51 2011 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 22 Nov 2011 15:37:51 +0000 Subject: text color In-Reply-To: References: <86E5EA17-5543-4258-A0D1-961613208A88@economy-x-talk.com> <080E357D-412F-4BB5-9961-F715C491DCF9@verizon.net> <8B43AFB9-EA62-4A98-BDB3-475C23A9C703@hvc.rr.com> Message-ID: <3B785D83-FBE5-4939-8932-AC09879BC48D@byu.edu> On Nov 21, 2011, at 6:31 PM, Mike Bonner wrote: > you can "set the textcolor of the selection to red" I've been using RunRev/LC since 2001, and this is the first time I have ever heard about the selection function! Thanks Mike! Love LC. Love this list. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From andrew at rjdfarm.com Tue Nov 22 11:15:49 2011 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Tue, 22 Nov 2011 08:15:49 -0800 (PST) Subject: PHP & LiveCode Server In-Reply-To: References: Message-ID: <1321978549584-4096296.post@n4.nabble.com> Very true, but unfortunately this is similar to what I am doing now which is making a script file that loads the library and calls the function I need with parameters being passed via post. This also means I have about 15 different .php scripts that take post information floating on my server. I consider this a weak point in my security because they only authenticate through a key and checking to make sure the remote_addr is the same as odins (but this can be spoofed). What I am hoping can be done is call functions inside a php library, straight from livecode or livecode server. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/PHP-LiveCode-Server-tp4094866p4096296.html Sent from the Revolution - User mailing list archive at Nabble.com. From johnb at hvc.rr.com Tue Nov 22 11:57:40 2011 From: johnb at hvc.rr.com (John Brozycki) Date: Tue, 22 Nov 2011 11:57:40 -0500 Subject: text color part 2 Message-ID: This still isn't exactly what I want. Given search term of "http:" this will change color of the entire word "http://somesite.com". I only want to change the color of what matches. Tried the following: on mouseUp set the traversalOn of field "Results" to true put the text of field Results into tResults put the text of field "SearchField" into strSearch put the length of strSearch into tLength put 1 into tFramePos put 0 into tPreviousOffset repeat while tFramePos <> 0 put itemOffset(strSearch,tResults,tPreviousOffset) into tFramePos select characters (tFramePos+tPreviousOffset) to (tFramePos+tPreviousOffset+tLength) of field "Results" set the textColor of the selection to red set the BackgroundColor of the selection to yellow put tFramePos + tPreviousOffset into tPreviousOffset end repeat end mouseUp I get a syntax error on the "select characters" line. After consulting the Dictionary/User Guide/web I can't find syntax how to select characters. Am I specifying this wrong or is there another command to do this? Thx, John On Nov 21, 2011, at 8:31 PM, Mike Bonner wrote: > you can "set the textcolor of the selection to red" > > Be aware though, if you just have an insertion point in the field, and set > the textcolor of the selection to red, any typing done afterwards will be > red. If this isn't what you desire you'll probably want to check to see > what is selected so you can avoid this behavior. > > On Mon, Nov 21, 2011 at 6:31 PM, John Brozycki wrote: > >> Is it possible to select text in a field and change the text or highlight >> color of JUST the selected text? I realize I could do this with HTML ( >> such as >> ) but what if you are trying to highlight and >> display HTML source, and thus the field is plaintext so that HTML commands >> display instead of being rendered in the field? >> >> find string... - only provides a highlight box around sequential searches >> for the text, and in the same color of the text. >> >> set the textColor of field x... - changes the color for the entire field. >> >> Any suggestions greatly appreciated! >> >> Thanks, >> John > From revlist at azurevision.co.uk Tue Nov 22 11:55:34 2011 From: revlist at azurevision.co.uk (Ian Wood) Date: Tue, 22 Nov 2011 16:55:34 +0000 Subject: PHP & LiveCode Server In-Reply-To: <1321978549584-4096296.post@n4.nabble.com> References: <1321978549584-4096296.post@n4.nabble.com> Message-ID: <3DA39A74-997E-45EA-92FD-190CB522A456@azurevision.co.uk> Surely it would be more secure, in that there are no .php files lying around on the server? Ian On 22 Nov 2011, at 16:15, Andrew Kluthe wrote: > Very true, but unfortunately this is similar to what I am doing now which is > making a script file that loads the library and calls the function I need > with parameters being passed via post. This also means I have about 15 > different .php scripts that take post information floating on my server. I > consider this a weak point in my security because they only authenticate > through a key and checking to make sure the remote_addr is the same as odins > (but this can be spoofed). > > What I am hoping can be done is call functions inside a php library, > straight from livecode or livecode server. > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/PHP-LiveCode-Server-tp4094866p4096296.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 bonnmike at gmail.com Tue Nov 22 11:57:35 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 22 Nov 2011 09:57:35 -0700 Subject: text color In-Reply-To: <3B785D83-FBE5-4939-8932-AC09879BC48D@byu.edu> References: <86E5EA17-5543-4258-A0D1-961613208A88@economy-x-talk.com> <080E357D-412F-4BB5-9961-F715C491DCF9@verizon.net> <8B43AFB9-EA62-4A98-BDB3-475C23A9C703@hvc.rr.com> <3B785D83-FBE5-4939-8932-AC09879BC48D@byu.edu> Message-ID: Try changing your select to this: select char 1 to tLength of word (tFramePos+tPreviousOffset) of field "Results" On Tue, Nov 22, 2011 at 8:37 AM, Devin Asay wrote: > > On Nov 21, 2011, at 6:31 PM, Mike Bonner wrote: > > > you can "set the textcolor of the selection to red" > > I've been using RunRev/LC since 2001, and this is the first time I have > ever heard about the selection function! Thanks Mike! > > Love LC. Love this list. > > 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 bobs at twft.com Tue Nov 22 12:12:03 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 22 Nov 2011 09:12:03 -0800 Subject: [OT] A FLASH in the pan? Part 2 In-Reply-To: <58AB66E0-4153-4991-86B4-06B26C065FAC@m-r-d.de> References: <4EC7FBC7.9060705@gmail.com> <52123F8E-634B-419E-A2EC-A03B27605704@verizon.net> <22E36E80-ED8C-4732-82B3-66563D455856@twft.com> <4DC10407-5BAB-4EF5-BB11-A44E65952164@twft.com> <4ECAB274.2000604@gmail.com> <4ECAD647.7020105@hyperactivesw.com> <59BBE490-CEC1-42DE-9A26-6457F8B36B22@m-r-d.de> <58AB66E0-4153-4991-86B4-06B26C065FAC@m-r-d.de> Message-ID: <7CD60952-E029-4A65-9086-DB921FFB7F01@twft.com> The fact that I am right about everything gives me the confidence to remain calm and not flame anyone. ;-) Bob On Nov 21, 2011, at 10:53 PM, Matthias Rebbe wrote: > I just was worried that this discussion might end in a flame war. From bobs at twft.com Tue Nov 22 12:13:31 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 22 Nov 2011 09:13:31 -0800 Subject: [BUG] - Scrollbars in LiveCode In-Reply-To: References: Message-ID: <76DE72C7-D558-4FE3-BF3E-1CDE82F8D1DD@twft.com> I have noticed at times in Livecode that a quick click will not register. I have to be more determined in my clicks to get them to register. Could it be that a tap is too quick a click to be seen by Livecode as an actual click? Just guessing. Bob On Nov 21, 2011, at 11:43 PM, Malte Brill wrote: >> Do other people see this or is this just further evidence that my trackpad >> is all clicked out? > > My trackpad is not that worn out yet and liveCode still ignores tapping in quite a few places here. Same configuration as yours. (Physical clicks always work though) > > Cheers, > > 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 bobs at twft.com Tue Nov 22 12:19:23 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 22 Nov 2011 09:19:23 -0800 Subject: Survey In-Reply-To: <080E357D-412F-4BB5-9961-F715C491DCF9@verizon.net> References: <86E5EA17-5543-4258-A0D1-961613208A88@economy-x-talk.com> <080E357D-412F-4BB5-9961-F715C491DCF9@verizon.net> Message-ID: <624B5EC6-4233-49C5-BAEB-9F63E6A916E6@twft.com> So they tried to complete the survey, only to find they were required to complete the survey first? Only in the digital world. :-) Bob On Nov 21, 2011, at 5:00 PM, Colin Holgate wrote: > It's good that they fixed it, but previously if you accidentally went on to complete the survey 200 times, you got a too much recursion error. From bonnmike at gmail.com Tue Nov 22 12:24:56 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 22 Nov 2011 10:24:56 -0700 Subject: text color In-Reply-To: References: <86E5EA17-5543-4258-A0D1-961613208A88@economy-x-talk.com> <080E357D-412F-4BB5-9961-F715C491DCF9@verizon.net> <8B43AFB9-EA62-4A98-BDB3-475C23A9C703@hvc.rr.com> <3B785D83-FBE5-4939-8932-AC09879BC48D@byu.edu> Message-ID: Oh, my last response was in your second set of code that you was causing a syntax error. The complete code is as follows. on mouseUp set the traversalOn of field "Results" to true put the text of field Results into tResults put the text of field "SearchField" into strSearch put the length of strSearch into tLength -- yep, like this. put 1 into tFramePos put 0 into tPreviousOffset repeat while tFramePos <> 0 -- noticed in your posted code that you used itemoffset instead of wordoffset. I assume this was a typo. put wordOffset(strSearch,tResults,tPreviousOffset) into tFramePos -- locat the beginning of the word -- since its word offset rather than straight offset, define the chunk explicitly. -- char 1 to the length of the string, of the word that was found, of the field it was found in. select char 1 to tLength of word (tFramePos+tPreviousOffset) of field "Results" set the textColor of the selection to red put tFramePos + tPreviousOffset into tPreviousOffset end repeat select empty end mouseUp You could just use offset rather than wordoffset since you aren't looking for whole word matches. Wouldn't be too difficult to rewrite it that way. Either will work dandy. From bonnmike at gmail.com Tue Nov 22 12:33:39 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 22 Nov 2011 10:33:39 -0700 Subject: text color In-Reply-To: References: <86E5EA17-5543-4258-A0D1-961613208A88@economy-x-talk.com> <080E357D-412F-4BB5-9961-F715C491DCF9@verizon.net> <8B43AFB9-EA62-4A98-BDB3-475C23A9C703@hvc.rr.com> <3B785D83-FBE5-4939-8932-AC09879BC48D@byu.edu> Message-ID: Oops, me again. If you want to change the color of text anywhere in a string, inside words or not, offset is the way to go. The code I sent.. well if you have the word "biggest" and search for g, it will hilite the b because its the first letter of the word, and the length of the word being searched for is 1. DOH. So offset is the better choice because it gives you the actual start position of the string in question, at which point the color change is easy peasy. This is where you end up. on mouseUp set the traversalOn of field "Results" to true put the text of field Results into tResults put the text of field "SearchField" into strSearch put the length of strSearch into tLength put 1 into tFramePos put 0 into tPreviousOffset repeat while tFramePos <> 0 put Offset(strSearch,tResults,tPreviousOffset) into tFramePos -- change to offset -- select the right set of chars. The -1 is so that you --don't count the first char twice, and select an extra. IF that makes sense. select char (tFramePos + tPreviousOffset) to (tFramePos + tPreviousOffset + tLength - 1) of field "results" set the textColor of the selection to red put tFramePos + tPreviousOffset into tPreviousOffset end repeat select empty end mouseUp From bonnmike at gmail.com Tue Nov 22 12:43:15 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 22 Nov 2011 10:43:15 -0700 Subject: text color In-Reply-To: References: <86E5EA17-5543-4258-A0D1-961613208A88@economy-x-talk.com> <080E357D-412F-4BB5-9961-F715C491DCF9@verizon.net> <8B43AFB9-EA62-4A98-BDB3-475C23A9C703@hvc.rr.com> <3B785D83-FBE5-4939-8932-AC09879BC48D@byu.edu> Message-ID: Last time. I swear. Really. Would help if I'd locate all the quirks before posting, eh? The problem with the last code is that if nothing is found it still hilites from the beginning of the field for the number of chars in the search string. So to fix that.. on mouseUp set the wholematches to true put field "results" into field "results" set the traversalOn of field "Results" to true put the text of field Results into tResults put the text of field "SearchField" into strSearch put the length of strSearch into tLength put 1 into tFramePos put 0 into tPreviousOffset repeat while tFramePos <> 0 put Offset(strSearch,tResults,tPreviousOffset) into tFramePos if tFramePos <> 0 then -- check to see if there is a match THEN do the color change select char (tFramePos + tPreviousOffset) to (tFramePos + tPreviousOffset + tLength - 1) of field "results" set the textColor of the selection to red put tFramePos + tPreviousOffset into tPreviousOffset end if -- ta da! 12th time is the charm. end repeat select empty end mouseUp From richmondmathewson at gmail.com Tue Nov 22 12:49:28 2011 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 22 Nov 2011 19:49:28 +0200 Subject: [OT] A FLASH in the pan? Part 2 In-Reply-To: <7CD60952-E029-4A65-9086-DB921FFB7F01@twft.com> References: <4EC7FBC7.9060705@gmail.com> <52123F8E-634B-419E-A2EC-A03B27605704@verizon.net> <22E36E80-ED8C-4732-82B3-66563D455856@twft.com> <4DC10407-5BAB-4EF5-BB11-A44E65952164@twft.com> <4ECAB274.2000604@gmail.com> <4ECAD647.7020105@hyperactivesw.com> <59BBE490-CEC1-42DE-9A26-6457F8B36B22@m-r-d.de> <58AB66E0-4153-4991-86B4-06B26C065FAC@m-r-d.de> <7CD60952-E029-4A65-9086-DB921FFB7F01@twft.com> Message-ID: <4ECBE0A8.7040306@gmail.com> On 11/22/2011 07:12 PM, Bob Sneidar wrote: > The fact that I am right about everything gives me the confidence to remain calm and not flame anyone. ;-) I love you almost as much as you love yourself . . . LOL > Bob > > > On Nov 21, 2011, at 10:53 PM, Matthias Rebbe wrote: > >> I just was worried that this discussion might end in a flame war. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Tue Nov 22 12:54:59 2011 From: pete at mollysrevenge.com (Pete) Date: Tue, 22 Nov 2011 09:54:59 -0800 Subject: [OT] eSellerate In-Reply-To: References: <4151BED3-BAE6-44BA-A530-E0FE95C61974@economy-x-talk.com> Message-ID: Thanks Bill, I plan to look into them. On Mon, Nov 21, 2011 at 9:47 PM, Bill Vlahos wrote: > I use Kagi for InfoWallet and they have been terrific. > > Bill Vlahos > _________________ > InfoWallet (http://www.infowallet.com) is about keeping your important > life information with you, accessible, and secure. > > On Nov 20, 2011, at 12:07 PM, Pete wrote: > > > Thanks Mark, interesting stuff. I plan to take a look at Kagi too. > > > > On Sun, Nov 20, 2011 at 11:25 AM, Mark Schonewille < > > m.schonewille at economy-x-talk.com> wrote: > > > >> Hi Pete, > >> > >> A few years ago, eSellerate was spamming extremely aggressively. That's > >> when I decided never to do business with them. I use PayPal and Plimus. > >> PayPal has many disadvantages but it works nicely if you understand the > >> rules. Plimus works very nicely but is very expensive (10% fee). I > wrote an > >> article about this subject, which you can find at http://qery.us/1ch > >> > >> -- > >> Best regards, > >> > >> Mark Schonewille > >> > >> Economy-x-Talk Consulting and Software Engineering > >> Homepage: http://economy-x-talk.com > >> Twitter: http://twitter.com/xtalkprogrammer > >> KvK: 50277553 > >> > >> Become our partner in sales http://qery.us/1bq Start selling Color > >> Converter today. 20% commission! > >> > >> On 20 nov 2011, at 20:08, Pete wrote: > >> > >>> Has anyone used eSellerate to manage the sale and licensing of their > >>> software? I bought some software a couple of days ago and it used > >>> eSellerate to handle the payment and generate a license code - I was > very > >>> impressed with how well it worked. It displayed an invoice to me from > >>> within the application and after the sale was complete, the software > was > >>> automatically licensed with no need for me to key in the license code. > >>> > >>> They appear to charge 5.9% of sales with no other charges. > >>> > >>> > >>> -- > >>> 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 > >> > >> > > > > > > -- > > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 pete at mollysrevenge.com Tue Nov 22 12:59:48 2011 From: pete at mollysrevenge.com (Pete) Date: Tue, 22 Nov 2011 09:59:48 -0800 Subject: [BUG] - Scrollbars in LiveCode In-Reply-To: <76DE72C7-D558-4FE3-BF3E-1CDE82F8D1DD@twft.com> References: <76DE72C7-D558-4FE3-BF3E-1CDE82F8D1DD@twft.com> Message-ID: I've always had minor problems with mouse clicks in scrollbars not registering on all versions up to 4.6.3. It's always been scrollbars on datagrids that exhibit the problem but then again I don't think I've used scrollbars anywhere else. Sounds like I should try 4.6.4. Pete On Tue, Nov 22, 2011 at 9:13 AM, Bob Sneidar wrote: > I have noticed at times in Livecode that a quick click will not register. > I have to be more determined in my clicks to get them to register. Could it > be that a tap is too quick a click to be seen by Livecode as an actual > click? Just guessing. > > Bob > > > On Nov 21, 2011, at 11:43 PM, Malte Brill wrote: > > >> Do other people see this or is this just further evidence that my > trackpad > >> is all clicked out? > > > > My trackpad is not that worn out yet and liveCode still ignores tapping > in quite a few places here. Same configuration as yours. (Physical clicks > always work though) > > > > Cheers, > > > > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 baleareninsel at gmx.net Tue Nov 22 13:19:18 2011 From: baleareninsel at gmx.net (Inselfan) Date: Tue, 22 Nov 2011 10:19:18 -0800 (PST) Subject: SELECT count(*) as Message-ID: <1321985958964-4096794.post@n4.nabble.com> Hola, using this: put revQueryDatabase (DB_ID, "SELECT count(*) as anzahl from MYFILE where something = '"&yxz&"' and something_else = 'false'") into counted shows me wrong results in counted. Does one of you will be so kind to tell me my fold? thanks -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/SELECT-count-as-tp4096794p4096794.html Sent from the Revolution - User mailing list archive at Nabble.com. From ruslan_zasukhin at valentina-db.com Tue Nov 22 13:28:22 2011 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Tue, 22 Nov 2011 20:28:22 +0200 Subject: SELECT count(*) as In-Reply-To: <1321985958964-4096794.post@n4.nabble.com> Message-ID: On 11/22/11 8:19 PM, "Inselfan" wrote: > Hola, > > using this: > > put revQueryDatabase (DB_ID, "SELECT count(*) as anzahl from MYFILE where > something = '"&yxz&"' and something_else = 'false'") into counted > > shows me wrong results in counted. Does one of you will be so kind to tell > me my fold? You expect to see count(0) into variable counted ? But in fact you get here result of revQueryDatabase () function -> cursor ? I think you need now ask field(1) of that cursor -- 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 johnb at hvc.rr.com Tue Nov 22 13:36:24 2011 From: johnb at hvc.rr.com (John Brozycki) Date: Tue, 22 Nov 2011 13:36:24 -0500 Subject: text color In-Reply-To: References: <86E5EA17-5543-4258-A0D1-961613208A88@economy-x-talk.com> <080E357D-412F-4BB5-9961-F715C491DCF9@verizon.net> <8B43AFB9-EA62-4A98-BDB3-475C23A9C703@hvc.rr.com> <3B785D83-FBE5-4939-8932-AC09879BC48D@byu.edu> Message-ID: <8E87066C-16DE-4634-A7ED-1B8515A211DC@hvc.rr.com> Mike, Thanks! You got me started with your first reply. I saw that it was grabbing the first characters of the word, even if not what you wanted. For example, if word was timebandit, but you wanted bandit, it selected "timeba". Also, I messed up incrementing my offset, so it only got the first match correctly. Here is my working code for setting the color for any specified search text in a field. Again, a HUGE thanks for your efforts! Really appreciate it! I'm sooo happy this finally works! on mouseUp set the traversalOn of field "Results" to true put the text of field Results into tResults put the text of field "SearchField" into strSearch put the length of strSearch into tLength put 1 into tFramePos put 0 into tPreviousOffset repeat while tFramePos <> 0 put wordOffset(strSearch,tResults,tPreviousOffset) into tFramePos put word(tFramePos+tPreviousOffset) of tResults into tFullWord put offSet(strSearch,tFullWord) into tCharOffset if tCharOffset >= 0 then select char (tCharOffset) to (tCharoffset+tLength-1) of word (tFramePos+tPreviousOffset) of field "Results" set the textColor of the selection to red end if put tFramePos + tPreviousOffset into tPreviousOffset -- put tFramePos + tPreviousOffset into tPreviousOffset end repeat select empty end mouseUp On Nov 22, 2011, at 12:43 PM, Mike Bonner wrote: > Last time. I swear. Really. Would help if I'd locate all the quirks before > posting, eh? > > The problem with the last code is that if nothing is found it still hilites > from the beginning of the field for the number of chars in the search > string. So to fix that.. From pete at mollysrevenge.com Tue Nov 22 13:41:01 2011 From: pete at mollysrevenge.com (Pete) Date: Tue, 22 Nov 2011 10:41:01 -0800 Subject: SELECT count(*) as In-Reply-To: <1321985958964-4096794.post@n4.nabble.com> References: <1321985958964-4096794.post@n4.nabble.com> Message-ID: RevQueryDatabase returns a cursor not the result of the SELECT. If you use revDataFromQuery instead, you'll get the result of the SELECT, eg: put revDatafromQuery(,,DB_ID, "SELECT count(*) as anzahl from MYFILE where something = '"&yxz&"' and something_else = 'false'") into counted Probably don't need the "as anzahl" using that method Pete On Tue, Nov 22, 2011 at 10:19 AM, Inselfan wrote: > Hola, > > using this: > > put revQueryDatabase (DB_ID, "SELECT count(*) as anzahl from MYFILE where > something = '"&yxz&"' and something_else = 'false'") into counted > > shows me wrong results in counted. Does one of you will be so kind to tell > me my fold? > > thanks > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/SELECT-count-as-tp4096794p4096794.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 > > -- Pete Molly's Revenge From pete at mollysrevenge.com Tue Nov 22 13:41:01 2011 From: pete at mollysrevenge.com (Pete) Date: Tue, 22 Nov 2011 10:41:01 -0800 Subject: SELECT count(*) as In-Reply-To: <1321985958964-4096794.post@n4.nabble.com> References: <1321985958964-4096794.post@n4.nabble.com> Message-ID: RevQueryDatabase returns a cursor not the result of the SELECT. If you use revDataFromQuery instead, you'll get the result of the SELECT, eg: put revDatafromQuery(,,DB_ID, "SELECT count(*) as anzahl from MYFILE where something = '"&yxz&"' and something_else = 'false'") into counted Probably don't need the "as anzahl" using that method Pete On Tue, Nov 22, 2011 at 10:19 AM, Inselfan wrote: > Hola, > > using this: > > put revQueryDatabase (DB_ID, "SELECT count(*) as anzahl from MYFILE where > something = '"&yxz&"' and something_else = 'false'") into counted > > shows me wrong results in counted. Does one of you will be so kind to tell > me my fold? > > thanks > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/SELECT-count-as-tp4096794p4096794.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 > > -- Pete Molly's Revenge From dev at digifilm.com Tue Nov 22 14:30:10 2011 From: dev at digifilm.com (ddas) Date: Tue, 22 Nov 2011 14:30:10 -0500 Subject: Dirty Salsa mini - In Appstore In-Reply-To: <4ECBBC0C.5050402@fourthworld.com> References: <4ECBBC0C.5050402@fourthworld.com> Message-ID: <8C7F5254-9E6F-48F0-A151-827F6156B381@digifilm.com> Hi Richard, Thank you. You are most kind. While it's true that I pointed out that WebMerge could be a product, you sent me the proprietary uncompiled stack for free to begin with. You were very generous. You deserve all the success that WebMerge brought you. I am proud of my role. I am honored that you took me seriously. My investors those days did not. We were building a system that'd sell music for 99 cent or less. They said no one would pay for music. Your email brought back good memories from the days when people were excited about life. Things were possible. Fun was a part of the culture. And the biggest headline had the word Lewinsky in it. Trust and generosity led to collaboration, companies and some crazy parties. Oh well. Though iphoneClearTouches lacks the charm of FlushEvents all, I am happy to be back here. I am sending you a promo code. I still have a few left if anyone wants it. Cheers, Debdoot PS: Yes. Bernd's stacks are incredible and he is a top notch bug-killer. On Nov 22, 2011, at 10:13 AM, Richard Gaskin wrote: > Debdoot wrote: > >> I am happy to announce that now the power to learn Salsa Dancing is in the palm of your hands. >> >> Thanks to Gerry, Richard, Mark, Jacqueline, Scott, Bj?rnke and anyone who helped me but I have missed. >> Special thanks to Bernd. I swiped a lot of code from him. >> >> It's a very simple app that plays video clips. >> >> Dirty Salsa mini >> http://itunes.apple.com/us/app/dirty-salsa-mini/id478527196?ls=1&mt=8 > > Congratulations on the release, Debdoot. > > For those of you who may not be familiar with his work, Debdoot has been producing multimedia for the kinetic arts for many years, going back to the early days of SuperCard when I first came into contact with him. > > In fact, Debdoot is also the step-father of my WebMerge product: many years ago he and I were talking about a need he had for publishing a small database to the web, and I told him about a tool I'd built for myself for that and he suggested I clean it up and sell it. Thousands of people have since benefited from Debdoot's suggestion, not the least of which is of course myself - thank you, Debdoot. > > Sometimes we overlook value that a fresh pair of eyes can see clearly. > > Debdoot, your vision is good. I've enjoyed the DVDs you've sent, and look forward to checking out this latest salsa app. You rock. > > > And let me take this opportunity to echo the special thanks to Bernd. If you hang out in the forums you've no doubt seen many great replies there from Klaus, Mark, Bj?rnke, Jacque, and others, but Bernd often goes the extra mile to write example stacks with fully functioning code to illustrate the suggestions he generously offers. Hats off to you, Bernd. > > -- > 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 mpezzo at gmail.com Tue Nov 22 15:49:33 2011 From: mpezzo at gmail.com (AcidJazz) Date: Tue, 22 Nov 2011 12:49:33 -0800 (PST) Subject: Can't (quite) Capitalize Card Name in property inspector Message-ID: <1321994973066-4097281.post@n4.nabble.com> I have cards named: condition1, condition2, etc. and want (owing no doubt to my own obsessive compulsive tendencies) to rename them to: Condition1, Condition2, etc. Yes, I merely want to capitalize the names. However, when I change the little "c" to a big "C" it accepts it in the property inspector window, but doesn't change it in the application browser (even after clicking the little "refresh" icon at the bottom), nor does the change show up if I type "put the name of this card" in the message box. In fact, typing "set the name of this card to "Condition 1" doesn't do it either. But,... If I type a space before the big "C" (i.e., " Condition 1") in the inspector window, then the change takes. I can then delete the space, and I get "Condition 1" in the application browser and the message box. Weird! Is this some kind of (admittedly trivial) bug? I can't find anything about this. Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Can-t-quite-Capitalize-Card-Name-in-property-inspector-tp4097281p4097281.html Sent from the Revolution - User mailing list archive at Nabble.com. From roger.e.eller at sealedair.com Tue Nov 22 16:03:07 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 22 Nov 2011 16:03:07 -0500 Subject: Can't (quite) Capitalize Card Name in property inspector In-Reply-To: <1321994973066-4097281.post@n4.nabble.com> References: <1321994973066-4097281.post@n4.nabble.com> Message-ID: On Tue, Nov 22, 2011 at 3:49 PM, AcidJazz wrote: > I have cards named: condition1, condition2, etc. and want (owing no > doubt to my own obsessive compulsive tendencies) to rename them to: > Condition1, Condition2, etc. Yes, I merely want to capitalize the names. > > Mark > > set the name of card 1 of this stack to "Condition1" worked for me. ~Roger From scott at tactilemedia.com Tue Nov 22 16:24:37 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 22 Nov 2011 13:24:37 -0800 Subject: [ANN] Last Day for tmCONTROL Reduced Price Message-ID: Just a reminder that today is the final day of introductory pricing for tmCONTROL. A FAQ, screenshots, and other information is here: http://tmtools.tactilemedia.com/tmcontrol/faq.html Best Regards, Scott Rossi Creative Director Tactile Media, UX Design From andre at andregarzia.com Tue Nov 22 17:34:39 2011 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 22 Nov 2011 20:34:39 -0200 Subject: [ANN] Last Day for tmCONTROL Reduced Price In-Reply-To: References: Message-ID: On Tue, Nov 22, 2011 at 7:24 PM, Scott Rossi wrote: > Just a reminder that today is the final day of introductory pricing for > tmCONTROL. A FAQ, screenshots, and other information is here: > http://tmtools.tactilemedia.com/tmcontrol/faq.html > > I recommend it. The controls and themes are great! =) > Best 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. http://fon.nu -- minimalist url shortening service. From jperryl at ecs.fullerton.edu Tue Nov 22 17:44:26 2011 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 22 Nov 2011 14:44:26 -0800 (PST) Subject: [ANN] Last Day for tmCONTROL Reduced Price In-Reply-To: References: Message-ID: Does this apply to those of us who bought it at the conference? Judy On Tue, 22 Nov 2011, Scott Rossi wrote: > Just a reminder that today is the final day of introductory pricing for > tmCONTROL. A FAQ, screenshots, and other information is here: > http://tmtools.tactilemedia.com/tmcontrol/faq.html From scott at tactilemedia.com Tue Nov 22 18:20:44 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 22 Nov 2011 15:20:44 -0800 Subject: [ANN] Last Day for tmCONTROL Reduced Price In-Reply-To: Message-ID: Recently, Judy Perry wrote: > Does this apply to those of us who bought it at the conference? Folks who have already ordered (such as yourself) should have already received their packages. If you have not, please contact me off list and I'll make sure it gets to you. Regards, Scott Rossi Creative Director Tactile Media, UX Design From pete at mollysrevenge.com Tue Nov 22 18:28:06 2011 From: pete at mollysrevenge.com (Pete) Date: Tue, 22 Nov 2011 15:28:06 -0800 Subject: Copying A Card Message-ID: I have a script that copies a card from one substack to another, eg copy card 1 of stack "abc" to stack "xyz". Whenever it executes the new card is opened. Is there a way to prevent that behavior? -- Pete Molly's Revenge From m.schonewille at economy-x-talk.com Tue Nov 22 18:45:33 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 23 Nov 2011 00:45:33 +0100 Subject: Copying A Card In-Reply-To: References: Message-ID: <953D1B7E-F81E-4058-83B8-5C9F831F2EBD@economy-x-talk.com> Hi Pete, Perhaps lock screen and messages and go back to the previous card after copying? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission! On 23 nov 2011, at 00:28, Pete wrote: > I have a script that copies a card from one substack to another, eg copy > card 1 of stack "abc" to stack "xyz". Whenever it executes the new card is > opened. Is there a way to prevent that behavior? > > -- > Pete > Molly's Revenge From jhurley0305 at sbcglobal.net Tue Nov 22 18:56:19 2011 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Tue, 22 Nov 2011 15:56:19 -0800 Subject: Repeat until (mouseDoulbeUp?) In-Reply-To: References: Message-ID: is it possible to terminate (exit) a repeat loop with a mouseDoubleUp? Thanks, Jim Hurley From bobs at twft.com Tue Nov 22 19:45:34 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 22 Nov 2011 16:45:34 -0800 Subject: Copying A Card In-Reply-To: References: Message-ID: <38C40D97-EE13-4768-96D2-583753128019@twft.com> I do not believe there is a way to prevent it from opening, but you can copy the card, go to the destination stack invisible and paste the card. Then go back to the source stack. Would that help? I tried this in a button and it worked famously: on mouseUp pMouseBtnNo copy card 1 of stack "Untitled 1" go invisible to stack "Untitled 2" paste go stack "Untitled 1" end mouseUp Bob On Nov 22, 2011, at 3:28 PM, Pete wrote: > I have a script that copies a card from one substack to another, eg copy > card 1 of stack "abc" to stack "xyz". Whenever it executes the new card is > opened. Is there a way to prevent that behavior? > > -- > 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 mwieder at ahsoftware.net Tue Nov 22 19:54:39 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 22 Nov 2011 16:54:39 -0800 Subject: text color part 2 In-Reply-To: References: Message-ID: <106600244812.20111122165439@ahsoftware.net> John- If you can get by without setting the background color, try using the htmlText property of the field, something like this: on mouseUp local tText local tStrReplace put the htmlText of field "Original" into tStrReplace put "" \ & field "SearchField" &\ & "" into tStrReplace replace field "SearchField" with tStrReplace in tText set the htmlText of field "Results" to tText end mouseUp -- -Mark Wieder mwieder at ahsoftware.net From pete at mollysrevenge.com Tue Nov 22 20:15:18 2011 From: pete at mollysrevenge.com (Pete) Date: Tue, 22 Nov 2011 17:15:18 -0800 Subject: Copying A Card In-Reply-To: <953D1B7E-F81E-4058-83B8-5C9F831F2EBD@economy-x-talk.com> References: <953D1B7E-F81E-4058-83B8-5C9F831F2EBD@economy-x-talk.com> Message-ID: Thanks Mark, that seems to have fixed it ( I locked/unlocked screen and messages so not sure which one fixed it) Pete On Tue, Nov 22, 2011 at 3:45 PM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi Pete, > > Perhaps lock screen and messages and go back to the previous card after > copying? > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Become our partner in sales http://qery.us/1bq Start selling Color > Converter today. 20% commission! > > On 23 nov 2011, at 00:28, Pete wrote: > > > I have a script that copies a card from one substack to another, eg copy > > card 1 of stack "abc" to stack "xyz". Whenever it executes the new card > is > > opened. Is there a way to prevent that behavior? > > > > -- > > 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 > > -- Pete Molly's Revenge From johnb at hvc.rr.com Tue Nov 22 20:22:51 2011 From: johnb at hvc.rr.com (John Brozycki) Date: Tue, 22 Nov 2011 20:22:51 -0500 Subject: text color part 2 In-Reply-To: <106600244812.20111122165439@ahsoftware.net> References: <106600244812.20111122165439@ahsoftware.net> Message-ID: Mark, Thanks for the suggestion. I've typically done just that to color text. The problem is, in this case, the field contains plaintext that is actual html, and I need to be able to view it without it disappearing and modifying other text. For example, a search could be done on, say, " John- > > If you can get by without setting the background color, try using the > htmlText property of the field, something like this: > > on mouseUp > local tText > local tStrReplace > > put the htmlText of field "Original" into tStrReplace > put "" \ > & field "SearchField" &\ > & "" into tStrReplace > replace field "SearchField" with tStrReplace in tText > set the htmlText of field "Results" to tText > end mouseUp > > -- > -Mark Wieder > mwieder at ahsoftware.net From mwieder at ahsoftware.net Tue Nov 22 21:51:10 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 22 Nov 2011 18:51:10 -0800 Subject: text color part 2 In-Reply-To: References: <106600244812.20111122165439@ahsoftware.net> Message-ID: <154607236406.20111122185110@ahsoftware.net> John- Tuesday, November 22, 2011, 5:22:51 PM, you wrote: > Mark, > Thanks for the suggestion. I've typically done just that to > color text. The problem is, in this case, the field contains > plaintext that is actual html, and I need to be able to view it > without it disappearing and modifying other text. For example, a > search could be done on, say, " this occurrences and color them to make them stand out. Mike's > suggestion got me to an answer, and we both posted working solutions. Fair enough, but I still would opt for the replace command for speed rather than a repeat loop. A couple of extra lines allows you to have html tags embedded in the text itself. Just a thought. on mouseUp local tText local tStrReplace local tSearchString put the htmltext of field "Original" into tText put the htmltext of field "SearchField" into tSearchString -- remove the "

" and "

" strings delete char 1 to 3 of tSearchString delete char -4 to -1 of tSearchString put "" \ & tSearchString & \ "" into tStrReplace replace tSearchString with tStrReplace in tText set the htmltext of field "Results" to tText end mouseUp -- -Mark Wieder mwieder at ahsoftware.net From admin at mfelkerco.com Tue Nov 22 22:36:18 2011 From: admin at mfelkerco.com (Admin) Date: Tue, 22 Nov 2011 21:36:18 -0600 Subject: How would I automatically insert username/password into .htaccess with =?UTF-8?Q?livecode=3F?= Message-ID: <8405523a19a2cfa243708c53402c6d99@mfelkerco.com> I want to write my own shopping cart because I need very specific functionality. To do this, I need to open a .htaccess file on the server, insert a username and password and then save that file. Then the cart will allow them to download multiple files (some are BIG). How would I go about this? Mike From admin at mfelkerco.com Tue Nov 22 22:57:54 2011 From: admin at mfelkerco.com (Admin) Date: Tue, 22 Nov 2011 21:57:54 -0600 Subject: How would I automatically insert username/password into .htaccess with =?UTF-8?Q?livecode=3F?= In-Reply-To: <8405523a19a2cfa243708c53402c6d99@mfelkerco.com> References: <8405523a19a2cfa243708c53402c6d99@mfelkerco.com> Message-ID: <77cbf9bea2689e95001a9240e7af93a9@mfelkerco.com> To go one step further - I need to also write a .htpasswd file with username:password - and that password needs to be encrypted. The .htpasswd file has to be out of public reach. The .htaccess refers to the .htpasswd file and has to be in the folders to be protected. All of the folders already exist and the .htaccess and .htpasswd files/folders are also in use. I just need to know how to populate them within a live code program (I would be using the web module). Mike On 22.11.2011 21:36, Admin wrote: > I want to write my own shopping cart because I need very specific > functionality. > > To do this, I need to open a .htaccess file on the > server, insert a username and password and then save that file. > > Then > the cart will allow them to download multiple files (some are BIG). > > How would I go about this? > > Mike > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com [1] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode [2] Links: ------ [1] mailto:use-livecode at lists.runrev.com [2] http://lists.runrev.com/mailman/listinfo/use-livecode From lan.kc.macmail at gmail.com Tue Nov 22 23:36:09 2011 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 23 Nov 2011 12:36:09 +0800 Subject: [BUG] - Scrollbars in LiveCode In-Reply-To: <4ECBB7A7.2020306@fourthworld.com> References: <4ECBB7A7.2020306@fourthworld.com> Message-ID: On Tue, Nov 22, 2011 at 10:54 PM, Richard Gaskin wrote: > > This was a bug in earlier version of LiveCode, fixed as of 4.6.4 (or > perhaps a something earlier in the 4.6 series). Testing this AM in that > version has LiveCode responding to tap-to-click. > > What version are you using? > > OS X 10.6.8 MBPro LiveCode 5.0 And just to clarify, the only problem I'm seeing is in the actual blank part of the bar. I can tap on the arrows that are part of the scroll bar and the field will scroll one line. I can double tap and drag the blue bar up and down the bar. What isn't working is if I tap above or below the blue bar it doesn't scroll one page - it does if use a real click from my track pad. Thanks From lan.kc.macmail at gmail.com Tue Nov 22 23:44:16 2011 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 23 Nov 2011 12:44:16 +0800 Subject: Survey In-Reply-To: References: <86E5EA17-5543-4258-A0D1-961613208A88@economy-x-talk.com> <080E357D-412F-4BB5-9961-F715C491DCF9@verizon.net> Message-ID: On Tue, Nov 22, 2011 at 9:18 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Wow... you really have got too much time on your hands, Colin! ;-) > > I figured he just wanted the iPad really, really, really, really.... (repeat 196 more times).... badly ;-) From janschenkel at yahoo.com Wed Nov 23 01:10:11 2011 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 22 Nov 2011 22:10:11 -0800 (PST) Subject: Repeat until (mouseDoulbeUp?) In-Reply-To: References: Message-ID: <1322028611.71092.YahooMailNeo@web65411.mail.ac4.yahoo.com> Hi James, The trick is to use 'wait with messages' in your 'repeat' loop.?This allows the processing of events, including 'mouseDoubleUp' - which in turn allows you to set some sort of flag, which the loop can check afterwards to know if it needs to exit. Bear in mind that the 'wait with messages' does nothing to limit the user interface, and you will now be able to click on other buttons, so use with care and disable controls that might interfere. Here's a recipe to illustrate: - create a new stack, and?drop a ?button and a scrolling field onto it - set the button script to: ## local sStatus on mouseUp ?? if sStatus is not "running" then ? ? ? put "running" into sStatus ? ? ? DisableOtherControls ? ? ? repeat with i = 1 to 500 ?? ? ? ? put return & i after field 1 ?? ? ? ? wait500millisecondswithmessages ?? ? ? ? if sStatus is not "running" then exit repeat ? ? ? end repeat ? ? ? EnableOtherControls ?? else ? ? ? pass mouseUp ?? end if end mouseUp on mouseDoubleUp ?? if sStatus is "running" then ? ? ? put "stopped" into sStatus ?? end if end mouseDoubleUp command DisableOtherControls ?? disablefield1 end DisableOtherControls command EnableOtherControls ?? enablefield1 end EnableOtherControls ## If you're interested, you can always read the blogpost that I wrote about this last year: 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: James Hurley To: use-livecode at lists.runrev.com Sent: Wednesday, November 23, 2011 12:56 AM Subject: Repeat until (mouseDoulbeUp?) is it possible to terminate (exit) a repeat loop with a mouseDoubleUp? Thanks, Jim Hurley _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Wed Nov 23 01:21:10 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 23 Nov 2011 00:21:10 -0600 Subject: [BUG] - Scrollbars in LiveCode In-Reply-To: References: <4ECBB7A7.2020306@fourthworld.com> Message-ID: <4ECC90D6.4080301@hyperactivesw.com> On 11/22/11 10:36 PM, Kay C Lan wrote: > > And just to clarify, the only problem I'm seeing is in the actual blank > part of the bar. I can tap on the arrows that are part of the scroll bar > and the field will scroll one line. I can double tap and drag the blue bar > up and down the bar. What isn't working is if I tap above or below the blue > bar it doesn't scroll one page - it does if use a real click from my track > pad. I can't get either the arrows or the scroller space around the thumb to work unless I double-tap. If I do that, they both work. My system prefs are set up to allow tap-tap-drag. If I turn that off, no kind of tapping does anything, the scroller is unresponsive. Probably worth a bug report. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Wed Nov 23 03:54:42 2011 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 23 Nov 2011 10:54:42 +0200 Subject: Can't (quite) Capitalize Card Name in property inspector In-Reply-To: <1321994973066-4097281.post@n4.nabble.com> References: <1321994973066-4097281.post@n4.nabble.com> Message-ID: <4ECCB4D2.4040202@gmail.com> On 11/22/2011 10:49 PM, AcidJazz wrote: > I have cards named: condition1, condition2, etc. and want (owing no > doubt to my own obsessive compulsive tendencies) to rename them to: > Condition1, Condition2, etc. Yes, I merely want to capitalize the names. > > However, when I change the little "c" to a big "C" it accepts it in the > property inspector window, but doesn't change it in the application browser > (even after clicking the little "refresh" icon at the bottom), nor does the > change show up if I type "put the name of this card" in the message box. > In fact, typing "set the name of this card to "Condition 1" doesn't do it > either. But,... If I type a space before the big "C" (i.e., " Condition > 1") in the inspector window, then the change takes. I can then delete the > space, and I get "Condition 1" in the application browser and the message > box. Weird! Is this some kind of (admittedly trivial) bug? I can't > find anything about this. > > Mark > I have a feeling that this is something to do with the fact that Livecode doesn't distinguish between upper and lower case letters (in English at least); after all, the thing doesn't seem to mind if I type: on mouseUp or ON MOUSEUP or, for that matter: oN MoUseuP certainly for daft types like me (who do things such as forgetting one has left the caps-lock down) this is jolly convenient; however, like everything else, it does have its downside as you are discovering. I really don't know whether it might not be a bad idea for Livecode to move to strict adherence to capitalization; but, on balance, I think it would; especially if the debugger would trap my use of the wrong case. From baleareninsel at gmx.net Wed Nov 23 04:04:46 2011 From: baleareninsel at gmx.net (Inselfan) Date: Wed, 23 Nov 2011 01:04:46 -0800 (PST) Subject: SELECT count(*) as In-Reply-To: References: <1321985958964-4096794.post@n4.nabble.com> Message-ID: <1322039086389-4098916.post@n4.nabble.com> Hola Ruslan, hola Peter, thanks for that. I'll give it a try :) -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/SELECT-count-as-tp4096794p4098916.html Sent from the Revolution - User mailing list archive at Nabble.com. From admin at mfelkerco.com Wed Nov 23 08:56:27 2011 From: admin at mfelkerco.com (Admin) Date: Wed, 23 Nov 2011 07:56:27 -0600 Subject: Can one create a dll with live =?UTF-8?Q?code=3F?= Message-ID: <02e441238c675d72564f85a21f765114@mfelkerco.com> Just curious if you can export to just a dll with Live Code? Mike From klaus at major.on-rev.com Wed Nov 23 09:01:33 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 23 Nov 2011 15:01:33 +0100 Subject: Can one create a dll with live code? In-Reply-To: <02e441238c675d72564f85a21f765114@mfelkerco.com> References: <02e441238c675d72564f85a21f765114@mfelkerco.com> Message-ID: <72F5C889-FED7-4B5A-8CF5-6E0051BA2AB1@major.on-rev.com> Am 23.11.2011 um 14:56 schrieb Admin: > Just curious if you can export to just a dll with Live Code? No. > Mike Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From lan.kc.macmail at gmail.com Wed Nov 23 10:01:14 2011 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 23 Nov 2011 23:01:14 +0800 Subject: [BUG] - Scrollbars in LiveCode In-Reply-To: <4ECC90D6.4080301@hyperactivesw.com> References: <4ECBB7A7.2020306@fourthworld.com> <4ECC90D6.4080301@hyperactivesw.com> Message-ID: On Wed, Nov 23, 2011 at 2:21 PM, J. Landman Gay wrote: > > I can't get either the arrows or the scroller space around the thumb to > work unless I double-tap. If I do that, they both work. My system prefs are > set up to allow tap-tap-drag. If I turn that off, no kind of tapping does > anything, the scroller is unresponsive. > > Probably worth a bug report. > > Jacque, you are spot on. Seems I got completely confused with what I had turned On, then Off, then On again - this tapping is all dancing to me, with two left feet. Could I ask a favour and have you submit to QCC; I use to have an account ages back, but no longer; I don't think my 1 trip there every couple of years is worth me setting up another one. I'll happily provide the details OS X 10.6.8 MBPro LiveCode 5.0 Build 1460 Scrollbars in LC do not respond correctly to single Taps when OS X Track Pad preferences are set to 'One Finger - Tap to Click'. When set this way a single Tap is equivalent to a single mouse click. All other LC objects, such as buttons, only require a single Tap. To manipulate LC scrollbars with Trackpad Tapping you must set the preferences to 'One Finger - Dragging'; 1) To use LC scrollbar arrows you must double Tap - incorrect, should be single tap. 2) To move forward/back one page you must double Tap above or below the scrollbar Thumb - incorrect, should be single tap. 3) To drag the LC scrollbar thumb you must double Tap and drag - CORRECT. You can test this within the IDE, open the Dictionary or Preferences -> Script Editor, and compare manipulating the LC scrollbar with, say, scrolling a pdf in Preview. Additionally, if you go to LC Preferences -> RevOnline and test the slider, the same fault is present, understandably, but there seems to be an additional scripting error. If you single mouse click (or double Tap due to the current bug) on the left of the Thumb, the Thumb will decrease by 1 - Correct. But, if you single mouse click on the right of the Thumb, the value increments by 1 then immediately decreases by 1. If you look really carefully, you'll also see that if you click and hold (or double Tap and hold) to the right of the Thumb, the value will continuously increment, but as soon as you release it will decrease by 1. From richmondmathewson at gmail.com Wed Nov 23 10:10:44 2011 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 23 Nov 2011 17:10:44 +0200 Subject: [OT] is the list down? Message-ID: <4ECD0CF4.4080702@gmail.com> Well ? From dixonja at hotmail.co.uk Wed Nov 23 10:20:52 2011 From: dixonja at hotmail.co.uk (John Dixon) Date: Wed, 23 Nov 2011 15:20:52 +0000 Subject: [OT] is the list down? In-Reply-To: <4ECD0CF4.4080702@gmail.com> References: <4ECD0CF4.4080702@gmail.com> Message-ID: Err.. No, not here anyway...:-) > Date: Wed, 23 Nov 2011 17:10:44 +0200 > From: richmondmathewson at gmail.com > To: use-livecode at lists.runrev.com > Subject: [OT] is the list down? > Well ? From shari at gypsyware.com Wed Nov 23 11:45:29 2011 From: shari at gypsyware.com (Shari) Date: Wed, 23 Nov 2011 11:45:29 -0500 Subject: [OT] is the list down? In-Reply-To: <4ECD0CF4.4080702@gmail.com> References: <4ECD0CF4.4080702@gmail.com> Message-ID: >Well ? Nope. Seems fine here in the sunny South in the US of A. :-) Shari -- Bad Dog Books http://books.gityasome.com Critters, humor, patriots and sports t-shirts http://www.bearsware.com WlND0WS and MAClNT0SH shareware http://www.gipsyking.com From bobs at twft.com Wed Nov 23 12:09:56 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 23 Nov 2011 09:09:56 -0800 Subject: [OT] is the list down? In-Reply-To: <4ECD0CF4.4080702@gmail.com> References: <4ECD0CF4.4080702@gmail.com> Message-ID: For those who the list may be down for, how would they be able to tell you? :-) It's like when I play online games and someone asks, "Who is still away from their keyboard?" Bob On Nov 23, 2011, at 7:10 AM, Richmond wrote: > 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 From mpezzo at gmail.com Wed Nov 23 12:26:06 2011 From: mpezzo at gmail.com (AcidJazz) Date: Wed, 23 Nov 2011 09:26:06 -0800 (PST) Subject: Can't (quite) Capitalize Card Name in property inspector In-Reply-To: <4ECCB4D2.4040202@gmail.com> References: <1321994973066-4097281.post@n4.nabble.com> <4ECCB4D2.4040202@gmail.com> Message-ID: <1322069166180-4100594.post@n4.nabble.com> I'm not sure if I would consider this a strict adherence issue though. It seems to me that if I try to change the name of something, no matter how trivial the change, the IDE should accept that. For the IDE to (implicitly) say big C is no different than little c and then refuse to accept my change is troubling. Especially given that LiveCode convention uses upper and lower case all the time. Weirder still is the fact that I think one of you said that it did work for you. --Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Can-t-quite-Capitalize-Card-Name-in-property-inspector-tp4097281p4100594.html Sent from the Revolution - User mailing list archive at Nabble.com. From m.schonewille at economy-x-talk.com Wed Nov 23 13:15:57 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 23 Nov 2011 19:15:57 +0100 Subject: Installer Maker Plugin 1.7b04 Message-ID: <05934F94-DC21-4A66-932E-D15CDF2B494A@economy-x-talk.com> Hello, It is a pleasure to announce the 4th beta version of Installer Maker Plugin 1.7. With Installer Maker you can create installers for your standalone applications directly in LiveCode. Version 1.7 now counts 16 new features and bug fixes, each requested by one or more customers. If you want to find out more about Installer Maker, please check out the website at http://rrinstallermaker.economy-x-talk.com where you can also download the latest beta version as well as the current official release. Apparently, there was some confusion about the current special offer, prices and discounts. Let me take the opportunity to explain something. ? Everyone who has bought or buys a license after 1 October 2011 will receive a license for Installer Maker 1.7, regardless of the final release date. ? If you already bought a license in the past three months but before 1 October 2011, you can use the beta versions but may be unable to use the final version of 1.7, depending on the final release date. You might want to renew your license now or when Installer Maker 1.7 is ready for release. When you renew your license, you will receive a big discount (?16.95 instead of ?39). You need to enter your old license key on the website to apply for the discount. ? If you bought a license less than a year ago, you can buy a new license with a big discount (?16.95 instead of ?39). You need to enter your old license key on the website to apply for the discount. ?If you don't have a license yet or if you bought Installer Maker longer than a year ago, then the price is ?39. Hopefully this clears it all up. I would like to urge all current license holders and everyone who submitted a feature request to download and test the beta version. If I don't hear back from you, I assume that your requested feature was implemented correctly. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission! From pete at mollysrevenge.com Wed Nov 23 13:24:35 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 23 Nov 2011 10:24:35 -0800 Subject: Copying A Card In-Reply-To: <38C40D97-EE13-4768-96D2-583753128019@twft.com> References: <38C40D97-EE13-4768-96D2-583753128019@twft.com> Message-ID: My apologies to Mark - the lock messages/screen didn't fix the problem after all - confusion on my part. Thanks Bob, your solution does what I want. Pete On Tue, Nov 22, 2011 at 4:45 PM, Bob Sneidar wrote: > I do not believe there is a way to prevent it from opening, but you can > copy the card, go to the destination stack invisible and paste the card. > Then go back to the source stack. Would that help? > > I tried this in a button and it worked famously: > > on mouseUp pMouseBtnNo > copy card 1 of stack "Untitled 1" > go invisible to stack "Untitled 2" > paste > go stack "Untitled 1" > end mouseUp > > Bob > > > On Nov 22, 2011, at 3:28 PM, Pete wrote: > > > I have a script that copies a card from one substack to another, eg copy > > card 1 of stack "abc" to stack "xyz". Whenever it executes the new card > is > > opened. Is there a way to prevent that behavior? > > > > -- > > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 bobs at twft.com Wed Nov 23 13:55:55 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 23 Nov 2011 10:55:55 -0800 Subject: Copying A Card In-Reply-To: References: <38C40D97-EE13-4768-96D2-583753128019@twft.com> Message-ID: <06C78C83-A345-445F-ADB3-1F0CF7CEEC72@twft.com> Np, and if you want to prevent openStack and openCard messages in the destination stack from firing, remember to lock messages before going to and from the stack, and unlock them before terminating the script. I have not tested that so I do not know what hidden consequences there may be. In other words, use at your own risk. ;-) Bob On Nov 23, 2011, at 10:24 AM, Pete wrote: > My apologies to Mark - the lock messages/screen didn't fix the problem > after all - confusion on my part. > > Thanks Bob, your solution does what I want. > > Pete > > On Tue, Nov 22, 2011 at 4:45 PM, Bob Sneidar wrote: > >> I do not believe there is a way to prevent it from opening, but you can >> copy the card, go to the destination stack invisible and paste the card. >> Then go back to the source stack. Would that help? >> >> I tried this in a button and it worked famously: >> >> on mouseUp pMouseBtnNo >> copy card 1 of stack "Untitled 1" >> go invisible to stack "Untitled 2" >> paste >> go stack "Untitled 1" >> end mouseUp >> >> Bob From jacque at hyperactivesw.com Wed Nov 23 14:14:55 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 23 Nov 2011 13:14:55 -0600 Subject: [BUG] - Scrollbars in LiveCode In-Reply-To: References: <4ECBB7A7.2020306@fourthworld.com> <4ECC90D6.4080301@hyperactivesw.com> Message-ID: <4ECD462F.5010106@hyperactivesw.com> On 11/23/11 9:01 AM, Kay C Lan wrote: > Could I ask a favour and have you submit to QCC; Sure, no problem. I went to do that and saw it is already in there (#8743.) I added a comment to update the report for 5.0.1, which was just released today and where the problem still occurs. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Wed Nov 23 14:23:12 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 23 Nov 2011 11:23:12 -0800 Subject: SQL and encrypted data gotcha Message-ID: <74FB394F-6233-4BE7-9F93-776690C34CC7@twft.com> Hi all. Those of you who are experienced developers will find this elementary, but I figured I would post it in case others run into this. I encrypt my passwords before sending them to the SQL database table of logins, using aes128 and a seed value that shall remain undisclosed. Works like a charm. But when I query the database for the password I noticed that at least a tab character is possible in the encrypted data, and I suppose commas as well. Imagine this scenario then: My select statement includes several non-encrypted columns of data along with the encrypted password column. I decide to return the data as a string, not an array. Unbeknownst to me, my encrypted data contains a comma or a tab. So to make things easier on myself, I replace tab with comma in the returned data. I then parse out the data into variables, item 1 to theUniqueID, item 2 to theUserName, etc and finally I come to the item containing the encrypted data. Guess what? It is now 2 or more items because of the commas and/or tabs. I will only get the data up to but not including the first tab or comma, depending on the delimiter. The decrypt command will if successful, put the decrypted results into the it variable, but because the encrypted data is incomplete, it silently fails and "it" remains whatever it was. Your login will fail but you won't know why. 3 methods come to mind to get around this. 1: Don't replace anything in a string containing encrypted data. Instead set the itemDelimiter to tab. Make sure the last column in the select statement is the encrypted data. Now parse all the other columns, but not the encrypted one. Instead delete each item that isn't a part of the encrypted data. (And don't use the form delete item 1 to -2 as it will delete all but the data after the last delimiter in the encrypted data). What will be left is just the encrypted part. 2: Run 2 or more queries, one for non encrypted data, and more for the encrypted data. 3: Return your data as an array or cursor. Hope I have helped someone avoid this pitfall. Bob From devin_asay at byu.edu Wed Nov 23 14:30:08 2011 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 23 Nov 2011 19:30:08 +0000 Subject: [iOS] - Unwanted borders around buttons Message-ID: <5D973A06-09E1-4B9B-B527-90E93913C751@byu.edu> I know I saw a discussion about this once, but now I can't find it. On iOS, when I have a button with an icon assigned to it, a blue border appears around the button after I touch it. This is regardless of whether I have hiliteBorders turned off or on. I can't figure out how to stop it. It happens both in the simulator and on a device. Anyone run into this and know how to prevent it? Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From jperryl at ecs.fullerton.edu Wed Nov 23 14:32:12 2011 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Wed, 23 Nov 2011 11:32:12 -0800 (PST) Subject: [OT] is the list down? In-Reply-To: References: <4ECD0CF4.4080702@gmail.com> Message-ID: Well, the archives certainly seem to be down. http://lists.runrev.com/pipermail/use-livecode/ Judy From cmsheffield at me.com Wed Nov 23 14:47:43 2011 From: cmsheffield at me.com (Chris Sheffield) Date: Wed, 23 Nov 2011 12:47:43 -0700 Subject: [iOS] - Unwanted borders around buttons In-Reply-To: <5D973A06-09E1-4B9B-B527-90E93913C751@byu.edu> References: <5D973A06-09E1-4B9B-B527-90E93913C751@byu.edu> Message-ID: Devin, Here are my steps to get an unadorned button: set the opaque of the selectedObject to false set the showBorder of the selectedObject to false set the showName of the selectedObject to false set the shadow of the selectedObject to false set the hiliteBorder of the selectedObject to false set the armBorder of the selectedObject to false set the showFocusBorder of the selectedObject to false set the hiliteIcon of the selectedObject to 0 set the hoverIcon of the selectedObject to 0 Could it be the armBorder in your case? Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com On Nov 23, 2011, at 12:30 PM, Devin Asay wrote: > I know I saw a discussion about this once, but now I can't find it. On iOS, when I have a button with an icon assigned to it, a blue border appears around the button after I touch it. This is regardless of whether I have hiliteBorders turned off or on. I can't figure out how to stop it. It happens both in the simulator and on a device. > > Anyone run into this and know how to prevent it? > > 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 roger.e.eller at sealedair.com Wed Nov 23 14:48:59 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 23 Nov 2011 14:48:59 -0500 Subject: [OT] is the list down? In-Reply-To: References: <4ECD0CF4.4080702@gmail.com> Message-ID: On Wed, Nov 23, 2011 at 2:32 PM, Judy Perry wrote: > Well, the archives certainly seem to be down. > > http://lists.runrev.com/**pipermail/use-livecode/ > > Judy > I always go herefor searching the archives: http://www.mail-archive.com/use-livecode at lists.runrev.com/maillist.html ~Roger From cmsheffield at me.com Wed Nov 23 14:49:36 2011 From: cmsheffield at me.com (Chris Sheffield) Date: Wed, 23 Nov 2011 12:49:36 -0700 Subject: [iOS] - Unwanted borders around buttons In-Reply-To: References: <5D973A06-09E1-4B9B-B527-90E93913C751@byu.edu> Message-ID: Sorry, I pasted that code and sent a little too quickly. In this case, the selectedObject would be your button, of course. :-) On Nov 23, 2011, at 12:47 PM, Chris Sheffield wrote: > Devin, > > Here are my steps to get an unadorned button: > > set the opaque of the selectedObject to false > set the showBorder of the selectedObject to false > set the showName of the selectedObject to false > set the shadow of the selectedObject to false > set the hiliteBorder of the selectedObject to false > set the armBorder of the selectedObject to false > set the showFocusBorder of the selectedObject to false > set the hiliteIcon of the selectedObject to 0 > set the hoverIcon of the selectedObject to 0 > > Could it be the armBorder in your case? > > Chris > > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com > > On Nov 23, 2011, at 12:30 PM, Devin Asay wrote: > >> I know I saw a discussion about this once, but now I can't find it. On iOS, when I have a button with an icon assigned to it, a blue border appears around the button after I touch it. This is regardless of whether I have hiliteBorders turned off or on. I can't figure out how to stop it. It happens both in the simulator and on a device. >> >> Anyone run into this and know how to prevent it? >> >> 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 From richmondmathewson at gmail.com Wed Nov 23 14:59:22 2011 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 23 Nov 2011 21:59:22 +0200 Subject: [OT] is the list down? In-Reply-To: References: <4ECD0CF4.4080702@gmail.com> Message-ID: <4ECD509A.1080108@gmail.com> On 11/23/2011 09:48 PM, Roger Eller wrote: > On Wed, Nov 23, 2011 at 2:32 PM, Judy Perry wrote: > >> Well, the archives certainly seem to be down. >> >> http://lists.runrev.com/**pipermail/use-livecode/ >> >> Judy >> > I always go herefor > searching the archives: > > http://www.mail-archive.com/use-livecode at lists.runrev.com/maillist.html > Thanks. Very useful. > ~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 devin_asay at byu.edu Wed Nov 23 15:01:56 2011 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 23 Nov 2011 20:01:56 +0000 Subject: [iOS] - Unwanted borders around buttons In-Reply-To: References: <5D973A06-09E1-4B9B-B527-90E93913C751@byu.edu> Message-ID: <1733733A-F6B7-44C4-B2BE-126B877C013B@byu.edu> Thanks, Chris. The showFocusBorder property was the culprit. On Nov 23, 2011, at 12:49 PM, Chris Sheffield wrote: > Devin, > > Here are my steps to get an unadorned button: > > set the opaque of the selectedObject to false > set the showBorder of the selectedObject to false > set the showName of the selectedObject to false > set the shadow of the selectedObject to false > set the hiliteBorder of the selectedObject to false > set the armBorder of the selectedObject to false > set the showFocusBorder of the selectedObject to false > set the hiliteIcon of the selectedObject to 0 > set the hoverIcon of the selectedObject to 0 > > Could it be the armBorder in your case? > > Chris > Devin Asay Humanities Technology and Research Support Center Brigham Young University From m.schonewille at economy-x-talk.com Wed Nov 23 19:29:02 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 24 Nov 2011 01:29:02 +0100 Subject: LiveCode.tv Event #44 Wrap-up Message-ID: <69A4997C-2471-47CF-B7DE-A25A857F4CD5@economy-x-talk.com> Dear LiveCoders, Before I wrap up the latest LiveCode.tv event, I have a sad announcement to make. Even though we optimistically checked out which system we might use for the next broadcasting, it looks like we've had our last event. As far as I know there is no one who wants to do another presentation. If you don't want it to end, then contact us. Write to m.schonewille at economy-x-talk.com or bvg at mac.com or click here http://qery.us/du to send a message. Last Saturday, 19 November, Bj?rnke showed us how streaming with Justin.tv works, in comparison to Ustream.tv. Keep reading to find out what the conclusions are. You can find Bj?rnke's videos at http://qery.us/1cz and http://www.twitch.tv/livecode/b/300423356 We compared http://justin.tv and http://ustream.tv. * Justin.tv: Pro: - Superb quality - Great Control over degrading the quality - Automatic Youtube upload - Can stream to other peoples channel - Ads only at the beginning Contra: - Extremely Hard setup Neutral: - Useless standalone flash streaming client * Ustream.tv: Pro: - Easy to set up Contra: - Horrible quality - Disconnects - No archiving - No colaboration features - Random ads Neutral: - Website Flash streaming client (no use to us) The following programmes were referred to during the discussion. If you have a Mac, you might want to check them out. - CamTwist (needed to record screen): http://camtwist.com/ - Apple QuickTime Broadcaster (for sending stuff to the server): http://support.apple.com/kb/DL764 - Flash Media Live Encoder (for sending stuff the server alternative): http://www.adobe.com/products/flashmediaserver/flashmediaencoder/ - lineIn (audio rerouting): http://www.rogueamoeba.com/freebies/ - soundFlower (audio rerouting): http://cycling74.com/products/soundflower/ Make sure to contact us if you don't want this to be the last event and check out http://livecode.tv for more information. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission! From lan.kc.macmail at gmail.com Wed Nov 23 20:20:29 2011 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 24 Nov 2011 09:20:29 +0800 Subject: [BUG] - Scrollbars in LiveCode In-Reply-To: <4ECD462F.5010106@hyperactivesw.com> References: <4ECBB7A7.2020306@fourthworld.com> <4ECC90D6.4080301@hyperactivesw.com> <4ECD462F.5010106@hyperactivesw.com> Message-ID: On Thu, Nov 24, 2011 at 3:14 AM, J. Landman Gay wrote: > > Sure, no problem. > Thanks From scott at tactilemedia.com Wed Nov 23 20:22:25 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 23 Nov 2011 17:22:25 -0800 Subject: LiveCode.tv Event #44 Wrap-up In-Reply-To: <69A4997C-2471-47CF-B7DE-A25A857F4CD5@economy-x-talk.com> References: <69A4997C-2471-47CF-B7DE-A25A857F4CD5@economy-x-talk.com> Message-ID: Mark: Before you decide to cancel your event, please consider the fact that a large number of your participants here in the U.S. may be heading off on holidays over the next several days. You are likely to get more interest/responses after this coming weekend. Best Regards, Scott Rossi Creative Director Tactile Media, UX Design On Nov 23, 2011, at 4:29 PM, Mark Schonewille wrote: > Dear LiveCoders, > > Before I wrap up the latest LiveCode.tv event, I have a sad announcement to make. Even though we optimistically checked out which system we might use for the next broadcasting, it looks like we've had our last event. As far as I know there is no one who wants to do another presentation. > > If you don't want it to end, then contact us. Write to m.schonewille at economy-x-talk.com or bvg at mac.com or click here http://qery.us/du to send a message. > > Last Saturday, 19 November, Bj?rnke showed us how streaming with Justin.tv works, in comparison to Ustream.tv. Keep reading to find out what the conclusions are. > > You can find Bj?rnke's videos at http://qery.us/1cz and > http://www.twitch.tv/livecode/b/300423356 > > We compared http://justin.tv and http://ustream.tv. > > * Justin.tv: > Pro: > - Superb quality > - Great Control over degrading the quality > - Automatic Youtube upload > - Can stream to other peoples channel > - Ads only at the beginning > Contra: > - Extremely Hard setup > Neutral: > - Useless standalone flash streaming client > > > * Ustream.tv: > Pro: > - Easy to set up > Contra: > - Horrible quality > - Disconnects > - No archiving > - No colaboration features > - Random ads > Neutral: > - Website Flash streaming client (no use to us) > > > The following programmes were referred to during the discussion. If you have a Mac, you might want to check them out. > > - CamTwist (needed to record screen): > http://camtwist.com/ > - Apple QuickTime Broadcaster (for sending stuff to the server): > http://support.apple.com/kb/DL764 > - Flash Media Live Encoder (for sending stuff the server alternative): > http://www.adobe.com/products/flashmediaserver/flashmediaencoder/ > - lineIn (audio rerouting): > http://www.rogueamoeba.com/freebies/ > - soundFlower (audio rerouting): > http://cycling74.com/products/soundflower/ > > Make sure to contact us if you don't want this to be the last event and check out http://livecode.tv for more information. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission! > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Nov 23 21:10:13 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 24 Nov 2011 03:10:13 +0100 Subject: LiveCode.tv Event #44 Wrap-up In-Reply-To: References: <69A4997C-2471-47CF-B7DE-A25A857F4CD5@economy-x-talk.com> Message-ID: Hi Scott, I'm aware of this, but people can also make a proposal for next weekend or the weekend thereafter or... Thanksgiving is not a reason to not contact us already. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission! On 24 nov 2011, at 02:22, Scott Rossi wrote: > Mark: > > Before you decide to cancel your event, please consider the fact that a large number of your participants here in the U.S. may be heading off on holidays over the next several days. You are likely to get more interest/responses after this coming weekend. > > Best Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > From lan.kc.macmail at gmail.com Wed Nov 23 21:57:37 2011 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 24 Nov 2011 10:57:37 +0800 Subject: [BUG] - Scrollbars in LiveCode In-Reply-To: <4ECD462F.5010106@hyperactivesw.com> References: <4ECBB7A7.2020306@fourthworld.com> <4ECC90D6.4080301@hyperactivesw.com> <4ECD462F.5010106@hyperactivesw.com> Message-ID: On Thu, Nov 24, 2011 at 3:14 AM, J. Landman Gay wrote: > I added a comment to update the report for 5.0.1, which was just released > today > > Interestingly, the scrollbar in the License Agreement portion of the LC Updater responds correctly to trackpad taps. I thought this was written in LC? Maybe there's a difference between working with the IDE (which I do almost exclusively) and Standalones. Maybe standalone scrollbars work fine? From jacque at hyperactivesw.com Wed Nov 23 22:28:32 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 23 Nov 2011 21:28:32 -0600 Subject: [BUG] - Scrollbars in LiveCode In-Reply-To: References: <4ECBB7A7.2020306@fourthworld.com> <4ECC90D6.4080301@hyperactivesw.com> <4ECD462F.5010106@hyperactivesw.com> Message-ID: <4ECDB9E0.2050206@hyperactivesw.com> On 11/23/11 8:57 PM, Kay C Lan wrote: > On Thu, Nov 24, 2011 at 3:14 AM, J. Landman Gaywrote: > >> I added a comment to update the report for 5.0.1, which was just released >> today >> >> Interestingly, the scrollbar in the License Agreement portion of the LC > Updater responds correctly to trackpad taps. I thought this was written in > LC? Maybe there's a difference between working with the IDE (which I do > almost exclusively) and Standalones. Maybe standalone scrollbars work fine? You could try suspending the development environment and see if anything is different. I don't know how conclusive that would be but it's a start. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From lan.kc.macmail at gmail.com Thu Nov 24 00:20:00 2011 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 24 Nov 2011 13:20:00 +0800 Subject: [BUG] - Scrollbars in LiveCode In-Reply-To: <4ECDB9E0.2050206@hyperactivesw.com> References: <4ECBB7A7.2020306@fourthworld.com> <4ECC90D6.4080301@hyperactivesw.com> <4ECD462F.5010106@hyperactivesw.com> <4ECDB9E0.2050206@hyperactivesw.com> Message-ID: On Thu, Nov 24, 2011 at 11:28 AM, J. Landman Gay wrote: > > You could try suspending the development environment and see if anything > is different. I don't know how conclusive that would be but it's a start. > > I did one better. I downloaded a trial version of Bill Vlahos' InfoWallet, unfortunately the same bug effects standalones. From lfredricks at proactive-intl.com Thu Nov 24 01:04:36 2011 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Wed, 23 Nov 2011 22:04:36 -0800 Subject: Valentina Studio Pro with Valentina, SQLite and Postgre Support - Thanksgiving ->Cyber Monday Special Message-ID: <2FF80A0EF9174569BA419869F9DD3F48@GATEWAY> Paradigma is running a special of 50% off Valentina Studio Pro beginning now through Cyber Monday. If you haven't checked it out in a while, its our tool set for creating and administering databases and reports, and now supports both Valentina DB and SQLite, with Postgre coming soon. Although generally speaking you don't run Postgre locally, you will be able to build and run reports off of any Postgre server database. Other great features include: - Diagramming. There is a built in database diagramming tool for planning and altering your databases - Remote Administration. Do you have our FREE Valentina Office Server /5? You can administer it perfectly from within Studio Pro. - Build Reports. Valentina Studio Pro lets you visually build reports you can use within VS Pro or upload for use with Valentina Office Server. And a whole lot more. VS Pro is available for Windows, Mac OS X and Linux - 32 bit and 64 bit, and includes 12 months of updates. Get it right here: http://bit.ly/ubn4tp Check out the Valentina blog over the next few days to see what's coming up in the Valentina 5 era - an era to dawn very soon. 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 Thu Nov 24 04:37:29 2011 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 24 Nov 2011 11:37:29 +0200 Subject: Use-List Message-ID: <4ECE1059.5070605@gmail.com> I, for one, would be extremely grateful if the good folk at RunRev could give us some sort of information about: http://lists.runrev.com/pipermail/use-livecode/ and http://lists.runrev.com/pipermail/metacard/ and, as those lists seem to still be functioning, how we can access them if those 2 links above are now dead. http://www.mail-archive.com/use-livecode at lists.runrev.com/maillist.html is not as useful as http://lists.runrev.com/pipermail/use-livecode/ as there seems no quick way to access archives from, say, several years ago. Richmond Mathewson. From matthias_livecode_150811 at m-r-d.de Thu Nov 24 05:33:20 2011 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 24 Nov 2011 11:33:20 +0100 Subject: Use-List In-Reply-To: <4ECE1059.5070605@gmail.com> References: <4ECE1059.5070605@gmail.com> Message-ID: <82530151-260F-481E-87D6-0EF502E45701@m-r-d.de> Hi, asking that directly the support team at support at runrev.com may give you a faster answer. ;) Regards, Matthias Am 24.11.2011 um 10:37 schrieb Richmond: > I, for one, would be extremely grateful if the good folk at RunRev could > give us some sort of information about: > > http://lists.runrev.com/pipermail/use-livecode/ > > and > > http://lists.runrev.com/pipermail/metacard/ > > and, as those lists seem to still be functioning, how we can access them if those 2 links > above are now dead. > > http://www.mail-archive.com/use-livecode at lists.runrev.com/maillist.html > > is not as useful as > > http://lists.runrev.com/pipermail/use-livecode/ > > as there seems no quick way to access archives from, say, several years ago. > > Richmond Mathewson. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Nov 24 06:08:24 2011 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 24 Nov 2011 13:08:24 +0200 Subject: Use-List In-Reply-To: <82530151-260F-481E-87D6-0EF502E45701@m-r-d.de> References: <4ECE1059.5070605@gmail.com> <82530151-260F-481E-87D6-0EF502E45701@m-r-d.de> Message-ID: <4ECE25A8.3020003@gmail.com> On 11/24/2011 12:33 PM, Matthias Rebbe wrote: > Hi, > > asking that directly the support team at support at runrev.com may give you a faster answer. ;) I have followed your advice exactly . . . :) Thanks. > Regards, > > Matthias > > > Am 24.11.2011 um 10:37 schrieb Richmond: > >> I, for one, would be extremely grateful if the good folk at RunRev could >> give us some sort of information about: >> >> http://lists.runrev.com/pipermail/use-livecode/ >> >> and >> >> http://lists.runrev.com/pipermail/metacard/ >> >> and, as those lists seem to still be functioning, how we can access them if those 2 links >> above are now dead. >> >> http://www.mail-archive.com/use-livecode at lists.runrev.com/maillist.html >> >> is not as useful as >> >> http://lists.runrev.com/pipermail/use-livecode/ >> >> as there seems no quick way to access archives from, say, several years ago. >> >> Richmond Mathewson. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Thu Nov 24 09:42:57 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 24 Nov 2011 09:42:57 -0500 Subject: Use-List In-Reply-To: <4ECE1059.5070605@gmail.com> References: <4ECE1059.5070605@gmail.com> Message-ID: On Thu, Nov 24, 2011 at 4:37 AM, Richmond wrote: > and, as those lists seem to still be functioning, how we can access them > if those 2 links > above are now dead. > > http://www.mail-archive.com/use-livecode at lists.runrev.com/maillist.html > is not as useful as > http://lists.runrev.com/pipermail/use-livecode/ > > as there seems no quick way to access archives from, say, several years > ago. > > Richmond Mathewson. It is strange that pipermail has suddenly vanished. I never used it, so I am unfamiliar with it's distant-past search features. Meanwhile, these 3 links work: CURRENT: http://www.mail-archive.com/use-livecode at lists.runrev.com/maillist.html SEVERAL YEARS AGO: http://www.mail-archive.com/use-revolution at lists.runrev.com/maillist.html METACARD: http://www.mail-archive.com/metacard at lists.runrev.com/maillist.html ?Roger From roger.e.eller at sealedair.com Thu Nov 24 09:55:28 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 24 Nov 2011 09:55:28 -0500 Subject: Use-List In-Reply-To: References: <4ECE1059.5070605@gmail.com> Message-ID: On Thu, Nov 24, 2011 at 9:42 AM, Roger Eller wrote: > On Thu, Nov 24, 2011 at 4:37 AM, Richmond wrote: > > as there seems no quick way to access archives from, say, several years >> ago. >> >> Richmond Mathewson. > > > It is strange that pipermail has suddenly vanished. I never used it, so I > am unfamiliar with it's distant-past search features. Meanwhile, these 3 > links work: > > CURRENT: > http://www.mail-archive.com/use-livecode at lists.runrev.com/maillist.html > > SEVERAL YEARS AGO: > http://www.mail-archive.com/use-revolution at lists.runrev.com/maillist.html > > METACARD: > http://www.mail-archive.com/metacard at lists.runrev.com/maillist.html > > ?Roger > Also, if you search, then click 'refine search', you can look for posts which were near a certain date. ? Roger From rjb at robelko.com Thu Nov 24 11:07:04 2011 From: rjb at robelko.com (Robert Brenstein) Date: Thu, 24 Nov 2011 17:07:04 +0100 Subject: LiveCode.tv Event #44 Wrap-up In-Reply-To: <69A4997C-2471-47CF-B7DE-A25A857F4CD5@economy-x-talk.com> References: <69A4997C-2471-47CF-B7DE-A25A857F4CD5@economy-x-talk.com> Message-ID: On 24.11.2011 at 1:29 Uhr +0100 Mark Schonewille apparently wrote: >Dear LiveCoders, > >Before I wrap up the latest LiveCode.tv event, I have a sad >announcement to make. Even though we optimistically checked out >which system we might use for the next broadcasting, it looks like >we've had our last event. As far as I know there is no one who wants >to do another presentation. > May be instead of cancelling, make an official break for a couple month. With Thanxgiving, Black Friday, preparations for Christmas, New Year, wrapping up the year, ... (fill you stuff in), too many people might be more focused on other matters in the near future. Robert From m.schonewille at economy-x-talk.com Thu Nov 24 11:20:18 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 24 Nov 2011 17:20:18 +0100 Subject: LiveCode.tv Event #44 Wrap-up In-Reply-To: References: <69A4997C-2471-47CF-B7DE-A25A857F4CD5@economy-x-talk.com> Message-ID: <112C2CB0-65F9-4D99-8BAC-468D9BA1D5F2@economy-x-talk.com> Hi Robert, Last year, we started somewhere in September and had 2 presentations every week until Christmas. I'd prefer not to make an official break but instead organise an event whenever someone would like to present. It would be a real shame if someone is willing to do a presentation next week only but we have to refuse because of an official break. We keep all options open for now. Anyone who has a new product to show or a nice trick to share, please contact me off-list to set a date for the event. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission! > > May be instead of cancelling, make an official break for a couple month. With Thanxgiving, Black Friday, preparations for Christmas, New Year, wrapping up the year, ... (fill you stuff in), too many people might be more focused on other matters in the near future. > > Robert From richmondmathewson at gmail.com Thu Nov 24 12:46:54 2011 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 24 Nov 2011 19:46:54 +0200 Subject: Use-List In-Reply-To: References: <4ECE1059.5070605@gmail.com> Message-ID: <4ECE830E.6090503@gmail.com> On 11/24/2011 04:55 PM, Roger Eller wrote: > On Thu, Nov 24, 2011 at 9:42 AM, Roger Eller wrote: > >> On Thu, Nov 24, 2011 at 4:37 AM, Richmond wrote: >> >> as there seems no quick way to access archives from, say, several years >>> ago. >>> >>> Richmond Mathewson. >> >> It is strange that pipermail has suddenly vanished. I never used it, so I >> am unfamiliar with it's distant-past search features. Meanwhile, these 3 >> links work: >> >> CURRENT: >> http://www.mail-archive.com/use-livecode at lists.runrev.com/maillist.html >> >> SEVERAL YEARS AGO: >> http://www.mail-archive.com/use-revolution at lists.runrev.com/maillist.html >> >> METACARD: >> http://www.mail-archive.com/metacard at lists.runrev.com/maillist.html >> >> ?Roger >> > Also, if you search, then click 'refine search', you can look for posts > which were near a certain date. Thanks. > ? Roger > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From henshaw at me.com Thu Nov 24 13:01:50 2011 From: henshaw at me.com (Andrew Henshaw) Date: Thu, 24 Nov 2011 18:01:50 +0000 Subject: Windows compiled apps with UAC Message-ID: <16BFED34-CD1A-412D-B6E4-74527C8D3DA5@me.com> Im just playing with the Windows 7 Software Logo Toolkit and it throws up a couple of errors or warning when running my app. No problem there, most can be fixed but one relates to the UAC settings. It states the app must be set to include a manifest for 'asInvoker'. Ive set the setting in the standalone builder to allow this, and it gets round the error, but when run in a standard users account (as opposed to an admin user) the app fails when it tries to access any external dlls, so as soon as there is supposed to be a read from a database nothing happens. Get rid of the manifest and everything works as it should. Any ideas on how to fix this so it can pass the test, and work?? Thanks Andy From mwieder at ahsoftware.net Thu Nov 24 15:12:43 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 24 Nov 2011 12:12:43 -0800 Subject: Use-List In-Reply-To: References: <4ECE1059.5070605@gmail.com> Message-ID: <33756128890.20111124121243@ahsoftware.net> Roger- Thursday, November 24, 2011, 6:42:57 AM, you wrote: > links work: Also http://news.gmane.org/gmane.comp.ide.revolution.user -- -Mark Wieder mwieder at ahsoftware.net From john at splash21.com Thu Nov 24 17:35:58 2011 From: john at splash21.com (John Craig) Date: Thu, 24 Nov 2011 22:35:58 +0000 Subject: Anyone writing game apps for mobile? Message-ID: <4ECEC6CE.8080001@splash21.com> Totally amazing how far on LC is now compared to a year ago - especially with the new accelerated rendering. Are there any games already out there using the new features apart from Galactic Gauntlet? I had some time to mess about with a couple of demos earlier and it looks like we can easily knock out some serious stuff! Anyone else been looking at games? http://youtu.be/8AJm-mEOBOo http://youtu.be/jBSLJSaoE6M From andre at andregarzia.com Thu Nov 24 18:12:38 2011 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 24 Nov 2011 21:12:38 -0200 Subject: Anyone writing game apps for mobile? In-Reply-To: <4ECEC6CE.8080001@splash21.com> References: <4ECEC6CE.8080001@splash21.com> Message-ID: John, Really cool demos! I am doing games, I gathered together with some designer friends and we're already working on a title. I haven't tried any of the new accelerated rendering yet, mostly because I am on android but the other two guys are on iOS. =) On Thu, Nov 24, 2011 at 8:35 PM, John Craig wrote: > Totally amazing how far on LC is now compared to a year ago - especially > with the new accelerated rendering. Are there any games already out there > using the new features apart from Galactic Gauntlet? I had some time to > mess about with a couple of demos earlier and it looks like we can easily > knock out some serious stuff! Anyone else been looking at games? > > http://youtu.be/8AJm-mEOBOo > > http://youtu.be/jBSLJSaoE6M > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From roger.e.eller at sealedair.com Thu Nov 24 18:37:20 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 24 Nov 2011 18:37:20 -0500 Subject: Anyone writing game apps for mobile? In-Reply-To: <4ECEC6CE.8080001@splash21.com> References: <4ECEC6CE.8080001@splash21.com> Message-ID: On Thu, Nov 24, 2011 at 5:35 PM, John Craig wrote: > Totally amazing how far on LC is now compared to a year ago - especially > with the new accelerated rendering. Are there any games already out there > using the new features apart from Galactic Gauntlet? I had some time to > mess about with a couple of demos earlier and it looks like we can easily > knock out some serious stuff! Anyone else been looking at games? > > http://youtu.be/8AJm-mEOBOo > > http://youtu.be/jBSLJSaoE6M > Very nice demos, John! Speaking of games, most games have a settings menu, and as you know RunRev has given us access to the Android hardware "menu" and "search" buttons. I was wondering is some pre-fab menu structures might be in the works for Android via MobGUI. Andre - unless I'm mistaken, I think the new 'accelerated rendering' is supposed to be for all platforms, including Android. :) ?Roger From mwieder at ahsoftware.net Thu Nov 24 18:45:42 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 24 Nov 2011 15:45:42 -0800 Subject: Why you shouldn't parse HTML with regexp Message-ID: <198768908109.20111124154542@ahsoftware.net> All- "The
cannot hold it is too late." http://boingboing.net/2011/11/24/why-you-shouldnt-parse-html.html ...and follow the link to http://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags/1732454#1732454 ...the comments are hilarious "Great, we're now debating the possibility of chuck norris parsing HTML with regular expressions .. and paris hilton writing an operating system." "Pierre de Fermat also figured out how to do it, but the margin he was writing in wasn't big enough for the code." -- -Mark Wieder mwieder at ahsoftware.net From matthias_livecode_150811 at m-r-d.de Thu Nov 24 19:26:17 2011 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 25 Nov 2011 01:26:17 +0100 Subject: Some questions about revBrowser Message-ID: <28615656-7925-45E7-B3E4-AE05DD2372F6@m-r-d.de> Hi, i am running into some problems, maybe caused by myself not understanding the revBrowser stuff. I have already created a simple browser stack. That was really easy to do. But now i want to create a stack with 3 buttons. Each button stands for a predefined URL(lets say url1, url2, url3). On startup i want to preload all 3 URLs . Url1 is the default url and shall be displayed by default. Pressing on button 2 or 3 shall display the already loaded url2 or url3 in the browser object. What is the best way to do this? Creating 3 cards - one for each url - seems not to work. I tried it with a 2 card stack and only one browser object (on card 1). I get the browser object from card 1 also displayed on card 2. Is this a normal behaviour Does anyone have experience with a "multi" browser stack? I remember of a sample stack from someone of the list which displayed more than 1 browser windows, but i cannot find it anymore. Regards, Matthias From m.schonewille at economy-x-talk.com Thu Nov 24 19:37:57 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 25 Nov 2011 01:37:57 +0100 Subject: Some questions about revBrowser In-Reply-To: <28615656-7925-45E7-B3E4-AE05DD2372F6@m-r-d.de> References: <28615656-7925-45E7-B3E4-AE05DD2372F6@m-r-d.de> Message-ID: <2C2011F4-920F-42A8-AC28-0512B2B0C289@economy-x-talk.com> Hi Matthias, Yes, what you see is normal behaviour. You need to load the URL's in separate browser windows (for they are really separate child windows) and show and hide them as necessary. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission! On 25 nov 2011, at 01:26, Matthias Rebbe wrote: > Hi, > > i am running into some problems, maybe caused by myself not understanding the revBrowser stuff. > > I have already created a simple browser stack. That was really easy to do. > > But now i want to create a stack with 3 buttons. Each button stands for a predefined URL(lets say url1, url2, url3). > On startup i want to preload all 3 URLs . Url1 is the default url and shall be displayed by default. Pressing on button 2 or 3 shall display the already loaded url2 or url3 in the browser object. > What is the best way to do this? Creating 3 cards - one for each url - seems not to work. > I tried it with a 2 card stack and only one browser object (on card 1). I get the browser object from card 1 also displayed on card 2. Is this a normal behaviour > > Does anyone have experience with a "multi" browser stack? > > I remember of a sample stack from someone of the list which displayed more than 1 browser windows, but i cannot find it anymore. > > Regards, > > Matthias > From bonnmike at gmail.com Thu Nov 24 19:38:16 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 24 Nov 2011 17:38:16 -0700 Subject: Some questions about revBrowser In-Reply-To: <28615656-7925-45E7-B3E4-AE05DD2372F6@m-r-d.de> References: <28615656-7925-45E7-B3E4-AE05DD2372F6@m-r-d.de> Message-ID: try revbrowserset instanceID, "visible", false -- or true to hide and show the instance that you want. Since revbrowser is an external overlay, it kinda takes over and lays on top of your stack in the rect you designate, so showing 2 at once on top of each other is problematic. So just hide the ones you don't want to show. On Thu, Nov 24, 2011 at 5:26 PM, Matthias Rebbe < matthias_livecode_150811 at m-r-d.de> wrote: > Hi, > > i am running into some problems, maybe caused by myself not understanding > the revBrowser stuff. > > I have already created a simple browser stack. That was really easy to do. > > But now i want to create a stack with 3 buttons. Each button stands for a > predefined URL(lets say url1, url2, url3). > On startup i want to preload all 3 URLs . Url1 is the default url and > shall be displayed by default. Pressing on button 2 or 3 shall display the > already loaded url2 or url3 in the browser object. > What is the best way to do this? Creating 3 cards - one for each url - > seems not to work. > I tried it with a 2 card stack and only one browser object (on card 1). I > get the browser object from card 1 also displayed on card 2. Is this a > normal behaviour > > Does anyone have experience with a "multi" browser stack? > > I remember of a sample stack from someone of the list which displayed > more than 1 browser windows, but i cannot find it anymore. > > Regards, > > Matthias > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jhurley0305 at sbcglobal.net Fri Nov 25 01:48:57 2011 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Thu, 24 Nov 2011 22:48:57 -0800 Subject: Accessing archives In-Reply-To: References: Message-ID: <45C7697C-5639-4928-AB24-BD10F7A07E69@sbcglobal.net> This problem has just come up within the last few days. When I try to access the RR archives at: http://lists.runrev.com/pipermail/use-livecode/2011-November/date.html I get the following message: Forbidden You don't have permission to access /pipermail/use-livecode/2011-November/date.html on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Where does the problem lie? Jim From heather at runrev.com Fri Nov 25 02:59:33 2011 From: heather at runrev.com (Heather Nagey) Date: Fri, 25 Nov 2011 07:59:33 +0000 Subject: Accessing archives In-Reply-To: <45C7697C-5639-4928-AB24-BD10F7A07E69@sbcglobal.net> References: <45C7697C-5639-4928-AB24-BD10F7A07E69@sbcglobal.net> Message-ID: I am looking into it. I'll let the list know when it is fixed. Regards, Heather On 25 Nov 2011, at 06:48, James Hurley wrote: > This problem has just come up within the last few days. When I try > to access the RR archives at: > > http://lists.runrev.com/pipermail/use-livecode/2011-November/date.html > > I get the following message: > Forbidden > > You don't have permission to access /pipermail/use-livecode/2011- > November/date.html on this server. > > Additionally, a 404 Not Found error was encountered while trying to > use an ErrorDocument to handle the request. > > > Where does the problem lie? > > Jim > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Heather Nagey Customer Services Manager http://www.runrev.com/ LiveCode - Unleash Your Killer App From warrenkuhl at gmail.com Fri Nov 25 03:04:51 2011 From: warrenkuhl at gmail.com (Warren Kuhl) Date: Fri, 25 Nov 2011 02:04:51 -0600 Subject: Email message with attachment Message-ID: I have email messages with attachments (jpg/gif files) as part of the email. The attachments show up as a bunch of weird characters. Is there any conversion I need to do in LiveCode to convert this into a jpg/gif file? Thanks for any help! Warren From revolution at derbrill.de Fri Nov 25 03:18:21 2011 From: revolution at derbrill.de (Malte Brill) Date: Fri, 25 Nov 2011 09:18:21 +0100 Subject: revServer (again) In-Reply-To: References: Message-ID: Hi folks, after trying to install revServer on an UBUNTU server yesterday (it worked flawlessly in my virtual machine of course) I am running into a new problem. It seems that the Database external does not bind. The XML external does work on the physical machine, however, the database external does not appear to load. How would I check if it has been loaded? I tried to do: put revOpenDatabases() which came back with an error in function error. This makes me believe the external has not been loaded. Anyone got an idea what might cause this? Any idea how to debug this? Server surely is a different beast from desktop. *sigh* Any help much appreciated. Malte From sc at sahores-conseil.com Fri Nov 25 06:34:53 2011 From: sc at sahores-conseil.com (Pierre Sahores) Date: Fri, 25 Nov 2011 12:34:53 +0100 Subject: revServer (again) In-Reply-To: References: Message-ID: Malte, Can just repeat as i said before : worked fine for me (both VM and physical boxes) under RedHat Enterprise Linux and CentOS. I went unsuccessful under other Linux distro (Debian and OpenSuse) to get the PostgreSQL db correctly binded to the revServer / LC server installation. HTH, Pierre Le 25 nov. 2011 ? 09:18, Malte Brill a ?crit : > Hi folks, > > after trying to install revServer on an UBUNTU server yesterday (it worked flawlessly in my virtual machine of course) I am running into a new problem. It seems that the Database external does not bind. The XML external does work on the physical machine, however, the database external does not appear to load. How would I check if it has been loaded? I tried to do: > > put revOpenDatabases() which came back with an error in function error. This makes me believe the external has not been loaded. Anyone got an idea what might cause this? Any idea how to debug this? Server surely is a different beast from desktop. *sigh* > > Any help much appreciated. > > 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 -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From m.schonewille at economy-x-talk.com Fri Nov 25 06:36:23 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 25 Nov 2011 12:36:23 +0100 Subject: revServer (again) In-Reply-To: References: Message-ID: Hi Malte, One way to check whether the XML external has loaded would be put the externalCommands of stack "Home" contains "revAddXMLNode" I am not sure that the server has a stack "Home" but you should be able to use the externalCommands. If it works in Ubunty in a VM, it should also work on an actual server. Have you set all permissions correctly? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission! On 25 nov 2011, at 09:18, Malte Brill wrote: > Hi folks, > > after trying to install revServer on an UBUNTU server yesterday (it worked flawlessly in my virtual machine of course) I am running into a new problem. It seems that the Database external does not bind. The XML external does work on the physical machine, however, the database external does not appear to load. How would I check if it has been loaded? I tried to do: > > put revOpenDatabases() which came back with an error in function error. This makes me believe the external has not been loaded. Anyone got an idea what might cause this? Any idea how to debug this? Server surely is a different beast from desktop. *sigh* > > Any help much appreciated. > > Malte From bonnmike at gmail.com Fri Nov 25 07:12:29 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 25 Nov 2011 05:12:29 -0700 Subject: revServer (again) In-Reply-To: References: Message-ID: since the xml works and the database stuff doesn't, sounds like everything is in the right location but there might be a permissions problem. If the externalcommands doesn't show the db stuff, list the files in the externals folder (which should be in the same folder as livecode-server) ls -la to get a complete list of files with all details, see if permissions differ for any of the files, and if so make the non-working externals match the working ones. or if nothing else, while in there do a sudo chmod 755 * Which will set read, write, execute for the owner, and read and execute for group, and everyone on all files in that folder. (will set the perms on the .txt file in there too but it shouldn't hurt anything.) Then give it a shot. From m.schonewille at economy-x-talk.com Fri Nov 25 07:25:50 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 25 Nov 2011 13:25:50 +0100 Subject: revServer (again) In-Reply-To: References: Message-ID: <78E22CCC-A839-4333-8221-0042CFE9878A@economy-x-talk.com> Hi, My externals folder contains another folder with database drivers. I suppose this means that the server folder would contain externals plus one folder. Therefore, you might want to do sudo chmod -R 755 * to make it recursive. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission! On 25 nov 2011, at 13:12, Mike Bonner wrote: > since the xml works and the database stuff doesn't, sounds like everything > is in the right location but there might be a permissions problem. If the > externalcommands doesn't show the db stuff, list the files in the externals > folder (which should be in the same folder as livecode-server) > ls -la to get a complete list of files with all details, see if permissions > differ for any of the files, and if so make the non-working externals match > the working ones. > > or if nothing else, while in there do a sudo chmod 755 * > Which will set read, write, execute for the owner, and read and execute for > group, and everyone on all files in that folder. (will set the perms on the > .txt file in there too but it shouldn't hurt anything.) > Then give it a shot. From bonnmike at gmail.com Fri Nov 25 07:30:15 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 25 Nov 2011 05:30:15 -0700 Subject: revServer (again) In-Reply-To: <78E22CCC-A839-4333-8221-0042CFE9878A@economy-x-talk.com> References: <78E22CCC-A839-4333-8221-0042CFE9878A@economy-x-talk.com> Message-ID: oh yup. Forgot what the structure looks like thx for the catch. On Fri, Nov 25, 2011 at 5:25 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi, > > My externals folder contains another folder with database drivers. I > suppose this means that the server folder would contain externals plus one > folder. Therefore, you might want to do > > sudo chmod -R 755 * > > to make it recursive. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Become our partner in sales http://qery.us/1bq Start selling Color > Converter today. 20% commission! > > On 25 nov 2011, at 13:12, Mike Bonner wrote: > > > since the xml works and the database stuff doesn't, sounds like > everything > > is in the right location but there might be a permissions problem. If the > > externalcommands doesn't show the db stuff, list the files in the > externals > > folder (which should be in the same folder as livecode-server) > > ls -la to get a complete list of files with all details, see if > permissions > > differ for any of the files, and if so make the non-working externals > match > > the working ones. > > > > or if nothing else, while in there do a sudo chmod 755 * > > Which will set read, write, execute for the owner, and read and execute > for > > group, and everyone on all files in that folder. (will set the perms on > the > > .txt file in there too but it shouldn't hurt anything.) > > Then give it a shot. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bvg at mac.com Fri Nov 25 09:09:47 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 25 Nov 2011 15:09:47 +0100 Subject: revServer (again) In-Reply-To: References: Message-ID: I'm not 100% sure, but when using invalid syntax with external functions, you get the same error as when using them when no externals are loaded (for standalones at least). so just issuing "revOpenDatabase()" with invalid params like that, you won't actually find out anything at all. So the question is, how to find out wether an external is loaded? Sadly that's extremely hard to do reliably. It's actually easier to do a fake db call that ought to work, for example using this code: try revopendatabase("sqlite","doesRunOrNot.sqlite",,,) --make sure your process has writing rights for the files position end try if there is no file "doesRunOrNot.sqlite" then put "OH NOES!!!" end if The only other way i know is to find out all mainstacks, and all their substacks, then query each for their externals or externalCommands. I wish there where an application space externalCommands, because after all, externals _are_ application wide, and not bound to a single stack in function. Especially with server and the way externals work on mobile platforms, where they're bound to the home stack (I think, maybe someone can test that). On 25 Nov 2011, at 09:18, Malte Brill wrote: > put revOpenDatabases() which came back with an error in function error. This makes me believe the external has not been loaded. Anyone got an idea what might cause this? Any idea how to debug this? Server surely is a different beast from desktop. *sigh* -- Watch live presentations every Saturday: http://livecode.tv Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From bonnmike at gmail.com Fri Nov 25 09:20:04 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 25 Nov 2011 07:20:04 -0700 Subject: revServer (again) In-Reply-To: References: Message-ID: It was revopendatabases() (plural) that was being used to test I think, which doesn't take params. Of course now that I think about it, is the server external identical to the desktop? If not, maybe revopendatabases() is broke? I need to get things fired up again and try it. 2011/11/25 Bj?rnke von Gierke > I'm not 100% sure, but when using invalid syntax with external functions, > you get the same error as when using them when no externals are loaded (for > standalones at least). so just issuing "revOpenDatabase()" with invalid > params like that, you won't actually find out anything at all. > > So the question is, how to find out wether an external is loaded? Sadly > that's extremely hard to do reliably. It's actually easier to do a fake db > call that ought to work, for example using this code: > > try > revopendatabase("sqlite","doesRunOrNot.sqlite",,,) > --make sure your process has writing rights for the files position > end try > if there is no file "doesRunOrNot.sqlite" then > put "OH NOES!!!" > end if > > The only other way i know is to find out all mainstacks, and all their > substacks, then query each for their externals or externalCommands. > > I wish there where an application space externalCommands, because after > all, externals _are_ application wide, and not bound to a single stack in > function. Especially with server and the way externals work on mobile > platforms, where they're bound to the home stack (I think, maybe someone > can test that). > > From sanke at hrz.uni-kassel.de Fri Nov 25 09:44:59 2011 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Fri, 25 Nov 2011 14:44:59 -0000 Subject: "Seamless Tiles 2" stack updated Message-ID: <48F0E6B2.1040905@hrz.uni-kassel.de> Just uploaded a slightly updated version of the "Seamless Tiles Generator 2" to See the descriptions on page "Sample Stacks" on my website . Among other things this stack features an improved resizable and draggable selection graphic that lets you choose a segment of any size from the imported source image to create a seamless tile. The ink of the selection graphic needed to be adapted both to the differences between Windows and MacOS and the stackfileversions 2.4 and 2.7. With engine versions < 2.7 we need "admin" for MacOS and "srcAnd" for Windows. For engine versions 2.7 and higher "srccopy" is necessary for both platforms to show a transparent graphic. Moreover, I have changed the stack extension from "*.mc" to "*.rev", to enable users of Rev 3.0 to see and load the stack. See the quote of my earlier post (to the Metacard- and Improve-lists) concerning this special problem: > > Strange change of file associations with Rev 3-gm-3 engine > > Wilhelm Sanke > Sat, 20 Sep 2008 11:59:50 -0700 > > Rev engine 3-gm-2 displays both *.rev and *.mc-files in the "open > stack" dialog as "Revolution stacks". Engine 3-gm-3 restricts the > displayed stacks to files with the "*.rev" extension; even when you > choose "All files" the display of mc-files is suppressed, but other > files like dlls and txt files are shown. It is even impossible to > enforce the display of mc-files by typing "*.mc" into the file name > box of the open stack dialog. Putting the Revolution.exe engine 3-gm-3 > into the Metacard IDE shows the same restrictions: No mc-files are > displayed. However, when you rename "Revolution.exe" to "MC.exe", both > "Revolution stack"-files "rev" and "mc" are displayed in the "open > stack" dialog - like before in gm-2 with "Revolution.exe". This holds > for both IDEs, the Revolution and the Metacard IDE. The consequence > for users that primarily work with the Rev IDE - but wish to access > Metacard files once in a while - would be to rename their Rev engine > to "MC.exe". This works fine within the Rev IDE. Regards, Wilhelm Sanke From sanke at hrz.uni-kassel.de Fri Nov 25 09:45:00 2011 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Fri, 25 Nov 2011 14:45:00 -0000 Subject: [ANN] More about masks (+ sample stack) Message-ID: <49306BBC.1040205@hrz.uni-kassel.de> Accompanying is a sample stack with a side-by-side comparison of a number of approaches produce and use masks and containing most of the discussions below with examples: To run the stack you need Rev 2.9 or higher. As a starter for this overview about how to produce masked images in Revolution here is a "two-liner": "on mouseup crop image "to-be-masked" to the rect of image "SelectionOval" set the alphadata of image "to-be-masked" to the alphadata of image "SelectionOval" end mouseup" This is the essential "core"-procedure to create masked images, one of several options. Usually such a two-liner would be sandwiched between "lock screen" and hide "SelectionOval", and additionally there would be procedures in separate buttons that determine what to do with the newly masked image, copy it elsewhere, save it as an external file, patch it onto another image etc. Image "to-be-masked" can be of any format, JPEG, GIF, PNG, image "SelectionOval" must be a PNG of course. If a graphic is used as a selection tool to determine the area of the resulting masked image by capturing the transparency of the graphic with a snapshot, it is *not* necessary to group graphic "SelectionOval". The selection graphics and images in my sample stack *are* all grouped, but only because they are combined with a "handle"-graphic for resizing and reshaping, otherwise a grouping of the selection tools as a prerequisite to capture transparency is not required. And, contrary to what the Rev docs state for "import snapshot" ("The format of the resulting image depends on the current setting of the paintCompression property."), since Rev version 2.7 the resulting images are invariably PNGs, irrespective of what the current general setting of the paintcompression is, RLE, PNG, or JPEG. Although with pre-2.7 versions the snapshot images would not be PNGs, their formats are also not directly determined by the current paintcompression. Paintcompression, however, plays a role for the speed of processing imagedata and alphadata, RLE is fastest here, PNG the slowest setting.- Graphics do contain transparency in the area outside of the shape of the graphic, but this transparency is not represented by mask- and alphadata properties of the graphic. We have to make detours to get at these data or to reconstruct them. I hope that with future versions of Revolution graphics will additionally have alphadata and maskdata properties. If that would be the case, we could mask images using graphics as selection tools with two-liners like in the "starter" script above, too. What follows here is mainly an overview of such detours, of different attempts to build masks along with the discussion of details and possible problems - derived partly from individual experience, but much of it is based on the results of a number of offlist-contacts and discussions during the last weeks between James Hurley, Bernd Niggemann, and myself about problems, solutions, and workarounds concerning the creation and application of masks to images. I have also considered the onlist exchange between Scott Rossi and myself - at the time after I had announced my first sample stack "Three Masks". On Ken Ray's website (, we found the trick to produce transparency with the help of the "bucket tool". Ken presents a two-liner from Jeanne DeVoto, which I managed to integrate into one of the script examples. ================== We could distinguish between two major categories: "Creating masks 'on the fly'" and " Using prefabricated masks". 1. Creating masks "on the fly" a) ====== "within"-functions"====== Jim Hurley has experimented with the native Rev "within" function to produce masks and encountered the "edge problem", flat edges appearing at the right and bottom of the masked images. Variations of the original script did not help to overcome this problem. Curiously enough, when you reverse the direction of the "scan" in Jim's script, you get the edges on the left and on top. I found three workarounds for this problem (but not a real solution of the basic problem), namely "super-imposing" the edged alphamasks: 1. Double scan from right and left, and then superimposing the two resulting masks. 2. Flipping - by script - the left half of the alphadata onto the right half, and the top half onto the bottom half. 3. Capitalizing on the feature that since 2.9 flipped images preserve their alphamasks (and flip them also), I run a normal scan, after that flip the image horizontally and vertically, get the resulting second mask (then return the image to its previous state) and superimpose the two masks. All three workarounds produce masked images without edges.- Eventually Jim - as an expert in matters of mathematics and geometry - has now developed a "within ellpse"-function on the basis of the mathematical properties of an ellipse, which due to the more complex nature of the script takes a bit longer to implement, but produces perfectly rounded masked images. Script examples for the solutions and workarounds of this section are contained in the sample stack, as are all solutions discussed below in the other sections. b) ====== Comparing imagedata values from snapshot ====== First, I need to mention that "lock screen" prevents all kinds of "import snapshot"-routines when working on Windows. This is nowhere documented, at least I could find nothing in the docs. "lock screen" would be handy to avoid the flickering that happens when a snapshot is imported. On MacOS "lock screen" does not prevent importing a snapshot and thus circumvents the flickering. Bernd Niggemann offers an interesting alternative approach to determine the pixels "within" the oval graphic by comparing the imagedata values inside and outside of the graphic. He first hides the basic image (that is intended to be masked) and imports a snapshot of the selection graphic on the background of the card: "import snapshot from rect (the rect of grc "oval") of this cd" (or "of window tStackWindowID"). No transparency values are captured with this snapshot format. For creating a mask he then assigns opaque values for the background colors of the graphic area of the snapshot and transparent values for the backgroundcolor of the card. To speed up the process of building the masks, he compares only the values of one color channel, e.g. "green". This requires, of course, to make sure that the values of the chosen color channel are indeed different. If, for instance, you have got a red graphic on a white card background, then you cannot use the "red" channel, because both the values for red and white would be "255". The results of this approach are well rounded masked images without showing "edge effects". I have added an "export snapshot"-variant - exporting the snapshot to an external file and the reimporting it immediately to avoid the flickering caused by "import snapshot" on Windows (without "lock screen"). In another example in this section I have integrated the "bucket tool"-two-liner for producing the transparency found by Jeanne DeVoto and listed by Ken Ray. As Devin Asay found out, information about this solution is buried deeply in the Rev "User Guide" - on page 380 of the PDF of Rev 3.0 - but is nowhere to be found in the Dictionary Finally I have added a script in which all three color channels are compared to create the mask. c) ====== Capturing the transparency of the selection graphic with a snapshot ====== Since engine version 2.7 it is possible to capture the transparency of a control - maskdata and alphadata - along with an image of this control, provided the snapshot is taken from the area of the control and the control in question possesses mask- or alphadata like an image or a graphic. In the case of a graphic, no real maskdata and alphadata as directly accessible properties are of course available, but they are then part of the image produced by the snapshot of the graphic area. The "blendlevel" of an image or graphic - connected to the "ink"-property - can *not* be captured with a snapshot. The syntax is like this: "snapshot of rect (trect: any rect-definition) of grc "X"" either with "import" or "export". As the first example in this section I chose Scott Rossi's script (which had to be adapted to the settings of the sample stack) from his stack for Jim Hurley . Taking a snapshot from the area of the graphic, either by import or export, produces an especially smooth border of the mask, provided the selection graphic has its antialiased property set to true. Scott's assumptions - expressed in the comments of his script - that the image "to-be-masked" must be in PNG-format and the selection graphic (from which the snapshot for the mask is being taken) must be grouped, could not be verified here, at least not on Windows. See my introductory remarks in this context at the beginning of this post. I have added a variant for this section with "export snapshot" to avoid the flickering, similar to the approach in the section featuring Bernd's solutions. Concerning the role of paintcompression when taking a snapshot also see the introductory remarks of this post. To demonstrate the irrelevance of the paintcompression when taking a snapshot I have added two scripts and buttons to this section of the sample stack where you can choose the general paintcompression, one button to transfer the alphadata, the other for the maskdata. The only case where the current paintcompression matters here is that with "JPEG" - i.e. for the general paintcompression, not for the format of the involved images - you cannot transfer the "maskdata" from the snapshot image to the basic image (the image "to-be-masked"), but you can do this for the "alphadata". By the way, transferring the "maskdata" from the snapshot image to the image-to-be-masked produces somewhat rougher, pixelated borders, transferring the "alphadata" produces smooth borders, provided the "antialiased" of the graphic from which the snapshot was taken was set to "true", as I have already mentioned. 2. Using prefabricated masks a) ====== Masks with Selection Graphics ====== For my own work, I have for quite a time preferred to work with "prefabricated" masks, i.e. such masks that are not created simultaneously during the masking procedure, but which have been created before in separate processes inside Revolution or with external photo tools. One advantage of such an approach is that you can more easily finetune the character of the mask than with taking a snapshot from a graphic during the masking process (the latter resulting in one single format: a mask with smooth edges and otherwise full opaqueness, meaning without possible transitions of the transparency towards the fringes of the mask etc.). My favourite tool has been so far "RealDraw Pro" from , a tool that unfortunately only runs on Windows. Especially useful in "RealDraw Pro" is the "burst" transition. A "radial" transition produces good results with varying transition areas only for oval objects, with "burst" you can get fitting transitional transparency for any shape - semicircle, triangle, rhomb, star, or any other kind of polygon. I have also experimented with the new gradient tools of Rev 3.0. The process to produce masks this way is somewhat complicated, but the resulting masks are fine. The basic procedure to create masked images with ready-made masks is: 1. Select a portion of the image-to-be-masked with the selection graphic, in which process the selection graphic can be moved, resized, and reshaped. 2. Adjust the rect of the (hidden) mask image to the rect of the selection graphic 3. Crop the image-to-be-masked to the rect 4. Transfer the alphamask of the mask image to the image-to-be-masked. Much depends here on the quality of the mask. It should have been created with its antialiased set to true, which is especially important when you want to create masked images with sharp borders without transitional transparency. You should set the resizequality of the mask to "best" - to better adjust the mask to the variable sizes of the chosen shape of the selection graphic. Bernd Niggemann has recommended in this context to create a larger mask-image object as the working template: Decreasing the size of the mask image during the adaptation to the rect of the selection graphic affects the quality of the mask less than the other way round. In the corresponding section of the sample stack, you can try out masks with varying degrees of transitional transparency and also of different non-oval shapes. A final observation concerning the creation of masks inside Revolution and using the "import snapshot" format: If the resulting mask image is not first saved as an external file and then imported again, meaning if it remains as freshly created inside a stack or was just copied from another mask-producing stack, then this mask image will have a different quality, which we might call a "pre-PNG". Pre-PNGs behave somewhat differently than normal PNGs: You cannot transfer its alphamask to the image-to-be-masked when the pre-PNG is hidden, at least not several times with resizing. After you have resized a pre-PNG during the masking process, you might find that it is suddenly "empty", but it can be restored when you copy and paste it (it then appears in its original size and shape). A workaround to overcome this problem is to store the mask in a custom property of its own and then to "initialize" the mask each time before it is used in the calling script: "put the CPimg of img "transition" into img "transition"" But of course you can easily convert a pre-PNG to a full PNG by saving the image as an external file. b) ====== Mask Images as Selection Tool ======= At the end of this overview we return to the two-line "starter" script of the beginning which requires an image as a selection tool instead of a graphic. I have added one card to the sample stack where this option can be tried out. One feature is especially helpful when using a resizable and reshapable selection image: You can set the blendlevel of the image separately without affecting its alphamask and thus create a selection image which lets you see the image-to-be-masked underneath the selection area. On this card you can choose between 10 shapes for the mask. There is only one selection tool - consisting of a group with the mask image and a graphic "handle" - into which these shapes are then inserted when you select one of the shape buttons. The produced masked images can then be saved as external files or transferred to a "composition" card, on which you can arrange the collected masked images as a new picture. The options on the composition card are stiil on a very preliminary level, this serves only to indicate one of further possibilities of using masked images.-- Best regards, Wilhelm Sanke From bvg at mac.com Fri Nov 25 10:08:40 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 25 Nov 2011 16:08:40 +0100 Subject: LiveCode.tv event needs you In-Reply-To: References: <6B865405-BBC0-491C-AD25-BFB1C85A2D58@mac.com> <7EC6A85B-DD6B-4138-A597-512A194F4453@mac.com> <89782C22-C6E3-4245-95D1-A48F69423753@mac.com> <061D9182-B34B-4ABB-A7D6-9C2D09DA8755@mac.com> <73F84954-890B-4627-859A-702C8054F13B@mac.com> <093DEF5E-6C0F-4924-A262-F6DBE748ED45@mac.com> <3FB852C9-5675-4A19-9506-543733BB2547@mac.com> <914DF999-596E-4023-A213-9469C6A69FA0@mac.com> <2B105965-FB27-41D0-B95F-1F4C84ADD53B@mac.com> <163225D1-67D1-4CE7-8049-E85A8D94D177@mac.com> <225B0941-5D11-434A-BC0B-CD61B998E9F8@mac.com> <201756EB-9601-417D-856E-5128C5256EF1@mac.com> <081FD717-0A48-447D-90AA-A8F370B14F43@mac.com> <913B7E78-3052-4CF0-9883-C1CDD9F8BDFA@mac.com> <0C1B6D89-1745-46DF-9C49-A5FE2E5B67B9@mac.com> <497CC7C9-74BC-419C-9785-CEA07A8FE181@mac.com> <54E0E19F-3F8A-4D69-97E5-0A95CF879616@mac.com> <056EBC7F-549E-4576-9C8F-920DE5118529@mac.com> <5C8CFEAF-E023-4D20-8459-6C60A4E3E70E@mac.com> Message-ID: As you guys know, the event has been slowly dying since summer. We do need repeated presenters, people who organise, any kind of participation. If you have an idea for a presentation, don't tell us to do it. Instead inform us about a date when you will do the presentation. Here's a rough approximation of time and things needed for first time presenters: A Windows or Mac computer A Microphone At least 300 kilobit down and upload (or accept reduced quality) Time: 2 hours technical set up before the date 1 hour presentation on the agreed date Whatever you need to prepare the presentations content Ask me or mark if you have further questions about how you can help. thank you for your time Bj?rnke -- Watch live presentations every Saturday: http://livecode.tv Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From mcgrath3 at mac.com Fri Nov 25 10:10:00 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Fri, 25 Nov 2011 10:10:00 -0500 Subject: LiveCode.tv Event #44 Wrap-up In-Reply-To: <112C2CB0-65F9-4D99-8BAC-468D9BA1D5F2@economy-x-talk.com> References: <69A4997C-2471-47CF-B7DE-A25A857F4CD5@economy-x-talk.com> <112C2CB0-65F9-4D99-8BAC-468D9BA1D5F2@economy-x-talk.com> Message-ID: I still would like to see those on the list that have products for LC show how to use them and take Q&A sessions. Can we petition them to do so? -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Nov 24, 2011, at 11:20 AM, Mark Schonewille wrote: > Hi Robert, > > Last year, we started somewhere in September and had 2 presentations every week until Christmas. I'd prefer not to make an official break but instead organise an event whenever someone would like to present. It would be a real shame if someone is willing to do a presentation next week only but we have to refuse because of an official break. > > We keep all options open for now. Anyone who has a new product to show or a nice trick to share, please contact me off-list to set a date for the event. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission! >> >> May be instead of cancelling, make an official break for a couple month. With Thanxgiving, Black Friday, preparations for Christmas, New Year, wrapping up the year, ... (fill you stuff in), too many people might be more focused on other matters in the near future. >> >> 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 Fri Nov 25 10:18:10 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 25 Nov 2011 16:18:10 +0100 Subject: LiveCode.tv Event #44 Wrap-up In-Reply-To: References: <69A4997C-2471-47CF-B7DE-A25A857F4CD5@economy-x-talk.com> <112C2CB0-65F9-4D99-8BAC-468D9BA1D5F2@economy-x-talk.com> Message-ID: <605BCB23-67AC-456A-975F-B70FB51AE944@mac.com> Sure, I'm all for annoying people into action. :) On a related note, what topic would you present about, and when. How about the Saturday in a week? We take short and long stuff, any topic, any date (if saturday is not your day, we take other days too). On 25 Nov 2011, at 16:10, Thomas McGrath III wrote: > I still would like to see those on the list that have products for LC show how to use them and take Q&A sessions. Can we petition them to do so? > > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > > On Nov 24, 2011, at 11:20 AM, Mark Schonewille wrote: > >> Hi Robert, >> >> Last year, we started somewhere in September and had 2 presentations every week until Christmas. I'd prefer not to make an official break but instead organise an event whenever someone would like to present. It would be a real shame if someone is willing to do a presentation next week only but we have to refuse because of an official break. >> >> We keep all options open for now. Anyone who has a new product to show or a nice trick to share, please contact me off-list to set a date for the event. >> >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> Homepage: http://economy-x-talk.com >> Twitter: http://twitter.com/xtalkprogrammer >> KvK: 50277553 >> >> Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission! >>> >>> May be instead of cancelling, make an official break for a couple month. With Thanxgiving, Black Friday, preparations for Christmas, New Year, wrapping up the year, ... (fill you stuff in), too many people might be more focused on other matters in the near future. >>> >>> 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 -- Watch live presentations every Saturday: http://livecode.tv Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From warrenkuhl at gmail.com Fri Nov 25 10:41:55 2011 From: warrenkuhl at gmail.com (Warren Kuhl) Date: Fri, 25 Nov 2011 09:41:55 -0600 Subject: uuencoded Message-ID: I have files (jpg/gif) that are uuencoded. Is there a simple way in LiveCode to convert these to jpg or gif files? Thanks for any help, Warren From johnb at hvc.rr.com Fri Nov 25 12:50:41 2011 From: johnb at hvc.rr.com (John Brozycki) Date: Fri, 25 Nov 2011 12:50:41 -0500 Subject: uuencoded In-Reply-To: References: Message-ID: <02296B35-F451-4AB7-AF9F-ECEC5F5B7912@hvc.rr.com> Warren, Although UUENCODE and BASE64 are not the same, there is some similarity and newer versions of UUENCODE have the ability to output to BASE64. If you have any control of the image production process, you might be able to output them in BASE64, then you can use the "base64Decode" command in LiveCode. If not: I've never tried decoding a uuencoded file with base64Decode, but it wouldn't hurt to give it a try. (I don't think base64Decode will decode uuencoded files, but it's possible that the uuencoded files could actually be BASE64.) If this fails, you could shell an external command. For example, in Mac OS X there are built in commands uuencode and uudecode. Good luck, John On Nov 25, 2011, at 10:41 AM, Warren Kuhl wrote: > I have files (jpg/gif) that are uuencoded. Is there a simple way in > LiveCode to convert these to jpg or gif files? > > 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 warrenkuhl at gmail.com Fri Nov 25 12:58:29 2011 From: warrenkuhl at gmail.com (Warren Kuhl) Date: Fri, 25 Nov 2011 11:58:29 -0600 Subject: uuencoded In-Reply-To: <02296B35-F451-4AB7-AF9F-ECEC5F5B7912@hvc.rr.com> References: <02296B35-F451-4AB7-AF9F-ECEC5F5B7912@hvc.rr.com> Message-ID: John, Thanks for the explanation. I was just if there were similarities between UUENCODE and BASE64. Unfortunately these are UUENCODE files. I think I found a open source that will take care of the UUENCODE and even yENC which I will require as well. Am testing it now. All the best! Warren On Fri, Nov 25, 2011 at 11:50 AM, John Brozycki wrote: > Warren, > > Although UUENCODE and BASE64 are not the same, there is some similarity and newer versions of UUENCODE have the ability to output to BASE64. ?If you have any control of the image production process, you might be able to output them in BASE64, then you can use the "base64Decode" command in LiveCode. > > If not: I've never tried decoding a uuencoded file with base64Decode, but it wouldn't hurt to give it a try. ?(I don't think base64Decode will decode uuencoded files, but it's possible that the uuencoded files could actually be BASE64.) ?If this fails, you could shell an external command. ?For example, in Mac OS X there are built in commands uuencode and uudecode. > > Good luck, > John > > On Nov 25, 2011, at 10:41 AM, Warren Kuhl wrote: > >> I have files (jpg/gif) that are uuencoded. ?Is there a simple way in >> LiveCode to convert these to jpg or gif files? >> >> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Nov 25 14:07:39 2011 From: revolution at derbrill.de (Malte Brill) Date: Fri, 25 Nov 2011 20:07:39 +0100 Subject: revServer (again) In-Reply-To: References: Message-ID: Hi all, thanks for the thoughts! Bj?rnke, I used put revOpenDatabases(), which ought to work without parameters. Also the same code I have been transferring to the physical UBUNTU machine works flawlessly in a VM under the same distro of UBUNTU server, under UBUNTU Desktop, Mac OS X and Win. So a scripting error is pretty much out of question. It must have to do with permissions, or the DB external broke when I moved the files to the physical server. I did unzipped the package on the Mac and then moved it over, mabe that screwed things. I shall try unzipping on the server. Mike: What I found interesting was you talking about some .txt file. There is no such file present as far as I can see in the livecode-server 4.6.4 package. (Neither in the VM though, so I rule that out). I really wished we could just apt-get install livecode-server :-). Unlikely to happen though. :-/ All the best, Malte From andre at andregarzia.com Fri Nov 25 14:07:50 2011 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 25 Nov 2011 17:07:50 -0200 Subject: revServer (again) In-Reply-To: References: Message-ID: Malte, "ldd" is your friend. Use ldd with revdb.so and dbmysql.so to check for missing libraries. If you are trying to connect to some other database instead of mysql, then use the driver for that db type. An example from my server: [root at vps livecode-server]# ldd drivers/dbmysql.so linux-gate.so.1 => (0x00f09000) libpthread.so.0 => /lib/libpthread.so.0 (0x0013d000) libdl.so.2 => /lib/libdl.so.2 (0x00248000) libm.so.6 => /lib/libm.so.6 (0x00ced000) libc.so.6 => /lib/libc.so.6 (0x0024c000) /lib/ld-linux.so.2 (0x00aba000) [root at vps livecode-server]# ldd externals/revdb.so linux-gate.so.1 => (0x00eec000) libdl.so.2 => /lib/libdl.so.2 (0x00327000) libc.so.6 => /lib/libc.so.6 (0x007ef000) /lib/ld-linux.so.2 (0x00aba000) =) On Fri, Nov 25, 2011 at 12:20 PM, Mike Bonner wrote: > It was revopendatabases() (plural) that was being used to test I think, > which doesn't take params. > > Of course now that I think about it, is the server external identical to > the desktop? If not, maybe revopendatabases() is broke? I need to get > things fired up again and try it. > > 2011/11/25 Bj?rnke von Gierke > > > I'm not 100% sure, but when using invalid syntax with external functions, > > you get the same error as when using them when no externals are loaded > (for > > standalones at least). so just issuing "revOpenDatabase()" with invalid > > params like that, you won't actually find out anything at all. > > > > So the question is, how to find out wether an external is loaded? Sadly > > that's extremely hard to do reliably. It's actually easier to do a fake > db > > call that ought to work, for example using this code: > > > > try > > revopendatabase("sqlite","doesRunOrNot.sqlite",,,) > > --make sure your process has writing rights for the files position > > end try > > if there is no file "doesRunOrNot.sqlite" then > > put "OH NOES!!!" > > end if > > > > The only other way i know is to find out all mainstacks, and all their > > substacks, then query each for their externals or externalCommands. > > > > I wish there where an application space externalCommands, because after > > all, externals _are_ application wide, and not bound to a single stack in > > function. Especially with server and the way externals work on mobile > > platforms, where they're bound to the home stack (I think, maybe someone > > can test that). > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From bonnmike at gmail.com Fri Nov 25 14:51:04 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 25 Nov 2011 12:51:04 -0700 Subject: revServer (again) In-Reply-To: References: Message-ID: Oops, the text file reference was a brain fart that was crossing desktop externals with server. DOH. No text files with server. As for apt-get, i'm wondering how hard it would be to create your own .deb package. (for personal use of course to ease future re-installs) read some stuff at http://www.linuxfordevices.com/c/a/Linux-For-Devices-Articles/How-to-make-deb-packages/ might not be too bad to do. Of course, since it won't be used in a repository, might be easier to whip up an LC app to do the install. (perhaps even an apache front end with file editor etc) It would definately be cool though if runrev could offer lcserver in rpm and deb package formats. > > Mike: What I found interesting was you talking about some .txt file. There > is no such file present as far as I can see in the livecode-server 4.6.4 > package. (Neither in the VM though, so I rule that out). > > I really wished we could just apt-get install livecode-server :-). > Unlikely to happen though. :-/ > > > All the best, > > 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 sanke at hrz.uni-kassel.de Sat Nov 26 05:24:35 2011 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Sat, 26 Nov 2011 11:24:35 +0100 Subject: Access to archives Message-ID: <4ED0BE63.9080208@hrz.uni-kassel.de> When I try to access the use-Livecode archives I get the following message: > > Forbidden > > You don't have permission to access /pipermail/use-livecode/ on this > server. > > Additionally, a 404 Not Found error was encountered while trying to > use an ErrorDocument to handle the request. > Has there been a change in the procedure to access the archives or is something wrong with my machine (Windows XP)? Regards, Wilhelm Sanke From andre.bisseret at wanadoo.fr Sat Nov 26 06:58:16 2011 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Sat, 26 Nov 2011 12:58:16 +0100 Subject: Access to archives In-Reply-To: <4ED0BE63.9080208@hrz.uni-kassel.de> References: <4ED0BE63.9080208@hrz.uni-kassel.de> Message-ID: Bonjour Wilhelm, I guess there is nothing wrong with your machine: I get the same message here (Mac OSX) Don't know what's happening! Best regards from Grenoble Andr? Le 26 nov. 2011 ? 11:24, Wilhelm Sanke a ?crit : > When I try to access the use-Livecode archives I get the following message: > >> >> Forbidden >> >> You don't have permission to access /pipermail/use-livecode/ on this server. >> >> Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. >> > > Has there been a change in the procedure to access the archives or is something wrong with my machine (Windows XP)? > > Regards, > > Wilhelm Sanke > From capellan2000 at gmail.com Sat Nov 26 07:47:39 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 26 Nov 2011 04:47:39 -0800 (PST) Subject: Access to archives In-Reply-To: <4ED0BE63.9080208@hrz.uni-kassel.de> References: <4ED0BE63.9080208@hrz.uni-kassel.de> Message-ID: <1322311659252-4110273.post@n4.nabble.com> Hi Wilhelm, Here, I receive the same results. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Access-to-archives-tp4110061p4110273.html Sent from the Revolution - User mailing list archive at Nabble.com. From selander at tkf.att.ne.jp Sat Nov 26 10:51:55 2011 From: selander at tkf.att.ne.jp (Tim Selander) Date: Sun, 27 Nov 2011 00:51:55 +0900 Subject: On-Rev mySQL security issues? In-Reply-To: References: <229BE729-4E06-44B5-8D29-CAB4023D700F@gmail.com> Message-ID: <4ED10B1B.5040207@tkf.att.ne.jp> Hi, I'm beginning to learn how to use References: <229BE729-4E06-44B5-8D29-CAB4023D700F@gmail.com> <4ED10B1B.5040207@tkf.att.ne.jp> Message-ID: <745EC927-CF4B-4E2C-8ADC-32D6503667F0@mac.com> Hi Tim, Take this advice with a grain of salt, since I'm a relative newbie at On-Rev and access to databases. Recently, I've been exploring RevIgniter by Ralf Bitter. In the RevIgniter documentation, he has a tutorial on using the RevIgniter JQuery Library for Ajax interaction on a website. He also has good documentation on the RevIgniter Database Library. With this guidance, I've been able to include several auto-updating text boxes on a webpage that load information to my webpage from a mySQL table on my On-Rev account. Ralf Bitter does address security issues in the documentation. I am still struggling with using drop-down buttons to access database data. Also, I've not tried to upload pictures, which you may need for a catalog. This approach does involve a learning curve to be able to use RevIgniter but the documentation is very good. I am using Coda with a LiveCoda-HTML mode posted 12Oct2011 on the Users Forums by TheCore. In the preferences for Coda, I then use TextMate as the primary editor for .lc and .rev files; Ralf Bitter has a TextMate bundle for RevIgniter on the website. Hope this helps. Regards, Jim Little Seattle, WA On Nov 26, 2011, at 7:51 AM, Tim Selander wrote: > Hi, > > I'm beginning to learn how to use > I am going to allow users to search a catalog, but no uploading and no data entry or data editing... > > What, if any, security problems do I need to consider? mySQL newbie... > > Thanks, > > Tim Selander > Tokyo, Japan > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Sat Nov 26 12:41:28 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 26 Nov 2011 18:41:28 +0100 Subject: [BUG] - Scrollbars in LiveCode In-Reply-To: References: <4ECBB7A7.2020306@fourthworld.com> <4ECC90D6.4080301@hyperactivesw.com> <4ECD462F.5010106@hyperactivesw.com> <4ECDB9E0.2050206@hyperactivesw.com> Message-ID: <9F11A21A-4148-4299-AB4B-38297913DA14@economy-x-talk.com> Hi, Additionally, the up arrow of the scrollbar doesn't hilite in 5.0.1. Bummer. Any solutions? Scoll bars are an essential interface element and I need this to work properly. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission! On 24 nov 2011, at 06:20, Kay C Lan wrote: > On Thu, Nov 24, 2011 at 11:28 AM, J. Landman Gay > wrote: > >> >> You could try suspending the development environment and see if anything >> is different. I don't know how conclusive that would be but it's a start. >> >> I did one better. I downloaded a trial version of Bill Vlahos' InfoWallet, > unfortunately the same bug effects standalones. From jhurley0305 at sbcglobal.net Sat Nov 26 13:06:41 2011 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Sat, 26 Nov 2011 10:06:41 -0800 Subject: Accessing archives In-Reply-To: References: Message-ID: <08B183DD-979C-43BA-82F5-5B507336C42E@sbcglobal.net> Wilhelm et. at. Here is Heather's response to my question last Friday: Jim Hurley On Nov 25, 2011, at 9:46 AM, use-livecode-request at lists.runrev.com wrote: > Message: 11 > Date: Fri, 25 Nov 2011 07:59:33 +0000 > From: Heather Nagey > To: How to use LiveCode > Subject: Re: Accessing archives > Message-ID: > Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes > > I am looking into it. I'll let the list know when it is fixed. > > Regards, > > Heather > > On 25 Nov 2011, at 06:48, James Hurley wrote: > >> This problem has just come up within the last few days. When I try >> to access the RR archives at: >> >> http://lists.runrev.com/pipermail/use-livecode/2011-November/date.html >> >> I get the following message: >> Forbidden >> >> You don't have permission to access /pipermail/use-livecode/2011- >> November/date.html on this server. >> >> Additionally, a 404 Not Found error was encountered while trying to >> use an ErrorDocument to handle the request. >> >> >> Where does the problem lie? >> >> Jim >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > Heather Nagey > Customer Services Manager > http://www.runrev.com/ > LiveCode - Unleash Your Killer App From richmondmathewson at gmail.com Sat Nov 26 15:28:03 2011 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 26 Nov 2011 22:28:03 +0200 Subject: Accessing archives In-Reply-To: <08B183DD-979C-43BA-82F5-5B507336C42E@sbcglobal.net> References: <08B183DD-979C-43BA-82F5-5B507336C42E@sbcglobal.net> Message-ID: <4ED14BD3.5070806@gmail.com> On 11/26/2011 08:06 PM, Jim Hurley wrote: > Wilhelm et. at. > > Here is Heather's response to my question last Friday: I had a similar reply to my query in the same vein. Although, they are taking quite a while to iron things out. > Jim Hurley > > > On Nov 25, 2011, at 9:46 AM, use-livecode-request at lists.runrev.com wrote: > >> Message: 11 >> Date: Fri, 25 Nov 2011 07:59:33 +0000 >> From: Heather Nagey >> To: How to use LiveCode >> Subject: Re: Accessing archives >> Message-ID: >> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes >> >> I am looking into it. I'll let the list know when it is fixed. >> >> Regards, >> >> Heather >> >> On 25 Nov 2011, at 06:48, James Hurley wrote: >> >>> This problem has just come up within the last few days. When I try >>> to access the RR archives at: >>> >>> http://lists.runrev.com/pipermail/use-livecode/2011-November/date.html >>> >>> I get the following message: >>> Forbidden >>> >>> You don't have permission to access /pipermail/use-livecode/2011- >>> November/date.html on this server. >>> >>> Additionally, a 404 Not Found error was encountered while trying to >>> use an ErrorDocument to handle the request. >>> >>> >>> Where does the problem lie? >>> >>> Jim >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> Heather Nagey >> Customer Services Manager >> http://www.runrev.com/ >> LiveCode - Unleash Your Killer App > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From Mark_Smith at cpe.umanitoba.ca Sat Nov 26 16:29:00 2011 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Sat, 26 Nov 2011 13:29:00 -0800 (PST) Subject: auto-rotation in 5.0.1/.02 Message-ID: <1322342940279-4111266.post@n4.nabble.com> Hi I just upgraded to 5.0.1 (and then .2 thinking that might solve the following problem but it didn't). Gone from the standalone settings pane are the options to set the "supported orientations" and in there place are new options to set the initial orientation for iPad. A program that previously rotated fine is now opening in whatever orientation I tell it initially but then stays locked in that orientation. How can I get it to auto-rotate again? PS the release notes appear to be no help in this regard as it states pg 26: On startup, the engine reads the settings of 'initial orientation' and 'supported orientations' from the plist (as configured by the iOS standalone settings pane). It uses the supported orientations it finds to initialize the orientations allowed by autorotation (i.e. iphoneSetAllowedOrientations), and the initial orientation it finds to ensure the interface starts the correct way round. To ensure that your application works in only specific orientations from the outset, you need only configure the options in the standalone builder. In particular, you need take no further action in script. Unfortunately I think the standalone builder is now missing these options (or I missed where they have moved to)? Thanks for any help.... -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/auto-rotation-in-5-0-1-02-tp4111266p4111266.html Sent from the Revolution - User mailing list archive at Nabble.com. From Mark_Smith at cpe.umanitoba.ca Sat Nov 26 17:17:23 2011 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Sat, 26 Nov 2011 14:17:23 -0800 (PST) Subject: auto-rotation in 5.0.1/.02 In-Reply-To: <1322342940279-4111266.post@n4.nabble.com> References: <1322342940279-4111266.post@n4.nabble.com> Message-ID: <1322345843354-4111346.post@n4.nabble.com> Further to this I just wanted to add the following: "To configure which orientations your application supports use: iphoneSetAllowedOrientations orientations Here orientations must be a comma-delimited list consisting of at least one of portrait, portrait upside down, landscape left and landscape right. The setting will take effect the next time an orientation change is effected ? the interface's orientation will only be changed if the new orientation is among the configured list. You can query the currently allowed orientations with the iphoneAllowedOrientations() function." I added the following code to my stack script: on preOpenStack if the environment is "mobile" then iphoneSetAllowedOrientations "portrait, portrait upside down, landscape left, landscape right" end if end preOpenStack global ncnt on orientationchanged global ncnt put ncnt + 1 into ncnt put ncnt & " " & iphoneallowedorientations() into fld "Selected" on card "home" end orientationchanged Now, each time I rotate the iphone ncnt is incrementing (1,2,3... etc) but I only get "portrait" reported for allowed orientations (even though I think I have set all orientations as allowed). And of course the program is not auto-rotating. Could someone kindly let me know what it is I am doing wrong? Many thanks -- Mark (LC version is 5.0.2 although I think the same problem exists in .0.1) -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/auto-rotation-in-5-0-1-02-tp4111266p4111346.html Sent from the Revolution - User mailing list archive at Nabble.com. From iowahengst at mac.com Sat Nov 26 17:41:57 2011 From: iowahengst at mac.com (Randy Hengst) Date: Sat, 26 Nov 2011 16:41:57 -0600 Subject: auto-rotation in 5.0.1/.02 In-Reply-To: <1322345843354-4111346.post@n4.nabble.com> References: <1322342940279-4111266.post@n4.nabble.com> <1322345843354-4111346.post@n4.nabble.com> Message-ID: Hi Mark, I use a separate on startup handler in the stack script to set the allowed orientations. on startUp --portrait,portrait upside down,landscape left,landscape right iphoneSetAllowedOrientations "landscape left,landscape right" end startUp Looking at your script, you added spaces after the commas?. in your comma-delimited list?. you can't do that. be well, randy hengst ----- On Nov 26, 2011, at 4:17 PM, Mark Smith wrote: > Further to this I just wanted to add the following: > > "To configure which orientations your application supports use: > iphoneSetAllowedOrientations orientations > Here orientations must be a comma-delimited list consisting of at least one > of portrait, portrait > upside down, landscape left and landscape right. The setting will take > effect the next time an > orientation change is effected ? the interface's orientation will only be > changed if the new > orientation is among the configured list. You can query the currently > allowed orientations with the > iphoneAllowedOrientations() function." > > I added the following code to my stack script: > on preOpenStack > if the environment is "mobile" then > iphoneSetAllowedOrientations "portrait, portrait upside down, > landscape left, landscape right" > end if > end preOpenStack > > global ncnt > on orientationchanged > global ncnt > put ncnt + 1 into ncnt > put ncnt & " " & iphoneallowedorientations() into fld "Selected" on card > "home" > end orientationchanged > > > Now, each time I rotate the iphone ncnt is incrementing (1,2,3... etc) but I > only get "portrait" reported for allowed orientations (even though I think I > have set all orientations as allowed). And of course the program is not > auto-rotating. Could someone kindly let me know what it is I am doing wrong? > > Many thanks > > -- Mark > > (LC version is 5.0.2 although I think the same problem exists in .0.1) > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/auto-rotation-in-5-0-1-02-tp4111266p4111346.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 Mark_Smith at cpe.umanitoba.ca Sun Nov 27 03:10:55 2011 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Sun, 27 Nov 2011 00:10:55 -0800 (PST) Subject: auto-rotation in 5.0.1/.02 In-Reply-To: References: <1322342940279-4111266.post@n4.nabble.com> <1322345843354-4111346.post@n4.nabble.com> Message-ID: <1322381455000-4112004.post@n4.nabble.com> Randy Hengst wrote > > Looking at your script, you added spaces after the commas?. in your > comma-delimited list?. you can't do > Randy, thanks. I knew there was something I was probably doing wrong. -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/auto-rotation-in-5-0-1-02-tp4111266p4112004.html Sent from the Revolution - User mailing list archive at Nabble.com. From Mark_Smith at cpe.umanitoba.ca Sun Nov 27 03:15:38 2011 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Sun, 27 Nov 2011 00:15:38 -0800 (PST) Subject: auto-rotation in 5.0.1/.02 In-Reply-To: <1322381455000-4112004.post@n4.nabble.com> References: <1322342940279-4111266.post@n4.nabble.com> <1322345843354-4111346.post@n4.nabble.com> <1322381455000-4112004.post@n4.nabble.com> Message-ID: <1322381738507-4112014.post@n4.nabble.com> Yes sir, that fixed it. Thanks. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/auto-rotation-in-5-0-1-02-tp4111266p4112014.html Sent from the Revolution - User mailing list archive at Nabble.com. From selander at tkf.att.ne.jp Sun Nov 27 05:41:53 2011 From: selander at tkf.att.ne.jp (Tim Selander) Date: Sun, 27 Nov 2011 19:41:53 +0900 Subject: On-Rev mySQL security issues? In-Reply-To: <745EC927-CF4B-4E2C-8ADC-32D6503667F0@mac.com> References: <229BE729-4E06-44B5-8D29-CAB4023D700F@gmail.com> <4ED10B1B.5040207@tkf.att.ne.jp> <745EC927-CF4B-4E2C-8ADC-32D6503667F0@mac.com> Message-ID: <4ED213F1.3030203@tkf.att.ne.jp> Thanks for the input, Jim. You're the second person to recommend RevIgniter. Sivakatirswami also highly praises the product and even sent me a bunch of code off-list to help with my project! At this point, I'm a little fuzzy on what a framework even is, let alone how to use it. (I'm a TV cameraman at a little production company in Tokyo -- turned into the in-house IT dep't, web designer and programmer only because I seem to grok computers more than anyone else in the company!) But I'm ready to study up on it all. Thanks to both of you for the pointers! Tim Selander Tokyo, Japan On 11/27/11 2:34 AM, James Little wrote: > Hi Tim, > > Take this advice with a grain of salt, since I'm a relative newbie at On-Rev and access to databases. > > Recently, I've been exploring RevIgniter by Ralf Bitter. In the RevIgniter documentation, he has a tutorial on using the RevIgniter JQuery Library for Ajax interaction on a website. He also has good documentation on the RevIgniter Database Library. With this guidance, I've been able to include several auto-updating text boxes on a webpage that load information to my webpage from a mySQL table on my On-Rev account. Ralf Bitter does address security issues in the documentation. I am still struggling with using drop-down buttons to access database data. Also, I've not tried to upload pictures, which you may need for a catalog. > > This approach does involve a learning curve to be able to use RevIgniter but the documentation is very good. > > I am using Coda with a LiveCoda-HTML mode posted 12Oct2011 on the Users Forums by TheCore. In the preferences for Coda, I then use TextMate as the primary editor for .lc and .rev files; Ralf Bitter has a TextMate bundle for RevIgniter on the website. > > Hope this helps. > > Regards, > > Jim Little > Seattle, WA > > > > On Nov 26, 2011, at 7:51 AM, Tim Selander wrote: > >> Hi, >> >> I'm beginning to learn how to use> >> I am going to allow users to search a catalog, but no uploading and no data entry or data editing... >> >> What, if any, security problems do I need to consider? mySQL newbie... >> >> Thanks, >> >> Tim Selander >> Tokyo, Japan >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Nov 27 06:40:35 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sun, 27 Nov 2011 12:40:35 +0100 Subject: On-Rev mySQL security issues? In-Reply-To: <4ED10B1B.5040207@tkf.att.ne.jp> References: <229BE729-4E06-44B5-8D29-CAB4023D700F@gmail.com> <4ED10B1B.5040207@tkf.att.ne.jp> Message-ID: comprehensive list: https://www.owasp.org/index.php/Top_10_2010-Main the top two entries should be understood at least on a basic level: http://en.wikipedia.org/wiki/SQL_injection http://en.wikipedia.org/wiki/Cross-site_scripting Obviously some things do not apply to Rev-based code, but for example sql injections can happen, depending on how you code them, if you validate user inputs wrongly, and so on. It's a vast topic, and the easiest way to deal with it is to trust someone else to code properly, so RevIgniter might be the right thing to learn. On 26 Nov 2011, at 16:51, Tim Selander wrote: > Hi, > > I'm beginning to learn how to use I am going to allow users to search a catalog, but no uploading and no data entry or data editing... > What, if any, security problems do I need to consider? mySQL newbie... > > Thanks, > > Tim Selander > Tokyo, Japan -- Watch live presentations every Saturday: http://livecode.tv Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From admin at FlexibleLearning.com Sun Nov 27 07:06:52 2011 From: admin at FlexibleLearning.com (FlexibleLearning) Date: Sun, 27 Nov 2011 12:06:52 -0000 Subject: Excel tip with LC equivalent: Value comparison In-Reply-To: Message-ID: I have an Excel speadsheet that is kinda self-checking in that 3 cells display the same value if I have made no data entry errors. How to determine if cells A1, B1 and C1 are the same value... Put this in cell D1 to display 'TRUE' or 'FALSE': =IF(A1=B1,IF(B1=C1,TRUE,FALSE),FALSE) Bonus feature How to colorize cell D1 with green for 'TRUE' and red for 'FALSE' for visual feedback. Use the 'Format' menu to select 'Conditional Formatting...' and apply these 2 rules: Cell Value + is equal to + TRUE Use the 'Format...' button to select 'Font' with a green color, and 'Patterns' with the same green for cell shading (effectively 'hides' the text). Click 'Add>>', and then Cell Value + is equal to + FALSE Use the 'Format...' button to select 'Font' with a red color, and 'Patterns' with the same red for cell shading (effectively 'hides' the text). Finally click OK. LiveCode equivalent: if (fld "A1"=fld "B1") AND (fld "B1"=fld "C1") then set the backcolor of fld "D1" to "green" else set the backColor of fld "D1" to "red" set the opaque of fld "D1" to true Little triumphs, big joy :) Hugh Senior FLCo From williamdesmet at gmail.com Sun Nov 27 09:38:37 2011 From: williamdesmet at gmail.com (William de Smet) Date: Sun, 27 Nov 2011 15:38:37 +0100 Subject: How do I import/read images and their ID from a separate folder to change the icon of a button? Message-ID: Hi there, I my new iOS app I show random images and that works fine. I have imported some images into the stack and looked for their ID. The script I use: put any item of (4794,4772,4771,4795,4796,4797) into tRandomImage set the icon of btn "RandomImage" to tRandomImage Eventually I will need a lot of images and now I was thinking of keeping the images outside of the stack in a separate folder. Is it possible to do the same thing? Read the images and their ID and set the icon of the button to the ID of an image. Greetings, William From todd at geistinteractive.com Sun Nov 27 09:42:04 2011 From: todd at geistinteractive.com (Todd Geist) Date: Sun, 27 Nov 2011 06:42:04 -0800 Subject: Dispatch vs Libraries Message-ID: Hello, I am experimenting with a couple of approaches to something and I am curious in other opinions on it. I am using behaviors to encapsulate a bunch of code to access web services. I create an "instance" of this object by creating a new button on a utility card and set a few custom properties. So I have a button for an Endpoint on the server. Then I register each instance button in a global Array so I can reach it from anywhere. So the code to access it looks like this: dispatch "SaveData" to Services["MyContact"] with DataArray put the result into ResultArray I could also do this by writing all the code in the Library Stack and using namespaces, So the code would look like this. put Services_Contacts_SaveData (DataArray) into ResultArray but in this case I have to rewrite a lot of boilerplate code over an over and again and it gets harder to maintain. Another option would be to use the library approach but pass the Service name as the first parameter like so put Services_SaveData ("Contacts", DataArray) into ResultArray Instances of the Service would be stored in an a script Local array. Currently I am favoring the first approach. Even though it is an extra line of code I think it reads better, and I place a high importance on readability. I also think it is easier to use overrides, extend and maintain. I don't know if there is a performance difference, although I expect if there is any it would be minimal. Have I missed something? Is there a significant downside to the first Approach that I have missed? Thanks Todd -- Todd Geist geist interactive (805) 419-9382 From mwieder at ahsoftware.net Sun Nov 27 12:43:47 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 27 Nov 2011 09:43:47 -0800 Subject: Dispatch vs Libraries In-Reply-To: References: Message-ID: <63157425515.20111127094347@ahsoftware.net> Todd- Sunday, November 27, 2011, 6:42:04 AM, you wrote: > dispatch "SaveData" to Services["MyContact"] with DataArray !!! You can dispatch a message to an array element? !!! I had no idea... -- -Mark Wieder mwieder at ahsoftware.net From pete at mollysrevenge.com Sun Nov 27 13:41:29 2011 From: pete at mollysrevenge.com (Pete) Date: Sun, 27 Nov 2011 10:41:29 -0800 Subject: Dispatch vs Libraries In-Reply-To: References: Message-ID: One thing you might want to consider is whether you plan to use this logic in more than one application - that's when libraries come into their own, a central depository for reusable handlers. Something looks a little strange about the first dispatch statement - you're sending a message to an array? I thought messages went to stacks/cards/controls. I think you'd also need to use the "dispatch function" syntax to get a result back. Pete On Sun, Nov 27, 2011 at 6:42 AM, Todd Geist wrote: > Hello, > > I am experimenting with a couple of approaches to something and I am > curious in other opinions on it. > > I am using behaviors to encapsulate a bunch of code to access web services. > I create an "instance" of this object by creating a new button on a > utility card and set a few custom properties. So I have a button for an > Endpoint on the server. Then I register each instance button in a global > Array so I can reach it from anywhere. So the code to access it looks like > this: > > dispatch "SaveData" to Services["MyContact"] with DataArray > > put the result into ResultArray > > > I could also do this by writing all the code in the Library Stack and using > namespaces, So the code would look like this. > > > put Services_Contacts_SaveData (DataArray) into ResultArray > > > but in this case I have to rewrite a lot of boilerplate code over an over > and again and it gets harder to maintain. > > Another option would be to use the library approach but pass the Service > name as the first parameter like so > > put Services_SaveData ("Contacts", DataArray) into ResultArray > > > Instances of the Service would be stored in an a script Local array. > > Currently I am favoring the first approach. Even though it is an extra line > of code I think it reads better, and I place a high importance on > readability. I also think it is easier to use overrides, extend and > maintain. I don't know if there is a performance difference, although I > expect if there is any it would be minimal. > > Have I missed something? Is there a significant downside to the first > Approach that I have missed? > > Thanks > > Todd > > -- > Todd Geist > geist interactive > (805) 419-9382 > _______________________________________________ > use-livecode mailing list > use-livecode 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 jacque at hyperactivesw.com Sun Nov 27 13:53:38 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 27 Nov 2011 12:53:38 -0600 Subject: Dispatch vs Libraries In-Reply-To: References: Message-ID: <4ED28732.1070504@hyperactivesw.com> On 11/27/11 12:41 PM, Pete wrote: > Something looks a little strange about the first dispatch statement - > you're sending a message to an array? I think the array element resolves to a long button ID, so really it isn't any different than dispatching to a literal ID stored in any variable. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Nov 27 13:59:48 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 27 Nov 2011 12:59:48 -0600 Subject: How do I import/read images and their ID from a separate folder to change the icon of a button? In-Reply-To: References: Message-ID: <4ED288A4.2080305@hyperactivesw.com> On 11/27/11 8:38 AM, William de Smet wrote: > Eventually I will need a lot of images and now I was thinking of > keeping the images outside of the stack in a separate folder. > Is it possible to do the same thing? Read the images and their ID and > set the icon of the button to the ID of an image. Images stored as files on disk don't have an ID, so you can't use them as button icons. But instead of an icon you could just show the image itself. You can use a single image object and replace its contents every time you want to change it. This will do it: put url ("binfile:"&tImgPath) into image 1 Or the alternate syntax: set the text of image 1 to url ("binfile:"&tImagePath) If you will have a lot of images then storing them on disk is the best way to manage them. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at mollysrevenge.com Sun Nov 27 14:21:51 2011 From: pete at mollysrevenge.com (Pete) Date: Sun, 27 Nov 2011 11:21:51 -0800 Subject: Dispatch vs Libraries In-Reply-To: <4ED28732.1070504@hyperactivesw.com> References: <4ED28732.1070504@hyperactivesw.com> Message-ID: Ah yes, hadn't thought of that! ANother new piece of knowledge to store away. On Sun, Nov 27, 2011 at 10:53 AM, J. Landman Gay wrote: > On 11/27/11 12:41 PM, Pete wrote: > > Something looks a little strange about the first dispatch statement - >> you're sending a message to an array? >> > > I think the array element resolves to a long button ID, so really it isn't > any different than dispatching to a literal ID stored in any variable. > > -- > 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 mwieder at ahsoftware.net Sun Nov 27 14:26:37 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 27 Nov 2011 11:26:37 -0800 Subject: Dispatch vs Libraries In-Reply-To: <4ED28732.1070504@hyperactivesw.com> References: <4ED28732.1070504@hyperactivesw.com> Message-ID: <137163595171.20111127112637@ahsoftware.net> Jacque- Sunday, November 27, 2011, 10:53:38 AM, you wrote: > I think the array element resolves to a long button ID, so really it > isn't any different than dispatching to a literal ID stored in any variable. No, that's huge! The fact that the array element gets resolved to an object ID before the dispatch message gets executed paves the way for multiple inheritance, for one thing. -- -Mark Wieder mwieder at ahsoftware.net From todd at geistinteractive.com Sun Nov 27 15:17:11 2011 From: todd at geistinteractive.com (Todd Geist) Date: Sun, 27 Nov 2011 12:17:11 -0800 Subject: Dispatch vs Libraries In-Reply-To: <137163595171.20111127112637@ahsoftware.net> References: <4ED28732.1070504@hyperactivesw.com> <137163595171.20111127112637@ahsoftware.net> Message-ID: Hi Mark, How does that pave the way for Multiple inheritance? I was thinking as Jacque thought that this was the same as using any variable. On Sun, Nov 27, 2011 at 11:26 AM, Mark Wieder wrote: > > > I think the array element resolves to a long button ID, so really it > > isn't any different than dispatching to a literal ID stored in any > variable. > > No, that's huge! The fact that the array element gets resolved to an > object ID before the dispatch message gets executed paves the way for > multiple inheritance, for one thing. > > Todd -- Todd Geist geist interactive (805) 419-9382 From todd at geistinteractive.com Sun Nov 27 15:27:32 2011 From: todd at geistinteractive.com (Todd Geist) Date: Sun, 27 Nov 2011 12:27:32 -0800 Subject: Dispatch vs Libraries In-Reply-To: References: Message-ID: On Sun, Nov 27, 2011 at 10:41 AM, Pete wrote: Something looks a little strange about the first dispatch statement - > you're sending a message to an array? I thought messages went to > stacks/cards/controls. I think you'd also need to use the "dispatch > function" syntax to get a result back. Hi Pete, It works. You don't need to use the function syntax unless of course it is a call to a Function that you are dispatching. In the case I cited I am using a command but the command uses Return to return the result. When you do it that way, you get the returned value in "the result". And "it" contains "handled", "unhandled", or "passed" And the arrayElement just contains the long id of the control that I am sending the message to. I set it like this put the long id of button "Contacts" into Services["Contacts"] Since Services is Global I can now dispatch a message to that Control from anywhere like so dispatch "Message" to Services["Contact"] with param1, param2, param3 This seem very readable to me. Todd -- Todd Geist geist interactive (805) 419-9382 From pete at mollysrevenge.com Sun Nov 27 17:17:18 2011 From: pete at mollysrevenge.com (Pete) Date: Sun, 27 Nov 2011 14:17:18 -0800 Subject: Dispatch vs Libraries In-Reply-To: References: Message-ID: Hi Todd, All interesting stuff. I knew about the it and return values for dispatch but thought the result only worked with functions, but makes sense that what you're doing would work too. On Sun, Nov 27, 2011 at 12:27 PM, Todd Geist wrote: > On Sun, Nov 27, 2011 at 10:41 AM, Pete wrote: > > Something looks a little strange about the first dispatch statement - > > you're sending a message to an array? I thought messages went to > > stacks/cards/controls. I think you'd also need to use the "dispatch > > function" syntax to get a result back. > > > Hi Pete, > > It works. You don't need to use the function syntax unless of course it is > a call to a Function that you are dispatching. In the case I cited I am > using a command but the command uses Return to return the result. > > When you do it that way, you get the returned value in "the result". And > "it" contains "handled", "unhandled", or "passed" > > And the arrayElement just contains the long id of the control that I am > sending the message to. I set it like this > > put the long id of button "Contacts" into Services["Contacts"] > > > Since Services is Global I can now dispatch a message to that Control from > anywhere like so > > dispatch "Message" to Services["Contact"] with param1, param2, param3 > > > This seem very readable to me. > > > Todd > > > -- > Todd Geist > geist interactive > (805) 419-9382 > _______________________________________________ > use-livecode mailing list > use-livecode 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 bvg at mac.com Sun Nov 27 17:40:34 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sun, 27 Nov 2011 23:40:34 +0100 Subject: How do I import/read images and their ID from a separate folder to change the icon of a button? In-Reply-To: References: Message-ID: <2587B341-A0F8-43D8-85CE-1B6978CA7F9B@mac.com> On 27 Nov 2011, at 15:38, William de Smet wrote: > Eventually I will need a lot of images and now I was thinking of > keeping the images outside of the stack in a separate folder. > Is it possible to do the same thing? Read the images and their ID and > set the icon of the button to the ID of an image. Not exactly like that, but you can create image objects that only reference an stored image somewhere, by setting it's fileName. So you could have a button that references an id of an existing image object, which in turn references an image on your hard disk. I suggest to look up the fileName dictionary entry, barring that, here's an example (untested): on mouseUp create image put it into theImageID create button put it into theButtonID set the icon of button ID theButtonID to theImageID answer file "" if it <> "" then set the fileName of image ID theImageID to it end if end mouseUP -- Watch live presentations every Saturday: http://livecode.tv Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From capellan2000 at gmail.com Sun Nov 27 17:55:07 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 27 Nov 2011 14:55:07 -0800 (PST) Subject: Excel tip with LC equivalent: Value comparison In-Reply-To: References: Message-ID: <1322434507583-4113595.post@n4.nabble.com> Great insight! Thanks for Sharing. :-) Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Excel-tip-with-LC-equivalent-Value-comparison-tp4112325p4113595.html Sent from the Revolution - User mailing list archive at Nabble.com. From kray at sonsothunder.com Sun Nov 27 15:38:36 2011 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 27 Nov 2011 14:38:36 -0600 Subject: Dispatch vs Libraries In-Reply-To: <63157425515.20111127094347@ahsoftware.net> References: <63157425515.20111127094347@ahsoftware.net> Message-ID: On Nov 27, 2011, at 11:43 AM, Mark Wieder wrote: > Todd- > > Sunday, November 27, 2011, 6:42:04 AM, you wrote: > >> dispatch "SaveData" to Services["MyContact"] with DataArray > > !!! You can dispatch a message to an array element? !!! > I had no idea? I guess if the array element contains an object descriptor that should work? Todd - your choice of using "dispatch" should actually be faster than using a library since dispatch sends directly to a specified object, whereas a library would only catch the message after it had gone through the object hierarchy. Cool stuff, by the way! Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From iowahengst at mac.com Sun Nov 27 21:28:40 2011 From: iowahengst at mac.com (Randy Hengst) Date: Sun, 27 Nov 2011 20:28:40 -0600 Subject: Selecting Multiple Buttons in iOS Message-ID: <6A9D6B90-1422-48BD-A73B-DD255BFCEFB4@mac.com> Hi All, I have 10 buttons in a horizontal row? users may select any combination of the 10 buttons. All works well tapping a button one at a time to select/deselect. I thought it would be nice to allow the user to select a button with a tap and then slide(swipe) to the right or left to select other buttons. Can't figure out how? I've messed with mouseDown, mouseMove, mouseEnter. I've tried touchStart, touchMove, touchEnd. Any thoughts? be well, randy hengst From lan.kc.macmail at gmail.com Sun Nov 27 21:51:49 2011 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 28 Nov 2011 10:51:49 +0800 Subject: On-Rev mySQL security issues? In-Reply-To: <4ED10B1B.5040207@tkf.att.ne.jp> References: <229BE729-4E06-44B5-8D29-CAB4023D700F@gmail.com> <4ED10B1B.5040207@tkf.att.ne.jp> Message-ID: Hi Tim, Sounds like you and me are on the same par, so appreciate that I am no expert in this field, but I was able to achieve something similar to what you are doing through a lot of help from those on this List, either directly from posts or indirectly from their websites. My project involved no commercial or personal data, so your security concerns are likely to be at a higher level than my solution, so RevIgniter might be your best bet. For me I simply set up two additional accounts in postgreSQL (beyond my on-rev user account that has full Admin privileges), one that could add, modify and delete records (but not tables or dbs) and another that could only select records for viewing. I then set up two separate webpages, one that was for the person who could add, modify and delete records, and a completely separate webpage for the public to view the data. As an additionally security step, whenever a record needed to be deleted, the Admin User has to input certain key words, in certain key places in the webform otherwise it will not be processed. With Rev and it's strength with chunk expressions, looking for certain words in certain places is sooooo easy. I only included this because the data involved should never need deleting so for it to happen would be very unusual. The biggest help I got was the example - Simple Form - on Sarah's site: http://www.troz.net/onrev/ Once I crossed the hurdle of getting a web Form talking to On-Rev if my Rev database code worked on my desktop db, I could generally figure out how to get my on-rev code to talk to my on-rev db. Also very helpful was stuff from Andre's site: http://www.andregarzia.com/blog Can't remember specifically what Andre's site helped me with, he does so much both on his site and on this List it's like panning for gold, you know you've struck it rich if Andre has the answer. I think his Bootstrapping a CMS in 24h blog entry may have had some nuggets in it. Finally Pierre answered a post I had to the List titled 'on-rev+postgreSQL' which solved the missing part of the puzzle, how to add a little more security with different users. I decided to move away from mySQL to postgreSQL after reading so many mySQL license issues on this List, it seemed postgreSQL just made all that headache go away. The only problem was setting up additional users and their privileges wasn't as straight forward as it was with mySQL. Good luck. On Sat, Nov 26, 2011 at 11:51 PM, Tim Selander wrote: > Hi, > > I'm beginning to learn how to use on my on-rev.com account. > > I am going to allow users to search a catalog, but no uploading and no > data entry or data editing... > > What, if any, security problems do I need to consider? mySQL newbie... > > Thanks, > > Tim Selander > Tokyo, Japan > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From lan.kc.macmail at gmail.com Sun Nov 27 22:05:38 2011 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 28 Nov 2011 11:05:38 +0800 Subject: [BUG] - Scrollbars in LiveCode In-Reply-To: <9F11A21A-4148-4299-AB4B-38297913DA14@economy-x-talk.com> References: <4ECBB7A7.2020306@fourthworld.com> <4ECC90D6.4080301@hyperactivesw.com> <4ECD462F.5010106@hyperactivesw.com> <4ECDB9E0.2050206@hyperactivesw.com> <9F11A21A-4148-4299-AB4B-38297913DA14@economy-x-talk.com> Message-ID: On Sun, Nov 27, 2011 at 1:41 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi, > > Additionally, the up arrow of the scrollbar doesn't hilite in 5.0.1. > Bummer. Any solutions? Scoll bars are an essential interface element and I > need this to work properly. > > Hi Mark, I'm not seeing that. In LiveCode's IDE - Preferences -> Script Editor, if I double tap on the Up Arrow it's background turns blue momentarily and the field advances one line - same for down arrow. If I tap - tap - hold on the Up Arrow, the background turns blue and remains blue as the field scrolls to the very top. The background remains blue as long as I hold, as soon as I take my finger off the trackpad it returns to white. The Down Arrow behaves exactly the same. With real mouse clicking the Up Arrow background turns blue just the same as the Down Arrow. From mwieder at ahsoftware.net Sun Nov 27 22:28:38 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 27 Nov 2011 19:28:38 -0800 Subject: Dispatch vs Libraries In-Reply-To: References: <4ED28732.1070504@hyperactivesw.com> <137163595171.20111127112637@ahsoftware.net> Message-ID: <141192515812.20111127192838@ahsoftware.net> Todd- Sunday, November 27, 2011, 12:17:11 PM, you wrote: > How does that pave the way for Multiple inheritance? I was thinking as > Jacque thought that this was the same as using any variable. I'm normally quite allergic to multiple inheritance, and so if I find myself in a situation where I need it I refactor things so that it's not necessary. That being the case, the following is probably a Bad Example, and should be a Gedankenexperiment only. Given an employee class and a manager class in a company, a manager is responsible for employees who may themselves be managers. Let's say, for the sake of the example (or as in LC) that you can't have subclasses of subclasses - you can have behavior objects but you can't have behavior parents of behavior objects. Otherwise you'd just have the manager class as a subclass of the employee class: ManagerClass -- EmployeeClass -- object instance What you'd need instead is multiple inheritance, where the object instance gets two behavior buttons, a ManagerClass button and an EmployeeClass button: ManagerClass EmployeeClass | | | | object instance ...so you'd have something like dispatch tEmployeeID to Parent["GetReview"] put the result into tReviewText dispatch tEmployeeID to Parent["GetTeamMembers"] put the result into tReviewText where Parent["GetReview"] would probably contain the long id of the EmployeeClass button and Parent["GetTeamMembers"] would contain the long id of the ManagerClass button. -- -Mark Wieder mwieder at ahsoftware.net From selander at tkf.att.ne.jp Sun Nov 27 22:55:32 2011 From: selander at tkf.att.ne.jp (Tim Selander) Date: Mon, 28 Nov 2011 12:55:32 +0900 Subject: On-Rev mySQL security issues? -- or use an LC stack for the DB? In-Reply-To: References: <229BE729-4E06-44B5-8D29-CAB4023D700F@gmail.com> <4ED10B1B.5040207@tkf.att.ne.jp> Message-ID: <4ED30634.3040604@tkf.att.ne.jp> Hi Kay, Appreciate the input... I've wondered about mySQL's license, too. Here is additional info. My catalog is an archive of the radio and TV programs we've aired. We will create the database and add to it bit by bit behind the scenes. No data will be input through the web/browser -- strictly look ups: Find all programs from year 1999 that had Mr. Suzuki as a guest, and listen to them; that sort of thing. I've got a simple test working ok with mySQL, but no input validation yet. Do I need input validation if the web interface is search only? Also, I understand that the new LC server available on on-rev.com can serve stacks. Would it be less hassle/security risk to use a data stack, or even a big text file, as the database? We'll probably max out at 10,000 records or so... not breaking a sweat for a sql database. Manageable on a stack? Need UTF8 (Japanese) which is working nicely with the web/mysql combo... Any thoughts on validation needs for lookups only? And on using a stack or text file for the data? (Hmmm... how does the LC server handle variables - limit on size?) Thanks! Tim Selander Tokyo, Japan On 11/28/11 11:51 AM, Kay C Lan wrote: > Hi Tim, > > Sounds like you and me are on the same par, so appreciate that I am no > expert in this field, but I was able to achieve something similar to what > you are doing through a lot of help from those on this List, either > directly from posts or indirectly from their websites. > > My project involved no commercial or personal data, so your security > concerns are likely to be at a higher level than my solution, so RevIgniter > might be your best bet. > > For me I simply set up two additional accounts in postgreSQL (beyond my > on-rev user account that has full Admin privileges), one that could add, > modify and delete records (but not tables or dbs) and another that could > only select records for viewing. I then set up two separate webpages, one > that was for the person who could add, modify and delete records, and a > completely separate webpage for the public to view the data. > > As an additionally security step, whenever a record needed to be deleted, > the Admin User has to input certain key words, in certain key places in the > webform otherwise it will not be processed. With Rev and it's strength with > chunk expressions, looking for certain words in certain places is sooooo > easy. I only included this because the data involved should never need > deleting so for it to happen would be very unusual. > > The biggest help I got was the example - Simple Form - on Sarah's site: > > http://www.troz.net/onrev/ > > Once I crossed the hurdle of getting a web Form talking to On-Rev if my Rev > database code worked on my desktop db, I could generally figure out how to > get my on-rev code to talk to my on-rev db. > > Also very helpful was stuff from Andre's site: > > http://www.andregarzia.com/blog > > Can't remember specifically what Andre's site helped me with, he does so > much both on his site and on this List it's like panning for gold, you know > you've struck it rich if Andre has the answer. I think his Bootstrapping a > CMS in 24h blog entry may have had some nuggets in it. > > Finally Pierre answered a post I had to the List titled 'on-rev+postgreSQL' > which solved the missing part of the puzzle, how to add a little more > security with different users. I decided to move away from mySQL to > postgreSQL after reading so many mySQL license issues on this List, it > seemed postgreSQL just made all that headache go away. The only problem was > setting up additional users and their privileges wasn't as straight forward > as it was with mySQL. > > Good luck. > > On Sat, Nov 26, 2011 at 11:51 PM, Tim Selanderwrote: > >> Hi, >> >> I'm beginning to learn how to use> on my on-rev.com account. >> >> I am going to allow users to search a catalog, but no uploading and no >> data entry or data editing... >> >> What, if any, security problems do I need to consider? mySQL newbie... >> >> Thanks, >> >> Tim Selander >> Tokyo, Japan >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From MikeKerner at roadrunner.com Sun Nov 27 22:58:05 2011 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 27 Nov 2011 22:58:05 -0500 Subject: "No Code Signature Found" Message-ID: Hmm. My iOS app made it through the simulator, the standalone builder, and I have the certificates generated. Now I'm trying to use xCode to send it across to a real device for real testing and XCode gives me "No Code Signature Found". Suggestions? -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Sun Nov 27 23:15:33 2011 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 27 Nov 2011 23:15:33 -0500 Subject: "No Code Signature Found" In-Reply-To: References: Message-ID: Never mind, I found a solution on the Forums (weird - I searched but...) Anyway, for those that read this in the future, go into your Keychain (Applications->Utilities->Keychain Access). In the Certificates, find and delete any expired development certificates, rebuild in LC and reinstall using XCode. On Sun, Nov 27, 2011 at 22:58, Mike Kerner wrote: > Hmm. > My iOS app made it through the simulator, the standalone builder, and I > have the certificates generated. > > Now I'm trying to use xCode to send it across to a real device for real > testing and XCode gives me "No Code Signature Found". > > Suggestions? > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From sc at sahores-conseil.com Mon Nov 28 05:47:37 2011 From: sc at sahores-conseil.com (Pierre Sahores) Date: Mon, 28 Nov 2011 11:47:37 +0100 Subject: On-Rev mySQL security issues? -- or use an LC stack for the DB? In-Reply-To: <4ED30634.3040604@tkf.att.ne.jp> References: <229BE729-4E06-44B5-8D29-CAB4023D700F@gmail.com> <4ED10B1B.5040207@tkf.att.ne.jp> <4ED30634.3040604@tkf.att.ne.jp> Message-ID: Hi Tim, In an "n-tiers" app logic build on top of LC-server, the best is to 1.- use a "script.lc" to bind the web UI+forms to the backend where the "script.lc" is just a couple of lines : 2.- start using a "server_lib.livecode" 3.- and run the "yourapplogics_code()" function included in "server_lib.livecode" as the main controller of your LC-server application's logic 4.- to code your server lib stack in launching it by a simple double-click from your (S)FTP browser app witch will directly opens it in your LC IDE with all the associated advantages (live debugger, app browser, changes directly saved to your server, etc...) About the contents your server has to handle and to preserve the advantage of the "n-tiers" multithreading architecture LC-server give us, don't handle/manage data as stack's or flat files components but bind them instead from a PostgreSQL (best !) or other SQL backend. In this way, you will get the best production's performances and rock solidity in letting the different components of your "n-tiers" app works at its best level in "parallelized mode" where any new client-side request will be handled in its own fast running thread because the Apache+LC script+LC server lib+PostgreSQL process will no contains ways to slow down this collaborative thread. If you use stack's datas or flat-files instead, your LC-server will become less responsive and possibly very problematic if your server has to handle more than some requests peer second, while in using a fair distribution of your app logics in between the components as described before, your app will be able to handle any client-side connection at its best level, even with hundreds connections peer seconds (in letting Apache automatically and cleanly queue them if needed). HTH, Best regards, Le 28 nov. 2011 ? 04:55, Tim Selander a ?crit : > Also, I understand that the new LC server available on on-rev.com can serve stacks. Would it be less hassle/security risk to use a data stack, or even a big text file, as the database? We'll probably max out at 10,000 records or so... not breaking a sweat for a sql database. -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From sc at sahores-conseil.com Mon Nov 28 05:51:39 2011 From: sc at sahores-conseil.com (Pierre Sahores) Date: Mon, 28 Nov 2011 11:51:39 +0100 Subject: Fwd: On-Rev mySQL security issues? -- or use an LC stack for the DB? References: Message-ID: Please replace below : > get yourapplogics_code() with > get yourserver_response() D?but du message r?exp?di? : > De : Pierre Sahores > Date : 28 novembre 2011 11:47:37 HNEC > ? : How to use LiveCode > Cc : Pierre Sahores > Objet : R?p : On-Rev mySQL security issues? -- or use an LC stack for the DB? > > Hi Tim, > > In an "n-tiers" app logic build on top of LC-server, the best is to > > 1.- use a "script.lc" to bind the web UI+forms to the backend where the "script.lc" is just a couple of lines : > > > try > > start using stack "server_lib.livecode" > get yourapplogics_code() > catch tErr > put tolocalisation("Maintenance en cours. Merci de renouveler votre demande dans quelques minutes...") > > end try > > ?> > > 2.- start using a "server_lib.livecode" > > 3.- and run the "yourapplogics_code()" function included in "server_lib.livecode" as the main controller of your LC-server application's logic > > 4.- to code your server lib stack in launching it by a simple double-click from your (S)FTP browser app witch will directly opens it in your LC IDE with all the associated advantages (live debugger, app browser, changes directly saved to your server, etc...) > > About the contents your server has to handle and to preserve the advantage of the "n-tiers" multithreading architecture LC-server give us, don't handle/manage data as stack's or flat files components but bind them instead from a PostgreSQL (best !) or other SQL backend. > > In this way, you will get the best production's performances and rock solidity in letting the different components of your "n-tiers" app works at its best level in "parallelized mode" where any new client-side request will be handled in its own fast running thread because the Apache+LC script+LC server lib+PostgreSQL process will no contains ways to slow down this collaborative thread. > > If you use stack's datas or flat-files instead, your LC-server will become less responsive and possibly very problematic if your server has to handle more than some requests peer second, while in using a fair distribution of your app logics in between the components as described before, your app will be able to handle any client-side connection at its best level, even with hundreds connections peer seconds (in letting Apache automatically and cleanly queue them if needed). > > HTH, > > Best regards, > > Le 28 nov. 2011 ? 04:55, Tim Selander a ?crit : > >> Also, I understand that the new LC server available on on-rev.com can serve stacks. Would it be less hassle/security risk to use a data stack, or even a big text file, as the database? We'll probably max out at 10,000 records or so... not breaking a sweat for a sql database. > > -- > Pierre Sahores > mobile : 06 03 95 77 70 > www.sahores-conseil.com > > > -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From williamdesmet at gmail.com Mon Nov 28 12:00:17 2011 From: williamdesmet at gmail.com (William de Smet) Date: Mon, 28 Nov 2011 18:00:17 +0100 Subject: How do I import/read images and their ID from a separate folder to change the icon of a button? In-Reply-To: <2587B341-A0F8-43D8-85CE-1B6978CA7F9B@mac.com> References: <2587B341-A0F8-43D8-85CE-1B6978CA7F9B@mac.com> Message-ID: Thanks for the info! It's not quite working because it needs to happen 'invisible' so 'answer file' is not what I need. And then there is the random function as well. Do you think it is possible to use "put the files into fld "pictures" and then pick one at random? greetings, William 2011/11/27 Bj?rnke von Gierke : > On 27 Nov 2011, at 15:38, William de Smet wrote: > >> Eventually I will need a lot of images and now I was thinking of >> keeping the images outside of the stack in a separate folder. >> Is it possible to do the same thing? Read the images and their ID and >> set the icon of the button to the ID of an image. > > Not exactly like that, but you can create image objects that only reference an stored image somewhere, by setting it's fileName. So you could have a button that references an id of an existing image object, which in turn references an image on your hard disk. I suggest to look up the fileName dictionary entry, barring that, here's an example (untested): > > on mouseUp > ?create image > ?put it into theImageID > ?create button > ?put it into theButtonID > ?set the icon of button ID theButtonID to theImageID > ?answer file "" > ?if it <> "" then > ? ?set the fileName of image ID theImageID to it > ?end if > end mouseUP > > -- > Watch live presentations every Saturday: > http://livecode.tv > > Use an alternative Dictionary viewer: > http://bjoernke.com/bvgdocu/ > > Chat with other RunRev developers: > http://bjoernke.com/chatrev/ > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jhurley0305 at sbcglobal.net Mon Nov 28 12:07:10 2011 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Mon, 28 Nov 2011 09:07:10 -0800 Subject: Unlocked field receives the mouseUp message In-Reply-To: References: Message-ID: <045B701D-4952-4010-B86C-0314411E75B5@sbcglobal.net> I have been trying to find a way for the user to change a text field from unlocked to locked and back without leaving the field, just using mouse clicks. I have found (stumbled on) a way that appears altogether illegitimate. If the field is unlocked I can type into the field as expected. If I click in the field nothing happens, again as expected. BUT if I right click (control click) in the unlocked field the field receives both a mouseDown and a mouseUP message and I now have a way to change the field from unlocked to locked even when the field is unlocked and supposedly receiving key strokes but not mouse clicks. (See script below.) Is there some orthodoxy by which I can under stand this? Jim Hurley on mouseUP tNum put the locktext of field id 1003 &cr after msg box if tNum = 3 then set the locktext of field id 1003 to not the locktext of field id 1003 -- returns false & cr & true put the locktext of field id 1003 &cr after msg box end mouseUP If tNum = 3 and the field is unlocked, the message box shows: false true From jhurley0305 at sbcglobal.net Mon Nov 28 12:09:09 2011 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Mon, 28 Nov 2011 09:09:09 -0800 Subject: Unlocked field receives the mouseUp message In-Reply-To: References: Message-ID: I'll have to wait for the summary list to respond to answers to that last message, as I still cannot access the RR archives. Heather? Jim Hurley From heather at runrev.com Mon Nov 28 12:42:11 2011 From: heather at runrev.com (Heather Nagey) Date: Mon, 28 Nov 2011 17:42:11 +0000 Subject: Accessing archives In-Reply-To: <4ED14BD3.5070806@gmail.com> References: <08B183DD-979C-43BA-82F5-5B507336C42E@sbcglobal.net> <4ED14BD3.5070806@gmail.com> Message-ID: <7B41D3FC-B0F7-4058-8344-421F2B266556@runrev.com> Just to let you all know, the list archives should once again be available, on http://lists.runrev.com/pipermail/use-livecode/ Warm Regards, Heather On 26 Nov 2011, at 20:28, Richmond wrote: > On 11/26/2011 08:06 PM, Jim Hurley wrote: >> Wilhelm et. at. >> >> Here is Heather's response to my question last Friday: > > I had a similar reply to my query in the same vein. Although, they > are taking quite a while to iron > things out. > >> Jim Hurley >> >> >> On Nov 25, 2011, at 9:46 AM, use-livecode-request at lists.runrev.com >> wrote: >> >>> Message: 11 >>> Date: Fri, 25 Nov 2011 07:59:33 +0000 >>> From: Heather Nagey >>> To: How to use LiveCode >>> Subject: Re: Accessing archives >>> Message-ID: >>> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes >>> >>> I am looking into it. I'll let the list know when it is fixed. >>> >>> Regards, >>> >>> Heather >>> >>> On 25 Nov 2011, at 06:48, James Hurley wrote: >>> >>>> This problem has just come up within the last few days. When I >>>> try >>>> to access the RR archives at: >>>> >>>> http://lists.runrev.com/pipermail/use-livecode/2011-November/date.html >>>> >>>> I get the following message: >>>> Forbidden >>>> >>>> You don't have permission to access /pipermail/use-livecode/2011- >>>> November/date.html on this server. >>>> >>>> Additionally, a 404 Not Found error was encountered while trying to >>>> use an ErrorDocument to handle the request. >>>> >>>> >>>> Where does the problem lie? >>>> >>>> Jim >>>> Heather Nagey Customer Services Manager http://www.runrev.com/ LiveCode - Unleash Your Killer App From ambassador at fourthworld.com Mon Nov 28 12:50:49 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 28 Nov 2011 09:50:49 -0800 Subject: Accessing archives In-Reply-To: <7B41D3FC-B0F7-4058-8344-421F2B266556@runrev.com> References: <7B41D3FC-B0F7-4058-8344-421F2B266556@runrev.com> Message-ID: <4ED3C9F9.4000903@fourthworld.com> Heather Nagey wrote: > Just to let you all know, the list archives should once again be > available, on > > http://lists.runrev.com/pipermail/use-livecode/ Thank you, Heather. With the volume of messages here and the complexity of my In Box, I use the archives to read the list daily. Having them accessible again is a godsend - thanks for making that happen. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From richmondmathewson at gmail.com Mon Nov 28 12:51:38 2011 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 28 Nov 2011 19:51:38 +0200 Subject: Accessing archives In-Reply-To: <7B41D3FC-B0F7-4058-8344-421F2B266556@runrev.com> References: <08B183DD-979C-43BA-82F5-5B507336C42E@sbcglobal.net> <4ED14BD3.5070806@gmail.com> <7B41D3FC-B0F7-4058-8344-421F2B266556@runrev.com> Message-ID: <4ED3CA2A.3040705@gmail.com> On 11/28/2011 07:42 PM, Heather Nagey wrote: > Just to let you all know, the list archives should once again be > available, on > > http://lists.runrev.com/pipermail/use-livecode/ > > Warm Regards, > > Heather > Thank you very much indeed. From bobs at twft.com Mon Nov 28 13:14:30 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 28 Nov 2011 10:14:30 -0800 Subject: focus on field broke? Message-ID: At the end of my openStack handler in my CSL Logon stack I have a simple line: focus on field "fldusername" Also, I have some code a bit before it, which looks like this: go invisible stack "CSL Launcher" go me I do this because all the database initialization and access code is in CSL Launcher and simply going to that stack will set everything up. If I comment out those two lines, then I can use the short version: focus on field "fldusername" If I do not comment those lines out, I get a runtime error: stack "CSL Logon": execution error at line 74 (Chunk: no such object) near "fldusername", char 10 If I use the form: focus on field "fldusername" of card 1 of me then it works famously either way. It appears that using the form "go me" does not change the defaultStack to the stack the script is in. Now it gets interesting. If I change "go me" to "go stack me" then it works fine again! I thought that perhaps "me" is not what I think it is, except when I use "put me" just before the command "go me" I get stack "CSL Logon" That is what you would expect. So it seems that using "go me" does NOT set the defaultStack to CSL Logon like you would expect, but using "go stack me" DOES!! What "go stack me" *SHOULD* resolve to is "go stack stack CSL Logon" which *SHOULD* produce a compilation error! But it doesn't. I hope that is not confusing. I have to think this is a bug. Not a huge one, but if using the form "me" produces unreliable results, or different results at different times, this may be a problem elsewhere. Bob From lfredricks at proactive-intl.com Mon Nov 28 14:03:00 2011 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Mon, 28 Nov 2011 11:03:00 -0800 Subject: 24 Hours Cyber Monday - 50% off Valentina Studio + Others Message-ID: Hello all, Just a quick reminder that the 50% off Valentina Studio for Cyber Monday has 24 hours left on it. You can now use it to manage SQLite and very soon, Postgre, as well as run internally reports on all three database formats. Also, if you are looking for ways to get 3D models into Franklin3d, check out this offer on mirye.net - 72% off on Shade Standard - $99. There's shortly to be an announcement about support for exporting animated FBX from Shade with a soon to be released free update. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From bobs at twft.com Mon Nov 28 15:07:57 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 28 Nov 2011 12:07:57 -0800 Subject: Globals from the message box Message-ID: <57CB4ADE-1921-42E2-97FB-B05079D947E1@twft.com> Hi all. I seem to remember this working once, but it does not work now. In the message box I put: global gLogonSite,gSiteID;put gLogonSite & "," & gSiteID I get true. I should be getting something like 0,00002. Are semicolons legal in the message box or no? I know I can use the multiline section of the message box but often it is more convenient to use the semicolons. For instance, this works: put "test1" into myArray[1];put "test2" into myarray[2];put myArray[1] & "," & myarray[2] I get "test1,test2" but if I make the array a global and declare it before my put statement, I get true when I try to put any of the elements in the message. But apparently you put globals into the message like this. Globals in the single line message box always seem to return true. What is perhaps some indicator of where things go wrong is the fact that I can modify the global variable in a single line message like so: global myArray;put "test3" into myArray[1];put "test4" into myarray[2] Then I can display the elements of the array in the multi-line message box like this: global myArray put myArray[1] & "," & myArray[2] That works famously! It's only in the single line message box that semicolon delimited put statements using globals always resolves to true. Sounds buggy to me! Again, not a big bug, but I *AM* the Bugmeister! Bob From pmbrig at gmail.com Mon Nov 28 15:53:02 2011 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Mon, 28 Nov 2011 15:53:02 -0500 Subject: Unlocked field receives the mouseUp message In-Reply-To: <045B701D-4952-4010-B86C-0314411E75B5@sbcglobal.net> References: <045B701D-4952-4010-B86C-0314411E75B5@sbcglobal.net> Message-ID: <7980303E-E411-4144-AC97-D67B0C1CE260@gmail.com> I have the following in a frontscript, so it works on any field: on mouseup theBtn if theBtn <> 1 then pass mouseup if the target begins with "field" then if the commandkey is down and the shiftkey is down then set the writable of the target to not the writable of the target end if else pass mouseup end if end mouseup setprop writable tf if not (the target begins with "field") 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 end try end writable getprop writable if "field" is not in the target then return empty 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 Holding the commandkey down during a mouseclick will trigger a mouseup message (like the controlkey), and this means that cmd-sh-click will trigger the mouseup handler. I use the virtual property "writable" to set the locktext, autohilite, and traversalon of the field. Note that no enduring property of the target field is ever actually set, since the calls are intercepted to perform an action on the field instead. This is what is meant by a "virtual" property. If you only want to toggle the locktext of the field you can instead forget the virtual prop calls and just do "set the locktext of the target to not the locktext of the target" in the mouseup handler. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Nov 28, 2011, at 12:07 PM, Jim Hurley wrote: > I have been trying to find a way for the user to change a text field from unlocked to locked and back without leaving the field, just using mouse clicks. > > I have found (stumbled on) a way that appears altogether illegitimate. > > If the field is unlocked I can type into the field as expected. If I click in the field nothing happens, again as expected. > > BUT if I right click (control click) in the unlocked field the field receives both a mouseDown and a mouseUP message and I now have a way to change the field from unlocked to locked even when the field is unlocked and supposedly receiving key strokes but not mouse clicks. (See script below.) > > Is there some orthodoxy by which I can under stand this? > > Jim Hurley > > on mouseUP tNum > put the locktext of field id 1003 &cr after msg box > if tNum = 3 then set the locktext of field id 1003 to not the locktext of field id 1003 -- returns false & cr & true > put the locktext of field id 1003 &cr after msg box > end mouseUP > > If tNum = 3 and the field is unlocked, the message box shows: > > false > true > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Nov 28 15:57:25 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 28 Nov 2011 13:57:25 -0700 Subject: Globals from the message box In-Reply-To: <57CB4ADE-1921-42E2-97FB-B05079D947E1@twft.com> References: <57CB4ADE-1921-42E2-97FB-B05079D947E1@twft.com> Message-ID: Seems like it should work but.. To get around this weirdness, define the globals once in the message box by themselves at which point they will "stick" and you can use them to your hearts content. Meaning: global gLogonSite,gSiteID -- once at which point it seems that any and all future references to them from the message box seem to work fine. On Mon, Nov 28, 2011 at 1:07 PM, Bob Sneidar wrote: > Hi all. > > I seem to remember this working once, but it does not work now. In the > message box I put: > global gLogonSite,gSiteID;put gLogonSite & "," & gSiteID > > I get true. I should be getting something like 0,00002. Are semicolons > legal in the message box or no? I know I can use the multiline section of > the message box but often it is more convenient to use the semicolons. For > instance, this works: > > put "test1" into myArray[1];put "test2" into myarray[2];put myArray[1] & > "," & myarray[2] > I get "test1,test2" but if I make the array a global and declare it before > my put statement, I get true when I try to put any of the elements in the > message. > > But apparently you put globals into the message like this. Globals in the > single line message box always seem to return true. What is perhaps some > indicator of where things go wrong is the fact that I can modify the global > variable in a single line message like so: > global myArray;put "test3" into myArray[1];put "test4" into myarray[2] > > Then I can display the elements of the array in the multi-line message box > like this: > global myArray > put myArray[1] & "," & myArray[2] > > That works famously! It's only in the single line message box that > semicolon delimited put statements using globals always resolves to true. > Sounds buggy to me! Again, not a big bug, but I *AM* the Bugmeister! > > 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 jhurley0305 at sbcglobal.net Mon Nov 28 17:44:21 2011 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Mon, 28 Nov 2011 14:44:21 -0800 Subject: Unlocked field receives the mouseUp message In-Reply-To: References: Message-ID: Thanks Peter. Actually i do want to just toggle the locktext of the field. I use the field to proofread the text by reading from the clickchunk to the end using revspeak. If I encounter an error while speaking, I want to be able to easily click the field again to allow for edit. The control click does allow a mouseUp to get through and the locktext to be changed to allow for edit. In retrospect, I should have understood the rationale for this behavior. While editing text in an unlocked field it should be possible to copy and past into the field so that it has to respond to command, control keys etc. So, it doesn't respond to a naked mouseUp, but it will respond to a combination of command, control etc. mouseUP. It saves my bacon. Jim > I have the following in a frontscript, so it works on any field: > > on mouseup theBtn > if theBtn <> 1 then pass mouseup > if the target begins with "field" then > if the commandkey is down and the shiftkey is down then > set the writable of the target to not the writable of the target > end if > else > pass mouseup > end if > end mouseup > > setprop writable tf > if not (the target begins with "field") 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 > end try > end writable > > getprop writable > if "field" is not in the target then return empty > 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 > > Holding the commandkey down during a mouseclick will trigger a mouseup message (like the controlkey), and this means that cmd-sh-click will trigger the mouseup handler. I use the virtual property "writable" to set the locktext, autohilite, and traversalon of the field. Note that no enduring property of the target field is ever actually set, since the calls are intercepted to perform an action on the field instead. This is what is meant by a "virtual" property. If you only want to toggle the locktext of the field you can instead forget the virtual prop calls and just do "set the locktext of the target to not the locktext of the target" in the mouseup handler. > > -- Peter > > Peter M. Brigham > > pmbrig at gmail.com > http://home.comcast.net/~pmbrig From pete at mollysrevenge.com Mon Nov 28 17:51:25 2011 From: pete at mollysrevenge.com (Pete) Date: Mon, 28 Nov 2011 14:51:25 -0800 Subject: setProp Recursion Message-ID: I have a setProp handler that refers to its own custom property, eg setProp xyz pvalue ... ... ... set the xyz of the target to "abc" ... ... ... end xyz According to the Reference manual "If you use the set command within a setProp handler to set the same custom property for the current object, no setProp trigger is sent to the target object" (to avoid runaway recursion). However, the first time this setProp handler is invoked, I get the LC message that the recursion limit has been reached. Either this is a bug or I'm misunderstanding the manual.... -- Pete Molly's Revenge From matthias_livecode_150811 at m-r-d.de Mon Nov 28 17:59:06 2011 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 28 Nov 2011 23:59:06 +0100 Subject: Some questions about revBrowser In-Reply-To: References: <28615656-7925-45E7-B3E4-AE05DD2372F6@m-r-d.de> Message-ID: <8346CBE8-8C27-4A87-A6EC-630EA33B8044@m-r-d.de> Hi, and thanks to both of you. Had again a little spare time to investigate revbrowser a little bit more. A new problem now is: I use revbrowser to open a specific page. This page contains javascript. There are buttons on that page which use the javascript window.open function to open a new browser window. I already set newwindow to true with revbrowserset .But what message do i have to trap. It seems i got stucked again. Regards, Matthias Am 25.11.2011 um 01:38 schrieb Mike Bonner: > try > revbrowserset instanceID, "visible", false -- or true > to hide and show the instance that you want. > Since revbrowser is an external overlay, it kinda takes over and lays on > top of your stack in the rect you designate, so showing 2 at once on top of > each other is problematic. So just hide the ones you don't want to show. > > On Thu, Nov 24, 2011 at 5:26 PM, Matthias Rebbe < > matthias_livecode_150811 at m-r-d.de> wrote: > >> Hi, >> >> i am running into some problems, maybe caused by myself not understanding >> the revBrowser stuff. >> >> I have already created a simple browser stack. That was really easy to do. >> >> But now i want to create a stack with 3 buttons. Each button stands for a >> predefined URL(lets say url1, url2, url3). >> On startup i want to preload all 3 URLs . Url1 is the default url and >> shall be displayed by default. Pressing on button 2 or 3 shall display the >> already loaded url2 or url3 in the browser object. >> What is the best way to do this? Creating 3 cards - one for each url - >> seems not to work. >> I tried it with a 2 card stack and only one browser object (on card 1). I >> get the browser object from card 1 also displayed on card 2. Is this a >> normal behaviour >> >> Does anyone have experience with a "multi" browser stack? >> >> I remember of a sample stack from someone of the list which displayed >> more than 1 browser windows, but i cannot find it anymore. From bobs at twft.com Mon Nov 28 18:01:09 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 28 Nov 2011 15:01:09 -0800 Subject: Globals from the message box In-Reply-To: References: <57CB4ADE-1921-42E2-97FB-B05079D947E1@twft.com> Message-ID: <1E3CEFC6-FD9F-46B2-A20F-9859AB42A0B1@twft.com> Wait, you are saying that I can refer to the globals later without first declaring them to be globals? I did not know that! Bob On Nov 28, 2011, at 12:57 PM, Mike Bonner wrote: > Seems like it should work but.. > > To get around this weirdness, define the globals once in the message box by > themselves at which point they will "stick" and you can use them to your > hearts content. > > Meaning: > global gLogonSite,gSiteID -- once > at which point it seems that any and all future references to them from the > message box seem to work fine. From jacque at hyperactivesw.com Mon Nov 28 18:06:56 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 28 Nov 2011 17:06:56 -0600 Subject: Globals from the message box In-Reply-To: <57CB4ADE-1921-42E2-97FB-B05079D947E1@twft.com> References: <57CB4ADE-1921-42E2-97FB-B05079D947E1@twft.com> Message-ID: <4ED41410.7020803@hyperactivesw.com> On 11/28/11 2:07 PM, Bob Sneidar wrote: > That works famously! It's only in the single line message box that > semicolon delimited put statements using globals always resolves to > true. Sounds buggy to me! The message box has automatic access to any globals that have already been declared, so you don't need to do it again if they are already listed in the globals pane of the message box. The engine has access to all globals at all times, and the message box just passes your commands to it. Semicolons do work in the message box to separate command lines. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bonnmike at gmail.com Mon Nov 28 18:08:01 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 28 Nov 2011 16:08:01 -0700 Subject: Globals from the message box In-Reply-To: <1E3CEFC6-FD9F-46B2-A20F-9859AB42A0B1@twft.com> References: <57CB4ADE-1921-42E2-97FB-B05079D947E1@twft.com> <1E3CEFC6-FD9F-46B2-A20F-9859AB42A0B1@twft.com> Message-ID: Yep, messed around with this a bit and it does seem to work fine. If you need to add a global later on, just declare that one once too and its added to the list the message box can see. (or so it seems to me) On Mon, Nov 28, 2011 at 4:01 PM, Bob Sneidar wrote: > Wait, you are saying that I can refer to the globals later without first > declaring them to be globals? I did not know that! > > Bob > > > On Nov 28, 2011, at 12:57 PM, Mike Bonner wrote: > > > Seems like it should work but.. > > > > To get around this weirdness, define the globals once in the message box > by > > themselves at which point they will "stick" and you can use them to your > > hearts content. > > > > Meaning: > > global gLogonSite,gSiteID -- once > > at which point it seems that any and all future references to them from > the > > message box seem to work fine. > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Nov 28 18:09:13 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 28 Nov 2011 16:09:13 -0700 Subject: Globals from the message box In-Reply-To: <4ED41410.7020803@hyperactivesw.com> References: <57CB4ADE-1921-42E2-97FB-B05079D947E1@twft.com> <4ED41410.7020803@hyperactivesw.com> Message-ID: Interesting. I tried using a global from the message box without first declaring it once. Didn't work for me. Then declared it and it did. What am I missing? On Mon, Nov 28, 2011 at 4:06 PM, J. Landman Gay wrote: > On 11/28/11 2:07 PM, Bob Sneidar wrote: > > That works famously! It's only in the single line message box that >> semicolon delimited put statements using globals always resolves to >> true. Sounds buggy to me! >> > > The message box has automatic access to any globals that have already been > declared, so you don't need to do it again if they are already listed in > the globals pane of the message box. The engine has access to all globals > at all times, and the message box just passes your commands to it. > > Semicolons do work in the message box to separate command lines. > > -- > 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 m.schonewille at economy-x-talk.com Mon Nov 28 18:11:08 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 29 Nov 2011 00:11:08 +0100 Subject: setProp Recursion In-Reply-To: References: Message-ID: Pete, Try lock messages or pass xyz. setProp xyz theValue lock messages set the xyz of me to theValue unlock messages //optional end xyz setProp xyz theValue put somethingElse into theValue pass setProp end xyz Frankly I'm not entirely sure that the second example works. I think I did something similar though. The first example should work. If the setProp handler is not in the target, then setting that property for that target may cause recursion. So, probably it isn't a bug. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission! On 28 nov 2011, at 23:51, Pete wrote: > I have a setProp handler that refers to its own custom property, eg > > setProp xyz pvalue > ... > ... > ... > set the xyz of the target to "abc" > ... > ... > ... > end xyz > > According to the Reference manual "If you use the set command within a > setProp handler to set the same custom property for the current object, no > setProp trigger is sent to the target object" (to avoid runaway recursion). > However, the first time this setProp handler is invoked, I get the LC > message that the recursion limit has been reached. > > Either this is a bug or I'm misunderstanding the manual.... > > > -- > Pete > Molly's Revenge From bobs at twft.com Mon Nov 28 18:31:27 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 28 Nov 2011 15:31:27 -0800 Subject: Globals from the message box In-Reply-To: <4ED41410.7020803@hyperactivesw.com> References: <57CB4ADE-1921-42E2-97FB-B05079D947E1@twft.com> <4ED41410.7020803@hyperactivesw.com> Message-ID: Ok thanks that makes sense. I have a fuzzy recollection in the past that that didn't work for me but I suspect my coding at that time was fuzzier still. Bob On Nov 28, 2011, at 3:06 PM, J. Landman Gay wrote: > On 11/28/11 2:07 PM, Bob Sneidar wrote: > >> That works famously! It's only in the single line message box that >> semicolon delimited put statements using globals always resolves to >> true. Sounds buggy to me! > > The message box has automatic access to any globals that have already been declared, so you don't need to do it again if they are already listed in the globals pane of the message box. The engine has access to all globals at all times, and the message box just passes your commands to it. > > Semicolons do work in the message box to separate command lines. From jacque at hyperactivesw.com Mon Nov 28 18:40:09 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 28 Nov 2011 17:40:09 -0600 Subject: Globals from the message box In-Reply-To: References: <57CB4ADE-1921-42E2-97FB-B05079D947E1@twft.com> <4ED41410.7020803@hyperactivesw.com> Message-ID: <4ED41BD9.4060500@hyperactivesw.com> On 11/28/11 5:09 PM, Mike Bonner wrote: > Interesting. I tried using a global from the message box without first > declaring it once. Didn't work for me. Then declared it and it did. What > am I missing? It has to have been already declared, either in a one-time declaration in the message box, or in a script. Globals the engine knows about are listed in the message box Global Variables pane. If it's there, you don't need to declare it again within a message box command sequence. I thought the original global in question was already declared, but maybe I missed something. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Nov 28 18:41:02 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 28 Nov 2011 17:41:02 -0600 Subject: Globals from the message box In-Reply-To: <1E3CEFC6-FD9F-46B2-A20F-9859AB42A0B1@twft.com> References: <57CB4ADE-1921-42E2-97FB-B05079D947E1@twft.com> <1E3CEFC6-FD9F-46B2-A20F-9859AB42A0B1@twft.com> Message-ID: <4ED41C0E.3010603@hyperactivesw.com> On 11/28/11 5:01 PM, Bob Sneidar wrote: > Wait, you are saying that I can refer to the globals later without > first declaring them to be globals? I did not know that! No. But once they've been declared already, you don't need to do it again in the message box when you query their value. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tsj at unimelb.edu.au Mon Nov 28 18:45:15 2011 From: tsj at unimelb.edu.au (Terry Judd) Date: Mon, 28 Nov 2011 23:45:15 +0000 Subject: Some questions about revBrowser In-Reply-To: <8346CBE8-8C27-4A87-A6EC-630EA33B8044@m-r-d.de> References: <28615656-7925-45E7-B3E4-AE05DD2372F6@m-r-d.de> <8346CBE8-8C27-4A87-A6EC-630EA33B8044@m-r-d.de> Message-ID: <0205D3C4-32A0-4213-BFB0-200C2127313B@unimelb.edu.au> On 29/11/2011, at 09:59 AM, Matthias Rebbe wrote: Hi, and thanks to both of you. Had again a little spare time to investigate revbrowser a little bit more. A new problem now is: I use revbrowser to open a specific page. This page contains javascript. There are buttons on that page which use the javascript window.open function to open a new browser window. I already set newwindow to true with revbrowserset .But what message do i have to trap. It's the browserNewURLWindow message. It seems i got stucked again. Unfortunately If you're on a Mac then you will stay stuck as the message is broken - it fails to pass the requested URL. However, it should work fine on Windows. Terry... Regards, Matthias Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From jacque at hyperactivesw.com Mon Nov 28 18:53:02 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 28 Nov 2011 17:53:02 -0600 Subject: Selecting Multiple Buttons in iOS In-Reply-To: <6A9D6B90-1422-48BD-A73B-DD255BFCEFB4@mac.com> References: <6A9D6B90-1422-48BD-A73B-DD255BFCEFB4@mac.com> Message-ID: <4ED41EDE.9010603@hyperactivesw.com> On 11/27/11 8:28 PM, Randy Hengst wrote: > I thought it would be nice to allow the user to select a button with > a tap and then slide(swipe) to the right or left to select other > buttons. Create a script local variable to serve as a flag, and initialize it to false. When the first button gets a mouseDown, do its hiliting and set the flag variable to true. Write a mouseEnter handler that checks to see if the script local flag is true and if the target is one of the ten buttons in the row. If so, hilite that button. On mouseUp, set the flag to false so hiliting will stop. The handlers should all be in the same script, probably the card script, so they can all read the flag status. There are other ways to do it but that's the easiest. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at mollysrevenge.com Mon Nov 28 19:39:55 2011 From: pete at mollysrevenge.com (Pete) Date: Mon, 28 Nov 2011 16:39:55 -0800 Subject: setProp Recursion In-Reply-To: References: Message-ID: Thanks. Yes I saw a mention of lock messages in another place in the manual that didn't seem to apply to my circumstance but that seems to have fixed the problem. Pete On Mon, Nov 28, 2011 at 3:11 PM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Pete, > > Try lock messages or pass xyz. > > setProp xyz theValue > lock messages > set the xyz of me to theValue > unlock messages //optional > end xyz > > setProp xyz theValue > put somethingElse into theValue > pass setProp > end xyz > > Frankly I'm not entirely sure that the second example works. I think I did > something similar though. The first example should work. If the setProp > handler is not in the target, then setting that property for that target > may cause recursion. So, probably it isn't a bug. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Become our partner in sales http://qery.us/1bq Start selling Color > Converter today. 20% commission! > > On 28 nov 2011, at 23:51, Pete wrote: > > > I have a setProp handler that refers to its own custom property, eg > > > > setProp xyz pvalue > > ... > > ... > > ... > > set the xyz of the target to "abc" > > ... > > ... > > ... > > end xyz > > > > According to the Reference manual "If you use the set command within a > > setProp handler to set the same custom property for the current object, > no > > setProp trigger is sent to the target object" (to avoid runaway > recursion). > > However, the first time this setProp handler is invoked, I get the LC > > message that the recursion limit has been reached. > > > > Either this is a bug or I'm misunderstanding the manual.... > > > > > > -- > > 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 > > -- Pete Molly's Revenge From bobs at twft.com Mon Nov 28 19:41:52 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 28 Nov 2011 16:41:52 -0800 Subject: Globals from the message box In-Reply-To: <4ED41C0E.3010603@hyperactivesw.com> References: <57CB4ADE-1921-42E2-97FB-B05079D947E1@twft.com> <1E3CEFC6-FD9F-46B2-A20F-9859AB42A0B1@twft.com> <4ED41C0E.3010603@hyperactivesw.com> Message-ID: <168317C5-FFD8-4D2B-B4C9-106141F9C4C0@twft.com> Got it. What an interesting quirk though that if you do re-declare them, they always resolve to true! Also, re-declaring them in the multiline message box has no adverse effect. Works like normal. Not saying anything should be done about it, I just find it interesting. Now let's see, can I use breakpoint in a semicolon delimited single line statement... Bob On Nov 28, 2011, at 3:41 PM, J. Landman Gay wrote: > On 11/28/11 5:01 PM, Bob Sneidar wrote: >> Wait, you are saying that I can refer to the globals later without >> first declaring them to be globals? I did not know that! > > No. But once they've been declared already, you don't need to do it again in the message box when you query their value. > > -- > 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 Nov 28 19:44:41 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 28 Nov 2011 16:44:41 -0800 Subject: Globals from the message box In-Reply-To: <168317C5-FFD8-4D2B-B4C9-106141F9C4C0@twft.com> References: <57CB4ADE-1921-42E2-97FB-B05079D947E1@twft.com> <1E3CEFC6-FD9F-46B2-A20F-9859AB42A0B1@twft.com> <4ED41C0E.3010603@hyperactivesw.com> <168317C5-FFD8-4D2B-B4C9-106141F9C4C0@twft.com> Message-ID: <21AD0E22-91D2-460F-BD52-D34040E59976@twft.com> Whoa! Yes you can! That means I can debug why the message box acts that way! to be continued... Bob On Nov 28, 2011, at 4:41 PM, Bob Sneidar wrote: > Now let's see, can I use breakpoint in a semicolon delimited single line statement... From iowahengst at mac.com Mon Nov 28 21:05:32 2011 From: iowahengst at mac.com (Randy Hengst) Date: Mon, 28 Nov 2011 20:05:32 -0600 Subject: Selecting Multiple Buttons in iOS In-Reply-To: <4ED41EDE.9010603@hyperactivesw.com> References: <6A9D6B90-1422-48BD-A73B-DD255BFCEFB4@mac.com> <4ED41EDE.9010603@hyperactivesw.com> Message-ID: <2E958C8C-1743-4A3B-8D8E-A07B77A4FCFA@mac.com> Hi Jacque, Thank you? that's basically what I was doing with a global? but working only button scripts. I'll put handlers in the card and try again. be well, randy ------ On Nov 28, 2011, at 5:53 PM, J. Landman Gay wrote: > On 11/27/11 8:28 PM, Randy Hengst wrote: > >> I thought it would be nice to allow the user to select a button with >> a tap and then slide(swipe) to the right or left to select other >> buttons. > > Create a script local variable to serve as a flag, and initialize it to false. When the first button gets a mouseDown, do its hiliting and set the flag variable to true. Write a mouseEnter handler that checks to see if the script local flag is true and if the target is one of the ten buttons in the row. If so, hilite that button. On mouseUp, set the flag to false so hiliting will stop. > > The handlers should all be in the same script, probably the card script, so they can all read the flag status. There are other ways to do it but that's the easiest. > > -- > 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 Mark_Smith at cpe.umanitoba.ca Mon Nov 28 21:31:53 2011 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Mon, 28 Nov 2011 18:31:53 -0800 (PST) Subject: startup handler Message-ID: <1322533913663-4117800.post@n4.nabble.com> Hi, just wondering if there is something special about the startup handler. The following code (executed in the IDE) does nothing: on startup if the cpassword of this stack is empty then ask password "Please enter a new password:" put it into temp1 ask password "Please re-enter password:" put it into temp2 if temp1 <> temp2 then answer "Passwords do not match. Please try again" startup end if set the cpassword of this stack to temp2 end if if the environment is "mobile" then iphoneSetAllowedOrientations "portrait,portrait upside down,landscape left,landscape right" askpassword end if end startup Even though the following, downloaded and tested on an iPhone works fine: on startup if the environment is "mobile" then iphoneSetAllowedOrientations "portrait,portrait upside down,landscape left,landscape right" end if end startup Can "startup" not handle user I/O or..??? Thanks -- Mark PS the code logic is fine, and worked once I moved the "interactive" portions into the preOpenStack handler. But the documentation does not appear to make mention of this limitation. I think. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/startup-handler-tp4117800p4117800.html Sent from the Revolution - User mailing list archive at Nabble.com. From selander at tkf.att.ne.jp Mon Nov 28 21:43:16 2011 From: selander at tkf.att.ne.jp (Tim Selander) Date: Tue, 29 Nov 2011 11:43:16 +0900 Subject: On-Rev mySQL security issues? -- or use an LC stack for the DB? In-Reply-To: References: <229BE729-4E06-44B5-8D29-CAB4023D700F@gmail.com> <4ED10B1B.5040207@tkf.att.ne.jp> <4ED30634.3040604@tkf.att.ne.jp> Message-ID: <4ED446C4.6050207@tkf.att.ne.jp> Hi Pierre, It took me a couple readings to follow your email (I'm a newbie!) but I think I get it... especially the point about not using a flat database, but letting the various parts of the system work in parallel. I hadn't thought about the performance hit if there are many, many users (though I don't think we will be that popular!) I have installed revigniter and am working through the documentation. Thanks, Tim On 11/28/11 7:47 PM, Pierre Sahores wrote: > Hi Tim, > > In an "n-tiers" app logic build on top of LC-server, the best is to > > 1.- use a "script.lc" to bind the web UI+forms to the backend where the "script.lc" is just a couple of lines : > > > try > > start using stack "server_lib.livecode" > get yourapplogics_code() > catch tErr > put tolocalisation("Maintenance en cours. Merci de renouveler votre demande dans quelques minutes...") > > end try > > ?> > > 2.- start using a "server_lib.livecode" > > 3.- and run the "yourapplogics_code()" function included in "server_lib.livecode" as the main controller of your LC-server application's logic > > 4.- to code your server lib stack in launching it by a simple double-click from your (S)FTP browser app witch will directly opens it in your LC IDE with all the associated advantages (live debugger, app browser, changes directly saved to your server, etc...) > > About the contents your server has to handle and to preserve the advantage of the "n-tiers" multithreading architecture LC-server give us, don't handle/manage data as stack's or flat files components but bind them instead from a PostgreSQL (best !) or other SQL backend. > > In this way, you will get the best production's performances and rock solidity in letting the different components of your "n-tiers" app works at its best level in "parallelized mode" where any new client-side request will be handled in its own fast running thread because the Apache+LC script+LC server lib+PostgreSQL process will no contains ways to slow down this collaborative thread. > > If you use stack's datas or flat-files instead, your LC-server will become less responsive and possibly very problematic if your server has to handle more than some requests peer second, while in using a fair distribution of your app logics in between the components as described before, your app will be able to handle any client-side connection at its best level, even with hundreds connections peer seconds (in letting Apache automatically and cleanly queue them if needed). > > HTH, > > Best regards, > > Le 28 nov. 2011 ? 04:55, Tim Selander a ?crit : > >> Also, I understand that the new LC server available on on-rev.com can serve stacks. Would it be less hassle/security risk to use a data stack, or even a big text file, as the database? We'll probably max out at 10,000 records or so... not breaking a sweat for a sql database. > > -- > Pierre Sahores > mobile : 06 03 95 77 70 > www.sahores-conseil.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Mon Nov 28 21:58:37 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 28 Nov 2011 20:58:37 -0600 Subject: startup handler In-Reply-To: <1322533913663-4117800.post@n4.nabble.com> References: <1322533913663-4117800.post@n4.nabble.com> Message-ID: <4ED44A5D.8080000@hyperactivesw.com> On 11/28/11 8:31 PM, Mark Smith wrote: > Hi, just wondering if there is something special about the startup handler. > The following code (executed in the IDE) does nothing: > > on startup > if the cpassword of this stack is empty then Startup is sent only once when the engine is first launched. In the IDE, that happens long before any user stacks open (I think the IDE Home stack catches it.) Startup will never occur in a stack open in the IDE, only in a standalone. I could have sworn that was in the dictionary, but it isn't under the "startup" message so it's probably buried somewhere else. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Nov 28 22:06:58 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 28 Nov 2011 21:06:58 -0600 Subject: Globals from the message box In-Reply-To: <168317C5-FFD8-4D2B-B4C9-106141F9C4C0@twft.com> References: <57CB4ADE-1921-42E2-97FB-B05079D947E1@twft.com> <1E3CEFC6-FD9F-46B2-A20F-9859AB42A0B1@twft.com> <4ED41C0E.3010603@hyperactivesw.com> <168317C5-FFD8-4D2B-B4C9-106141F9C4C0@twft.com> Message-ID: <4ED44C52.7080701@hyperactivesw.com> On 11/28/11 6:41 PM, Bob Sneidar wrote: > Got it. What an interesting quirk though that if you do re-declare > them, they always resolve to true! It's the same thing that came up a week or so ago. Getting anything in the message box returns a boolean, which tells you if the command succeeded. If you want to get the value, you have to "put" it. get the date -> true put the date -> 11/28/11 > Also, re-declaring them in the multiline message box has no adverse effect. It feels like the multi-line is compiled like a script, but the single-line is sent directly to the engine. Just guessing. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From Mark_Smith at cpe.umanitoba.ca Mon Nov 28 23:15:03 2011 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Mon, 28 Nov 2011 20:15:03 -0800 (PST) Subject: startup handler In-Reply-To: <4ED44A5D.8080000@hyperactivesw.com> References: <1322533913663-4117800.post@n4.nabble.com> <4ED44A5D.8080000@hyperactivesw.com> Message-ID: <1322540103982-4118026.post@n4.nabble.com> J. Landman Gay wrote > > Startup is sent only once when the engine is first launched. In the IDE, > that happens long before any user stacks open (I think the IDE Home > stack catches it.) Startup will never occur in a stack open in the IDE, > only in a standalone. > Thanks Jacque, I more or less suspected this but since it was not in the dictionary thought I would seek confirmation. Here's another little conundrum I've run into that you might be able to help with (or someone). I've stored an encrypted password away in a custom property called cpassword and use the following code to compare the user entered value: on askpassword ask password "Enter password:" if it is empty then quit if it = the cpassword of this stack then exit askpassword else # incorrect password answer "Incorrect password. Please try again." askpassword end if end askpassword Now, before I begin, both the stack in the IDE and tested on the iPhone simulator report the encrypted pw as \VUw|1,A so, no difference there. The above code works fine on the IDE when the correct pw is entered (montreal), and loops endlessly on the iPhone saying "Incorrect password. Please try again" when the same password is entered. Any wisdom or guidance for the lost???? Thanks -- M PS have not tried it on a real iPhone yet, but probably will try that just to rule out the improbable likelihood that this is a sim related problem. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/startup-handler-tp4117800p4118026.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Tue Nov 29 00:24:28 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 28 Nov 2011 23:24:28 -0600 Subject: startup handler In-Reply-To: <1322540103982-4118026.post@n4.nabble.com> References: <1322533913663-4117800.post@n4.nabble.com> <4ED44A5D.8080000@hyperactivesw.com> <1322540103982-4118026.post@n4.nabble.com> Message-ID: <4ED46C8C.3060802@hyperactivesw.com> On 11/28/11 10:15 PM, Mark Smith wrote: > Now, before I begin, both the stack in the IDE and tested on the iPhone > simulator report the encrypted pw as \VUw|1,A so, no difference there. I get a difference. > > The above code works fine on the IDE when the correct pw is entered > (montreal), and loops endlessly on the iPhone saying "Incorrect password. > Please try again" when the same password is entered. Any wisdom or guidance > for the lost???? I had the same problem in one of my stacks, but in the iOS simulator the password is not reported as an encrypted string, it returns "montreal" as plain text. In other words, on iOS the engine isn't encrypting it. I haven't found a solution. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Tue Nov 29 00:36:30 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 28 Nov 2011 21:36:30 -0800 Subject: Globals from the message box In-Reply-To: <21AD0E22-91D2-460F-BD52-D34040E59976@twft.com> References: <57CB4ADE-1921-42E2-97FB-B05079D947E1@twft.com> <1E3CEFC6-FD9F-46B2-A20F-9859AB42A0B1@twft.com> <4ED41C0E.3010603@hyperactivesw.com> <168317C5-FFD8-4D2B-B4C9-106141F9C4C0@twft.com> <21AD0E22-91D2-460F-BD52-D34040E59976@twft.com> Message-ID: <159286588218.20111128213630@ahsoftware.net> Bob- Monday, November 28, 2011, 4:44:41 PM, you wrote: > Whoa! Yes you can! That means I can debug why the message box > acts that way! to be continued... Ow! My head! You've gotta watch that stuff... you'll start getting recursive and end up in one of Jacque's wormholes. Before you know it you'll go back in time and convince Kevin to take up accounting instead of programming and then RunRev would never happen and you can't debug the message box that way and now look at the mess we're in... -- -Mark Wieder mwieder at ahsoftware.net From Mark_Smith at cpe.umanitoba.ca Tue Nov 29 01:05:51 2011 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Mon, 28 Nov 2011 22:05:51 -0800 (PST) Subject: startup handler In-Reply-To: <4ED46C8C.3060802@hyperactivesw.com> References: <1322533913663-4117800.post@n4.nabble.com> <4ED44A5D.8080000@hyperactivesw.com> <1322540103982-4118026.post@n4.nabble.com> <4ED46C8C.3060802@hyperactivesw.com> Message-ID: <1322546751995-4118166.post@n4.nabble.com> J. Landman Gay wrote > > On 11/28/11 10:15 PM, Mark Smith wrote: > >> Now, before I begin, both the stack in the IDE and tested on the iPhone >> simulator report the encrypted pw as \VUw|1,A so, no difference there. > > I get a difference. > Thank you (once again). Your testing was more thorough. When I said I did not get a difference I meant when I read the value from the custom property (cpassword) on iOS and desktop it was the same ie. was still encrypted. It never occurred to me to test the *new* password that was being generated (duh!!) until I saw your message and put 2 n' 2 together. I also get an un-encrypted montreal on iOS. I'll report it as a problem. I know the big yellow banner at the top of my screen says don't waste space saying thanks. So I won't :-) -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/startup-handler-tp4117800p4118166.html Sent from the Revolution - User mailing list archive at Nabble.com. From lan.kc.macmail at gmail.com Tue Nov 29 01:21:12 2011 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 29 Nov 2011 14:21:12 +0800 Subject: On-Rev mySQL security issues? -- or use an LC stack for the DB? In-Reply-To: <4ED30634.3040604@tkf.att.ne.jp> References: <229BE729-4E06-44B5-8D29-CAB4023D700F@gmail.com> <4ED10B1B.5040207@tkf.att.ne.jp> <4ED30634.3040604@tkf.att.ne.jp> Message-ID: On Mon, Nov 28, 2011 at 11:55 AM, Tim Selander wrote: > > Any thoughts on validation needs for lookups only? And on using a stack or > text file for the data? (Hmmm... how does the LC server handle variables - > limit on size?) > > Tim, again I'm no expert here (on anything, LC, SQL or On-Rev) but I did manage to mangle LC, SQL and On-Rev together which is why I love LC. Just a thought, but it sounds like your data is relatively small, and basically all text. Weekly or monthly additions would only amount to a couple of KB. If you wanted to eliminate security issues have you thought about creating a desktop app and just having it call 'home' for the latest db updates? Assuming that answer to that is, yes, you have thought of it and want to go with a Web interface for all the usual reasons, then I fully agree with Pierre, whilst a desktop app LC and flat text files can perform at the same sort of speed as an SQL database with small data sets, once you move to On-rev the size of those flat files must be much smaller. I think the size of the data you are looking at, an SQL db is the way to go. As for validation, my answer is, it all depends. For security reasons, if you set up the account correctly, with SELECT privileges only, then SQL Injection problems, as mentioned by Bjornke should be minimized. So to me the need for validation would be dependent on the complexity of the queries you are expecting to encounter, or more likely, how simple do you wish to make a complex process. As an example I love the 'DISTINCT' command in SQL combined with Option buttons. In the case you've given, if Mr Suzuki didn't appear in any Radio/TV programs during 1999, then his name wouldn't appear in the Name Option button. If you build the SQL queries by check boxes and Option buttons where you've provided ALL the data, then validation is automatic and there is no possible way for SQL Injection to occur. See Sarah's excellent example of using an Option Buttons on a webpage: http://www.troz.net/onrev/samples/timezones.irev On the other hand, you can end up with Option Buttons with way too many entries, and catering for all the possible queries can be a real headache, which is why I guess most web db searches opt for the text box where you can type in virtually anything. In this case rudimentary validation is probably required, like ensuring letters aren't entered into date fields and numbers aren't entered into name fields - but even then you'll run into trouble, what happens if '50 Cent' or '2Pac' appeared on a show? One option I've tried, that is a little clunky, is to use a text field and to search letter for letter as they are entered and to display the number of records found, but not display the actual records until the number is less than 20 (abitrary). This can be used in combination with Option Buttons for 'Year' and 'Show Name' for instance. For valid users they quickly realise they are on the wrong/right track and enter other data. For nefarious users they can't waste bandwidth or copy all your data by displaying the entire db. The clunkiness I've found is that the first letter always takes a long while for on-rev to respond, after that, the response time is very respectable. Hope that helps. From mazzapaoloitaly at gmail.com Tue Nov 29 06:38:59 2011 From: mazzapaoloitaly at gmail.com (paolo mazza) Date: Tue, 29 Nov 2011 12:38:59 +0100 Subject: mouseDown command and control + option keys Message-ID: Hallo all, I just want to share this peculiar behavior of our beloved LiveCode IDE. >From the IDE, if I click a button pressing the control + option keys, the "mousepp" command does not execute and the script window opens to show the script of the button. However, if I have a "mouseDown" script in the button, and I click the button pressing the control + option keys, first the mouseDown command executes and then the script windows will come up. To me this is a bit strange. Is it supposed to work this way or it is a bug ? All the best Paolo Mazza From dunbarx at aol.com Tue Nov 29 09:15:39 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 29 Nov 2011 09:15:39 -0500 (EST) Subject: mouseDown command and control + option keys In-Reply-To: References: Message-ID: <8CE7CB881201923-2370-3DE28@web-mmc-m09.sysops.aol.com> Paolo. I do not get this behavior on a Mac. The script editor opens without any message, either mouseUp or MouseDown, being sent. Craig Newman -----Original Message----- From: paolo mazza To: How to use LiveCode Sent: Tue, Nov 29, 2011 1:41 am Subject: mouseDown command and control + option keys Hallo all, I just want to share this peculiar behavior of our beloved LiveCode IDE. >From the IDE, if I click a button pressing the control + option keys, the "mousepp" command does not execute and the script window opens to show the script of the button. However, if I have a "mouseDown" script in the button, and I click the button pressing the control + option keys, first the mouseDown command executes and then the script windows will come up. To me this is a bit strange. Is it supposed to work this way or it is a bug ? All the best Paolo Mazza _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Tue Nov 29 11:00:07 2011 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 29 Nov 2011 11:00:07 -0500 Subject: "An Error Has Occurred In Behavior For The Column Template:" Message-ID: Well, this one is odd. I accidentally clicked "Column Behavior" in a datagrid (but didn't modify anything), and the next time there was action in the dg I got the dialog "An error has occurred in behavior for the column template: Chunk: error in object expression" with "Edit Script" and "OK" buttons. If I hit "Edit Script" I am put in the script editor at line 3854 for the button "Data Grid" of group "Object Behaviors" in the revDataGrid library. "If pIndexesToDraw is not empty then" I'm using 5.0.1 dp1. -- 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 Nov 29 11:23:47 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 29 Nov 2011 08:23:47 -0800 Subject: Globals from the message box In-Reply-To: <159286588218.20111128213630@ahsoftware.net> References: <57CB4ADE-1921-42E2-97FB-B05079D947E1@twft.com> <1E3CEFC6-FD9F-46B2-A20F-9859AB42A0B1@twft.com> <4ED41C0E.3010603@hyperactivesw.com> <168317C5-FFD8-4D2B-B4C9-106141F9C4C0@twft.com> <21AD0E22-91D2-460F-BD52-D34040E59976@twft.com> <159286588218.20111128213630@ahsoftware.net> Message-ID: <822D5296-8A59-4C9C-9DAD-D992E0071253@twft.com> I tried that once, but just about the time I had him convinced, Jacque came through the wormhole, tackled me, gave me a noogie and told Kevin I was an alien from another planet with a competing product and to continue his work as planned. How she found that out I will never know! Bob On Nov 28, 2011, at 9:36 PM, Mark Wieder wrote: > Bob- > > Monday, November 28, 2011, 4:44:41 PM, you wrote: > >> Whoa! Yes you can! That means I can debug why the message box >> acts that way! to be continued... > > Ow! My head! You've gotta watch that stuff... you'll start getting > recursive and end up in one of Jacque's wormholes. Before you know it > you'll go back in time and convince Kevin to take up accounting > instead of programming and then RunRev would never happen and you > can't debug the message box that way and now look at the mess we're > in... > > -- > -Mark Wieder > mwieder at ahsoftware.net From bobs at twft.com Tue Nov 29 11:36:52 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 29 Nov 2011 08:36:52 -0800 Subject: startup handler In-Reply-To: <1322546751995-4118166.post@n4.nabble.com> References: <1322533913663-4117800.post@n4.nabble.com> <4ED44A5D.8080000@hyperactivesw.com> <1322540103982-4118026.post@n4.nabble.com> <4ED46C8C.3060802@hyperactivesw.com> <1322546751995-4118166.post@n4.nabble.com> Message-ID: <0C725DE1-354A-4346-8C24-92FAF872BB64@twft.com> Hi Mark. I get the password clear, then unencrypt the stored password and check it against the entered one. After I am done I delete the variables. It's probably not the best way security wise, but it allows me to pick my own encryption method. Someone would have to find a way to stop the app mid execution and do a memory dump to get the password in it's unencrypted state. I use aes128 with a seed value unique to each password record. That seems pretty secure to me. Not sure if the full encryption library is available to the iOS app tho'. Bob On Nov 28, 2011, at 10:05 PM, Mark Smith wrote: > > J. Landman Gay wrote >> >> On 11/28/11 10:15 PM, Mark Smith wrote: >> >>> Now, before I begin, both the stack in the IDE and tested on the iPhone >>> simulator report the encrypted pw as \VUw|1,A so, no difference there. >> >> I get a difference. >> > > Thank you (once again). Your testing was more thorough. When I said I did > not get a difference I meant when I read the value from the custom property > (cpassword) on iOS and desktop it was the same ie. was still encrypted. It > never occurred to me to test the *new* password that was being generated > (duh!!) until I saw your message and put 2 n' 2 together. I also get an > un-encrypted montreal on iOS. > > I'll report it as a problem. > > I know the big yellow banner at the top of my screen says don't waste space > saying thanks. So I won't :-) > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/startup-handler-tp4117800p4118166.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 Tue Nov 29 12:32:54 2011 From: pete at mollysrevenge.com (Pete) Date: Tue, 29 Nov 2011 09:32:54 -0800 Subject: mouseDown command and control + option keys In-Reply-To: <8CE7CB881201923-2370-3DE28@web-mmc-m09.sysops.aol.com> References: <8CE7CB881201923-2370-3DE28@web-mmc-m09.sysops.aol.com> Message-ID: There's a preference setting in the General tab that determines which key combinations open the script editor or not - maybe that's the difference? Pete On Tue, Nov 29, 2011 at 6:15 AM, wrote: > Paolo. > > > I do not get this behavior on a Mac. The script editor opens without any > message, either mouseUp or MouseDown, being sent. > > > Craig Newman > > > > -----Original Message----- > From: paolo mazza > To: How to use LiveCode > Sent: Tue, Nov 29, 2011 1:41 am > Subject: mouseDown command and control + option keys > > > Hallo all, > > I just want to share this peculiar behavior of our beloved LiveCode IDE. > > From the IDE, if I click a button pressing the control + option keys, > the "mousepp" command does not execute and the script window opens to > show the script of the button. > > However, if I have a "mouseDown" script in the button, and I click the > button pressing the control + option keys, first the mouseDown command > executes and then the script windows will come up. > > To me this is a bit strange. Is it supposed to work this way or it is a > bug ? > > All the best > > Paolo Mazza > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 cmsheffield at me.com Tue Nov 29 12:42:45 2011 From: cmsheffield at me.com (Chris Sheffield) Date: Tue, 29 Nov 2011 10:42:45 -0700 Subject: iOS - available disk space Message-ID: Do we have a way to determine available disk space on an iOS device? For example, if I have content to download via an in-app purchase, how can I know if there's enough space available to download and store it? There's a diskSpace() function, but the dictionary doesn't specify that it's supported for iOS. Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com From jacque at hyperactivesw.com Tue Nov 29 12:54:52 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 29 Nov 2011 11:54:52 -0600 Subject: startup handler In-Reply-To: <0C725DE1-354A-4346-8C24-92FAF872BB64@twft.com> References: <1322533913663-4117800.post@n4.nabble.com> <4ED44A5D.8080000@hyperactivesw.com> <1322540103982-4118026.post@n4.nabble.com> <4ED46C8C.3060802@hyperactivesw.com> <1322546751995-4118166.post@n4.nabble.com> <0C725DE1-354A-4346-8C24-92FAF872BB64@twft.com> Message-ID: <4ED51C6C.7080909@hyperactivesw.com> On 11/29/11 10:36 AM, Bob Sneidar wrote: >> I get the password clear, then unencrypt the stored >> password and check it against the entered one. After I am done I >> delete the variables. SSL isn't supported on mobile yet, so this solution won't work there. That's one reason I ranked SSL as a high priority in the recent RR survey. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Nov 29 13:02:23 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 29 Nov 2011 12:02:23 -0600 Subject: mouseDown command and control + option keys In-Reply-To: References: Message-ID: <4ED51E2F.8090308@hyperactivesw.com> On 11/29/11 5:38 AM, paolo mazza wrote: >> From the IDE, if I click a button pressing the control + option keys, > the "mousepp" command does not execute and the script window opens to > show the script of the button. > > However, if I have a "mouseDown" script in the button, and I click the > button pressing the control + option keys, first the mouseDown command > executes and then the script windows will come up. > > To me this is a bit strange. Is it supposed to work this way or it is a bug ? The IDE captures the keystrokes in a frontscript and opens the script editor. To see it work normally you can suspend the development environment for testing. I haven't seen a mouseup when the editor opens, but I haven't actually tested for it either. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Nov 29 13:04:13 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 29 Nov 2011 12:04:13 -0600 Subject: Globals from the message box In-Reply-To: <822D5296-8A59-4C9C-9DAD-D992E0071253@twft.com> References: <57CB4ADE-1921-42E2-97FB-B05079D947E1@twft.com> <1E3CEFC6-FD9F-46B2-A20F-9859AB42A0B1@twft.com> <4ED41C0E.3010603@hyperactivesw.com> <168317C5-FFD8-4D2B-B4C9-106141F9C4C0@twft.com> <21AD0E22-91D2-460F-BD52-D34040E59976@twft.com> <159286588218.20111128213630@ahsoftware.net> <822D5296-8A59-4C9C-9DAD-D992E0071253@twft.com> Message-ID: <4ED51E9D.80203@hyperactivesw.com> On 11/29/11 10:23 AM, Bob Sneidar wrote: > I tried that once, but just about the time I had him convinced, > Jacque came through the wormhole, tackled me, gave me a noogie and > told Kevin I was an alien from another planet with a competing > product and to continue his work as planned. How she found that out I > will never know! Periodically I hide in your sock drawer and spy on you. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Tue Nov 29 13:12:28 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 29 Nov 2011 10:12:28 -0800 Subject: Globals from the message box In-Reply-To: <4ED51E9D.80203@hyperactivesw.com> References: <57CB4ADE-1921-42E2-97FB-B05079D947E1@twft.com> <1E3CEFC6-FD9F-46B2-A20F-9859AB42A0B1@twft.com> <4ED41C0E.3010603@hyperactivesw.com> <168317C5-FFD8-4D2B-B4C9-106141F9C4C0@twft.com> <21AD0E22-91D2-460F-BD52-D34040E59976@twft.com> <159286588218.20111128213630@ahsoftware.net> <822D5296-8A59-4C9C-9DAD-D992E0071253@twft.com> <4ED51E9D.80203@hyperactivesw.com> Message-ID: <189331946546.20111129101228@ahsoftware.net> Jacque- Tuesday, November 29, 2011, 10:04:13 AM, you wrote: > On 11/29/11 10:23 AM, Bob Sneidar wrote: >> I tried that once, but just about the time I had him convinced, >> Jacque came through the wormhole, tackled me, gave me a noogie and >> told Kevin I was an alien from another planet with a competing >> product and to continue his work as planned. How she found that out I >> will never know! > Periodically I hide in your sock drawer and spy on you. Uhoh. Now you've done it. Since Bob said that he "will never know" how you did this, you've ensured that if he ever reads your email he'll get stuck in one of those timewarp loops that prevents him from reading it if he reads it. "I hate those loops", said Tom paradoxically. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Tue Nov 29 13:27:59 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 29 Nov 2011 12:27:59 -0600 Subject: Globals from the message box In-Reply-To: <189331946546.20111129101228@ahsoftware.net> References: <57CB4ADE-1921-42E2-97FB-B05079D947E1@twft.com> <1E3CEFC6-FD9F-46B2-A20F-9859AB42A0B1@twft.com> <4ED41C0E.3010603@hyperactivesw.com> <168317C5-FFD8-4D2B-B4C9-106141F9C4C0@twft.com> <21AD0E22-91D2-460F-BD52-D34040E59976@twft.com> <159286588218.20111128213630@ahsoftware.net> <822D5296-8A59-4C9C-9DAD-D992E0071253@twft.com> <4ED51E9D.80203@hyperactivesw.com> <189331946546.20111129101228@ahsoftware.net> Message-ID: <4ED5242F.7020401@hyperactivesw.com> On 11/29/11 12:12 PM, Mark Wieder wrote: > Jacque- > > Tuesday, November 29, 2011, 10:04:13 AM, you wrote: > >> On 11/29/11 10:23 AM, Bob Sneidar wrote: >>> I tried that once, but just about the time I had him convinced, >>> Jacque came through the wormhole, tackled me, gave me a noogie and >>> told Kevin I was an alien from another planet with a competing >>> product and to continue his work as planned. How she found that out I >>> will never know! > >> Periodically I hide in your sock drawer and spy on you. > > Uhoh. Now you've done it. > Since Bob said that he "will never know" how you did this, you've > ensured that if he ever reads your email he'll get stuck in one of > those timewarp loops that prevents him from reading it if he reads it. > > "I hate those loops", said Tom paradoxically. > True, but that's why it was safe to tell him. "I hate temporal mechanics," said Janeway with perfect timing. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Tue Nov 29 13:51:59 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 29 Nov 2011 10:51:59 -0800 Subject: Globals from the message box In-Reply-To: <4ED51E9D.80203@hyperactivesw.com> References: <57CB4ADE-1921-42E2-97FB-B05079D947E1@twft.com> <1E3CEFC6-FD9F-46B2-A20F-9859AB42A0B1@twft.com> <4ED41C0E.3010603@hyperactivesw.com> <168317C5-FFD8-4D2B-B4C9-106141F9C4C0@twft.com> <21AD0E22-91D2-460F-BD52-D34040E59976@twft.com> <159286588218.20111128213630@ahsoftware.net> <822D5296-8A59-4C9C-9DAD-D992E0071253@twft.com> <4ED51E9D.80203@hyperactivesw.com> Message-ID: <5067CBD5-D191-4EEE-B70E-DBEB659FD19D@twft.com> On Nov 29, 2011, at 10:04 AM, J. Landman Gay wrote: > On 11/29/11 10:23 AM, Bob Sneidar wrote: >> I tried that once, but just about the time I had him convinced, >> Jacque came through the wormhole, tackled me, gave me a noogie and >> told Kevin I was an alien from another planet with a competing >> product and to continue his work as planned. How she found that out I >> will never know! > > Periodically I hide in your sock drawer and spy on you. > erm... so you know about the Casper the Friendly Ghost doll... Bob From capellan2000 at gmail.com Tue Nov 29 13:52:34 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 29 Nov 2011 13:52:34 -0500 Subject: Livecode as a command-line application Message-ID: Hi All, Does anyone have created a simulation of a command-line application using LiveCode? I mean, when you open the application, it shows a command line prompt where you type commands and the results are show inside the same scrolling field. Notice that this is not as trivial as it sounds. Thanks in advance! Al From m.schonewille at economy-x-talk.com Tue Nov 29 13:58:13 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 29 Nov 2011 19:58:13 +0100 Subject: Livecode as a command-line application In-Reply-To: References: Message-ID: <721E191B-1801-4552-825C-514DB6679952@economy-x-talk.com> Hi Al, I made a few of such apps. For example, on app that connects to a database server and sends MySQL commands to the server and displays the result in the scrolling field. Why isn't this trivial? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission! On 29 nov 2011, at 19:52, Alejandro Tejada wrote: > Hi All, > > Does anyone have created a simulation of a command-line application > using LiveCode? > > I mean, when you open the application, it shows a command line prompt > where you type commands and the results are show inside the same > scrolling field. > > Notice that this is not as trivial as it sounds. > > Thanks in advance! > > Al From mwieder at ahsoftware.net Tue Nov 29 14:04:26 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 29 Nov 2011 11:04:26 -0800 Subject: game source available Message-ID: <29335064093.20111129110426@ahsoftware.net> Heads up- I just posted this to the forum, but for the other 99% of us: For the next week Introversion has a special bundle deal going - you can get all their games *with cross-platform source code* if you donate more than the minimum $3.71, apportioned to the charities of your choice. It's not LiveCode source code, but there are lots of gems to pore through and the source code for Subversion is an implementation of procedural city generation. http://boingboing.net/2011/11/29/introversion-releases-source-c.html -- -Mark Wieder mwieder at ahsoftware.net From bobs at twft.com Tue Nov 29 14:15:32 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 29 Nov 2011 11:15:32 -0800 Subject: Livecode as a command-line application In-Reply-To: References: Message-ID: Hmmm... do you mean to have a buffer limit? That is, a certain number of lines in a field where the oldest lines get deleted first? Also, do you mean a shell app or something for livecode commands and functions? If the latter, doesn't the message box do something similar? GLX2 has a clairvoyance feature, and using the up and down keys in the single line message box will cycle through what has been entered in the past. Bob On Nov 29, 2011, at 10:52 AM, Alejandro Tejada wrote: > Hi All, > > Does anyone have created a simulation of a command-line application > using LiveCode? > > I mean, when you open the application, it shows a command line prompt > where you type commands and the results are show inside the same > scrolling field. > > Notice that this is not as trivial as it sounds. > > Thanks in advance! > > Al > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Tue Nov 29 14:36:04 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 29 Nov 2011 12:36:04 -0700 Subject: Livecode as a command-line application In-Reply-To: References: Message-ID: I have an extremely simple stack(read, not complete but might be a starting point) that does this very thing. I use 2 separate fields though, 1 for commands other for output but it works well enough. Stack can be found at http://dl.dropbox.com/u/11957935/simpleInteractiveShell.livecode This is windows based, but should only require changing "cmd" to "/bin/bash" as the name of the process for linux. Think mac has bash in a similar location. Most everything is in the card script. No buffer management (as bob mentioned, it would be necessary to handle the number of lines in the output field) No history, though that also wouldn't be too difficult to add. From capellan2000 at gmail.com Tue Nov 29 15:31:44 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 29 Nov 2011 12:31:44 -0800 (PST) Subject: Livecode as a command-line application In-Reply-To: References: Message-ID: <1322598704868-4120688.post@n4.nabble.com> Hi Mike, Mike Bonner wrote > > I have an extremely simple stack(read, not complete but might be a > starting > point) that does this very thing. I use 2 separate fields though, 1 for > commands other for output but it works well enough. > > Stack can be found at > http://dl.dropbox.com/u/11957935/simpleInteractiveShell.livecode > > [snip] > Extraordinary! This is an excellent starting point. :-) Many, many thanks! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Livecode-as-a-command-line-application-tp4120313p4120688.html Sent from the Revolution - User mailing list archive at Nabble.com. From m.schonewille at economy-x-talk.com Tue Nov 29 15:38:59 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 29 Nov 2011 21:38:59 +0100 Subject: Livecode as a command-line application In-Reply-To: <1322598704868-4120688.post@n4.nabble.com> References: <1322598704868-4120688.post@n4.nabble.com> Message-ID: <100CC808-72FE-4ADF-975E-E19E437DF7EF@economy-x-talk.com> Alejandro, Apparently you are not looking for a command line app but for a terminal-like GUI. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission! On 29 nov 2011, at 21:31, Alejandro Tejada wrote: > Hi Mike, > > Extraordinary! This is an excellent starting point. :-) > Many, many thanks! > > Al From francois.chaplais at mines-paristech.fr Tue Nov 29 15:50:26 2011 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Tue, 29 Nov 2011 21:50:26 +0100 Subject: Livecode as a command-line application In-Reply-To: <100CC808-72FE-4ADF-975E-E19E437DF7EF@economy-x-talk.com> References: <1322598704868-4120688.post@n4.nabble.com> <100CC808-72FE-4ADF-975E-E19E437DF7EF@economy-x-talk.com> Message-ID: Those who have suffered on a VT100 will understand the difference ;) Le 29 nov. 2011 ? 21:38, Mark Schonewille a ?crit : > Alejandro, > > Apparently you are not looking for a command line app but for a terminal-like GUI. > > -- > Best regards, > > Mark Schonewille From capellan2000 at gmail.com Tue Nov 29 16:11:30 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 29 Nov 2011 13:11:30 -0800 (PST) Subject: Livecode as a command-line application In-Reply-To: <100CC808-72FE-4ADF-975E-E19E437DF7EF@economy-x-talk.com> References: <1322598704868-4120688.post@n4.nabble.com> <100CC808-72FE-4ADF-975E-E19E437DF7EF@economy-x-talk.com> Message-ID: <1322601090312-4120793.post@n4.nabble.com> Hi Mark, Mark Schonewille-3 wrote > > Alejandro, > Apparently you are not looking for a command line app but for a > terminal-like GUI. > Probably this was exactly the kind of application that I was thinking, when I ask for a simulation of a command-line application using LiveCode. :-) Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Livecode-as-a-command-line-application-tp4120313p4120793.html Sent from the Revolution - User mailing list archive at Nabble.com. From bobs at twft.com Tue Nov 29 18:24:23 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 29 Nov 2011 15:24:23 -0800 Subject: answer dialogs as sheet in modal stack Message-ID: I vaguely remember this being addressed before, but I have a password stack that I go to as modal, and when I try to use answer as sheet, the sheet pops on the stack underneath the modal one, and I cannot interact with the answer dialog. I have to close the modal window first, then I can interact with the answer dialog. Is that how it's supposed to work? I would look it up on the archives but they do not seem to be searchable anymore. I am sure I missed something somewhere. Bob From MikeKerner at roadrunner.com Tue Nov 29 18:43:52 2011 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 29 Nov 2011 18:43:52 -0500 Subject: clipboard issue in Windows? Message-ID: Win 7, LC 5.0.2 dp1 So I have a field "total", and I want to copy the contents (a number) to the clipboard for inclusion in a spreadsheet - but it doesn't seem to happen. copy char 1 to -1 of field "total" -- doesn't seem to do anything. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From matthias_livecode_150811 at m-r-d.de Tue Nov 29 18:49:37 2011 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 30 Nov 2011 00:49:37 +0100 Subject: Some questions about revBrowser In-Reply-To: <0205D3C4-32A0-4213-BFB0-200C2127313B@unimelb.edu.au> References: <28615656-7925-45E7-B3E4-AE05DD2372F6@m-r-d.de> <8346CBE8-8C27-4A87-A6EC-630EA33B8044@m-r-d.de> <0205D3C4-32A0-4213-BFB0-200C2127313B@unimelb.edu.au> Message-ID: Thanks. Unfortunately i need that on Mac. I added a comment to bug #9753 at the quality center. I hope, that bug will be fixed with final release 5.0.2, as this is really a blocker for me right now. Matthias Am 29.11.2011 um 00:45 schrieb Terry Judd: > > On 29/11/2011, at 09:59 AM, Matthias Rebbe wrote: > > Hi, > > and thanks to both of you. Had again a little spare time to investigate revbrowser a little bit more. > > A new problem now is: I use revbrowser to open a specific page. This page contains javascript. > There are buttons on that page which use the javascript window.open function to open a new browser window. > > I already set newwindow to true with revbrowserset .But what message do i have to trap. > > It's the browserNewURLWindow message. > > It seems i got stucked again. > > Unfortunately If you're on a Mac then you will stay stuck as the message is broken - it fails to pass the requested URL. However, it should work fine on Windows. > > Terry... > > > Regards, > > Matthias > > Dr Terry Judd > Senior Lecturer in Medical Education > Medical Eduction Unit > Faculty of Medicine, Dentistry & Health Sciences > The University of Melbourne > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Tue Nov 29 19:05:17 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 29 Nov 2011 16:05:17 -0800 Subject: clipboard issue in Windows? In-Reply-To: References: Message-ID: <569A1AE8-51D6-4874-A8F4-A6635731C570@twft.com> use set the clipboardData instead Bob On Nov 29, 2011, at 3:43 PM, Mike Kerner wrote: > Win 7, > LC 5.0.2 dp1 > So I have a field "total", and I want to copy the contents (a number) to > the clipboard for inclusion in a spreadsheet - but it doesn't seem to > happen. > > copy char 1 to -1 of field "total" -- doesn't seem to do anything. > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gspearson at gmail.com Tue Nov 29 19:42:12 2011 From: gspearson at gmail.com (Graham Pearson) Date: Tue, 29 Nov 2011 19:42:12 -0500 Subject: Converting 4.5 stacks to 5.0 Message-ID: <4ED57BE4.3000701@gmail.com> I am trying to convert a runrev 4.5 stack to livecode 5.0 stack which is producing an issue for me. In my stack I have the line set the bottom right of me to tScreenResultionW, tScreenResolutionR The values of tScreenResolutionW is 728 and tScreenResolutionH is 1366 What I am trying to do is set the card to the bottom of the screen right above the start bar on windows which will float above everything. When I run the stack I get an error that says stack "We Are Closed Today Desktop": execution error at line n/a (Chunk: error in object expression) near "1274", char 1 Any ideas From m.schonewille at economy-x-talk.com Tue Nov 29 19:49:33 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 30 Nov 2011 01:49:33 +0100 Subject: Converting 4.5 stacks to 5.0 In-Reply-To: <4ED57BE4.3000701@gmail.com> References: <4ED57BE4.3000701@gmail.com> Message-ID: Graham, In the code you posted, you have a space too many: set the bottomRight of me to tScreenResultionW, tScreenResolutionR -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission! On 30 nov 2011, at 01:42, Graham Pearson wrote: > I am trying to convert a runrev 4.5 stack to livecode 5.0 stack which is producing an issue for me. > > In my stack I have the line > > set the bottom right of me to tScreenResultionW, tScreenResolutionR > > The values of tScreenResolutionW is 728 and tScreenResolutionH is 1366 > > What I am trying to do is set the card to the bottom of the screen right above the start bar on windows which will float above everything. > > > When I run the stack I get an error that says > > stack "We Are Closed Today Desktop": execution error at line n/a (Chunk: error in object expression) near "1274", char 1 > > > Any ideas > > From bonnmike at gmail.com Tue Nov 29 19:49:44 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 29 Nov 2011 17:49:44 -0700 Subject: Converting 4.5 stacks to 5.0 In-Reply-To: <4ED57BE4.3000701@gmail.com> References: <4ED57BE4.3000701@gmail.com> Message-ID: Don't know if this applies or if its just a typo in the email, but bottom right is one word bottomright. When I seperate the words I get the same error, so thats most likely it. On Tue, Nov 29, 2011 at 5:42 PM, Graham Pearson wrote: > I am trying to convert a runrev 4.5 stack to livecode 5.0 stack which is > producing an issue for me. > > In my stack I have the line > > set the bottom right of me to tScreenResultionW, tScreenResolutionR > > The values of tScreenResolutionW is 728 and tScreenResolutionH is 1366 > > What I am trying to do is set the card to the bottom of the screen right > above the start bar on windows which will float above everything. > > > When I run the stack I get an error that says > > stack "We Are Closed Today Desktop": execution error at line n/a (Chunk: > error in object expression) near "1274", char 1 > > > 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 Mark_Smith at cpe.umanitoba.ca Tue Nov 29 20:31:53 2011 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Tue, 29 Nov 2011 17:31:53 -0800 (PST) Subject: window decorations? Message-ID: <1322616713638-4121455.post@n4.nabble.com> Not sure if that is the right term, but I think so. Does anyone know how to enable, disable the window "resize" decoration in the lower right corner of the window? Thanks -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/window-decorations-tp4121455p4121455.html Sent from the Revolution - User mailing list archive at Nabble.com. From bonnmike at gmail.com Tue Nov 29 20:35:52 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 29 Nov 2011 18:35:52 -0700 Subject: window decorations? In-Reply-To: <1322616713638-4121455.post@n4.nabble.com> References: <1322616713638-4121455.post@n4.nabble.com> Message-ID: easiest way is to set the resizable of stack "stackname" to false Don't think that control is one of the options for setting decorations, though I think if you set decorations to none it goes away too. Not positive about that though. On Tue, Nov 29, 2011 at 6:31 PM, Mark Smith wrote: > Not sure if that is the right term, but I think so. Does anyone know how to > enable, disable the window "resize" decoration in the lower right corner of > the window? > > Thanks > > -- Mark > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/window-decorations-tp4121455p4121455.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 iowahengst at mac.com Tue Nov 29 21:06:05 2011 From: iowahengst at mac.com (Randy Hengst) Date: Tue, 29 Nov 2011 20:06:05 -0600 Subject: window decorations? In-Reply-To: <1322616713638-4121455.post@n4.nabble.com> References: <1322616713638-4121455.post@n4.nabble.com> Message-ID: Hi Mark, There's a check box on the size & position inspector for the stack?. or set the resizable of this stack to false be well, randy hengst ----- On Nov 29, 2011, at 7:31 PM, Mark Smith wrote: > Not sure if that is the right term, but I think so. Does anyone know how to > enable, disable the window "resize" decoration in the lower right corner of > the window? > > Thanks > > -- Mark > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/window-decorations-tp4121455p4121455.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 roger.e.eller at sealedair.com Tue Nov 29 21:07:04 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 29 Nov 2011 21:07:04 -0500 Subject: window decorations? In-Reply-To: References: <1322616713638-4121455.post@n4.nabble.com> Message-ID: On Tue, Nov 29, 2011 at 8:35 PM, Mike Bonner wrote: > easiest way is to > set the resizable of stack "stackname" to false > > Don't think that control is one of the options for setting decorations, > though I think if you set decorations to none it goes away too. Not > positive about that though. Just a side note about resize controls. With the introduction of OS X 10.7 Lion, standard resizing controls exist on all 4 sides and all 4 corners of a window. This is exactly how it has worked in Windows and Linux for ages. Anyway, my point is that even in LC 5.0.1 the resizing of stacks in Lion is not taking advantage of this new UI enhancement in Lion. ?Roger From pete at mollysrevenge.com Tue Nov 29 21:32:54 2011 From: pete at mollysrevenge.com (Pete) Date: Tue, 29 Nov 2011 18:32:54 -0800 Subject: window decorations? In-Reply-To: References: <1322616713638-4121455.post@n4.nabble.com> Message-ID: Yep, it does go away if you set the decorations to none. On Tue, Nov 29, 2011 at 5:35 PM, Mike Bonner wrote: > easiest way is to > set the resizable of stack "stackname" to false > > Don't think that control is one of the options for setting decorations, > though I think if you set decorations to none it goes away too. Not > positive about that though. > > On Tue, Nov 29, 2011 at 6:31 PM, Mark Smith >wrote: > > > Not sure if that is the right term, but I think so. Does anyone know how > to > > enable, disable the window "resize" decoration in the lower right corner > of > > the window? > > > > Thanks > > > > -- Mark > > > > > > -- > > View this message in context: > > > http://runtime-revolution.278305.n4.nabble.com/window-decorations-tp4121455p4121455.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 > > -- Pete Molly's Revenge From m.schonewille at economy-x-talk.com Tue Nov 29 21:46:28 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 30 Nov 2011 03:46:28 +0100 Subject: ANN: ExtFreeDiskSpace 1.0 Message-ID: <3651EE76-5AB9-4945-A3F2-6877644C4D30@economy-x-talk.com> Hi everyone, Seeing requests for a disk space function on this list a few times, I decided to write an external. ExtFreeDiskSpace is a LiveCode external for iOS, which reads the total and free disk space and returns these values as integers measured in kilobytes. You could this this for example: fuction freeDiskSpace24 put 1000^2 into mySq1024 set the numberFormat to "#.00" put extFreeDiskSpace()/mySq1024 into myGBs return myGBs && "GB" end freeDiskSpace24 You can download the external at http://qery.us/1di . Please let me know if you encounter any problems with this external. To access this download, you need to make a donation first (if you haven't done so yet). -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission! From m.schonewille at economy-x-talk.com Tue Nov 29 21:47:57 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 30 Nov 2011 03:47:57 +0100 Subject: iOS - available disk space In-Reply-To: References: Message-ID: Hi Chris, The diskSpace function returns 0 on iOS devices. This http://qery.us/1di external tells you how much free disk space you have left. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission! On 29 nov 2011, at 18:42, Chris Sheffield wrote: > Do we have a way to determine available disk space on an iOS device? For example, if I have content to download via an in-app purchase, how can I know if there's enough space available to download and store it? There's a diskSpace() function, but the dictionary doesn't specify that it's supported for iOS. > > Thanks, > Chris > > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com From todd at geistinteractive.com Tue Nov 29 21:49:33 2011 From: todd at geistinteractive.com (Todd Geist) Date: Tue, 29 Nov 2011 18:49:33 -0800 Subject: open property inspector of an object in a script Message-ID: Hello, How do you open the property inspector of an object in a script. I can open the script editor with edit the script of ObjectRef How do I do the same for the Properties Palette? Thanks Todd -- Todd Geist (805) 419-9382 From kray at sonsothunder.com Tue Nov 29 21:52:40 2011 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 29 Nov 2011 20:52:40 -0600 Subject: window decorations? In-Reply-To: References: <1322616713638-4121455.post@n4.nabble.com> Message-ID: On Nov 29, 2011, at 8:07 PM, Roger Eller wrote: > On Tue, Nov 29, 2011 at 8:35 PM, Mike Bonner wrote: > >> easiest way is to >> set the resizable of stack "stackname" to false >> >> Don't think that control is one of the options for setting decorations, >> though I think if you set decorations to none it goes away too. Not >> positive about that though. > > > Just a side note about resize controls. With the introduction of OS X 10.7 > Lion, standard resizing controls exist on all 4 sides and all 4 corners of > a window. This is exactly how it has worked in Windows and Linux for ages. > Anyway, my point is that even in LC 5.0.1 the resizing of stacks in Lion is > not taking advantage of this new UI enhancement in Lion. True, and it is unlikely to happen until they move LC to Cocoa (which will give us the proper tab control colors along with a variety of other native Mac stuff). Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From tsj at unimelb.edu.au Tue Nov 29 21:52:59 2011 From: tsj at unimelb.edu.au (Terry Judd) Date: Wed, 30 Nov 2011 02:52:59 +0000 Subject: Some questions about revBrowser In-Reply-To: References: <28615656-7925-45E7-B3E4-AE05DD2372F6@m-r-d.de> <8346CBE8-8C27-4A87-A6EC-630EA33B8044@m-r-d.de> <0205D3C4-32A0-4213-BFB0-200C2127313B@unimelb.edu.au> Message-ID: On 30/11/2011, at 10:49 AM, Matthias Rebbe wrote: Thanks. Unfortunately i need that on Mac. I added a comment to bug #9753 at the quality center. I hope, that bug will be fixed with final release 5.0.2, as this is really a blocker for me right now. Yep - me too! Terry... Matthias _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From kray at sonsothunder.com Tue Nov 29 22:02:20 2011 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 29 Nov 2011 21:02:20 -0600 Subject: open property inspector of an object in a script In-Reply-To: References: Message-ID: On Nov 29, 2011, at 8:49 PM, Todd Geist wrote: > Hello, > > How do you open the property inspector of an object in a script. I can > open the script editor with > > edit the script of ObjectRef > > > How do I do the same for the Properties Palette? First you select an object (interestingly, you can 'select' cards and stacks, too!) and then execute: send "revBuildPropertyPalette" to stack "revTemplatePalette" So here's an example of showing the Property Inspector for card 1 of the stack "MyStack" on mouseUp select card 1 of stack "MyStack" send "revBuildPropertyPalette" to stack "revTemplatePalette" end mouseUp Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From jacque at hyperactivesw.com Tue Nov 29 22:20:26 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 29 Nov 2011 21:20:26 -0600 Subject: clipboard issue in Windows? In-Reply-To: References: Message-ID: <4ED5A0FA.6080606@hyperactivesw.com> On 11/29/11 5:43 PM, Mike Kerner wrote: > copy char 1 to -1 of field "total" -- doesn't seem to do anything. > If you do it that way, you need to select the text first, just as if you were doing it manually: select char 1 to -1 of fld "total" copy But as was already mentioned, setting the clipboardData is much cleaner. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From todd at geistinteractive.com Tue Nov 29 23:36:16 2011 From: todd at geistinteractive.com (Todd Geist) Date: Tue, 29 Nov 2011 20:36:16 -0800 Subject: open property inspector of an object in a script In-Reply-To: References: Message-ID: Thanks Ken! On Tue, Nov 29, 2011 at 7:02 PM, Ken Ray wrote: > > On Nov 29, 2011, at 8:49 PM, Todd Geist wrote: > > > Hello, > > > > How do you open the property inspector of an object in a script. I can > > open the script editor with > > > > edit the script of ObjectRef > > > > > > How do I do the same for the Properties Palette? > > First you select an object (interestingly, you can 'select' cards and > stacks, too!) and then execute: > > send "revBuildPropertyPalette" to stack "revTemplatePalette" > > So here's an example of showing the Property Inspector for card 1 of the > stack "MyStack" > > on mouseUp > select card 1 of stack "MyStack" > send "revBuildPropertyPalette" to stack "revTemplatePalette" > end mouseUp > > > 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 > -- Todd Geist (805) 419-9382 From pete at mollysrevenge.com Wed Nov 30 02:00:46 2011 From: pete at mollysrevenge.com (Pete) Date: Tue, 29 Nov 2011 23:00:46 -0800 Subject: clipboard issue in Windows? In-Reply-To: <4ED5A0FA.6080606@hyperactivesw.com> References: <4ED5A0FA.6080606@hyperactivesw.com> Message-ID: I can see where the confusion comes from on this. The dictionary claims you can copy a chunk of a control to the clipboard, even has an example - copy word -3 to -1 of field "Help". Maybe it used to work as documented in the dictionary and somehow got changed over the years? On Tue, Nov 29, 2011 at 7:20 PM, J. Landman Gay wrote: > On 11/29/11 5:43 PM, Mike Kerner wrote: > > copy char 1 to -1 of field "total" -- doesn't seem to do anything. >> >> > If you do it that way, you need to select the text first, just as if you > were doing it manually: > > select char 1 to -1 of fld "total" > copy > > But as was already mentioned, setting the clipboardData is much cleaner. > > -- > 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 rene.micout at numericable.com Wed Nov 30 03:35:11 2011 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Wed, 30 Nov 2011 09:35:11 +0100 Subject: Converting 4.5 stacks to 5.0 In-Reply-To: References: <4ED57BE4.3000701@gmail.com> Message-ID: <4A2A0D89-3F34-402B-991A-B02318D53E41@numericable.com> And... Why... "tScreenResultionW" and not "tScreenResolutionW" > tScreenReSULtionW ! Ren? Le 30 nov. 2011 ? 01:49, Mark Schonewille a ?crit : > Graham, > > In the code you posted, you have a space too many: > > set the bottomRight of me to tScreenResultionW, tScreenResolutionR > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission! > > On 30 nov 2011, at 01:42, Graham Pearson wrote: > >> I am trying to convert a runrev 4.5 stack to livecode 5.0 stack which is producing an issue for me. >> >> In my stack I have the line >> >> set the bottom right of me to tScreenResultionW, tScreenResolutionR >> >> The values of tScreenResolutionW is 728 and tScreenResolutionH is 1366 >> >> What I am trying to do is set the card to the bottom of the screen right above the start bar on windows which will float above everything. >> >> >> When I run the stack I get an error that says >> >> stack "We Are Closed Today Desktop": execution error at line n/a (Chunk: error in object expression) near "1274", char 1 >> >> >> 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 rene.micout at numericable.com Wed Nov 30 03:40:04 2011 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Wed, 30 Nov 2011 09:40:04 +0100 Subject: open property inspector of an object in a script In-Reply-To: References: Message-ID: <3014DBC4-B776-4A3B-903B-520805F0CE1A@numericable.com> Merci Ken ! Le 30 nov. 2011 ? 05:36, Todd Geist a ?crit : > Thanks Ken! > > On Tue, Nov 29, 2011 at 7:02 PM, Ken Ray wrote: > >> >> On Nov 29, 2011, at 8:49 PM, Todd Geist wrote: >> >>> Hello, >>> >>> How do you open the property inspector of an object in a script. I can >>> open the script editor with >>> >>> edit the script of ObjectRef >>> >>> >>> How do I do the same for the Properties Palette? >> >> First you select an object (interestingly, you can 'select' cards and >> stacks, too!) and then execute: >> >> send "revBuildPropertyPalette" to stack "revTemplatePalette" >> >> So here's an example of showing the Property Inspector for card 1 of the >> stack "MyStack" >> >> on mouseUp >> select card 1 of stack "MyStack" >> send "revBuildPropertyPalette" to stack "revTemplatePalette" >> end mouseUp >> >> >> 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 >> > > > > -- > Todd Geist > > > (805) 419-9382 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mike at doub.com Wed Nov 30 06:15:28 2011 From: mike at doub.com (Michael Doub) Date: Wed, 30 Nov 2011 06:15:28 -0500 Subject: Datagrid Row Selection Message-ID: What is the proper way to detect a row selection on a datagrid on IOS when a scroller is being used? I currently am using the scroller script from the DGH and the following handler in the data grid behaviour script: on Mouseup pMouseBtnNum if pMouseBtnNum is 1 then put the dgClickIndex of me into tIndex get the dgVScroll of group "Contacts" set the pVScroll of this card to it get GetDataofIndex(tIndex,"RecID") set the pRecID of Card "Action" to it go to card "Action" end if end Mouseup This seems to work reliably on the mac, but in the simulator and on the device I get the proper scrolling and selection behaviour but with a occasional data grid failure where the grid seems frozen with only a few of the rows redrawn. This happens when scrolling. I suspect there is an interaction with the selection logic as when this handler is removed scrolling works as expected. -= Mike From bonnmike at gmail.com Wed Nov 30 06:40:18 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 30 Nov 2011 04:40:18 -0700 Subject: clipboard issue in Windows? In-Reply-To: References: <4ED5A0FA.6080606@hyperactivesw.com> Message-ID: copy char 1 to -1 of field "fieldname" -- works fine for me, win 7. Set up a stack with 2 fields, 2 buttons, one copies the other pastes. http://dl.dropbox.com/u/11957935/copyPaste.livecode When you say it doesn't seem to do anything, what do you mean? If you have an insertion point, and paste nothing shows up? The command itself should have an empty result, and "it" should also contain nothing. However, if you issue the command from the message box, you should get a "true" response to see that it worked. As mentioned before, sometimes its easier to just set and/or get the clipboarddata directly. Oh, you can also "put the clipboard" and it will tell you what kinds of data it contains if any. On Wed, Nov 30, 2011 at 12:00 AM, Pete wrote: > I can see where the confusion comes from on this. The dictionary claims > you can copy a chunk of a control to the clipboard, even has an example - > copy word -3 to -1 of field "Help". > > Maybe it used to work as documented in the dictionary and somehow got > changed over the years? > > On Tue, Nov 29, 2011 at 7:20 PM, J. Landman Gay >wrote: > > > On 11/29/11 5:43 PM, Mike Kerner wrote: > > > > copy char 1 to -1 of field "total" -- doesn't seem to do anything. > >> > >> > > If you do it that way, you need to select the text first, just as if you > > were doing it manually: > > > > select char 1 to -1 of fld "total" > > copy > > > > But as was already mentioned, setting the clipboardData is much cleaner. > > > > -- > > Jacqueline Landman Gay | jacque at hyperactivesw.com > > HyperActive Software | http://www.hyperactivesw.com > > > > ______________________________**_________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/**mailman/listinfo/use-livecode< > http://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 admin at FlexibleLearning.com Wed Nov 30 07:43:22 2011 From: admin at FlexibleLearning.com (FlexibleLearning) Date: Wed, 30 Nov 2011 12:43:22 -0000 Subject: Ask dialogs with unicode prompts In-Reply-To: Message-ID: The docs say that the ability to provide formatted text for the 'Ask' and 'Answer' dialog prompts was introduced in version 2.0. I am presenting an html string for use in both dialogs like this by way of example... ask "

Please try again!

" - This does not display as expected ask password "

Please try again!

" - This does not display as expected answer "

Please try again!

" - This displays as expected So the 'ask' is broken and looks like it has never worked correctly (going back to v2.3, the earliest I have). Also in need of 'repair' are the 'ask file' and 'ask folder' dialogs. Does anyone apply unicode like this? How do you cope? Do you create your own dialogs? Hugh Senior FLCo From MikeKerner at roadrunner.com Wed Nov 30 08:31:17 2011 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 30 Nov 2011 08:31:17 -0500 Subject: clipboard issue in Windows? In-Reply-To: References: <4ED5A0FA.6080606@hyperactivesw.com> Message-ID: Thanks Bob and Jacque - I think I'm going to submit a comment in the documentation for future reference... On Wed, Nov 30, 2011 at 06:40, Mike Bonner wrote: > copy char 1 to -1 of field "fieldname" -- works fine for me, win 7. > > Set up a stack with 2 fields, 2 buttons, one copies the other pastes. > http://dl.dropbox.com/u/11957935/copyPaste.livecode > > When you say it doesn't seem to do anything, what do you mean? If you have > an insertion point, and paste nothing shows up? The command itself should > have an empty result, and "it" should also contain nothing. However, if > you issue the command from the message box, you should get a "true" > response to see that it worked. > > As mentioned before, sometimes its easier to just set and/or get the > clipboarddata directly. > > Oh, you can also "put the clipboard" and it will tell you what kinds of > data it contains if any. > > On Wed, Nov 30, 2011 at 12:00 AM, Pete wrote: > > > I can see where the confusion comes from on this. The dictionary claims > > you can copy a chunk of a control to the clipboard, even has an example > - > > copy word -3 to -1 of field "Help". > > > > Maybe it used to work as documented in the dictionary and somehow got > > changed over the years? > > > > On Tue, Nov 29, 2011 at 7:20 PM, J. Landman Gay < > jacque at hyperactivesw.com > > >wrote: > > > > > On 11/29/11 5:43 PM, Mike Kerner wrote: > > > > > > copy char 1 to -1 of field "total" -- doesn't seem to do anything. > > >> > > >> > > > If you do it that way, you need to select the text first, just as if > you > > > were doing it manually: > > > > > > select char 1 to -1 of fld "total" > > > copy > > > > > > But as was already mentioned, setting the clipboardData is much > cleaner. > > > > > > -- > > > Jacqueline Landman Gay | jacque at hyperactivesw.com > > > HyperActive Software | http://www.hyperactivesw.com > > > > > > ______________________________**_________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/**mailman/listinfo/use-livecode< > > http://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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From cszasz at mac.com Wed Nov 30 09:05:18 2011 From: cszasz at mac.com (Charles Szasz) Date: Wed, 30 Nov 2011 09:05:18 -0500 Subject: Print only substack Message-ID: I have main stack and I am using for the first time a print substack with one card. I found that when I call to either a card or print the stack I get a message that the card or stack has to be open. I tried open card and go stack commands which works but it shows the print card/print stack. How can I print from a print stack without showing the card of the print stack? Charles Szasz cszasz at mac.com From admin at FlexibleLearning.com Wed Nov 30 10:05:46 2011 From: admin at FlexibleLearning.com (FlexibleLearning) Date: Wed, 30 Nov 2011 15:05:46 -0000 Subject: Ask dialogs with unicode prompts In-Reply-To: Message-ID: Pls ignore this. I was not in the LC IDE which *does* display formatted text in the 'Ask' dialog. Slap wrist. Hugh Senior FLCo Original msg: The docs say that the ability to provide formatted text for the 'Ask' and 'Answer' dialog prompts was introduced in version 2.0. I am presenting an html string for use in both dialogs like this by way of example... ask "

Please try again!

" - This does not display as expected ask password "

Please try again!

" - This does not display as expected answer "

Please try again!

" - This displays as expected So the 'ask' is broken and looks like it has never worked correctly (going back to v2.3, the earliest I have). Also in need of 'repair' are the 'ask file' and 'ask folder' dialogs. Does anyone apply unicode like this? How do you cope? Do you create your own dialogs? From pmbrig at gmail.com Wed Nov 30 10:19:37 2011 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Wed, 30 Nov 2011 10:19:37 -0500 Subject: Print only substack In-Reply-To: References: Message-ID: <35297C24-6009-4170-9F4F-2CCF229C9BE7@gmail.com> go invisible stack "printStack" then print -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Nov 30, 2011, at 9:05 AM, Charles Szasz wrote: > I have main stack and I am using for the first time a print substack with one card. I found that when I call to either a card or print the stack I get a message that the card or stack has to be open. I tried open card and go stack commands which works but it shows the print card/print stack. How can I print from a print stack without showing the card of the print stack? > > Charles Szasz > cszasz at mac.com > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Wed Nov 30 11:35:49 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 30 Nov 2011 08:35:49 -0800 Subject: open property inspector of an object in a script In-Reply-To: References: Message-ID: <2C83B527-969F-4E93-9003-13C03D861FD1@twft.com> Jeeze Ken is there anything you don't know? About Livecode I mean? Bob On Nov 29, 2011, at 7:02 PM, Ken Ray wrote: > > On Nov 29, 2011, at 8:49 PM, Todd Geist wrote: > >> Hello, >> >> How do you open the property inspector of an object in a script. I can >> open the script editor with >> >> edit the script of ObjectRef >> >> >> How do I do the same for the Properties Palette? > > First you select an object (interestingly, you can 'select' cards and stacks, too!) and then execute: > > send "revBuildPropertyPalette" to stack "revTemplatePalette" > > So here's an example of showing the Property Inspector for card 1 of the stack "MyStack" > > on mouseUp > select card 1 of stack "MyStack" > send "revBuildPropertyPalette" to stack "revTemplatePalette" > end mouseUp > > > 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 tf_lc at nyms.net Wed Nov 30 16:47:39 2011 From: tf_lc at nyms.net (tf_lc at nyms.net) Date: Wed, 30 Nov 2011 13:47:39 -0800 (PST) Subject: Resource for finding LiveCode Developers ? Message-ID: <20111130214739.3489794B9F@nyms2.anonymizer.com> All, Where is the best place to find LiveCode developers for a off-site contract project ? My Google-fu is failing me. Is there a site that exists currently where someone can see a list of developers that are available for hire ? A search on elance.com, odesk.com, careers.stackoverflow.com, and the runrev forums came up dry. Any suggestions would be helpful. (ps. if you are a developer, feel free to send me an email off-list) -tf From m.schonewille at economy-x-talk.com Wed Nov 30 12:00:38 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 30 Nov 2011 18:00:38 +0100 Subject: Resource for finding LiveCode Developers ? In-Reply-To: <20111130214739.3489794B9F@nyms2.anonymizer.com> References: <20111130214739.3489794B9F@nyms2.anonymizer.com> Message-ID: <9BFD7399-B6BC-4076-8811-83FB544581F0@economy-x-talk.com> Hi, You probably just did exactly what you should do when you are looking for a LiveCode developer :-) -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission! On 30 nov 2011, at 22:47, tf_lc at nyms.net wrote: > All, > > Where is the best place to find LiveCode developers for a off-site contract project ? My Google-fu is failing me. Is there a site that exists currently where someone can see a list of developers that are available for hire ? A search on elance.com, odesk.com, careers.stackoverflow.com, and the runrev forums came up dry. Any suggestions would be helpful. > > (ps. if you are a developer, feel free to send me an email off-list) > > -tf From andre at andregarzia.com Wed Nov 30 12:13:50 2011 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 30 Nov 2011 15:13:50 -0200 Subject: ANN: ExtFreeDiskSpace 1.0 In-Reply-To: <3651EE76-5AB9-4945-A3F2-6877644C4D30@economy-x-talk.com> References: <3651EE76-5AB9-4945-A3F2-6877644C4D30@economy-x-talk.com> Message-ID: Mark, Congratulation on the external! The more, the merrier! On Wed, Nov 30, 2011 at 12:46 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi everyone, > > Seeing requests for a disk space function on this list a few times, I > decided to write an external. ExtFreeDiskSpace is a LiveCode external for > iOS, which reads the total and free disk space and returns these values as > integers measured in kilobytes. > > You could this this for example: > > fuction freeDiskSpace24 > put 1000^2 into mySq1024 > set the numberFormat to "#.00" > put extFreeDiskSpace()/mySq1024 into myGBs > return myGBs && "GB" > end freeDiskSpace24 > > You can download the external at http://qery.us/1di . Please let me know > if you encounter any problems with this external. > > To access this download, you need to make a donation first (if you haven't > done so yet). > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Become our partner in sales http://qery.us/1bq Start selling Color > Converter today. 20% commission! > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From bobs at twft.com Wed Nov 30 12:30:56 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 30 Nov 2011 09:30:56 -0800 Subject: ANN: ExtFreeDiskSpace 1.0 In-Reply-To: References: <3651EE76-5AB9-4945-A3F2-6877644C4D30@economy-x-talk.com> Message-ID: <6DF51FD8-455F-46C2-B2F8-57165C09FB6E@twft.com> Nice job. Bob On Nov 30, 2011, at 9:13 AM, Andre Garzia wrote: > Mark, > > Congratulation on the external! The more, the merrier! > > On Wed, Nov 30, 2011 at 12:46 AM, Mark Schonewille < > m.schonewille at economy-x-talk.com> wrote: > >> Hi everyone, >> >> Seeing requests for a disk space function on this list a few times, I >> decided to write an external. ExtFreeDiskSpace is a LiveCode external for >> iOS, which reads the total and free disk space and returns these values as >> integers measured in kilobytes. >> >> You could this this for example: >> >> fuction freeDiskSpace24 >> put 1000^2 into mySq1024 >> set the numberFormat to "#.00" >> put extFreeDiskSpace()/mySq1024 into myGBs >> return myGBs && "GB" >> end freeDiskSpace24 >> >> You can download the external at http://qery.us/1di . Please let me know >> if you encounter any problems with this external. >> >> To access this download, you need to make a donation first (if you haven't >> done so yet). >> >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> Homepage: http://economy-x-talk.com >> Twitter: http://twitter.com/xtalkprogrammer >> KvK: 50277553 >> >> Become our partner in sales http://qery.us/1bq Start selling Color >> Converter today. 20% commission! >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > http://www.andregarzia.com -- All We Do Is Code. > http://fon.nu -- minimalist url shortening service. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Wed Nov 30 12:35:26 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 30 Nov 2011 11:35:26 -0600 Subject: clipboard issue in Windows? In-Reply-To: References: <4ED5A0FA.6080606@hyperactivesw.com> Message-ID: <4ED6695E.2030303@hyperactivesw.com> On 11/30/11 1:00 AM, Pete wrote: > I can see where the confusion comes from on this. The dictionary claims > you can copy a chunk of a control to the clipboard, even has an example - > copy word -3 to -1 of field "Help". I was wrong, the dictionary is right. Either I was relying on old info, or else I lost a synapse somewhere. This works for me too: copy word 1 to -1 of fld 1 -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at mollysrevenge.com Wed Nov 30 12:48:13 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 30 Nov 2011 09:48:13 -0800 Subject: [OT] Kindle Fire Message-ID: I saw posts a couple of weeks ago from people were getting a Kindle Fire - how are they looking so far? My use of a tablet would be almost exclusively for accessing my various Google functions (mail, contacts, maps, Docs, calendar) so the Kindle's web browser would be of particular interest. Which also reminds me (kind of an [OT] of an [OT]) - what does everyone think of Google's new look scroll bars? They're a light grey bar with a thumb that changes from a slightly darker grey to a much darker grey depending on whether the cursor is over it. And there are no up and down scroll arrows. I haven't seen Lion in action yet but is that how scroll bars look in Lion? -- Pete Molly's Revenge From pete at mollysrevenge.com Wed Nov 30 12:49:24 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 30 Nov 2011 09:49:24 -0800 Subject: clipboard issue in Windows? In-Reply-To: <4ED6695E.2030303@hyperactivesw.com> References: <4ED5A0FA.6080606@hyperactivesw.com> <4ED6695E.2030303@hyperactivesw.com> Message-ID: Thanks for confirming that Jacque. SO I guess now we're left wondering what the original problem was. On Wed, Nov 30, 2011 at 9:35 AM, J. Landman Gay wrote: > On 11/30/11 1:00 AM, Pete wrote: > >> I can see where the confusion comes from on this. The dictionary claims >> you can copy a chunk of a control to the clipboard, even has an example - >> copy word -3 to -1 of field "Help". >> > > I was wrong, the dictionary is right. Either I was relying on old info, or > else I lost a synapse somewhere. This works for me too: > > copy word 1 to -1 of fld 1 > > -- > 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 kray at sonsothunder.com Wed Nov 30 12:58:41 2011 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 30 Nov 2011 11:58:41 -0600 Subject: open property inspector of an object in a script In-Reply-To: <2C83B527-969F-4E93-9003-13C03D861FD1@twft.com> References: <2C83B527-969F-4E93-9003-13C03D861FD1@twft.com> Message-ID: <73E89CD8-6FAF-4E47-8BD0-93F416D4CF89@sonsothunder.com> On Nov 30, 2011, at 10:35 AM, Bob Sneidar wrote: > Jeeze Ken is there anything you don't know? About Livecode I mean? Plenty, actually! In figuring out how this worked, I discovered for the first time that you can "select" cards and stacks? there's always something more to learn about LC! :D Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From mike at doub.com Wed Nov 30 13:02:00 2011 From: mike at doub.com (Michael Doub) Date: Wed, 30 Nov 2011 13:02:00 -0500 Subject: Datagrid Row Selection In-Reply-To: References: Message-ID: <5CA1AFBD-FCB3-4832-8A46-8CB2F7E64ED2@doub.com> I am experiencing another interesting behaviour. As you can see in the code below I am trying to go to the card "Action". The card is displayed but neither the PreOpenCard or OpenCard handers are being invoked. This is seen in the mac development environment. Does any one have an idea as to what would cause this behaviour? -= Mike On 2011-11-30, at 6:15 AM, Michael Doub wrote: > What is the proper way to detect a row selection on a datagrid on IOS when a scroller is being used? > > I currently am using the scroller script from the DGH and the following handler in the data grid behaviour script: > > on Mouseup pMouseBtnNum > if pMouseBtnNum is 1 then > put the dgClickIndex of me into tIndex > get the dgVScroll of group "Contacts" > set the pVScroll of this card to it > get GetDataofIndex(tIndex,"RecID") > set the pRecID of Card "Action" to it > go to card "Action" > end if > end Mouseup > > This seems to work reliably on the mac, but in the simulator and on the device I get the proper > scrolling and selection behaviour but with a occasional data grid failure where the grid seems frozen with only a few of the > rows redrawn. This happens when scrolling. > > I suspect there is an interaction with the selection logic as when this handler is removed scrolling works as expected. > > -= 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 scott at tactilemedia.com Wed Nov 30 13:09:00 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 30 Nov 2011 10:09:00 -0800 Subject: Resource for finding LiveCode Developers ? In-Reply-To: <20111130214739.3489794B9F@nyms2.anonymizer.com> Message-ID: Hi tf (?): The RunRev site (creators of LiveCode) also maintains a list of consultants that offer LiveCode development services. http://runrev.com/support/consultants/ Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, tf_lc at nyms.net wrote: > All, > > Where is the best place to find LiveCode developers for a off-site contract > project ? My Google-fu is failing me. Is there a site that exists currently > where someone can see a list of developers that are available for hire ? A > search on elance.com, odesk.com, careers.stackoverflow.com, and the runrev > forums came up dry. Any suggestions would be helpful. > > (ps. if you are a developer, feel free to send me an email off-list) > > -tf From admin at FlexibleLearning.com Wed Nov 30 13:11:56 2011 From: admin at FlexibleLearning.com (FlexibleLearning) Date: Wed, 30 Nov 2011 18:11:56 -0000 Subject: Resource for finding LiveCode Developers ? In-Reply-To: Message-ID: tf Try www.runrev.com and select "Consultants" from the "Support" menu. Hugh Senior FLCo Original message: All, Where is the best place to find LiveCode developers for a off-site contract project ? My Google-fu is failing me. Is there a site that exists currently where someone can see a list of developers that are available for hire ? A search on elance.com, odesk.com, careers.stackoverflow.com, and the runrev forums came up dry. Any suggestions would be helpful. (ps. if you are a developer, feel free to send me an email off-list) -tf From warren at warrensweb.us Wed Nov 30 13:46:57 2011 From: warren at warrensweb.us (Warren Samples) Date: Wed, 30 Nov 2011 12:46:57 -0600 Subject: clipboard issue in Windows? In-Reply-To: <4ED6695E.2030303@hyperactivesw.com> References: <4ED5A0FA.6080606@hyperactivesw.com> <4ED6695E.2030303@hyperactivesw.com> Message-ID: <4ED67A21.2040806@warrensweb.us> On 11/30/2011 11:35 AM, J. Landman Gay wrote: > On 11/30/11 1:00 AM, Pete wrote: >> I can see where the confusion comes from on this. The dictionary claims >> you can copy a chunk of a control to the clipboard, even has an >> example - >> copy word -3 to -1 of field "Help". > > I was wrong, the dictionary is right. Either I was relying on old info, > or else I lost a synapse somewhere. This works for me too: > > copy word 1 to -1 of fld 1 > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com *sigh* "copy" and "clipboardData" may be unreliable on Linux it seems. The copy function and clipboard is complicated in Linux and for some reason the KDE clipboard utility, Klipper, does not copy data from LiveCode using either "copy" or the clipboardData on my system. It works when Klipper isn't running, though. Warren From bonnmike at gmail.com Wed Nov 30 14:13:22 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 30 Nov 2011 12:13:22 -0700 Subject: clipboard issue in Windows? In-Reply-To: <4ED67A21.2040806@warrensweb.us> References: <4ED5A0FA.6080606@hyperactivesw.com> <4ED6695E.2030303@hyperactivesw.com> <4ED67A21.2040806@warrensweb.us> Message-ID: I found this page http://milianw.de/code-snippets/access-klipper-clipboard-on-cli-under-kde4 If you scroll down in the comments it has this line. echo "foobar" | ./clipboard -- would add "foobar" to the clipboard I 'think' you can do this as a shell call to add stuff to the klipper clipboard. At which point I don't know if it will show up in revs clipboard data or not, but worth an attempt. of course ./clipboard should point to wherever the program is (unless its in the path in which case it'd be just clipboard) Not sure this will help or not, but thought i'd toss it out there. Also kinda wondered if theres an easy way to just send a ctrl-c to copy and ctrl-v to paste to the system somehow. On Wed, Nov 30, 2011 at 11:46 AM, Warren Samples wrote: > On 11/30/2011 11:35 AM, J. Landman Gay wrote: > >> On 11/30/11 1:00 AM, Pete wrote: >> >>> I can see where the confusion comes from on this. The dictionary claims >>> you can copy a chunk of a control to the clipboard, even has an >>> example - >>> copy word -3 to -1 of field "Help". >>> >> >> I was wrong, the dictionary is right. Either I was relying on old info, >> or else I lost a synapse somewhere. This works for me too: >> >> copy word 1 to -1 of fld 1 >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> > > > *sigh* > > "copy" and "clipboardData" may be unreliable on Linux it seems. The copy > function and clipboard is complicated in Linux and for some reason the KDE > clipboard utility, Klipper, does not copy data from LiveCode using either > "copy" or the clipboardData on my system. It works when Klipper isn't > running, though. > > Warren > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From rdimola at evergreeninfo.net Wed Nov 30 14:15:38 2011 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 30 Nov 2011 14:15:38 -0500 Subject: clipboard issue in Windows? In-Reply-To: <4ED67A21.2040806@warrensweb.us> References: <4ED5A0FA.6080606@hyperactivesw.com> <4ED6695E.2030303@hyperactivesw.com> <4ED67A21.2040806@warrensweb.us> Message-ID: <01a701ccaf94$72132660$56397320$@net> Don't know if this is a related issue. On Windows at the clipboard in the IDE GUI acts odd at times. Running XP SP3. Sometimes "Ctrl Insert"/"Shift Insert" works sometimes not. "Ctrl C"/"Ctrl V" work reliably most of the time. Sometimes pasting things from the clipboard to the LC IDE from another windows app works, sometimes not. I put some code on the clipboard in VB6. It would not paste into LC, BUT I pasted to Windows notepad then again put the select text on the clipboard from notepad and was able to paste into the LC IDE??? "Control C" will put selected text onto the clipboard from both the IDE and the LC Dictionary. "Control Insert" works only from the IDE but not in the LC Dictionary. Other oddities exist. I think if you're at a debugging breakpoint the rules of the clipboard change but I don't remember what happens. I also just the other day used the LC copy to attempt to put something on the clipboard but it did not work. Thought it was my inner LC newbie coming out and was going to look at the docs, now maybe not. Ralph DiMola IT Director Evergreen Information Services Phone: 518-636-3998 Ex:11 Cell: 518-796-9332 -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Warren Samples Sent: Wednesday, November 30, 2011 1:47 PM To: How to use LiveCode Subject: Re: clipboard issue in Windows? On 11/30/2011 11:35 AM, J. Landman Gay wrote: > On 11/30/11 1:00 AM, Pete wrote: >> I can see where the confusion comes from on this. The dictionary claims >> you can copy a chunk of a control to the clipboard, even has an >> example - >> copy word -3 to -1 of field "Help". > > I was wrong, the dictionary is right. Either I was relying on old info, > or else I lost a synapse somewhere. This works for me too: > > copy word 1 to -1 of fld 1 > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com *sigh* "copy" and "clipboardData" may be unreliable on Linux it seems. The copy function and clipboard is complicated in Linux and for some reason the KDE clipboard utility, Klipper, does not copy data from LiveCode using either "copy" or the clipboardData on my system. It works when Klipper isn't running, though. 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 Wed Nov 30 14:20:30 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 30 Nov 2011 12:20:30 -0700 Subject: clipboard issue in Windows? In-Reply-To: <01a701ccaf94$72132660$56397320$@net> References: <4ED5A0FA.6080606@hyperactivesw.com> <4ED6695E.2030303@hyperactivesw.com> <4ED67A21.2040806@warrensweb.us> <01a701ccaf94$72132660$56397320$@net> Message-ID: This is why I only use ctrl-c ctrl-v. It seems that shift-insert doesn't necessarily set the dirty bit in the script editor so I have caught myself pasting, hit enter to compile, since it doesn't think theres a change.. poof editor closes, no compile and changes lost. ctrl-v works fine though so i've just forced myself out of the shift-insert habit. On Wed, Nov 30, 2011 at 12:15 PM, Ralph DiMola wrote: > Don't know if this is a related issue. On Windows at the clipboard in the > IDE GUI acts odd at times. Running XP SP3. Sometimes "Ctrl Insert"/"Shift > Insert" works sometimes not. "Ctrl C"/"Ctrl V" work reliably most of the > time. Sometimes pasting things from the clipboard to the LC IDE from > another > windows app works, sometimes not. I put some code on the clipboard in VB6. > It would not paste into LC, BUT I pasted to Windows notepad then again put > the select text on the clipboard from notepad and was able to paste into > the > LC IDE??? "Control C" will put selected text onto the clipboard from both > the IDE and the LC Dictionary. "Control Insert" works only from the IDE but > not in the LC Dictionary. Other oddities exist. I think if you're at a > debugging breakpoint the rules of the clipboard change but I don't remember > what happens. I also just the other day used the LC copy to attempt to put > something on the clipboard but it did not work. Thought it was my inner LC > newbie coming out and was going to look at the docs, now maybe not. > > Ralph DiMola > IT Director > Evergreen Information Services > Phone: 518-636-3998 Ex:11 > Cell: 518-796-9332 > > From bobs at twft.com Wed Nov 30 14:51:11 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 30 Nov 2011 11:51:11 -0800 Subject: Possible solution for datagrid library errors Message-ID: Hi all. Some people complained before about errors cropping up in the datagrid library. I have found a way to generate an error every time, and it may be related to the errors other people are getting. I have a datagrid that I use for different table data depending on where I am at. When I initialize that datagrid, I set the columns, the column labels and the column widths. But here's the gotcha. If the datagrid already contains data from a previous operation, and I set the columns using dgProp["columns"] then I will throw an error every time, I presume because the existing array does not contain keys for the columns I am setting. I think I can assume this will also be a problem when setting other dgProps that are content dependent. So the cure for me was to make sure I clear the data from my datagrid before setting any props using dgProp. Bob From pete at mollysrevenge.com Wed Nov 30 15:26:39 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 30 Nov 2011 12:26:39 -0800 Subject: Possible solution for datagrid library errors In-Reply-To: References: Message-ID: I've noticed a couple of posts recently related to changing the whole structure of a datagrid based on the type of data being displayed and I can't help feeling that's asking for trouble at some point (as Bob already discovered). I'd like to throw out a couple of suggestions to handle this situation which I've implemented successfully. One way is to include columns for all the different data types and show/hide the columns depending on the data type. Extending that further, include as many datagrids on your card as you have data types and hide/show them as appropriate to the current data type. Whether either of those will work for you or not depends on the number of different data types and data items you want to handle but I think they do run less risk of datagrid errors showing up. Pete On Wed, Nov 30, 2011 at 11:51 AM, Bob Sneidar wrote: > Hi all. > > Some people complained before about errors cropping up in the datagrid > library. I have found a way to generate an error every time, and it may be > related to the errors other people are getting. > > I have a datagrid that I use for different table data depending on where I > am at. When I initialize that datagrid, I set the columns, the column > labels and the column widths. But here's the gotcha. If the datagrid > already contains data from a previous operation, and I set the columns > using dgProp["columns"] then I will throw an error every time, I presume > because the existing array does not contain keys for the columns I am > setting. I think I can assume this will also be a problem when setting > other dgProps that are content dependent. > > So the cure for me was to make sure I clear the data from my datagrid > before setting any props using dgProp. > > 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 > > -- Pete Molly's Revenge From rdimola at evergreeninfo.net Wed Nov 30 15:33:06 2011 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 30 Nov 2011 15:33:06 -0500 Subject: clipboard issue in Windows? In-Reply-To: References: <4ED5A0FA.6080606@hyperactivesw.com> <4ED6695E.2030303@hyperactivesw.com> <4ED67A21.2040806@warrensweb.us> <01a701ccaf94$72132660$56397320$@net> Message-ID: <01b701ccaf9f$449ea410$cddbec30$@net> poof editor closes, no compile and changes lost Been there done that. I have a couple lost my edits tee shirts. A have abandoned the "Ctrl Insert"/"Shift Insert" but old habits are hard to break Ralph DiMola IT Director Evergreen Information Services Phone: 518-636-3998 Ex:11 Cell: 518-796-9332 -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mike Bonner Sent: Wednesday, November 30, 2011 2:21 PM To: How to use LiveCode Subject: Re: clipboard issue in Windows? This is why I only use ctrl-c ctrl-v. It seems that shift-insert doesn't necessarily set the dirty bit in the script editor so I have caught myself pasting, hit enter to compile, since it doesn't think theres a change.. poof editor closes, no compile and changes lost. ctrl-v works fine though so i've just forced myself out of the shift-insert habit. On Wed, Nov 30, 2011 at 12:15 PM, Ralph DiMola wrote: > Don't know if this is a related issue. On Windows at the clipboard in the > IDE GUI acts odd at times. Running XP SP3. Sometimes "Ctrl Insert"/"Shift > Insert" works sometimes not. "Ctrl C"/"Ctrl V" work reliably most of the > time. Sometimes pasting things from the clipboard to the LC IDE from > another > windows app works, sometimes not. I put some code on the clipboard in VB6. > It would not paste into LC, BUT I pasted to Windows notepad then again put > the select text on the clipboard from notepad and was able to paste into > the > LC IDE??? "Control C" will put selected text onto the clipboard from both > the IDE and the LC Dictionary. "Control Insert" works only from the IDE but > not in the LC Dictionary. Other oddities exist. I think if you're at a > debugging breakpoint the rules of the clipboard change but I don't remember > what happens. I also just the other day used the LC copy to attempt to put > something on the clipboard but it did not work. Thought it was my inner LC > newbie coming out and was going to look at the docs, now maybe not. > > Ralph DiMola > IT Director > Evergreen Information Services > Phone: 518-636-3998 Ex:11 > Cell: 518-796-9332 > > _______________________________________________ use-livecode mailing list use-livecode at 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 Nov 30 16:44:06 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 30 Nov 2011 13:44:06 -0800 Subject: Possible solution for datagrid library errors In-Reply-To: References: Message-ID: <603645D9-3EB5-4398-BC43-D46FF1E49BC0@twft.com> I use this: on setTableColumns theDataGrid, theCardName if theDataGrid is empty then put "dgTableData" into theDataGrid -- now I can use it for any datagrid if theCardName is empty then put the name of this card into theCardName put the tblMaster of card theCardName into theTable put the tblDisplay of card theCardName into theColumnList if theColumnList is empty then set the dgProp["columns"] of group theDataGrid to empty exit setTableColumns -- nothing more to do here end if set the itemdelimiter to tab repeat for each line theLine in theColumnList put item 1 of theLine & comma after theColumns put item 2 of theLine & comma after theLabels put item 3 of theLine & comma after theWidths end repeat delete the last char of theColumns replace comma with return in theColumns delete the last char of theLabels replace comma with return in theLabels delete the last char of theWidths -- datagrid needs to be empty here set the dgData of group theDataGrid to empty set the dgProp["columns"] of group theDataGrid to theColumns set the dgProp["column labels"] of group theDataGrid to theLabels set the dgProp["column widths"] of group theDataGrid to theWidths end setTableColumns Each card I want to use this function with has 2 properties: tblMaster and tblDisplay. tblMaster is the name of the sql table whose data I want to display. tblDisplay contains a tab delimited list of sql columns, labels and widths. These can be just a subset of the actual data contained in the datagrid array, but if there is a column name in the datagrid that matches a key in an array, then the data will be displayed by the datagrid. So I get all the columns of a table in a query and set the dgData of my datagrid to that, but only the columns in tblDisplay show any data. Get it? So now I can use the data in the datagrid as an ad hoc writable cursor complete with the primary key so I can easily build queries to update the data back to the sql table. Just so long as I clear the datagrid before setting anything with dgprops, I seem to be ok. Having a single datagrid makes development much easier because I don't have to worry about which datagrid I am dealing with at any given moment. Of course, I am only working with table datagrids, not forms. It could get ugly in a hurry if I were to try to customize a form datagrid for multiple things, so I agree with you there. Bob On Nov 30, 2011, at 12:26 PM, Pete wrote: > I've noticed a couple of posts recently related to changing the whole > structure of a datagrid based on the type of data being displayed and I > can't help feeling that's asking for trouble at some point (as Bob already > discovered). > > I'd like to throw out a couple of suggestions to handle this situation > which I've implemented successfully. > > One way is to include columns for all the different data types and > show/hide the columns depending on the data type. Extending that further, > include as many datagrids on your card as you have data types and hide/show > them as appropriate to the current data type. > > Whether either of those will work for you or not depends on the number of > different data types and data items you want to handle but I think they do > run less risk of datagrid errors showing up. > > Pete From bobs at twft.com Wed Nov 30 16:58:02 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 30 Nov 2011 13:58:02 -0800 Subject: Possible solution for datagrid library errors In-Reply-To: References: Message-ID: <8532F3E9-C479-4514-80B6-D6B31878E413@twft.com> A slightly improved version: on setTableColumns theDataGrid, theCardName if theDataGrid is empty then put "dgTableData" into theDataGrid if theCardName is empty then put the name of this card into theCardName put the customkeys of card theCardName into theKeyList -- if essential properties of the card do not exist, bail if not ("tblMaster" is in theKeyList) or not ("tblDisplay" is in theKeyList) then exit setTableColumns end if put the tblMaster of card theCardName into theTable put the tblDisplay of card theCardName into theColumnList if theColumnList is empty then set the dgProp["columns"] of group theDataGrid to empty exit setTableColumns end if set the itemdelimiter to tab repeat for each line theLine in theColumnList put item 1 of theLine & comma after theColumns put item 2 of theLine & comma after theLabels put item 3 of theLine & comma after theWidths end repeat delete the last char of theColumns replace comma with return in theColumns delete the last char of theLabels replace comma with return in theLabels delete the last char of theWidths -- datagrid needs to be empty here or we will throw an error set the dgData of group theDataGrid to empty set the dgProp["columns"] of group theDataGrid to theColumns set the dgProp["column labels"] of group theDataGrid to theLabels set the dgProp["column widths"] of group theDataGrid to theWidths end setTableColumns Bob On Nov 30, 2011, at 12:26 PM, Pete wrote: > I've noticed a couple of posts recently related to changing the whole > structure of a datagrid based on the type of data being displayed and I > can't help feeling that's asking for trouble at some point (as Bob already > discovered). > > I'd like to throw out a couple of suggestions to handle this situation > which I've implemented successfully. From ambassador at fourthworld.com Wed Nov 30 17:04:01 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 30 Nov 2011 14:04:01 -0800 Subject: Reminder: SoCal LUG meeting: Dec 1, Pasadena Message-ID: <4ED6A851.1000501@fourthworld.com> The SoCal LiveCode User Group will be meeting in Pasadena on Thursday, Dec 1 - details in the SC LUG forum that Heather graciously set up for us in the general LiveCode forums: Attendance is open to anyone who wants to show up. The only requirement is an interest in bantering about LiveCode for a couple hours. -- 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 Nov 30 17:07:32 2011 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Wed, 30 Nov 2011 22:07:32 +0000 Subject: Have you made an iOS or Android app with LiveCode and published it in an app store? Message-ID: <4ED6A924.1080106@cogapp.com> About 9 months ago, a few months after the first LiveCode-made app was accepted into Apple's app store, I posted a message on the dev list asking anyone who'd now had an app published on the app store to stick their hands up. I was surprised and impressed with the results. It's now thirteen months since that first app was accepted; and from remarks on the list I think quite a few more people have published apps into Apple's app store, and now we're also able to make Android apps. But AFAIK there's no way to tell from an app store whether any given app was made with LiveCode. So, to satisfy my curiosity, I'm asking the same question again. If you've made an app with LiveCode for Android, iPhone or iPad, and offered it on an app store, and don't mind telling the world about it, please take a moment to complete this very brief (one page, four mandatory questions, four optional questions) data collection form: http://www.surveymk.com/s/C93Y6LT The system should allow you to complete it multiple times - if you've got more than one app, please complete it for each one. I'll publish all the results back to this list - so don't mention anything you don't want to say publicly! Thanks in advance, Ben From pmbrig at gmail.com Wed Nov 30 18:47:31 2011 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Wed, 30 Nov 2011 18:47:31 -0500 Subject: clipboard issue in Windows? In-Reply-To: <01b701ccaf9f$449ea410$cddbec30$@net> References: <4ED5A0FA.6080606@hyperactivesw.com> <4ED6695E.2030303@hyperactivesw.com> <4ED67A21.2040806@warrensweb.us> <01a701ccaf94$72132660$56397320$@net> <01b701ccaf9f$449ea410$cddbec30$@net> Message-ID: <2D26CD34-8BA1-4ED0-A200-E2109A4D63C7@gmail.com> I have the following in my frontscript, loaded at LC startup: private command doUndoSpace -- this solves the problem that after the certain operations -- the script editor remains unaware that the script has changed, -- so an will close but not save the changed script -- thus we have to *type* at least one character lock screen put the selectedText into selTxt type numToChar(32) -- the important step put word 4 of the selectedChunk into charNbr put selTxt into char charNbr of the target unlock screen end doUndoSpace I call this when I use the scriptPaint routine (also in my frontscript -- I think this comes from Jacque). In the script editor, a control-shift-space pops the mousetext (the word the cursor is hovering over) into the selection, great for copying longAndComplexAndEasilyMisspelledVariableNames. The problem with the routine as I poached it some time ago was that if one opens a script and the only change one makes is a scriptPaint move, the script editor won't see the script as having changed and won't save the change. (Purely scripted changes don't mark the field as dirty.) So I call doUndoSpace in the handler, and it works nicely. It sounds like the same problem is occurring with the paste operation as described in this thread. Maybe the above routine, or something like it, will be useful. You would have to catch the paste in a frontscript and test to see if the window you are pasting into is a script editor window, call doUndoSpace at some point if it is, and pass the paste if it isn't. BTW, Jacque's shortcuts for the script editor (I'm pretty sure it was you, Jacque -- if not, then someone take credit!) include not just scriptPaint but a several other nifty tricks, ie, putting quotes or parens or brackets around a selection. I've used them long enough now that I've gotten addicted to having them at my fingertips. Below is the controlkeydown handler from my frontscript, which incorporates them all. You can see that I use doUndoSpace in each one. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig --------- on controlkeydown whichKey -- I use control-shift for all the scripteditor shortcuts if the shiftKey is not down then pass controlkeydown put the long name of the target into tarName if "revNewScriptEditor" is not in tarName then pass controlkeydown end if switch whichKey case "'" -- put quotes around the selection get the selection put q(it) into the selection if it = "" then put the selectedChunk into tSel put word 4 of tSel into word 2 of tSel put (word 4 of tSel) - 1 into word 4 of tSel select tSel end if doUndoSpace break case "9" case "0" -- put parens around the selection get the selection put "(" & it & ")" into the selection if it = "" then put the selectedChunk into tSel put word 4 of tSel into word 2 of tSel put (word 4 of tSel) - 1 into word 4 of tSel select tSel end if doUndoSpace break case "[" case "]" -- put brackets around the selection get the selection put "[" & it & "]" into the selection if it = "" then put the selectedChunk into tSel put word 4 of tSel into word 2 of tSel put (word 4 of tSel) - 1 into word 4 of tSel select tSel end if doUndoSpace break case " " -- scriptPaint, control-shift-space put the mouseText into the selection doUndoSpace break default pass controlkeydown end switch end controlkeydown --------- On Nov 30, 2011, at 3:33 PM, Ralph DiMola wrote: > poof editor closes, no compile and changes lost > > Been there done that. I have a couple lost my edits tee shirts. A have > abandoned the "Ctrl Insert"/"Shift Insert" but old habits are hard to break > > > Mike Bonner wrote: > > This is why I only use ctrl-c ctrl-v. It seems that shift-insert doesn't > necessarily set the dirty bit in the script editor so I have caught myself > pasting, hit enter to compile, since it doesn't think theres a change.. > poof editor closes, no compile and changes lost. ctrl-v works fine though > so i've just forced myself out of the shift-insert habit. > > On Wed, Nov 30, 2011 at 12:15 PM, Ralph DiMola > wrote: > >> Don't know if this is a related issue. On Windows at the clipboard in the >> IDE GUI acts odd at times. Running XP SP3. Sometimes "Ctrl Insert"/"Shift >> Insert" works sometimes not. "Ctrl C"/"Ctrl V" work reliably most of the >> time. Sometimes pasting things from the clipboard to the LC IDE from >> another >> windows app works, sometimes not. I put some code on the clipboard in VB6. >> It would not paste into LC, BUT I pasted to Windows notepad then again put >> the select text on the clipboard from notepad and was able to paste into >> the >> LC IDE??? "Control C" will put selected text onto the clipboard from both >> the IDE and the LC Dictionary. "Control Insert" works only from the IDE >> but >> not in the LC Dictionary. Other oddities exist. I think if you're at a >> debugging breakpoint the rules of the clipboard change but I don't >> remember >> what happens. I also just the other day used the LC copy to attempt to put >> something on the clipboard but it did not work. Thought it was my inner LC >> newbie coming out and was going to look at the docs, now maybe not. >> >> Ralph DiMola From jacque at hyperactivesw.com Wed Nov 30 18:55:36 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 30 Nov 2011 17:55:36 -0600 Subject: clipboard issue in Windows? In-Reply-To: <2D26CD34-8BA1-4ED0-A200-E2109A4D63C7@gmail.com> References: <4ED5A0FA.6080606@hyperactivesw.com> <4ED6695E.2030303@hyperactivesw.com> <4ED67A21.2040806@warrensweb.us> <01a701ccaf94$72132660$56397320$@net> <01b701ccaf9f$449ea410$cddbec30$@net> <2D26CD34-8BA1-4ED0-A200-E2109A4D63C7@gmail.com> Message-ID: <4ED6C278.3040100@hyperactivesw.com> On 11/30/11 5:47 PM, Peter M. Brigham, MD wrote: > BTW, Jacque's shortcuts for the script editor (I'm pretty sure it was > you, Jacque -- if not, then someone take credit!) include not just > scriptPaint but a several other nifty tricks, ie, putting quotes or > parens or brackets around a selection. I've used them long enough now > that I've gotten addicted to having them at my fingertips. Yeah, it's me. I can't live without those either, I've been using them for so many years. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From Mark_Smith at cpe.umanitoba.ca Wed Nov 30 19:23:01 2011 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Wed, 30 Nov 2011 16:23:01 -0800 (PST) Subject: Have you made an iOS or Android app with LiveCode and published it in an app store? In-Reply-To: <4ED6A924.1080106@cogapp.com> References: <4ED6A924.1080106@cogapp.com> Message-ID: <1322698981337-4125848.post@n4.nabble.com> Hi Ben, you might want to post this on the runrev livecode forums in the iOS section. Or, I could post it there for you. -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Have-you-made-an-iOS-or-Android-app-with-LiveCode-and-published-it-in-an-app-store-tp4125218p4125848.html Sent from the Revolution - User mailing list archive at Nabble.com. From Mark_Smith at cpe.umanitoba.ca Wed Nov 30 19:34:18 2011 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Wed, 30 Nov 2011 16:34:18 -0800 (PST) Subject: window decorations? In-Reply-To: References: <1322616713638-4121455.post@n4.nabble.com> Message-ID: <1322699658094-4125874.post@n4.nabble.com> Super, thanks for all the comments and suggestions here. I'll give them all a try. -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/window-decorations-tp4121455p4125874.html Sent from the Revolution - User mailing list archive at Nabble.com. From benr_mc at cogapp.com Wed Nov 30 19:50:32 2011 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 01 Dec 2011 00:50:32 +0000 Subject: Have you made an iOS or Android app with LiveCode and published it in an app store? In-Reply-To: <1322698981337-4125848.post@n4.nabble.com> References: <4ED6A924.1080106@cogapp.com> <1322698981337-4125848.post@n4.nabble.com> Message-ID: <4ED6CF58.2040105@cogapp.com> On 01/12/2011 00:23, Mark Smith wrote: > Hi Ben, you might want to post this on the runrev livecode forums in the iOS > section. Or, I could post it there for you. Mark, that's a great point. I'm afraid I'm such an old fogey that I never really got into the forums, I've just stuck on the lists. If you would post it in the iOS (and Android, if there is one) forum that would be really kind. And anywhere else that you think would be useful. Like I said, this is kind of nosiness on my part: I'm really keen to see how many people have made 'out there' apps (as opposed to ones for private distribution or in house use); but there's a hidden propaganda objective as well - I'm looking for evidence that LC can be used to make commercial quality mobile apps. Many thanks, Ben From pmbrig at gmail.com Wed Nov 30 19:54:35 2011 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Wed, 30 Nov 2011 19:54:35 -0500 Subject: clipboard issue in Windows? References: <2D26CD34-8BA1-4ED0-A200-E2109A4D63C7@gmail.com> Message-ID: <4A335363-A31A-410A-B3A6-E0A0D22358B0@gmail.com> Just noticed: there is missing piece in my controlkeydown handler -- if you try to just paste it into your frontscript and run it, it will halt on the last line below. It calls a function q(), which you also need: function q str return quote and str and quote end q Sorry. Another piece of my library that I've been using so long I take it for granted. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig > on controlkeydown whichKey > -- I use control-shift for all the scripteditor shortcuts > if the shiftKey is not down then pass controlkeydown > put the long name of the target into tarName > if "revNewScriptEditor" is not in tarName then > pass controlkeydown > end if > switch whichKey > case "'" -- put quotes around the selection > get the selection > put q(it) into the selection