From gandalf at doctorTimothyMiller.com Fri Apr 1 01:39:35 2011 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Thu, 31 Mar 2011 22:39:35 -0700 Subject: novice question re "marked" and customkeys In-Reply-To: <4418C180-C8A6-4A15-ADB7-995D5EB577B6@twft.com> References: <57DDFA01-117A-47E9-99A7-968DC112C63D@doctorTimothyMiller.com> <4418C180-C8A6-4A15-ADB7-995D5EB577B6@twft.com> Message-ID: Bob's experience, quoted below, seems odd. I don't think this is normal LC behavior. Something has gone wrong, it seems. I might have missed a reply to Bob that explains it, but I didn't see one. Did you ever figure it out, Bob? on mouseUp push card set lockscreen to "true" set lockmessages to "true" put the number of cards into tNum repeat with i = 2 to tNum if the shiftkey is down then exit repeat set cursor to busy go to card i put the id of this card & return after tCardId end repeat pop card put tCardId end mouseUp I tried this in a card button and a background button. It worked fine, either way. No duplicate card IDs. Reply to Peter: "Mark cards where..." Oh! That is awesome! I'd forgotten about that command. Also forgot about "mark cards by finding "x" in field "y" Also forgot about "unmark cards where..." and "unmark cards by finding..." These commands combine simplicity with blazing speed. You can do a lot with them. Thanks for reminding me. Cheers, Tim On Mar 31, 2011, at 1:31 PM, Bob Sneidar wrote: > Okay I was going to make a demo stack of how to do this, but I have run across a problem someone was talking about earlier and I didn't get it then but I sure do now! > > In a button as part of a background group on a card I have: > > On mouseUp > put the id of this card into theFirstCard > go next > put the id of this card into theNextCard > end mouseUp > > THEY ARE BOTH THE SAME!!!!! How can that be? How can I get the ID of the CARD THAT IS CURRENTLY SHOWING? Not the CARD THAT THIS SCRIPT STARTED AT? (not shouting just capitalizing for emphasis). > > Bob From gerry.orkin at gmail.com Fri Apr 1 03:06:01 2011 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Fri, 1 Apr 2011 18:06:01 +1100 Subject: PDF Reader using LiveCode In-Reply-To: References: Message-ID: You can't run apps in the status bar, period. Gerry -- http://gerryorkin.com On 31/03/2011, at 2:59 PM, Jesse Sng wrote: > > On Mar 31, 2011, at 11:50 AM, Scott Rossi wrote: > >> Recently, Jesse Sng wrote: >> >>> No. There's a status bar at the top of the iPhone/iPad and I did notice that >>> LiveCode had a tutorial on how to show and hide it. But what I would like to >>> do is to have an app display in that area. >> >> I don't think you can modify the status bar (at least not in LiveCode). But >> why are you interested in using that space -- because of its location? >> Could you roll your own using a transparent graphic? > > I have a need to show a stopwatch timer while being in some other app. The ones that I know of need you to actually switch out to the app whereas I need it to have a persistent display regardless of the app that I'm in. Pretty much like the existing clock on the iPhone/iPad. > > > Jesse > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From keith.clarke at clarkeandclarke.co.uk Fri Apr 1 06:31:05 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Fri, 1 Apr 2011 11:31:05 +0100 Subject: Creating an auto-updating button icon thumbnail image from card snapshot Message-ID: <78001070-3079-4BEA-B96E-E2696029C6CF@clarkeandclarke.co.uk> Hi folks, I'm working on a presentation stack, which has a home card with a set of buttons with thumbnail images (as the icon) that navigate to other cards in the stack. The other cards are evolving, so I'm trying to create an auto-update script to renew the navigation button thumbnail icon images when the home page is re-opened. I'm guessing that the script should end-up in a pre-open card script and iterate through a list of buttons, but I'm trying to get one button to work first. Can anyone advise on what am I doing incorrectly with this script? on preOpenControl import snapshot from the rect of card "Example" set the icon of me to it end preOpenControl Best, Keith.. From m.schonewille at economy-x-talk.com Fri Apr 1 06:49:57 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 1 Apr 2011 12:49:57 +0200 Subject: Creating an auto-updating button icon thumbnail image from card snapshot In-Reply-To: <78001070-3079-4BEA-B96E-E2696029C6CF@clarkeandclarke.co.uk> References: <78001070-3079-4BEA-B96E-E2696029C6CF@clarkeandclarke.co.uk> Message-ID: Keith, On preOpen... the control or card isn't open yet and you can't get a screenshot of it yet. A stacks or card needs to load completely before you can do such things. A very clear example is e.g. the impossibility to get the dimensions of a player if the movie of that player is being loaded duing a preOpenStack handler and the stack is invisible. You might want to load a "please wait" picture first and load your custom image on openCard. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 1 apr 2011, at 12:31, Keith Clarke wrote: > Hi folks, > I'm working on a presentation stack, which has a home card with a set of buttons with thumbnail images (as the icon) that navigate to other cards in the stack. The other cards are evolving, so I'm trying to create an auto-update script to renew the navigation button thumbnail icon images when the home page is re-opened. I'm guessing that the script should end-up in a pre-open card script and iterate through a list of buttons, but I'm trying to get one button to work first. > > Can anyone advise on what am I doing incorrectly with this script? > > on preOpenControl > import snapshot from the rect of card "Example" > set the icon of me to it > end preOpenControl > > Best, > Keith.. From keith.clarke at clarkeandclarke.co.uk Fri Apr 1 07:31:15 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Fri, 1 Apr 2011 12:31:15 +0100 Subject: Creating an auto-updating button icon thumbnail image from card snapshot In-Reply-To: References: <78001070-3079-4BEA-B96E-E2696029C6CF@clarkeandclarke.co.uk> Message-ID: <79DA282F-29AD-4295-975F-AB7DB646901E@clarkeandclarke.co.uk> Thanks Mark - that's clear. I'll move my script onto the card, use 'openCard' as its base and provide something to distract the viewer whilst the thumbnails update! Best, Keith.. On 1 Apr 2011, at 11:49, Mark Schonewille wrote: > Keith, > > On preOpen... the control or card isn't open yet and you can't get a screenshot of it yet. A stacks or card needs to load completely before you can do such things. A very clear example is e.g. the impossibility to get the dimensions of a player if the movie of that player is being loaded duing a preOpenStack handler and the stack is invisible. > > You might want to load a "please wait" picture first and load your custom image on openCard. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 From janus005 at umn.edu Fri Apr 1 10:56:36 2011 From: janus005 at umn.edu (Louis Janus) Date: Fri, 1 Apr 2011 09:56:36 -0500 Subject: practical size limitations? Message-ID: Dear use-livecode I am beginning work on a learner's dictionary for Norwegian, and am looking into using LiveCode. A few basic questions: 1. I assume it would be best to use a database as a backend to the ultimate dictionary, but I am quite sure that I don't have the skills to set up SQLite or any other database proficiently. (I can learn, I'm sure, however) 2. If I take the easy way out and list each headword and its forms on a separate card, will a large number of cards slow the searching and displaying of items beyond usefulness? 3. Does anyone know of such a language dictionary developed using LiveCode? Thanks for any input and ideas. Louis Janus From dunbarx at aol.com Fri Apr 1 11:51:30 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 01 Apr 2011 11:51:30 -0400 Subject: practical size limitations? In-Reply-To: References: Message-ID: <8CDBE9BCC96FDE2-2240-1B1EA@webmail-m129.sysops.aol.com> Hi. I don't think you need an external database. Unlike Hypercard, LC does not handle tens of thousands of cards quickly. But it can easily and instantly handle what you have in mind. Place your data in a field or custom property and load it into a variable on openstack. You might also use an array, but that is a matter of style. Then you can retrieve your words and definitions and display at will. The whole app resides on one card. Craig Newman -----Original Message----- From: Louis Janus To: use-livecode at lists.runrev.com Sent: Fri, Apr 1, 2011 10:56 am Subject: practical size limitations? Dear use-livecode I am beginning work on a learner's dictionary for Norwegian, and am looking into using LiveCode. A few basic questions: 1. I assume it would be best to use a database as a backend to the ultimate dictionary, but I am quite sure that I don't have the skills to set up SQLite or any other database proficiently. (I can learn, I'm sure, however) 2. If I take the easy way out and list each headword and its forms on a separate card, will a large number of cards slow the searching and displaying of items beyond usefulness? 3. Does anyone know of such a language dictionary developed using LiveCode? Thanks for any input and ideas. Louis Janus _______________________________________________ use-livecode mailing list use-livecode at 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 Apr 1 11:54:12 2011 From: pete at mollysrevenge.com (Pete) Date: Fri, 1 Apr 2011 08:54:12 -0700 Subject: Code Documentation Message-ID: I'm at the stage in my project where I want to produce some documentation on the various handlers I've written - a few words about purpose, list of parameters and what they contain, and any returned values. I've documented all this in a comment block at the start of each handler. I know, how old-fashioned isn't it! I'm sure I could write a script to go through all my handlers and extract the comment block but before I start down that road, are there any code documentation aids out there for Livecode? Thanks, Pete -- Pete Molly's Revenge From tvogelaar at de-mare.nl Fri Apr 1 12:02:51 2011 From: tvogelaar at de-mare.nl (Terry Vogelaar) Date: Fri, 1 Apr 2011 18:02:51 +0200 Subject: Currently playing song on iPod Touch In-Reply-To: References: Message-ID: <4B34C19D-7E97-4F60-9025-C5285EBB43F1@de-mare.nl> I want to make an app that uses data from the currently playing song on my iPod Touch, like song title, artist, comments, etc. Is there a way to see data like that in a LiveCode app? Probably not 'out of the box'. Is there a workaround? I know Xcode can do it. So is there someone who can make an external to do this? At what cost? Can LiveCode for iOS use externals? Any help is greatly appreciated. Terry From lists at mangomultimedia.com Fri Apr 1 12:08:46 2011 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 1 Apr 2011 12:08:46 -0400 Subject: Code Documentation In-Reply-To: References: Message-ID: On Fri, Apr 1, 2011 at 11:54 AM, Pete wrote: > I'm sure I could write a script to go through all my handlers and extract > the comment block but before I start down that road, are there any code > documentation aids out there for Livecode? > I use NativeDoc and like it a lot. http://www.nativesoft.fr/index.php?option=com_content&view=article&id=87&Itemid=115 -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com LiveCode Resources for Developers: http://livecode.bluemangolearning.com From scott at tactilemedia.com Fri Apr 1 12:09:20 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 01 Apr 2011 09:09:20 -0700 Subject: Currently playing song on iPod Touch In-Reply-To: <4B34C19D-7E97-4F60-9025-C5285EBB43F1@de-mare.nl> Message-ID: Terry, please add your vote: Best Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Terry Vogelaar wrote: > I want to make an app that uses data from the currently playing song on my > iPod Touch, like song title, artist, comments, etc. > > Is there a way to see data like that in a LiveCode app? Probably not 'out of > the box'. Is there a workaround? I know Xcode can do it. So is there someone > who can make an external to do this? At what cost? Can LiveCode for iOS use > externals? > > Any help is greatly appreciated. > > Terry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at mollysrevenge.com Fri Apr 1 12:11:21 2011 From: pete at mollysrevenge.com (Pete) Date: Fri, 1 Apr 2011 09:11:21 -0700 Subject: practical size limitations? In-Reply-To: References: Message-ID: I don't have much experience using LC as a storage method but the manual recommends that if you have more than 2000 records to store you should consider using an external database. SQLite is not hard to learn and there are a lot of tutorials out on the web, plus free SQLite management tools. I'd say you'll spend a lot more time learning how to use LiveCode than how to set up a simple SQLite database, although the LC learning curve is very much worthwhile. Pete On Fri, Apr 1, 2011 at 7:56 AM, Louis Janus wrote: > Dear use-livecode > > I am beginning work on a learner's dictionary for Norwegian, and am > looking into using LiveCode. > > A few basic questions: > > 1. I assume it would be best to use a database as a backend to the > ultimate dictionary, but I am quite sure that I don't have the skills > to set up SQLite or any other database proficiently. (I can learn, I'm > sure, however) > > 2. If I take the easy way out and list each headword and its forms on > a separate card, will a large number of cards slow the searching and > displaying of items beyond usefulness? > > 3. Does anyone know of such a language dictionary developed using LiveCode? > > Thanks for any input and ideas. > > Louis Janus > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Fri Apr 1 12:14:49 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 01 Apr 2011 11:14:49 -0500 Subject: Creating an auto-updating button icon thumbnail image from card snapshot In-Reply-To: <79DA282F-29AD-4295-975F-AB7DB646901E@clarkeandclarke.co.uk> References: <78001070-3079-4BEA-B96E-E2696029C6CF@clarkeandclarke.co.uk> <79DA282F-29AD-4295-975F-AB7DB646901E@clarkeandclarke.co.uk> Message-ID: <4D95F9F9.5000508@hyperactivesw.com> On 4/1/11 6:31 AM, Keith Clarke wrote: > Thanks Mark - that's clear. I'll move my script onto the card, use > 'openCard' as its base and provide something to distract the viewer > whilst the thumbnails update! Best, Keith.. It still won't work unless you use the ID of the snapshot image rather than what's inside the "it" variable. Since you are taking snapshots of other cards and the "preopen" is for the control, I'm not sure you need to wait for the control to load. I think the issue is the ID of the icon. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Fri Apr 1 12:38:35 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 1 Apr 2011 09:38:35 -0700 Subject: Bark Dark In-Reply-To: References: Message-ID: <24D8FD98-38D3-4BCC-B52C-A5315C95230A@twft.com> Hey pretty clever. You could even trap for newCard and deleteCard to add and delete entries in the custom Property. That way you wouldn't have to repeat through all the cards again except for maintenance. It looks like the repeat loop is getting the value of a shared field on each of the cards. Couldn't you just set the property array element to empty for each card to initialize it, then have a custom function markme(theMark) which would simply set the array element to whatever you passed in theMark? Bob On Mar 31, 2011, at 5:23 PM, Jim Ault wrote: > On Mar 31, 2011, at 3:29 PM, Bob Sneidar wrote: > >> I don't think the property thing will work because I don't think you can find a card with a property or enumerate them as such. (This AIN'T Applescript man!" >> > The 'property thing' does not refer to the CARD properties, > but the customProperties of the STACK > > ---- tested in a working stack ------------------ > --note fld statusCode is NOT shared > -- flds desiredCodeString notnowCodeString > -- ARE SHARED > -- fld output is NOT shared > -- all fields are in a group that behaves as backgound > > > on doCustomPropertyRun > -- I use 'cps' to mean 'cust prop set' > set the customPropertySet of this stack to "cpsStatusCodes" > --make this set empty > set the customkeys of this stack to empty > > --you only need to do the repeat when changes are made > -- or when the stack closes > repeat with k = 1 to the number of cards > put word -1 of the short id of card k into thisCdId > get k & "^" & word 1 to -1 of fld "statusCode" of card k > replace cr with space in IT > set the cpsStatusCodes[ thisCdId ] of this stack to IT > end repeat > save this stack --if it is run in the IDE, but not if an app > > --To get the list of 'marked cards' you would do the following type of operation > set the customPropertySet of this stack to "cpsStatusCodes" > put the customProperties of this stack into statusCodeList > -- now make a regular list > combine statusCodeList using cr and "^" > set the itemdel to "^" > if field "desiredCodeString" is not empty then > filter statusCodeList with "*" & field "desiredCodeString" & "*" > --and now you have a list of cd id's > end if > > if field "notnowCodeString" is not empty then > filter statusCodeList without "*" & field "notnowCodeString" & "*" > -- and you have a shorter list if any have been removed > end if > -- if you want the card order, use the following > sort statusCodeList numeric by item 2 of each > put statusCodeList into fld "output" > > --this allows showing a list of hits and changing the final list in many ways > end doCustomPropertyRun > > ---------------------------------------- > Jim Ault > Las Vegas > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Fri Apr 1 12:43:16 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 1 Apr 2011 09:43:16 -0700 Subject: novice question re "marked" and customkeys In-Reply-To: References: <57DDFA01-117A-47E9-99A7-968DC112C63D@doctorTimothyMiller.com> <4418C180-C8A6-4A15-ADB7-995D5EB577B6@twft.com> Message-ID: <85DCE236-5172-4876-B5A9-BF0EFAE815CB@twft.com> Yes I did figure it out. I was getting the ID of this card, which always seems to refer to the first card that the group the button belonged to was placed on, hence always getting 1002 for the ID. Getting the name seems to do the same thing. But getting the NUMBER returns the correct result. As I said in another post, I find that odd, but I am probably not seeing the "big picture". Bob On Mar 31, 2011, at 10:39 PM, Timothy Miller wrote: > Bob's experience, quoted below, seems odd. I don't think this is normal LC behavior. Something has gone wrong, it seems. I might have missed a reply to Bob that explains it, but I didn't see one. > > Did you ever figure it out, Bob? > > > on mouseUp > push card > set lockscreen to "true" > set lockmessages to "true" > put the number of cards into tNum > repeat with i = 2 to tNum > if the shiftkey is down then exit repeat > set cursor to busy > go to card i > put the id of this card & return after tCardId > end repeat > pop card > put tCardId > end mouseUp > > I tried this in a card button and a background button. It worked fine, either way. No duplicate card IDs. > > Reply to Peter: > > "Mark cards where..." Oh! That is awesome! I'd forgotten about that command. > > Also forgot about "mark cards by finding "x" in field "y" > > Also forgot about "unmark cards where..." and "unmark cards by finding..." > > These commands combine simplicity with blazing speed. You can do a lot with them. Thanks for reminding me. > > Cheers, > > > Tim > > > On Mar 31, 2011, at 1:31 PM, Bob Sneidar wrote: > >> Okay I was going to make a demo stack of how to do this, but I have run across a problem someone was talking about earlier and I didn't get it then but I sure do now! >> >> In a button as part of a background group on a card I have: >> >> On mouseUp >> put the id of this card into theFirstCard >> go next >> put the id of this card into theNextCard >> end mouseUp >> >> THEY ARE BOTH THE SAME!!!!! How can that be? How can I get the ID of the CARD THAT IS CURRENTLY SHOWING? Not the CARD THAT THIS SCRIPT STARTED AT? (not shouting just capitalizing for emphasis). >> >> 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 pete at mollysrevenge.com Fri Apr 1 13:04:33 2011 From: pete at mollysrevenge.com (Pete) Date: Fri, 1 Apr 2011 10:04:33 -0700 Subject: Bark Dark In-Reply-To: <24D8FD98-38D3-4BCC-B52C-A5315C95230A@twft.com> References: <24D8FD98-38D3-4BCC-B52C-A5315C95230A@twft.com> Message-ID: Just for my own education, what is it about the standard mark and unmark commands that doesn't achieve what Tim wants to do? I might want to use those commands in the future and if they should be avoided for some reason, I'd like to know! Thanks, Pete On Fri, Apr 1, 2011 at 9:38 AM, Bob Sneidar wrote: > Hey pretty clever. You could even trap for newCard and deleteCard to add > and delete entries in the custom Property. That way you wouldn't have to > repeat through all the cards again except for maintenance. > > It looks like the repeat loop is getting the value of a shared field on > each of the cards. Couldn't you just set the property array element to empty > for each card to initialize it, then have a custom function markme(theMark) > which would simply set the array element to whatever you passed in theMark? > > Bob > > > On Mar 31, 2011, at 5:23 PM, Jim Ault wrote: > > > On Mar 31, 2011, at 3:29 PM, Bob Sneidar wrote: > > > >> I don't think the property thing will work because I don't think you can > find a card with a property or enumerate them as such. (This AIN'T > Applescript man!" > >> > > The 'property thing' does not refer to the CARD properties, > > but the customProperties of the STACK > > > > ---- tested in a working stack ------------------ > > --note fld statusCode is NOT shared > > -- flds desiredCodeString notnowCodeString > > -- ARE SHARED > > -- fld output is NOT shared > > -- all fields are in a group that behaves as backgound > > > > > > on doCustomPropertyRun > > -- I use 'cps' to mean 'cust prop set' > > set the customPropertySet of this stack to "cpsStatusCodes" > > --make this set empty > > set the customkeys of this stack to empty > > > > --you only need to do the repeat when changes are made > > -- or when the stack closes > > repeat with k = 1 to the number of cards > > put word -1 of the short id of card k into thisCdId > > get k & "^" & word 1 to -1 of fld "statusCode" of card k > > replace cr with space in IT > > set the cpsStatusCodes[ thisCdId ] of this stack to IT > > end repeat > > save this stack --if it is run in the IDE, but not if an app > > > > --To get the list of 'marked cards' you would do the following type of > operation > > set the customPropertySet of this stack to "cpsStatusCodes" > > put the customProperties of this stack into statusCodeList > > -- now make a regular list > > combine statusCodeList using cr and "^" > > set the itemdel to "^" > > if field "desiredCodeString" is not empty then > > filter statusCodeList with "*" & field "desiredCodeString" & "*" > > --and now you have a list of cd id's > > end if > > > > if field "notnowCodeString" is not empty then > > filter statusCodeList without "*" & field "notnowCodeString" & "*" > > -- and you have a shorter list if any have been removed > > end if > > -- if you want the card order, use the following > > sort statusCodeList numeric by item 2 of each > > put statusCodeList into fld "output" > > > > --this allows showing a list of hits and changing the final list in > many ways > > end doCustomPropertyRun > > > > ---------------------------------------- > > Jim Ault > > Las Vegas > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Fri Apr 1 13:08:22 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 1 Apr 2011 10:08:22 -0700 Subject: practical size limitations? In-Reply-To: References: Message-ID: <3682DDE3-F4DA-4A6A-A95A-056355B84246@twft.com> I'm a quarter Norwegian! I'd buy that! I like the idea of using an array, given that all the data you could ever conceivably have will fit into memory snugly. For a dictionary, that may not be the case. SQLite would be the way to go if not. Lots of cards, no buenos. SQL is not that hard to learn, especially if all you are doing is finding and retrieving small sets of records from a single table. SQLite has a plugin for Firefox that can handle most things you would want to do with it. Seriously, I would love to buy that dictionary when you are done, ESPECIALLY if it were an iPhone app. Bob On Apr 1, 2011, at 7:56 AM, Louis Janus wrote: > Dear use-livecode > > I am beginning work on a learner's dictionary for Norwegian, and am > looking into using LiveCode. > > A few basic questions: > > 1. I assume it would be best to use a database as a backend to the > ultimate dictionary, but I am quite sure that I don't have the skills > to set up SQLite or any other database proficiently. (I can learn, I'm > sure, however) > > 2. If I take the easy way out and list each headword and its forms on > a separate card, will a large number of cards slow the searching and > displaying of items beyond usefulness? > > 3. Does anyone know of such a language dictionary developed using LiveCode? > > Thanks for any input and ideas. > > Louis Janus > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Apr 1 13:09:23 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 01 Apr 2011 12:09:23 -0500 Subject: Creating an auto-updating button icon thumbnail image from card snapshot In-Reply-To: <4D95F9F9.5000508@hyperactivesw.com> References: <78001070-3079-4BEA-B96E-E2696029C6CF@clarkeandclarke.co.uk> <79DA282F-29AD-4295-975F-AB7DB646901E@clarkeandclarke.co.uk> <4D95F9F9.5000508@hyperactivesw.com> Message-ID: <4D9606C3.3060409@hyperactivesw.com> On 4/1/11 11:14 AM, J. Landman Gay wrote: > > Since you are taking snapshots of other cards and the "preopen" is for > the control, I'm not sure you need to wait for the control to load. I > think the issue is the ID of the icon. > I just tried the handler you posted and there's more wrong than just the icon ID. on preOpenControl import snapshot from the rect of card "Example" set the icon of me to it end preOpenControl It might be a typo, but the first line will error without the "rect" keyword: import snapshot from rect (the rect of cd "example"). Also, snapshots use the 0,0 point of the monitor (not the stack) for coordinates when dealing with cards, so the rect of a card will result in the snapshot containing the top left portion of whatever's on the monitor at that position. You'll need to translate the coordinates from global to local coords. You can either do that using the globalloc function or you can just use the rect of the stack instead of the rect of the card. The second method won't always work if you have a menubar on a Mac (which makes the stack shorter than the card.) After either an import or an export, the "it" variable is not given a value, so it becomes the string literal "it". You can't set an icon to a string literal, you need an ID number. While you can take snapshots of objects that aren't open, you can't take them of cards that aren't open. Cards are not objects. I was unable to get a snapshot of another card unless I went there first. This did work: on test get the rect of this cd put globalloc(item 1 to 2 of it) into tRect put globalLoc(item 3 to 4 of it) into item 3 to 4 of tRect go cd 2 import snapshot from rect tRect go back set the icon of me to the short id of last img of cd 2 end test The "export snapshot" offers more options. You can export a snapshot to a variable and then put that variable into an image object. However, I was still unable to get a snapshot without going to the card. This works: on test2 lock screen go cd 2 export snapshot from cd 2 to tVar as JPEG go back unlock screen create img "iconImg" set the text of img "iconImg" to tVar set the icon of me to the short id of img "iconImg" end test2 -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pmbrig at gmail.com Fri Apr 1 13:23:04 2011 From: pmbrig at gmail.com (Peter Brigham MD) Date: Fri, 1 Apr 2011 13:23:04 -0400 Subject: Currently playing song on iPod Touch In-Reply-To: <4B34C19D-7E97-4F60-9025-C5285EBB43F1@de-mare.nl> References: <4B34C19D-7E97-4F60-9025-C5285EBB43F1@de-mare.nl> Message-ID: <6270982E-AEB7-4E62-90DD-C05CDDFE9F2B@gmail.com> Tom McGrath put together an iTunesLibrary in LC. I can't seem to find it in my LC files, but I'm sure he would make it available to you. I used his library to make a little thing called iTunesWidget. Pop it into your plugins folder, and any time you're running in the IDE, you can open it up and use it to control iTunes without leaving LC. It's a little 32-pixel round customwindowshape stack that can be set as a systemwindow if you want, uses AppleScript to manage iTunes' basic functions. Very simple: click to start/pause iTunes, cmd-click to go to iTunes, opt-drag to move widget, ctrl-click or right-click for option menu. Hovering over the widget displays the current track, album, and artist in a tooltip. You can get it at: http://home.comcast.net/~pmbrig/iTunesWidget.rev.zip I haven't tried to pass this around much, because for reasons I can't track down, clicks sometimes disappear into emptiness with no response, sometimes mousemove doesn't trigger the tooltip display, etc. Something is swallowing system messages, or maybe the AppleScript messages are going awry, anyway it's occasionally a bit unpredictable. But I use it when I'm working in the IDE and want to listen to some MP3s. Handy because I don't have to change gears when the phone rings, just click to pause, and answer the call. If you can't find Tom's library stack, look at the stack script in the widget for ideas on what you're trying to do. Tom did the real work for this, I really just adapted his scripts. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Apr 1, 2011, at 12:02 PM, Terry Vogelaar wrote: > I want to make an app that uses data from the currently playing song > on my iPod Touch, like song title, artist, comments, etc. > > Is there a way to see data like that in a LiveCode app? Probably not > 'out of the box'. Is there a workaround? I know Xcode can do it. So > is there someone who can make an external to do this? At what cost? > Can LiveCode for iOS use externals? > > Any help is greatly appreciated. > > Terry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jimaultwins at yahoo.com Fri Apr 1 13:25:36 2011 From: jimaultwins at yahoo.com (Jim Ault) Date: Fri, 1 Apr 2011 10:25:36 -0700 Subject: Bark Dark In-Reply-To: <24D8FD98-38D3-4BCC-B52C-A5315C95230A@twft.com> References: <24D8FD98-38D3-4BCC-B52C-A5315C95230A@twft.com> Message-ID: On Apr 1, 2011, at 9:38 AM, Bob Sneidar wrote: > Hey pretty clever. You could even trap for newCard and deleteCard to > add and delete entries in the custom Property. That way you wouldn't > have to repeat through all the cards again except for maintenance. Yes, to do a full implementation, you would -- set the customproperties on stack preopen or close -- set the customproperties when a new card that has the field placed on it is added -- or when a card is deleted if it has the field placed on it > It looks like the repeat loop is getting the value of a shared field > on each of the cards. No, a shared field is one that offers a single value that is the same for all cards that it appears on. It is like a clock on the wall that has the same value for all people in the room. What you might mean is a regular field that appears on all cards but can store a different value on each card. Of course, if a regular field is in a group that is not 'placed' on all cards, then the programmer would have to add the following: if field "desiredCodeString" exists then --this card can be indexed, otherwise -- skip it or put empty into the data array[id] end if -- OR -- try -- access field "desiredCodeString" -- if it is missing, the catch branch is executed catch errNum end try This would also apply to any other stacks or substacks. Substacks would have the main stack script in their message path Other stacks would not. In that case you could employ either -- one or more stacksinuse -- one or more back scripts > Couldn't you just set the property array element to empty for each > card to initialize it, then have a custom function markme(theMark) > which would simply set the array element to whatever you passed in > theMark? That is one way, but if the stack has 543 cards with values when it is opened, this would be the starting data set. There are several ways of triggering and capturing the message. One feature is to do some sort of spell check or restricted value list to keep the data clean. Also, when a customproperty is changed or set, LC sends a system message SetProp that can be trapped. In addition, getting a value triggers the GetProp message. The programmer does not have to do anything except trap for these. (see the dictionary) on setProp if (condition) then do this -- update data and save stack else return -- kill this message end if end setProp > > Bob > > > On Mar 31, 2011, at 5:23 PM, Jim Ault wrote: > >> On Mar 31, 2011, at 3:29 PM, Bob Sneidar wrote: >> >>> I don't think the property thing will work because I don't think >>> you can find a card with a property or enumerate them as such. >>> (This AIN'T Applescript man!" >>> >> The 'property thing' does not refer to the CARD properties, >> but the customProperties of the STACK >> >> ---- tested in a working stack ------------------ >> --note fld statusCode is NOT shared >> -- flds desiredCodeString notnowCodeString >> -- ARE SHARED >> -- fld output is NOT shared >> -- all fields are in a group that behaves as backgound >> >> >> on doCustomPropertyRun >> -- I use 'cps' to mean 'cust prop set' >> set the customPropertySet of this stack to "cpsStatusCodes" >> --make this set empty >> set the customkeys of this stack to empty >> >> --you only need to do the repeat when changes are made >> -- or when the stack closes >> repeat with k = 1 to the number of cards >> put word -1 of the short id of card k into thisCdId >> get k & "^" & word 1 to -1 of fld "statusCode" of card k >> replace cr with space in IT >> set the cpsStatusCodes[ thisCdId ] of this stack to IT >> end repeat >> save this stack --if it is run in the IDE, but not if an app >> >> --To get the list of 'marked cards' you would do the following >> type of operation >> set the customPropertySet of this stack to "cpsStatusCodes" >> put the customProperties of this stack into statusCodeList >> -- now make a regular list >> combine statusCodeList using cr and "^" >> set the itemdel to "^" >> if field "desiredCodeString" is not empty then >> filter statusCodeList with "*" & field "desiredCodeString" & "*" >> --and now you have a list of cd id's >> end if >> >> if field "notnowCodeString" is not empty then >> filter statusCodeList without "*" & field "notnowCodeString" & >> "*" >> -- and you have a shorter list if any have been removed >> end if >> -- if you want the card order, use the following >> sort statusCodeList numeric by item 2 of each >> put statusCodeList into fld "output" >> >> --this allows showing a list of hits and changing the final list >> in many ways >> end doCustomPropertyRun >> >> --------------------------------------- Jim Ault Las Vegas From bobs at twft.com Fri Apr 1 13:28:11 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 1 Apr 2011 10:28:11 -0700 Subject: Bark Dark In-Reply-To: References: <24D8FD98-38D3-4BCC-B52C-A5315C95230A@twft.com> Message-ID: <3D542C8D-9C3B-4606-9901-FE45313CDA1B@twft.com> I think the idea was to have multiple values to mark cards with. Mark and unmark are one dimensional. Using the alternate method that Jim proposed, there would be no limit to the values a "card" could be marked with using custom handlers. Better yet, there should be a feature addition in some future version of Livecode to mark cards with multiple values. Something like mark card 2 with "heebeegeebee" and find all cards marked with "heebeegeebee". Bob On Apr 1, 2011, at 10:04 AM, Pete wrote: > Just for my own education, what is it about the standard mark and unmark > commands that doesn't achieve what Tim wants to do? I might want to use > those commands in the future and if they should be avoided for some reason, > I'd like to know! > Thanks, > Pete > > On Fri, Apr 1, 2011 at 9:38 AM, Bob Sneidar wrote: > >> Hey pretty clever. You could even trap for newCard and deleteCard to add >> and delete entries in the custom Property. That way you wouldn't have to >> repeat through all the cards again except for maintenance. >> >> It looks like the repeat loop is getting the value of a shared field on >> each of the cards. Couldn't you just set the property array element to empty >> for each card to initialize it, then have a custom function markme(theMark) >> which would simply set the array element to whatever you passed in theMark? >> >> Bob >> >> >> On Mar 31, 2011, at 5:23 PM, Jim Ault wrote: >> >>> On Mar 31, 2011, at 3:29 PM, Bob Sneidar wrote: >>> >>>> I don't think the property thing will work because I don't think you can >> find a card with a property or enumerate them as such. (This AIN'T >> Applescript man!" >>>> >>> The 'property thing' does not refer to the CARD properties, >>> but the customProperties of the STACK >>> >>> ---- tested in a working stack ------------------ >>> --note fld statusCode is NOT shared >>> -- flds desiredCodeString notnowCodeString >>> -- ARE SHARED >>> -- fld output is NOT shared >>> -- all fields are in a group that behaves as backgound >>> >>> >>> on doCustomPropertyRun >>> -- I use 'cps' to mean 'cust prop set' >>> set the customPropertySet of this stack to "cpsStatusCodes" >>> --make this set empty >>> set the customkeys of this stack to empty >>> >>> --you only need to do the repeat when changes are made >>> -- or when the stack closes >>> repeat with k = 1 to the number of cards >>> put word -1 of the short id of card k into thisCdId >>> get k & "^" & word 1 to -1 of fld "statusCode" of card k >>> replace cr with space in IT >>> set the cpsStatusCodes[ thisCdId ] of this stack to IT >>> end repeat >>> save this stack --if it is run in the IDE, but not if an app >>> >>> --To get the list of 'marked cards' you would do the following type of >> operation >>> set the customPropertySet of this stack to "cpsStatusCodes" >>> put the customProperties of this stack into statusCodeList >>> -- now make a regular list >>> combine statusCodeList using cr and "^" >>> set the itemdel to "^" >>> if field "desiredCodeString" is not empty then >>> filter statusCodeList with "*" & field "desiredCodeString" & "*" >>> --and now you have a list of cd id's >>> end if >>> >>> if field "notnowCodeString" is not empty then >>> filter statusCodeList without "*" & field "notnowCodeString" & "*" >>> -- and you have a shorter list if any have been removed >>> end if >>> -- if you want the card order, use the following >>> sort statusCodeList numeric by item 2 of each >>> put statusCodeList into fld "output" >>> >>> --this allows showing a list of hits and changing the final list in >> many ways >>> end doCustomPropertyRun >>> >>> ---------------------------------------- >>> Jim Ault >>> Las Vegas >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 bobs at twft.com Fri Apr 1 13:30:28 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 1 Apr 2011 10:30:28 -0700 Subject: Creating an auto-updating button icon thumbnail image from card snapshot In-Reply-To: <4D9606C3.3060409@hyperactivesw.com> References: <78001070-3079-4BEA-B96E-E2696029C6CF@clarkeandclarke.co.uk> <79DA282F-29AD-4295-975F-AB7DB646901E@clarkeandclarke.co.uk> <4D95F9F9.5000508@hyperactivesw.com> <4D9606C3.3060409@hyperactivesw.com> Message-ID: <4F8850B0-6DDD-4333-9713-4A97B8315F1B@twft.com> That's worth saving in my Livecode Keepers! Someday I am going to make a stack of this stuff! Bob On Apr 1, 2011, at 10:09 AM, J. Landman Gay wrote: > On 4/1/11 11:14 AM, J. Landman Gay wrote: >> >> Since you are taking snapshots of other cards and the "preopen" is for >> the control, I'm not sure you need to wait for the control to load. I >> think the issue is the ID of the icon. >> > > I just tried the handler you posted and there's more wrong than just the icon ID. > > on preOpenControl > import snapshot from the rect of card "Example" > set the icon of me to it > end preOpenControl > > It might be a typo, but the first line will error without the "rect" keyword: import snapshot from rect (the rect of cd "example"). Also, snapshots use the 0,0 point of the monitor (not the stack) for coordinates when dealing with cards, so the rect of a card will result in the snapshot containing the top left portion of whatever's on the monitor at that position. You'll need to translate the coordinates from global to local coords. You can either do that using the globalloc function or you can just use the rect of the stack instead of the rect of the card. The second method won't always work if you have a menubar on a Mac (which makes the stack shorter than the card.) > > After either an import or an export, the "it" variable is not given a value, so it becomes the string literal "it". You can't set an icon to a string literal, you need an ID number. > > While you can take snapshots of objects that aren't open, you can't take them of cards that aren't open. Cards are not objects. I was unable to get a snapshot of another card unless I went there first. This did work: > > on test > get the rect of this cd > put globalloc(item 1 to 2 of it) into tRect > put globalLoc(item 3 to 4 of it) into item 3 to 4 of tRect > go cd 2 > import snapshot from rect tRect > go back > set the icon of me to the short id of last img of cd 2 > end test > > The "export snapshot" offers more options. You can export a snapshot to a variable and then put that variable into an image object. However, I was still unable to get a snapshot without going to the card. This works: > > on test2 > lock screen > go cd 2 > export snapshot from cd 2 to tVar as JPEG > go back > unlock screen > create img "iconImg" > set the text of img "iconImg" to tVar > set the icon of me to the short id of img "iconImg" > end test2 > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From keith.clarke at clarkeandclarke.co.uk Fri Apr 1 13:30:37 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Fri, 1 Apr 2011 18:30:37 +0100 Subject: Creating an auto-updating button icon thumbnail image from card snapshot In-Reply-To: <4D9606C3.3060409@hyperactivesw.com> References: <78001070-3079-4BEA-B96E-E2696029C6CF@clarkeandclarke.co.uk> <79DA282F-29AD-4295-975F-AB7DB646901E@clarkeandclarke.co.uk> <4D95F9F9.5000508@hyperactivesw.com> <4D9606C3.3060409@hyperactivesw.com> Message-ID: <9DC2B798-A19E-4C11-8FE0-D29675A20FA8@clarkeandclarke.co.uk> Hi Jaque, Thanks for responding. This is what I ended up with for updating a single button. I'm quite pleased with the result, because, as there are 'moving parts' on the visited cards, when I return to the home screen it is updated with thumbnails reflecting the current 'just left' view of the visited cards, rather than the default from when the presentation was first opened. on openCard --Delete the old thumbnail and set button to 'Updating' delete image "Snapshot-Example" set the showName of button "btn Example" to true set the label of button "btn Example" to "Updating Image" --get the new card snapshot and make it identifiable import snapshot from rectangle 0,0,1024,768 of card "Example" set the name of the last image to "Snapshot-Example" --scales the snapshot to thumbnail size set the height of the last image to 150 set the width of the last image to 200 --Make it the button's icon image and hide the updating message set the icon of button "btn Example" to the ID of the last image set the showName of button "btn Example" to false set the label of button "btn Example" to "Example" --Hide the imported snapshot set the layer of the last image to 1 end openCard Once I have wrapped it in a loop for all the navigation buttons on the 'home' screen, I will publish a how-to document. This will be one of a few switching guides I have in mind for LiveCode newbies like me who were PowerPoint 'power user'. In my case, PowerPoint was my 'IDE for non-functioning wish-list-ware' for a couple of decades . Best, Keith.. From dunbarx at aol.com Fri Apr 1 13:34:35 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 01 Apr 2011 13:34:35 -0400 Subject: practical size limitations? In-Reply-To: <3682DDE3-F4DA-4A6A-A95A-056355B84246@twft.com> References: <3682DDE3-F4DA-4A6A-A95A-056355B84246@twft.com> Message-ID: <8CDBEAA33CEEAE2-2240-1D873@webmail-m129.sysops.aol.com> I know databases are the grownup way to do things. But I loaded 1,000,000 words into 1,000,000 lines of a field by generating random strings of six chars. Takes no time to do that (0.6 seconds). I retrieved a random word from that field. Takes no time at all (3 ticks). If you had a million words separated with a comma from their definitions, you would also spend no time accessing them. One card, one field and a button or two for functionality. Craig Newman -----Original Message----- From: Bob Sneidar To: How to use LiveCode Sent: Fri, Apr 1, 2011 1:08 pm Subject: Re: practical size limitations? I'm a quarter Norwegian! I'd buy that! I like the idea of using an array, given that all the data you could ever conceivably have will fit into memory snugly. For a dictionary, that may not be the case. SQLite would be the way to go if not. Lots of cards, no buenos. SQL is not that hard to learn, especially if all you are doing is finding and retrieving small sets of records from a single table. SQLite has a plugin for Firefox that can handle most things you would want to do with it. Seriously, I would love to buy that dictionary when you are done, ESPECIALLY if it were an iPhone app. Bob On Apr 1, 2011, at 7:56 AM, Louis Janus wrote: > Dear use-livecode > > I am beginning work on a learner's dictionary for Norwegian, and am > looking into using LiveCode. > > A few basic questions: > > 1. I assume it would be best to use a database as a backend to the > ultimate dictionary, but I am quite sure that I don't have the skills > to set up SQLite or any other database proficiently. (I can learn, I'm > sure, however) > > 2. If I take the easy way out and list each headword and its forms on > a separate card, will a large number of cards slow the searching and > displaying of items beyond usefulness? > > 3. Does anyone know of such a language dictionary developed using LiveCode? > > Thanks for any input and ideas. > > Louis Janus > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jimaultwins at yahoo.com Fri Apr 1 13:38:57 2011 From: jimaultwins at yahoo.com (Jim Ault) Date: Fri, 1 Apr 2011 10:38:57 -0700 Subject: novice question re "marked" and customkeys In-Reply-To: <85DCE236-5172-4876-B5A9-BF0EFAE815CB@twft.com> References: <57DDFA01-117A-47E9-99A7-968DC112C63D@doctorTimothyMiller.com> <4418C180-C8A6-4A15-ADB7-995D5EB577B6@twft.com> <85DCE236-5172-4876-B5A9-BF0EFAE815CB@twft.com> Message-ID: On Apr 1, 2011, at 9:43 AM, Bob Sneidar wrote: > Yes I did figure it out. I was getting the ID of this card, which > always seems to refer to the first card that the group the button > belonged to was placed on, hence always getting 1002 for the ID. > Getting the name seems to do the same thing. But getting the NUMBER > returns the correct result. As I said in another post, I find that > odd, but I am probably not seeing the "big picture". > Since groups can be placed and removed on cards at any time, and the card sort order can be changed at anytime, the card id sequence has no real meaning for groups. In fact, a group does not have to even be on any card, thus the id would be missing. Once created, a group can be deleted from that card and that group will still be part of the stack, available for placement on any card in that stack. A group Card 5 and card 20 always mean the same thing, no matter if cards are sorted, deleted, added. Jim Ault Las Vegas > On Mar 31, 2011, at 10:39 PM, Timothy Miller wrote: > >> Bob's experience, quoted below, seems odd. I don't think this is >> normal LC behavior. Something has gone wrong, it seems. I might >> have missed a reply to Bob that explains it, but I didn't see one. >> >> Did you ever figure it out, Bob? >> >> >> on mouseUp >> push card >> set lockscreen to "true" >> set lockmessages to "true" >> put the number of cards into tNum >> repeat with i = 2 to tNum >> if the shiftkey is down then exit repeat >> set cursor to busy >> go to card i >> put the id of this card & return after tCardId >> end repeat >> pop card >> put tCardId >> end mouseUp >> >> I tried this in a card button and a background button. It worked >> fine, either way. No duplicate card IDs. >> >> Reply to Peter: >> >> "Mark cards where..." Oh! That is awesome! I'd forgotten about that >> command. >> >> Also forgot about "mark cards by finding "x" in field "y" >> >> Also forgot about "unmark cards where..." and "unmark cards by >> finding..." >> >> These commands combine simplicity with blazing speed. You can do a >> lot with them. Thanks for reminding me. From bobs at twft.com Fri Apr 1 13:44:57 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 1 Apr 2011 10:44:57 -0700 Subject: Currently playing song on iPod Touch In-Reply-To: <6270982E-AEB7-4E62-90DD-C05CDDFE9F2B@gmail.com> References: <4B34C19D-7E97-4F60-9025-C5285EBB43F1@de-mare.nl> <6270982E-AEB7-4E62-90DD-C05CDDFE9F2B@gmail.com> Message-ID: <8C9EFA76-6271-488B-8536-A2ECBEC5567B@twft.com> I will say that I have had a long staning issue in Livecode where I have to hold the mouse button a bit longer for the click to register. That may be your problem. I have not troubleshot this at all, but of course the first thing to do is remove all your plugins (except the one you are testing) and restart Livecode. Bob On Apr 1, 2011, at 10:23 AM, Peter Brigham MD wrote: > http://home.comcast.net/~pmbrig/iTunesWidget.rev.zip > > I haven't tried to pass this around much, because for reasons I can't track down, clicks sometimes disappear into emptiness with no response, sometimes mousemove doesn't trigger the tooltip display, etc. Something is swallowing system messages, or maybe the AppleScript messages are going awry, anyway it's occasionally a bit unpredictable. But I use it when I'm working in the IDE and want to listen to some MP3s. Handy because I don't have to change gears when the phone rings, just click to pause, and answer the call. From bobs at twft.com Fri Apr 1 13:47:34 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 1 Apr 2011 10:47:34 -0700 Subject: Creating an auto-updating button icon thumbnail image from card snapshot In-Reply-To: <9DC2B798-A19E-4C11-8FE0-D29675A20FA8@clarkeandclarke.co.uk> References: <78001070-3079-4BEA-B96E-E2696029C6CF@clarkeandclarke.co.uk> <79DA282F-29AD-4295-975F-AB7DB646901E@clarkeandclarke.co.uk> <4D95F9F9.5000508@hyperactivesw.com> <4D9606C3.3060409@hyperactivesw.com> <9DC2B798-A19E-4C11-8FE0-D29675A20FA8@clarkeandclarke.co.uk> Message-ID: <157B89AE-5B81-42F7-9B73-FE51183B249B@twft.com> Welcome to the New World sir! Bob On Apr 1, 2011, at 10:30 AM, Keith Clarke wrote: > In my case, PowerPoint was my 'IDE for non-functioning wish-list-ware' for a couple of decades . > Best, > Keith.. From bobs at twft.com Fri Apr 1 13:55:06 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 1 Apr 2011 10:55:06 -0700 Subject: novice question re "marked" and customkeys In-Reply-To: References: <57DDFA01-117A-47E9-99A7-968DC112C63D@doctorTimothyMiller.com> <4418C180-C8A6-4A15-ADB7-995D5EB577B6@twft.com> <85DCE236-5172-4876-B5A9-BF0EFAE815CB@twft.com> Message-ID: <73DBAB0E-9049-4EAA-A1D1-71DCF34193C8@twft.com> Yes, but I was not getting the ID of the group, but the ID of "this" card (note currentCard is now obsolete). What is odd is that the ID of "this card" is 1002 no matter which card you are on, (given it still exists otherwise it would be the ID of first card of the stack) and the name of "this card" is the name of card ID 1002 (or the first card of the stack) but the NUMBER of this card returns a correct value, the number of the card you happen to be on. Not complaining, just saying. Whenever looping through cards, use the number of this card, or the name of card or the ID of card . Bob On Apr 1, 2011, at 10:38 AM, Jim Ault wrote: > On Apr 1, 2011, at 9:43 AM, Bob Sneidar wrote: > >> Yes I did figure it out. I was getting the ID of this card, which always seems to refer to the first card that the group the button belonged to was placed on, hence always getting 1002 for the ID. Getting the name seems to do the same thing. But getting the NUMBER returns the correct result. As I said in another post, I find that odd, but I am probably not seeing the "big picture". >> > Since groups can be placed and removed on cards at any time, and the card sort order can be changed at anytime, the card id sequence has no real meaning for groups. In fact, a group does not have to even be on any card, thus the id would be missing. > > Once created, a group can be deleted from that card and that group will still be part of the stack, available for placement on any card in that stack. A group > > Card 5 and card 20 always mean the same thing, no matter if cards are sorted, deleted, added. > > Jim Ault > Las Vegas From bobs at twft.com Fri Apr 1 13:59:03 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 1 Apr 2011 10:59:03 -0700 Subject: novice question re "marked" and customkeys In-Reply-To: References: <57DDFA01-117A-47E9-99A7-968DC112C63D@doctorTimothyMiller.com> <4418C180-C8A6-4A15-ADB7-995D5EB577B6@twft.com> <85DCE236-5172-4876-B5A9-BF0EFAE815CB@twft.com> Message-ID: <25645D7A-9568-4326-88B4-FB5D68A49D90@twft.com> I think the difference may have been that my button was part of a background group. Also, I locked the screen but did not lock messages. Not sure if that had anything to do with it. Also, I did not go to a card number. I used go next. Bob On Apr 1, 2011, at 10:38 AM, Jim Ault wrote: >> On Mar 31, 2011, at 10:39 PM, Timothy Miller wrote: >> >>> Bob's experience, quoted below, seems odd. I don't think this is normal LC behavior. Something has gone wrong, it seems. I might have missed a reply to Bob that explains it, but I didn't see one. >>> >>> Did you ever figure it out, Bob? >>> >>> >>> on mouseUp >>> push card >>> set lockscreen to "true" >>> set lockmessages to "true" >>> put the number of cards into tNum >>> repeat with i = 2 to tNum >>> if the shiftkey is down then exit repeat >>> set cursor to busy >>> go to card i >>> put the id of this card & return after tCardId >>> end repeat >>> pop card >>> put tCardId >>> end mouseUp >>> >>> I tried this in a card button and a background button. It worked fine, either way. No duplicate card IDs. From ambassador at fourthworld.com Fri Apr 1 14:05:01 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 01 Apr 2011 11:05:01 -0700 Subject: Creating an auto-updating button icon thumbnail image from card snapshot In-Reply-To: <4D9606C3.3060409@hyperactivesw.com> References: <4D9606C3.3060409@hyperactivesw.com> Message-ID: <4D9613CD.1010708@fourthworld.com> Jacque wrote: > While you can take snapshots of objects that aren't open, you can't take > them of cards that aren't open. Cards are not objects. I was unable to > get a snapshot of another card unless I went there first. I didn't know I couldn't do that so I tried it a long time ago and it seemed to work so I've been using it since. :) In fact, after reading your post I wondered if it was dependent on having rendered the card during the current session, so I wrote this to test it on a stack I haven't opened in weeks: on mouseUp answer file "Select a stack file:" if it is empty then exit to top put it into tStackfile export snapshot from cd 1 of stack tStackFile to \ file (specialfolderPath("desktop")&"/myimage.png") as png end mouseUp Worked a treat. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From ambassador at fourthworld.com Fri Apr 1 14:09:01 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 01 Apr 2011 11:09:01 -0700 Subject: practical size limitations? In-Reply-To: References: Message-ID: <4D9614BD.3080304@fourthworld.com> Louis Janus wrote: > A few basic questions: > > 1. I assume it would be best to use a database as a backend to the > ultimate dictionary, but I am quite sure that I don't have the skills > to set up SQLite or any other database proficiently. (I can learn, I'm > sure, however) > > 2. If I take the easy way out and list each headword and its forms on > a separate card, will a large number of cards slow the searching and > displaying of items beyond usefulness? > > 3. Does anyone know of such a language dictionary developed using LiveCode? How much data, in terms of both the number of records and the total size of the data set? SQLite isn't hard to learn and would certainly do the job, but unless you need relationality or the data set is particularly large (>~50MB) you'll find there are a surprisingly broad range of options available for data storage with Rev, my personal favorite being custom properties. -- 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 gandalf at doctorTimothyMiller.com Fri Apr 1 14:15:55 2011 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Fri, 1 Apr 2011 11:15:55 -0700 Subject: novice question re "marked" and customkeys In-Reply-To: <25645D7A-9568-4326-88B4-FB5D68A49D90@twft.com> References: <57DDFA01-117A-47E9-99A7-968DC112C63D@doctorTimothyMiller.com> <4418C180-C8A6-4A15-ADB7-995D5EB577B6@twft.com> <85DCE236-5172-4876-B5A9-BF0EFAE815CB@twft.com> <25645D7A-9568-4326-88B4-FB5D68A49D90@twft.com> Message-ID: Hey Bob, This still sounds wrong. "The ID of this card" should be the same, regardless of the object containing the script that retrieves it. I'm not aware that lockMessages or lockScreen would have any effect on getting the ID of this card. The problem more likely lies with "this card". If something interfered with "go next" then your retrieved the ID of the same card repeatedly. Try putting a different value into a field on several different cards, then put the ID of this card && the number of this card && field "testField" into your variables. Then scrutinize. You did not mention how you viewed the values of theFirstCard and theNextCard. Maybe you made a mistake when doing so. Cheers, Tim On Apr 1, 2011, at 10:59 AM, Bob Sneidar wrote: > I think the difference may have been that my button was part of a background group. Also, I locked the screen but did not lock messages. Not sure if that had anything to do with it. Also, I did not go to a card number. I used go next. > > Bob From bobs at twft.com Fri Apr 1 14:18:34 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 1 Apr 2011 11:18:34 -0700 Subject: Creating an auto-updating button icon thumbnail image from card snapshot In-Reply-To: <4D9613CD.1010708@fourthworld.com> References: <4D9606C3.3060409@hyperactivesw.com> <4D9613CD.1010708@fourthworld.com> Message-ID: <29C2AE9B-8370-464A-9BF2-E06017B3D856@twft.com> I wonder if this is because export snapshot puts the stack in memory, along with the first card in the stack? Try it with the second card. Bob On Apr 1, 2011, at 11:05 AM, Richard Gaskin wrote: > Jacque wrote: >> While you can take snapshots of objects that aren't open, you can't take >> them of cards that aren't open. Cards are not objects. I was unable to >> get a snapshot of another card unless I went there first. > > I didn't know I couldn't do that so I tried it a long time ago and it seemed to work so I've been using it since. :) > > In fact, after reading your post I wondered if it was dependent on having rendered the card during the current session, so I wrote this to test it on a stack I haven't opened in weeks: > > on mouseUp > answer file "Select a stack file:" > if it is empty then exit to top > put it into tStackfile > export snapshot from cd 1 of stack tStackFile to \ > file (specialfolderPath("desktop")&"/myimage.png") as png > end mouseUp > > Worked a treat. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 1 14:25:57 2011 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Fri, 1 Apr 2011 11:25:57 -0700 Subject: Name of control in a given group In-Reply-To: References: Message-ID: <9ACF0CA2-BF8B-40A8-B88F-B1733F364FEC@sbcglobal.net> "Put the name of control 1 in group id 1005" doesn't work. Any suggestions? Best I can do is get the number of controls in a group. I need the names. Jim Hurley From scott at tactilemedia.com Fri Apr 1 14:32:00 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 01 Apr 2011 11:32:00 -0700 Subject: Name of control in a given group In-Reply-To: <9ACF0CA2-BF8B-40A8-B88F-B1733F364FEC@sbcglobal.net> Message-ID: Recently, James Hurley wrote: > "Put the name of control 1 in group id 1005" > > doesn't work. > > Any suggestions? Best I can do is get the number of controls in a group. I > need the names. Try: put the name of control 1 *of* group id 1005 Regards, Scott Rossi Creative Director Tactile Media, UX Design From pmbrig at gmail.com Fri Apr 1 14:32:56 2011 From: pmbrig at gmail.com (Peter Brigham MD) Date: Fri, 1 Apr 2011 14:32:56 -0400 Subject: Currently playing song on iPod Touch In-Reply-To: <8C9EFA76-6271-488B-8536-A2ECBEC5567B@twft.com> References: <4B34C19D-7E97-4F60-9025-C5285EBB43F1@de-mare.nl> <6270982E-AEB7-4E62-90DD-C05CDDFE9F2B@gmail.com> <8C9EFA76-6271-488B-8536-A2ECBEC5567B@twft.com> Message-ID: <7C5D3509-39FB-43B9-9903-A1EAC45C3D13@gmail.com> On Apr 1, 2011, at 1:44 PM, Bob Sneidar wrote: > I will say that I have had a long staning issue in Livecode where I > have to hold the mouse button a bit longer for the click to > register. That may be your problem. I have not troubleshot this at > all, but of course the first thing to do is remove all your plugins > (except the one you are testing) and restart Livecode. I've not seen this except in this one stack. That's why I wonder about something going funky with the AppleScript messages. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig > Bob > > > On Apr 1, 2011, at 10:23 AM, Peter Brigham MD wrote: > >> http://home.comcast.net/~pmbrig/iTunesWidget.rev.zip >> >> I haven't tried to pass this around much, because for reasons I >> can't track down, clicks sometimes disappear into emptiness with no >> response, sometimes mousemove doesn't trigger the tooltip display, >> etc. Something is swallowing system messages, or maybe the >> AppleScript messages are going awry, anyway it's occasionally a bit >> unpredictable. But I use it when I'm working in the IDE and want to >> listen to some MP3s. Handy because I don't have to change gears >> when the phone rings, just click to pause, and answer the call. From bobs at twft.com Fri Apr 1 14:37:13 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 1 Apr 2011 11:37:13 -0700 Subject: novice question re "marked" and customkeys In-Reply-To: References: <57DDFA01-117A-47E9-99A7-968DC112C63D@doctorTimothyMiller.com> <4418C180-C8A6-4A15-ADB7-995D5EB577B6@twft.com> <85DCE236-5172-4876-B5A9-BF0EFAE815CB@twft.com> <25645D7A-9568-4326-88B4-FB5D68A49D90@twft.com> Message-ID: <1CD118CC-612E-4E8B-A26D-5D340A211AF9@twft.com> Okay sorry dislexia has set it. I saw 1022 and it looked like 1002. I looked at it 20 times and saw them as identical. I am so embarrassed. Bob On Apr 1, 2011, at 11:15 AM, Timothy Miller wrote: > Hey Bob, > > This still sounds wrong. "The ID of this card" should be the same, regardless of the object containing the script that retrieves it. I'm not aware that lockMessages or lockScreen would have any effect on getting the ID of this card. > > The problem more likely lies with "this card". If something interfered with "go next" then your retrieved the ID of the same card repeatedly. > > Try putting a different value into a field on several different cards, then put the ID of this card && the number of this card && field "testField" into your variables. Then scrutinize. > > You did not mention how you viewed the values of theFirstCard and theNextCard. Maybe you made a mistake when doing so. > > Cheers, > > > Tim > > On Apr 1, 2011, at 10:59 AM, Bob Sneidar wrote: > >> I think the difference may have been that my button was part of a background group. Also, I locked the screen but did not lock messages. Not sure if that had anything to do with it. Also, I did not go to a card number. I used go next. >> >> 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 bobs at twft.com Fri Apr 1 14:41:23 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 1 Apr 2011 11:41:23 -0700 Subject: Currently playing song on iPod Touch In-Reply-To: <7C5D3509-39FB-43B9-9903-A1EAC45C3D13@gmail.com> References: <4B34C19D-7E97-4F60-9025-C5285EBB43F1@de-mare.nl> <6270982E-AEB7-4E62-90DD-C05CDDFE9F2B@gmail.com> <8C9EFA76-6271-488B-8536-A2ECBEC5567B@twft.com> <7C5D3509-39FB-43B9-9903-A1EAC45C3D13@gmail.com> Message-ID: <2B603D22-241E-41D2-9AFA-641940B5BD01@twft.com> Actually, now that I remember better I DID troubleshoot this a bit and found that it had to do with my using a Kensington trackball. The Kensington driver is getting in the way I think so belay my last. Bob On Apr 1, 2011, at 11:32 AM, Peter Brigham MD wrote: > On Apr 1, 2011, at 1:44 PM, Bob Sneidar wrote: > >> I will say that I have had a long staning issue in Livecode where I have to hold the mouse button a bit longer for the click to register. That may be your problem. I have not troubleshot this at all, but of course the first thing to do is remove all your plugins (except the one you are testing) and restart Livecode. > > I've not seen this except in this one stack. That's why I wonder about something going funky with the AppleScript messages. > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig From jacque at hyperactivesw.com Fri Apr 1 14:42:47 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 01 Apr 2011 13:42:47 -0500 Subject: Creating an auto-updating button icon thumbnail image from card snapshot In-Reply-To: <4D9613CD.1010708@fourthworld.com> References: <4D9606C3.3060409@hyperactivesw.com> <4D9613CD.1010708@fourthworld.com> Message-ID: <4D961CA7.2000805@hyperactivesw.com> On 4/1/11 1:05 PM, Richard Gaskin wrote: > Jacque wrote: >> While you can take snapshots of objects that aren't open, you can't take >> them of cards that aren't open. Cards are not objects. I was unable to >> get a snapshot of another card unless I went there first. > > I didn't know I couldn't do that so I tried it a long time ago and it > seemed to work so I've been using it since. :) I see Keith is using it too, so I guess it does work. I couldn't get it to do that. I'm not sure what was different about my stack, but trying to get a snapshot of the non-current card did nothing. I see Keith is using "import snapshot" and specifying a card. That isn't in the docs and I always got an error when I tried to specify an object with "import", I could only specify one with "export". -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gandalf at doctorTimothyMiller.com Fri Apr 1 14:45:42 2011 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Fri, 1 Apr 2011 11:45:42 -0700 Subject: novice question re "marked" and customkeys In-Reply-To: <1CD118CC-612E-4E8B-A26D-5D340A211AF9@twft.com> References: <57DDFA01-117A-47E9-99A7-968DC112C63D@doctorTimothyMiller.com> <4418C180-C8A6-4A15-ADB7-995D5EB577B6@twft.com> <85DCE236-5172-4876-B5A9-BF0EFAE815CB@twft.com> <25645D7A-9568-4326-88B4-FB5D68A49D90@twft.com> <1CD118CC-612E-4E8B-A26D-5D340A211AF9@twft.com> Message-ID: <73B56172-05CF-43BC-B82D-5C92EF92B5C9@doctorTimothyMiller.com> Breathe into the pain. Chant to yourself, "This humiliation is making me a better person." It doesn't, really, but the procedure is a good distraction until you forget about it. Tim On Apr 1, 2011, at 11:37 AM, Bob Sneidar wrote: > Okay sorry dislexia has set it. I saw 1022 and it looked like 1002. I looked at it 20 times and saw them as identical. I am so embarrassed. > > Bob From ambassador at fourthworld.com Fri Apr 1 14:46:54 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 01 Apr 2011 11:46:54 -0700 Subject: Creating an auto-updating button icon thumbnail image from card snapshot In-Reply-To: <4D961CA7.2000805@hyperactivesw.com> References: <4D961CA7.2000805@hyperactivesw.com> Message-ID: <4D961D9E.6070707@fourthworld.com> Jacque - > I see Keith is using "import snapshot" and specifying a card. That isn't > in the docs and I always got an error when I tried to specify an object > with "import", I could only specify one with "export". Ah, that may be it. I almost never use "import", using "export" instead. If one supports a feature the other doesn't, is it a bug? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From jacque at hyperactivesw.com Fri Apr 1 14:47:53 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 01 Apr 2011 13:47:53 -0500 Subject: Creating an auto-updating button icon thumbnail image from card snapshot In-Reply-To: <4D961CA7.2000805@hyperactivesw.com> References: <4D9606C3.3060409@hyperactivesw.com> <4D9613CD.1010708@fourthworld.com> <4D961CA7.2000805@hyperactivesw.com> Message-ID: <4D961DD9.9010204@hyperactivesw.com> On 4/1/11 1:42 PM, J. Landman Gay wrote: > On 4/1/11 1:05 PM, Richard Gaskin wrote: >> Jacque wrote: >>> While you can take snapshots of objects that aren't open, you can't take >>> them of cards that aren't open. Cards are not objects. I was unable to >>> get a snapshot of another card unless I went there first. >> >> I didn't know I couldn't do that so I tried it a long time ago and it >> seemed to work so I've been using it since. :) > > I see Keith is using it too, so I guess it does work. I couldn't get it > to do that. I'm not sure what was different about my stack, but trying > to get a snapshot of the non-current card did nothing. > > I see Keith is using "import snapshot" and specifying a card. That isn't > in the docs and I always got an error when I tried to specify an object > with "import", I could only specify one with "export". > Okay, I made a new stack and getting a snapshot of a remote card works, even with "import". I tend to use the same test stack repeatedly for all kinds of junk until it gets too messy, and then I start a new one. Next time I'll make a new one right off. Bob, don't keep what I wrote. Some of it is wrong. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From RevList at CreaTECHSol.com Fri Apr 1 14:59:15 2011 From: RevList at CreaTECHSol.com (RevList) Date: Fri, 01 Apr 2011 11:59:15 -0700 Subject: Code Documentation In-Reply-To: References: Message-ID: How to use LiveCode on April 1, 2011 at 8:54 AM -0700 wrote: >I'm at the stage in my project where I want to produce some documentation on >the various handlers I've written - a few words about purpose, list of >parameters and what they contain, and any returned values. I've documented >all this in a comment block at the start of each handler. I know, how >old-fashioned isn't it! > >I'm sure I could write a script to go through all my handlers and extract >the comment block but before I start down that road, are there any code >documentation aids out there for Livecode? Take a look at Script Reporter in the Developer section of RevOnline I wrote this some time ago. Click on User Samples button within LiveCode ****************************************** 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 pmbrig at gmail.com Fri Apr 1 15:00:52 2011 From: pmbrig at gmail.com (Peter Brigham MD) Date: Fri, 1 Apr 2011 15:00:52 -0400 Subject: novice question re "marked" and customkeys In-Reply-To: <1CD118CC-612E-4E8B-A26D-5D340A211AF9@twft.com> References: <57DDFA01-117A-47E9-99A7-968DC112C63D@doctorTimothyMiller.com> <4418C180-C8A6-4A15-ADB7-995D5EB577B6@twft.com> <85DCE236-5172-4876-B5A9-BF0EFAE815CB@twft.com> <25645D7A-9568-4326-88B4-FB5D68A49D90@twft.com> <1CD118CC-612E-4E8B-A26D-5D340A211AF9@twft.com> Message-ID: <17CCED39-9D9F-4C71-B98A-E4DB821C1B09@gmail.com> On Apr 1, 2011, at 2:37 PM, Bob Sneidar wrote: > Okay sorry dislexia has set it. I saw 1022 and it looked like 1002. > I looked at it 20 times and saw them as identical. I am so > embarrassed. > > Bob I make stupid mistakes all the time, especially when I've just hit the send button. :-) As I get older, I get less embarrassed, though the curve will probably never hit 0. I think it's because, more and more, I sort of don't give a sh*t. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From pete at mollysrevenge.com Fri Apr 1 15:05:40 2011 From: pete at mollysrevenge.com (Pete) Date: Fri, 1 Apr 2011 12:05:40 -0700 Subject: Code Documentation In-Reply-To: References: Message-ID: Thanks Stewart, I'll take a look. By the way, there are actually only three types of people - those who can count and those who can't... Pete On Fri, Apr 1, 2011 at 11:59 AM, RevList wrote: > How to use LiveCode on April 1, 2011 at > 8:54 AM -0700 wrote: > >I'm at the stage in my project where I want to produce some documentation > on > >the various handlers I've written - a few words about purpose, list of > >parameters and what they contain, and any returned values. I've > documented > >all this in a comment block at the start of each handler. I know, how > >old-fashioned isn't it! > > > >I'm sure I could write a script to go through all my handlers and extract > >the comment block but before I start down that road, are there any code > >documentation aids out there for Livecode? > > Take a look at Script Reporter in the Developer section of RevOnline > I wrote this some time ago. > Click on User Samples button within LiveCode > > ****************************************** > 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 > > -- Pete Molly's Revenge From keith.clarke at clarkeandclarke.co.uk Fri Apr 1 15:15:53 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Fri, 1 Apr 2011 20:15:53 +0100 Subject: Creating an auto-updating button icon thumbnail image from card snapshot In-Reply-To: <4D961CA7.2000805@hyperactivesw.com> References: <4D9606C3.3060409@hyperactivesw.com> <4D9613CD.1010708@fourthworld.com> <4D961CA7.2000805@hyperactivesw.com> Message-ID: <031FD003-0156-4A91-AB30-272CF97E6D61@clarkeandclarke.co.uk> I tried 'import' first purely because I wanted to bring the snapshot of the unopened card into the 'home' card rather than export to file, etc. There are some notes in the dictionary about setting the absolute rectangle coordinates depending on the target object - it didn't work until I defined the 0.0.1024,768 parameters. I can't claim to have understood - I just fiddled around with all the options - process of elimination. The good news is that my hack seems to have survived the test deployment out to a revlet. An online product demonstration presentation with (so far one) live thumbnail updates on the home page - not too shabby! I'm getting to like this LiveCode thing and almost enjoying coding - it's all rather worrying! ;-) Best, Keith.. On 1 Apr 2011, at 19:42, J. Landman Gay wrote: > > I see Keith is using it too, so I guess it does work. I couldn't get it to do that. I'm not sure what was different about my stack, but trying to get a snapshot of the non-current card did nothing. > > I see Keith is using "import snapshot" and specifying a card. That isn't in the docs and I always got an error when I tried to specify an object with "import", I could only specify one with "export". From jhurley0305 at sbcglobal.net Fri Apr 1 17:19:46 2011 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Fri, 1 Apr 2011 14:19:46 -0700 Subject: Name of control in a given group In-Reply-To: References: Message-ID: <695DC378-AB6C-45E9-804C-CA2C4ED64184@sbcglobal.net> > > Message: 20 > Date: Fri, 01 Apr 2011 11:32:00 -0700 > From: Scott Rossi > To: LiveCode Mail List > Subject: Re: Name of control in a given group > Message-ID: > Content-Type: text/plain; charset="US-ASCII" > > Recently, James Hurley wrote: > >> "Put the name of control 1 in group id 1005" >> >> doesn't work. >> >> Any suggestions? Best I can do is get the number of controls in a group. I >> need the names. > > Try: > > put the name of control 1 *of* group id 1005 > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design Thanks Scott. Certainly "of" denote a more intimate association than "in". At times when I fell antisocial, I feel am more in the group "Home sapiens" than of the group. Jim From dunbarx at aol.com Fri Apr 1 21:45:28 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 01 Apr 2011 21:45:28 -0400 Subject: Code Documentation on steroids In-Reply-To: References: Message-ID: <8CDBEEEC6FFDE57-18A4-127F5@webmail-m036.sysops.aol.com> I wish that each line in the script editor could have a tooltip associated with it. Annotation takes up so much room if done right, that it is hard to separate the code from the comments. Or maybe a secondary parallel scrolling field that is attached to the editor? I like my code to be written in consecutive lines I find even my own comments distracting, however helpful they are. It would be great if an adjunct display of some sort could be placed alongside. Craig Newman -----Original Message----- From: Trevor DeVore To: How to use LiveCode Sent: Fri, Apr 1, 2011 12:08 pm Subject: Re: Code Documentation On Fri, Apr 1, 2011 at 11:54 AM, Pete wrote: > I'm sure I could write a script to go through all my handlers and extract > the comment block but before I start down that road, are there any code > documentation aids out there for Livecode? > I use NativeDoc and like it a lot. http://www.nativesoft.fr/index.php?option=com_content&view=article&id=87&Itemid=115 -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com LiveCode Resources for Developers: http://livecode.bluemangolearning.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Sat Apr 2 01:48:52 2011 From: pete at mollysrevenge.com (Pete) Date: Fri, 1 Apr 2011 22:48:52 -0700 Subject: Code Documentation on steroids In-Reply-To: <8CDBEEEC6FFDE57-18A4-127F5@webmail-m036.sysops.aol.com> References: <8CDBEEEC6FFDE57-18A4-127F5@webmail-m036.sysops.aol.com> Message-ID: I like that idea. Maybe something as simple as just hiding comment lines might work. Pete On Fri, Apr 1, 2011 at 6:45 PM, wrote: > I wish that each line in the script editor could have a tooltip associated > with it. Annotation takes up so much room if done right, that it is hard to > separate the code from the comments. Or maybe a secondary parallel scrolling > field that is attached to the editor? > > > I like my code to be written in consecutive lines I find even my own > comments distracting, however helpful they are. It would be great if an > adjunct display of some sort could be placed alongside. > > > Craig Newman > > > > > > -----Original Message----- > From: Trevor DeVore > To: How to use LiveCode > Sent: Fri, Apr 1, 2011 12:08 pm > Subject: Re: Code Documentation > > > On Fri, Apr 1, 2011 at 11:54 AM, Pete wrote: > > > I'm sure I could write a script to go through all my handlers and extract > > the comment block but before I start down that road, are there any code > > documentation aids out there for Livecode? > > > > I use NativeDoc and like it a lot. > > > http://www.nativesoft.fr/index.php?option=com_content&view=article&id=87&Itemid=115 > > -- > Trevor DeVore > Blue Mango Learning Systems > ScreenSteps: http://www.screensteps.com > LiveCode Resources for Developers: http://livecode.bluemangolearning.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 maarten.koopmans at gmail.com Sat Apr 2 05:25:36 2011 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Sat, 2 Apr 2011 11:25:36 +0200 Subject: Editable page Message-ID: Hi, I have a stack where I want the user to be able to add objects ((e.g. images, lines, text). I can set the tool to [ ... ]. Think an "editable page". But my problem then is (let's take an image for example): - how do I make it so that the user can add an image to the placeholder - move the image - resize it Same for lines, texts, ... any ui element, really - I am trying to create a mock-up tool. My thoughts were be that I: a) have the user add the object to the the stack b) dynamically attach handlers to the newly created object that implement any desired object-specific behavior (i.e. move. (reset image source, crop, ...) How do I add the handlers dynamically (I really haven't been able to find it), and moreover, where do I store these templates in the overall stack. I think I haven't wrapped my head around the LiveCode model to do these more dynamic things, *any* help would be greatly appreciated!!! Thanks, Maarten From joseph at positivepractices.com Sat Apr 2 11:03:54 2011 From: joseph at positivepractices.com (Joseph) Date: Sat, 02 Apr 2011 08:03:54 -0700 Subject: Standalone Inclusions Message-ID: I'm attempting to use the standalone builder and after some hours of dabbling continue to encounter some errors. Specifically, the inclusions for the database and XML libraries do not appear to function in the standalone. I've added the inclusions in the standalone builder both manually and through automatic search. More specifically, calling revOpenDatabases(), revdb_connections(), revOpenDatabase(), and revdb_connect() only interrupt and terminate the handler. Using revCreateXMLTree() terminates as well, so I suspect the other XML library handlers are also not present. Although the database and xml bundles are not functioning properly, they apparently are physically present in the app bundle. Additionally, there appear to be no scripts in the card or stack levels of the revExternalLibrary stack, if there should be. Any ideas for solving this problem? Thanks, Joseph Environment: Mac OS 10.4.11, LiveCode 4.5.1 From dunbarx at aol.com Sat Apr 2 12:00:48 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sat, 02 Apr 2011 12:00:48 -0400 Subject: Editable page In-Reply-To: References: Message-ID: <8CDBF6644A986A0-1894-51D2@webmail-m036.sysops.aol.com> LiveCode is more than powerful and flexible enough to do what you want. Simple, to boot. The problem is that you might give away too much control, so that the whole app could be trashed by your users since you either have to give access to IDE tools, or permit only choices from a menu of properties, say. Fortunately, you can lock the core objects. Do you want to give just a limited, preset number of options to the user when a new control is created, or allow all properties to be adjusted? If the former, I can think of a few cute gadgets that would be fun to implement. Write back... Craig Newman -----Original Message----- From: Maarten Koopmans To: use-livecode at lists.runrev.com Sent: Sat, Apr 2, 2011 5:25 am Subject: Editable page Hi, I have a stack where I want the user to be able to add objects ((e.g. images, lines, text). I can set the tool to [ ... ]. Think an "editable page". But my problem then is (let's take an image for example): - how do I make it so that the user can add an image to the placeholder - move the image - resize it Same for lines, texts, ... any ui element, really - I am trying to create a mock-up tool. My thoughts were be that I: a) have the user add the object to the the stack b) dynamically attach handlers to the newly created object that implement any desired object-specific behavior (i.e. move. (reset image source, crop, ...) How do I add the handlers dynamically (I really haven't been able to find it), and moreover, where do I store these templates in the overall stack. I think I haven't wrapped my head around the LiveCode model to do these more dynamic things, *any* help would be greatly appreciated!!! Thanks, Maarten _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From pmbrig at gmail.com Sat Apr 2 12:51:47 2011 From: pmbrig at gmail.com (Peter Brigham MD) Date: Sat, 2 Apr 2011 12:51:47 -0400 Subject: security code number generation Message-ID: <56E8486D-1F05-4291-826D-8C6DB390D12A@gmail.com> For anyone who might have the need, I have a handler I use to generate a security code, in my case for printed prescriptions. It takes the name of the patient, the date of the prescription, the medication and med strength and hashes all that to produce a ten-digit alphanumeric string (using 0-9, a-z, A-Z). If there is any question about the validity of the prescription I can retrieve the correct code from the rx entry in my database with a mouseclick (actually recalculating the code from the stored rx data) and confirm it with the pharmacy. This has proved useful on two occasions when a pt was playing fast and loose with his prescriptions. The algorithm is fast in LC, sufficiently obscure that I'm pretty sure it would be hard to hack -- though of course few things are bulletproof in encryption if someone wants to try hard enough -- and discontinuous in the sense that similar inputs do not generate similar outputs, eg, change one character in the input and the code number is completely different. The probability of coming up with the correct security number by chance alone is 1 in 10^15 (a million billion to 1). It could be adapted to any number of purposes. I am not posting the handler here, since it would be unwise to let it be archived and available, eg, with a Nabble search, but if anyone is interested, let me know and I'll share it. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From coiin at verizon.net Sat Apr 2 13:07:21 2011 From: coiin at verizon.net (Colin Holgate) Date: Sat, 02 Apr 2011 13:07:21 -0400 Subject: OT: robotics competition Message-ID: <242ADB64-7E9F-4D91-AFF9-BC58174E3630@verizon.net> As was mentioned last week, I'm a mentor on a robotics team. There are regional competitions and then a national finals. My tea (Stuyvesant High School, team 694) are playing in a a regional today. They have made it through to the quarter finals, and those matches are starting up again soon. Here's the timetable for the matches: http://www2.usfirst.org/2011comp/events/CT/scheduleelim.html and here is a live stream (works well in VLC): http://www.shsrobotics.org/webcast.asx The first quarter final match is starting now, our first one is game 3. From bvg at mac.com Sat Apr 2 13:41:12 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat, 02 Apr 2011 19:41:12 +0200 Subject: Live LiveCode Code Event #17 In-Reply-To: References: Message-ID: only 30 minutes to go right now, join now in chatrev, and secure your front seat! On 1 Apr 2011, at 01:33, Mark Schonewille wrote: > Dear LiveCode fans, > > I'm happy to announce another Live LiveCode Code Event with two interesting presentations. This weekend's event is scheduled for Saturday, 2 April 2011 at 19:00h GMT (Sat. 22:00 in Moscow, Sat. 20:00 in Paris, Sat. 14:00 in New York, Sat. 11:00 in Los Angeles, Sun. 04:00 in Sydney, Sun. 03:00 in Tokyo, Sun. 2:00 in Beijing; check your local time here http://qery.us/oy). It will be the 17th edition of the Live LiveCode Code Event. > > Claudi will be exploring the interaction/integration with the Arduino micro controller. His project involves accelerometers and gyroscopes, which is also of interest to iOS developers. > > Mario will present a "Message driven programming style", which means that he is using messages to simplify and rationalize LC programming. He will explain the concept during his presentation. > > eHUG will be raffling off the e-book "Take Control of Easy Mac Backups" courtesy of TidBITS, http://www.tidbits.com/ . > > During the event, Economy-x-Talk offers a 25% discount on their Installer Maker, which can be found at http://installermaker.economy-x-talk.com . A license at 25% discount will be obtainable at http://livetalk.us/im . > > Make sure to use ChatRev during the happening, otherwise you won't know where to watch the streams, which will be announced in ChatRev. Download ChatRev here: > http://bjoernke.com?target=chatrev > or enter in the message box: > go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" > > See also the following page for the same information (soon): > 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 > > New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- official ChatRev page: http://bjoernke.com/chatrev Chat with other RunRev developers: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" From pete at mollysrevenge.com Sat Apr 2 14:03:58 2011 From: pete at mollysrevenge.com (Pete) Date: Sat, 2 Apr 2011 11:03:58 -0700 Subject: Code Documentation In-Reply-To: References: Message-ID: Hi Stewart, I downloaded your stack but having problems getting it to work. I select a stack file then I get the beach ball cursor (not even spinning) and nothing appears to happen - I end up having to do a Force Quit. This is on a Mac with OSX 10.6 and LC 4.6. Any ideas? Pete On Fri, Apr 1, 2011 at 11:59 AM, RevList wrote: > How to use LiveCode on April 1, 2011 at > 8:54 AM -0700 wrote: > >I'm at the stage in my project where I want to produce some documentation > on > >the various handlers I've written - a few words about purpose, list of > >parameters and what they contain, and any returned values. I've > documented > >all this in a comment block at the start of each handler. I know, how > >old-fashioned isn't it! > > > >I'm sure I could write a script to go through all my handlers and extract > >the comment block but before I start down that road, are there any code > >documentation aids out there for Livecode? > > Take a look at Script Reporter in the Developer section of RevOnline > I wrote this some time ago. > Click on User Samples button within LiveCode > > ****************************************** > 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 > > -- Pete Molly's Revenge From jimaultwins at yahoo.com Sat Apr 2 17:56:00 2011 From: jimaultwins at yahoo.com (Jim Ault) Date: Sat, 2 Apr 2011 14:56:00 -0700 Subject: Code Documentation In-Reply-To: References: Message-ID: <95243E0A-483E-445B-BCEE-92316D2C5A77@yahoo.com> Works for me using Rev 4.5 dp 3 You need to be aware of the version the author used when creating the stack. Some users are still using 2.7.2 (especially school districts) others 2.9 and I use 3.5, 4.0, 4.5 dp 3 Sometimes I forget when I distribute stacks that I need to save by choosing 'Legacy' to make them backward compatible. You might be experiencing the author's use of command that is no longer supported You can use Ken Ray's free Stack Runner to open and run legacy stacks, even though you cannot do any editing or 'save as...' a newer version. You can also install every version of Rev & LC on the same computer. You do may have to manage the different Plugins folders, however. Each version will use its own IDE. For example, 2.7.2 did not support viewing array element values in the Variable Watcher, nor multi- dimensional arrays. Of course, the answer in your case may simply be a corrupted download. Hope this helps. Jim Ault Las Vegas On Apr 2, 2011, at 11:03 AM, Pete wrote: > Hi Stewart, > I downloaded your stack but having problems getting it to work. I > select a > stack file then I get the beach ball cursor (not even spinning) and > nothing > appears to happen - I end up having to do a Force Quit. This is on > a Mac > with OSX 10.6 and LC 4.6. > > Any ideas? > > Pete > > On Fri, Apr 1, 2011 at 11:59 AM, RevList > wrote: > >> How to use LiveCode on April 1, >> 2011 at >> 8:54 AM -0700 wrote: >>> I'm at the stage in my project where I want to produce some >>> documentation >> on >>> the various handlers I've written - a few words about purpose, >>> list of >>> parameters and what they contain, and any returned values. I've >> documented >>> all this in a comment block at the start of each handler. I >>> know, how >>> old-fashioned isn't it! >>> >>> I'm sure I could write a script to go through all my handlers and >>> extract >>> the comment block but before I start down that road, are there any >>> code >>> documentation aids out there for Livecode? >> >> Take a look at Script Reporter in the Developer section of RevOnline >> I wrote this some time ago. >> Click on User Samples button within LiveCode >> >> ****************************************** >> Stewart Lynch From pete at mollysrevenge.com Sat Apr 2 19:10:17 2011 From: pete at mollysrevenge.com (Pete) Date: Sat, 2 Apr 2011 16:10:17 -0700 Subject: Code Documentation In-Reply-To: <95243E0A-483E-445B-BCEE-92316D2C5A77@yahoo.com> References: <95243E0A-483E-445B-BCEE-92316D2C5A77@yahoo.com> Message-ID: Thanks Jim, I tried it with 4.5.3 and 4.5.2 on newer format stack files and older ones and same result so not sure what's happening. Pete On Sat, Apr 2, 2011 at 2:56 PM, Jim Ault wrote: > Works for me using Rev 4.5 dp 3 > > You need to be aware of the version the author used when creating the > stack. > Some users are still using 2.7.2 (especially school districts) > others 2.9 > and I use 3.5, 4.0, 4.5 dp 3 > > Sometimes I forget when I distribute stacks that I need to save by choosing > 'Legacy' to make them backward compatible. You might be experiencing the > author's use of command that is no longer supported > > You can use Ken Ray's free Stack Runner to open and run legacy stacks, even > though you cannot do any editing or 'save as...' a newer version. > > You can also install every version of Rev & LC on the same computer. You > do may have to manage the different Plugins folders, however. Each version > will use its own IDE. For example, 2.7.2 did not support viewing array > element values in the Variable Watcher, nor multi-dimensional arrays. > > Of course, the answer in your case may simply be a corrupted download. > > Hope this helps. > > Jim Ault > Las Vegas > > > > On Apr 2, 2011, at 11:03 AM, Pete wrote: > > Hi Stewart, >> I downloaded your stack but having problems getting it to work. I select >> a >> stack file then I get the beach ball cursor (not even spinning) and >> nothing >> appears to happen - I end up having to do a Force Quit. This is on a Mac >> with OSX 10.6 and LC 4.6. >> >> Any ideas? >> >> Pete >> >> On Fri, Apr 1, 2011 at 11:59 AM, RevList wrote: >> >> How to use LiveCode on April 1, 2011 at >>> 8:54 AM -0700 wrote: >>> >>>> I'm at the stage in my project where I want to produce some >>>> documentation >>>> >>> on >>> >>>> the various handlers I've written - a few words about purpose, list of >>>> parameters and what they contain, and any returned values. I've >>>> >>> documented >>> >>>> all this in a comment block at the start of each handler. I know, how >>>> old-fashioned isn't it! >>>> >>>> I'm sure I could write a script to go through all my handlers and >>>> extract >>>> the comment block but before I start down that road, are there any code >>>> documentation aids out there for Livecode? >>>> >>> >>> Take a look at Script Reporter in the Developer section of RevOnline >>> I wrote this some time ago. >>> Click on User Samples button within LiveCode >>> >>> ****************************************** >>> Stewart Lynch >>> >> > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 maarten.koopmans at gmail.com Sun Apr 3 03:05:19 2011 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Sun, 3 Apr 2011 09:05:19 +0200 Subject: Editable page In-Reply-To: <8CDBF6644A986A0-1894-51D2@webmail-m036.sysops.aol.com> References: <8CDBF6644A986A0-1894-51D2@webmail-m036.sysops.aol.com> Message-ID: I want users to be able to put a limited set of controls, like images, shapes, text, backdrop on a page. I have noticed that the size events, the choose [...] tool, "drag me" in mouseUp, go a long way. Things like resizing, setting the fonts etc. also look feasible. So a simple toolbar, te choose tool command and lockimg of some core objects (mainly the ones that control the toolbar)... Looks like it will get me "there". I posted a similar question to the forum and got a sample stack that put me on the right track - normally I don't cross-post but the use-livecode list seemed a bit more active. --Maarten On Saturday, April 2, 2011, wrote: > LiveCode is more than powerful and flexible enough to do what you want. Simple, to boot. > > > The problem is that you might give away too much control, so that the whole app could be trashed by your users since you either have to give access to IDE tools, or permit only choices from a menu of properties, say. Fortunately, you can lock the core objects. > > > Do you want to give just a limited, preset number of options to the user when a new control is created, or allow all properties to be adjusted? If the former, I can think of a few cute gadgets that would be fun to implement. Write back... > > > Craig Newman > > > > > > -----Original Message----- > From: Maarten Koopmans > To: use-livecode at lists.runrev.com > Sent: Sat, Apr 2, 2011 5:25 am > Subject: Editable page > > > Hi, > > I have a stack where I want the user to be able to add objects ((e.g. > images, lines, text). I can set the tool to [ ... ]. Think an > "editable page". But my problem then is (let's take an image for > example): > > - how do I make it so that the user can add an image to the placeholder > - move the image > - resize it > > Same for lines, texts, ... any ui element, really - I am trying to > create a mock-up tool. > > My thoughts were be that I: > > a) have the user add the object to the the stack > b) dynamically attach handlers to the newly created object that > implement any desired object-specific behavior (i.e. move. (reset > image source, crop, ...) > > How do I add the handlers dynamically (I really haven't been able to > find it), and moreover, where do I store these templates in the > overall stack. > > I think I haven't wrapped my head around the LiveCode model to do > these more dynamic things, *any* help would be greatly appreciated!!! > > Thanks, Maarten > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From maarten.koopmans at gmail.com Sun Apr 3 03:44:11 2011 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Sun, 3 Apr 2011 09:44:11 +0200 Subject: The LC way for code libraries? Message-ID: Hi, Simple question for people here, but something you wonder when you come from a non-LC code environment. What's a good way to create and store a non-UI code library in a LC project (a.k.a. "business logic")? Say I'd want to implement a WebDAV client, which is a back-and-forth kind of flow. Or anu other protocol will do as a mental model.... Where would you store all the support functions for the protocol? Right now I can only see this happening on the stack level, but there I'm still fairly clueless. Thanks, Maarten From maarten.koopmans at gmail.com Sun Apr 3 03:50:29 2011 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Sun, 3 Apr 2011 09:50:29 +0200 Subject: DELETE, PUT http Message-ID: Hi, I there a way to have LIvecode do PUT and DELETE via http/https, hopefully witj digest authentication? So you can use the UI tools to integrate with REST services? I see great chanches here :-) Suddenly firing a lot of questions, because after years of using LC/runrev for small things I want to do some more heavy lifting. Coming from a Scala/Scheme/Rebol background I get the event model, but I need to learn some library tricks (as with any new language) and get a model of how to do some larger scale programming. So far, things look pretty good with LC. Once I get it compketely into my system I'll start really using the mobile version as wel. But... Step at a time. Thanks (again), Maarten From admin at FlexibleLearning.com Sun Apr 3 05:18:45 2011 From: admin at FlexibleLearning.com (FlexibleLearning) Date: Sun, 3 Apr 2011 10:18:45 +0100 Subject: Scripter's Scrapbook query [Win7/4.6] In-Reply-To: Message-ID: If you are using the Scripter's Scrapbook as a plugin with LiveCode v4.6 and Windows 7, would you please contact me off-list at admin(at)FlexibleLearning.com Thank you. Hugh Senior FLCo From dixonja at hotmail.co.uk Sun Apr 3 06:25:20 2011 From: dixonja at hotmail.co.uk (John Dixon) Date: Sun, 3 Apr 2011 11:25:20 +0100 Subject: The LC way for code libraries? In-Reply-To: References: Message-ID: > From: maarten.koopmans at gmail.com > Simple question for people here, but something you wonder when you > come from a non-LC code environment. > > What's a good way to create and store a non-UI code library in a LC > project (a.k.a. "business logic")? Say I'd want to implement a WebDAV > client, which is a back-and-forth kind of flow. Or anu other protocol > will do as a mental model.... > > Where would you store all the support functions for the protocol? > Right now I can only see this happening on the stack level, but there > I'm still fairly clueless. Have a look at page 166 of the 'User Guide' ... all about creating code libraries be well Dixie From maarten.koopmans at gmail.com Sun Apr 3 07:37:01 2011 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Sun, 3 Apr 2011 13:37:01 +0200 Subject: The LC way for code libraries? In-Reply-To: References: Message-ID: Thanks.... Missed that in plowing through all the dics/dictionary/getting my head around LC --Maarten On Sunday, April 3, 2011, John Dixon wrote: > > > > >> From: maarten.koopmans at gmail.com > >> Simple question for people here, but something you wonder when you >> come from a non-LC code environment. >> >> What's a good way to create and store a non-UI code library in a LC >> project (a.k.a. "business logic")? Say I'd want to implement a WebDAV >> client, which is a back-and-forth kind of flow. Or anu other protocol >> will do as a mental model.... >> >> ?Where would you store all the support functions for the protocol? >> Right now I can only see this happening on the stack level, but there >> I'm still fairly clueless. > > Have a look at page 166 of the 'User Guide' ... all about creating code libraries > > be well > > Dixie > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Sun Apr 3 09:57:49 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 03 Apr 2011 06:57:49 -0700 Subject: The LC way for code libraries? In-Reply-To: References: Message-ID: <4D987CDD.8060300@fourthworld.com> Maarten Koopmans wrote: > What's a good way to create and store a non-UI code library in a LC > project (a.k.a. "business logic")? Say I'd want to implement a WebDAV > client, which is a back-and-forth kind of flow. Or anu other protocol > will do as a mental model.... > > Where would you store all the support functions for the protocol? > Right now I can only see this happening on the stack level, but there > I'm still fairly clueless. If you think you'll be using such a library in other projects you'll definitely have an easier time reusing it as a library. You could embed the library as a substack, but then keeping it updated every time you enhance it is a drag, so I tend to prefer to keep libraries in their own stack files, loaded at startup from a folder named "Components" I keep at the same level as the executable. This article may help you get started if you haven't read it already: -- 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 Sun Apr 3 10:14:12 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 03 Apr 2011 07:14:12 -0700 Subject: DELETE, PUT http In-Reply-To: References: Message-ID: <4D9880B4.6030701@fourthworld.com> Maarten Koopmans wrote: > I there a way to have LIvecode do PUT and DELETE via http/https, > hopefully witj digest authentication? So you can use the UI tools to > integrate with REST services? I see great chanches here :-) "PUT" is well supported in addition to "GET" - check out the entry for "PUT" in the dictionary. AFAIK "DELETE" is only natively supported for FTP, but I would love to be wrong on that if anyone here knows otherwise. > Suddenly firing a lot of questions, because after years of using > LC/runrev for small things I want to do some more heavy lifting. > Coming from a Scala/Scheme/Rebol background I get the event model, but > I need to learn some library tricks (as with any new language) and get > a model of how to do some larger scale programming. My dream would be to see Rebol offered as a subsystem within LiveCode, so we get the best of both worlds: LC's rich GUI model with Rebol's unmatched extensibility. -- 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 bonnmike at gmail.com Sun Apr 3 13:27:03 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 3 Apr 2011 11:27:03 -0600 Subject: Just noticed In-Reply-To: References: Message-ID: Nevermind. Using ctrl-v sets it dirty, shift-insert doesn't. I'll just remember to use ctrl-v instead. On Thu, Mar 31, 2011 at 2:47 PM, Mike Bonner wrote: > When i paste code into the script editor it doesn't set the dirty bit. Has > it always been this way and I've just never noticed it before? From m.schonewille at economy-x-talk.com Sun Apr 3 13:34:09 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 3 Apr 2011 19:34:09 +0200 Subject: DELETE, PUT http In-Reply-To: <4D9880B4.6030701@fourthworld.com> References: <4D9880B4.6030701@fourthworld.com> Message-ID: <5A5BCEA7-4C44-46C5-88DC-28B942EC93B0@economy-x-talk.com> Hoi Maarten, POST and GET are supported. PUT and DELETE are not. Use LC's put url command to send data using the GET method. Use the post url command to send data using the POST method. POST example: put "x=1&y=2" into myData post myData to url "http://domain.com/bla.php" GET example: put "http://domain.com/bla.php?x=1&y=2" into myUrl put url myUrl into myDataReturned Keep in mind that the "put" command in the second line of the last example has nothing to do with the PUT method used to connect to PHP (or iRev for that matter). -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 3 apr 2011, at 16:14, Richard Gaskin wrote: > Maarten Koopmans wrote: > >> I there a way to have LIvecode do PUT and DELETE via http/https, >> hopefully witj digest authentication? So you can use the UI tools to >> integrate with REST services? I see great chanches here :-) > > "PUT" is well supported in addition to "GET" - check out the entry for "PUT" in the dictionary. > > AFAIK "DELETE" is only natively supported for FTP, but I would love to be wrong on that if anyone here knows otherwise. > > >> Suddenly firing a lot of questions, because after years of using >> LC/runrev for small things I want to do some more heavy lifting. >> Coming from a Scala/Scheme/Rebol background I get the event model, but >> I need to learn some library tricks (as with any new language) and get >> a model of how to do some larger scale programming. > > My dream would be to see Rebol offered as a subsystem within LiveCode, so we get the best of both worlds: LC's rich GUI model with Rebol's unmatched extensibility. > > -- > 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 maarten.koopmans at gmail.com Sun Apr 3 14:33:30 2011 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Sun, 3 Apr 2011 20:33:30 +0200 Subject: The LC way for code libraries? In-Reply-To: <4D987CDD.8060300@fourthworld.com> References: <4D987CDD.8060300@fourthworld.com> Message-ID: Thanks, that was very insightful. On Sunday, April 3, 2011, Richard Gaskin wrote: > Maarten Koopmans wrote: > > > What's a good way to create and store a non-UI code library in a LC > project (a.k.a. "business logic")? Say I'd want to implement a WebDAV > client, which is a back-and-forth kind of flow. Or anu other protocol > will do as a mental model.... > > ?Where would you store all the support functions for the protocol? > Right now I can only see this happening on the stack level, but there > I'm still fairly clueless. > > > If you think you'll be using such a library in other projects you'll definitely have an easier time reusing it as a library. > > You could embed the library as a substack, but then keeping it updated every time you enhance it is a drag, so I tend to prefer to keep libraries in their own stack files, loaded at startup from a folder named "Components" I keep at the same level as the executable. > > This article may help you get started if you haven't read it already: > > > -- > ?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 maarten.koopmans at gmail.com Sun Apr 3 14:35:12 2011 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Sun, 3 Apr 2011 20:35:12 +0200 Subject: DELETE, PUT http In-Reply-To: <5A5BCEA7-4C44-46C5-88DC-28B942EC93B0@economy-x-talk.com> References: <4D9880B4.6030701@fourthworld.com> <5A5BCEA7-4C44-46C5-88DC-28B942EC93B0@economy-x-talk.com> Message-ID: Hoi Mark, I'll have to add that myself then.... --Maarten On Sunday, April 3, 2011, Mark Schonewille wrote: > Hoi Maarten, > > POST and GET are supported. PUT and DELETE are not. Use LC's put url command to send data using the GET method. Use the post url command to send data using the POST method. > > POST example: > put "x=1&y=2" into myData > post myData to url "http://domain.com/bla.php" > > GET example: > put "http://domain.com/bla.php?x=1&y=2" into myUrl > put url myUrl into myDataReturned > > Keep in mind that the "put" command in the second line of the last example has nothing to do with the PUT method used to connect to PHP (or iRev for that matter). > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce > > On 3 apr 2011, at 16:14, Richard Gaskin wrote: > >> Maarten Koopmans wrote: >> >>> I there a way to have LIvecode do PUT and DELETE via http/https, >>> hopefully witj digest authentication? So you can use the UI tools to >>> integrate with REST services? I see great chanches here :-) >> >> "PUT" is well supported in addition to "GET" - check out the entry for "PUT" in the dictionary. >> >> AFAIK "DELETE" is only natively supported for FTP, but I would love to be wrong on that if anyone here knows otherwise. >> >> >>> Suddenly firing a lot of questions, because after years of using >>> LC/runrev for small things I want to do some more heavy lifting. >>> Coming from a Scala/Scheme/Rebol background I get the event model, but >>> I need to learn some library tricks (as with any new language) and get >>> a model of how to do some larger scale programming. >> >> My dream would be to see Rebol offered as a subsystem within LiveCode, so we get the best of both worlds: ?LC's rich GUI model with Rebol's unmatched extensibility. >> >> -- >> 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 pete at mollysrevenge.com Sun Apr 3 17:10:55 2011 From: pete at mollysrevenge.com (Pete) Date: Sun, 3 Apr 2011 14:10:55 -0700 Subject: The LC way for code libraries? In-Reply-To: <4D987CDD.8060300@fourthworld.com> References: <4D987CDD.8060300@fourthworld.com> Message-ID: Richard, Thanks for reminding me of your article, lot of useful info in it. I'm currently inserting the script of a button as a front script. The script contains handlers for some standard messages (eg mouseUp, menuPick) that I need to grab before they on through the normal message path, but it also includes some custom handlers I've written which don't correspond to any of the standard messages. Is there any advantage to restructuring this so that the standard message handlers are inserted as front scripts but my custom handlers are used via the "start using" mechanism (after moving them to a stack script of course)? As far as building standalones, I currently set the stackfiles property of my application's main stack to the stack file holding my handlers which seems to work fine but I get the sense that you don't use the stackfiles but load the library stack manually at run time. If so, what are the advantages of doing it that way rather than using the stackfiles property? Thanks, Pete Molly's Revenge On Sun, Apr 3, 2011 at 6:57 AM, Richard Gaskin wrote: > Maarten Koopmans wrote: > > What's a good way to create and store a non-UI code library in a LC >> project (a.k.a. "business logic")? Say I'd want to implement a WebDAV >> client, which is a back-and-forth kind of flow. Or anu other protocol >> will do as a mental model.... >> >> Where would you store all the support functions for the protocol? >> Right now I can only see this happening on the stack level, but there >> I'm still fairly clueless. >> > > If you think you'll be using such a library in other projects you'll > definitely have an easier time reusing it as a library. > > You could embed the library as a substack, but then keeping it updated > every time you enhance it is a drag, so I tend to prefer to keep libraries > in their own stack files, loaded at startup from a folder named "Components" > I keep at the same level as the executable. > > This article may help you get started if you haven't read it already: > > > -- > 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 RevList at CreaTECHSol.com Sun Apr 3 19:22:29 2011 From: RevList at CreaTECHSol.com (RevList) Date: Sun, 03 Apr 2011 16:22:29 -0700 Subject: OT: Colour Palette app accepted to Mac App Store Message-ID: I am pleased to say that my small utility, Colour Palette has been accepted and is now available on the Apple Mac App Store. Created with LiveCode. Thanks for all the good tips here on how to get the app accepted on the App Store. Colour Palette makes it easy for web designers and graphic artists to keep track of colours used in various projects. You can build and arrange colour schemes for each project, tracking each colour purpose and having immediate access to the RGB and Hex values for each colour. You can watch a short video here with a link to the App Store as well http://bit.ly/eIMx6H ****************************************** 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 calhorner at xtra.co.nz Sun Apr 3 21:51:26 2011 From: calhorner at xtra.co.nz (Cal Horner) Date: Mon, 4 Apr 2011 13:51:26 +1200 (New Zealand Standard Time) Subject: The Perfect Plug-In Message-ID: <4D99241D.000003.02144@CALS_BIG_PC> Does anyone have the perfect Definition of a plug-in? What are all of a plug-ins attributes and property settings? And after building a plug-in how do you test it? Cal From gerry.orkin at gmail.com Mon Apr 4 00:00:34 2011 From: gerry.orkin at gmail.com (Gerry) Date: Mon, 4 Apr 2011 14:00:34 +1000 Subject: Swapping one control type for another in a group Message-ID: <1FC6F1A5C37042118EF921B9C3915C2A@gmail.com> I've go an iOS scrolling control working really well, except I now need to replace the text field it uses to display the text that scrolls with a datagrid. The text field is part of a group, so how do I swap it out for the datagrid, without changing anything else? -- photos: http://gerryorkin.com From richmondmathewson at gmail.com Mon Apr 4 03:37:39 2011 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 04 Apr 2011 10:37:39 +0300 Subject: [OT] Upgrading to Ubuntu 11.04 Beta Message-ID: <4D997543.3050009@gmail.com> If you have been running GNOME as your window manager, upgrading to Ubuntu 11.04 Beta will "hose" GNOME: I know, I did just that; now having to use XFCE (which isn't bad in itself, I just prefer GNOME). From dave.cragg at lacscentre.co.uk Mon Apr 4 03:53:00 2011 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Mon, 4 Apr 2011 08:53:00 +0100 Subject: DELETE, PUT http In-Reply-To: References: Message-ID: On 3 Apr 2011, at 08:50, Maarten Koopmans wrote: > Hi, > > I there a way to have LIvecode do PUT and DELETE via http/https, > hopefully witj digest authentication? So you can use the UI tools to > integrate with REST services? I see great chanches here :-) You may be able to get this to work using libUrlSetCustomHttpHeaders. This command lets you set the request line and any necessary headers in the http request. For delete it might work something like this: put "DELETE /path/to/resource HTTP/1.1" & cr into tRequest put "Host: www.yourdomain.com" & cr after tRequest // add any other headers here but above is probably minimum get url "http://www.yourdomain.com/path/to/resource" For PUT: put "PUT /path/to/resource HTTP/1.1" & cr into tRequest put "Host: www.yourdomain.com" & cr after tRequest put "Content-length: " & cr after tRequest // add any other headers here post myData to url "http://www.yourdomain.com/path/to/resource" You should use "get" for DELETE and "post" for PUT to ensure the libUrl internals behave appropriately. I'm assuming that DELETE requires some kind of response message from the server (haven't looked at the spec for a while). If that's not the case, you may get an error, even if it worked correctly. After using libUrlSetCustomHttpHeaders, the headers get reset (different from httpHeaders), so you should set this before each call. I haven't tested either of these before. But worth testing perhaps before building your own from scratch. Good luck! Dave From rene.micout at numericable.com Mon Apr 4 04:05:42 2011 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Mon, 4 Apr 2011 10:05:42 +0200 Subject: OT: Colour Palette app accepted to Mac App Store In-Reply-To: References: Message-ID: Thank you Stewart This is the tool that I missed... I just bought it ! Bon souvenir de Paris Ren? Le 4 avr. 2011 ? 01:22, RevList a ?crit : > I am pleased to say that my small utility, Colour Palette has been accepted and is now available on the Apple Mac App Store. > Created with LiveCode. > Thanks for all the good tips here on how to get the app accepted on the App Store. > > Colour Palette makes it easy for web designers and graphic artists to keep track of colours used in various projects. You can build and arrange colour schemes for each project, tracking each colour > purpose and having immediate access to the RGB and Hex values for each colour. > > You can watch a short video here with a link to the App Store as well > http://bit.ly/eIMx6H > > > > ****************************************** > 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 form at nonsanity.com Mon Apr 4 04:28:17 2011 From: form at nonsanity.com (Nonsanity) Date: Mon, 4 Apr 2011 10:28:17 +0200 Subject: Menu Icons? In-Reply-To: References: Message-ID: Ah, you are right. I've never enabled the iChat status menu to notice. I don't spend a lot of time in XCode, except to set things up for LC to make iOS apps. And I don't have any of the others. It's still rare, but if Apple is doing it... :) I seem to recall back in the pre-OS X days that a lot of the additional menu options like icons was done with special text in the menu item's name. Maybe its still possible to add icons that way, though I'm not sure how you'd reference a graphic that way. ~ Chris Innanen ~ Nonsanity On Wed, Mar 30, 2011 at 5:28 PM, Trevor DeVore wrote: > On Wed, Mar 30, 2011 at 10:24 AM, Nonsanity
wrote: > > > But these OS X days, I've never once seen an icon in a menu. Is it even > > possible now? If it is, I'd advise against it... It's definitely not > > standard UI practice. > > > > Icons in UI menus are not all that uncommon on OS X. I picked a couple of > apps at random and found menu icons in use: > > iChat (status menu) > OmniGraffle (tool selection menu) > LittleSnapper (publishing menu) > Adium (status menu) > XCode (documentation navigation menu) > > In LiveCode we have to roll our own menus using stacks. You end up having > to > recreate highlights, rollovers, etc. It would be really nice to be able to > display the icons in a standard OS menu. > > -- > Trevor DeVore > Blue Mango Learning Systems > ScreenSteps: http://www.screensteps.com > LiveCode Resources for Developers: http://livecode.bluemangolearning.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From toolbook at kestner.de Mon Apr 4 06:29:17 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 4 Apr 2011 12:29:17 +0200 Subject: OT: Elevated admin rights or admin on Mac Message-ID: <000601cbf2b3$2c178dc0$8446a940$@de> Hi, I am not used to the rights management on Mac, so I don't know where to start looking. One of my LiveCode programs is installed in 3 steps. 1. Dragging the prog from the dmg to the app folder 2. Starting a tool on the CD to copy some videos to: /library/preferences/MyFolder 3. When starting my prog the first time, it creates an ini file at: /library/preferences/MyFolder A customer tried to install my prog with a user with restricted rights. He was asked to "elevate to admin rights" (I just don't know the exact pharse), but step 2 and 3 failed. When doing the same with the admin user, everything worked fine. He told me that installing of other programs worked ok also with the restricted user and the additionally "elevating". The difference to my "installation" probably is that step 2 + 3 are not any more an "installation", but standard program job. Probably I could change the library path to a user based path, but the the program would be restricted to that installation user. My question: Is it state of the art on Mac, that you should be able to install every program also with a standard user, or is it ok to say that my program can only be installed by an admin? Thanks for your experience Tiemo From m.schonewille at economy-x-talk.com Mon Apr 4 07:18:26 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 4 Apr 2011 13:18:26 +0200 Subject: OT: Elevated admin rights or admin on Mac In-Reply-To: <000601cbf2b3$2c178dc0$8446a940$@de> References: <000601cbf2b3$2c178dc0$8446a940$@de> Message-ID: Tiemo, Under any unix flavour, including Mac OS X, you can install software from any account, provided that you give the installing process admin rights (or super user rights). A restricted user is not a standard user. The purpose of restricted users is that these accounts can't freely install applications. You have two options: 1) tell the customer that the software can only be installed under an admin account 2) allow the user to install the software for the current user only (changing /library/preferences/MyFolder into ~/library/preferences/MyFolder). Depending on the restrictions, a restricted user may still be unable to install software, if the installer tries to install the software for the current user only. In your case, I'd choose option 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 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 4 apr 2011, at 12:29, Tiemo Hollmann TB wrote: > Hi, > > I am not used to the rights management on Mac, so I don't know where to > start looking. > > One of my LiveCode programs is installed in 3 steps. > > 1. Dragging the prog from the dmg to the app folder > > 2. Starting a tool on the CD to copy some videos to: > /library/preferences/MyFolder > > 3. When starting my prog the first time, it creates an ini file at: > /library/preferences/MyFolder > > A customer tried to install my prog with a user with restricted rights. He > was asked to "elevate to admin rights" (I just don't know the exact pharse), > but step 2 and 3 failed. When doing the same with the admin user, everything > worked fine. He told me that installing of other programs worked ok also > with the restricted user and the additionally "elevating". > > The difference to my "installation" probably is that step 2 + 3 are not any > more an "installation", but standard program job. Probably I could change > the library path to a user based path, but the the program would be > restricted to that installation user. > > My question: Is it state of the art on Mac, that you should be able to > install every program also with a standard user, or is it ok to say that my > program can only be installed by an admin? > > Thanks for your experience > > Tiemo > From jmyepes at mac.com Mon Apr 4 08:16:35 2011 From: jmyepes at mac.com (JosepM) Date: Mon, 4 Apr 2011 07:16:35 -0500 (CDT) Subject: datagrid: how to apply a numberFormat to a column? Message-ID: <1301919395795-3425298.post@n4.nabble.com> Hi, I'm trying to apply a numberFormat to a column but nothing change. In the database I have 4 decimals but I want to show only 2. Into the FillData I put: set the numberFormat to "#.00" Salut, Josep M -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/datagrid-how-to-apply-a-numberFormat-to-a-column-tp3425298p3425298.html Sent from the Revolution - User mailing list archive at Nabble.com. From lists at mangomultimedia.com Mon Apr 4 08:36:52 2011 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 4 Apr 2011 08:36:52 -0400 Subject: DELETE, PUT http In-Reply-To: References: Message-ID: On Sun, Apr 3, 2011 at 3:50 AM, Maarten Koopmans wrote: > I there a way to have LIvecode do PUT and DELETE via http/https, > hopefully witj digest authentication? So you can use the UI tools to > integrate with REST services? I see great chanches here :-) > PUT and DELETE arel supported by libURL. PUT: put theVariableData into URL "http://www.mydomain.com/path/" DELETE: delete URL "http://www.mydomain.com/path/" -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com LiveCode Resources for Developers: http://livecode.bluemangolearning.com From m.schonewille at economy-x-talk.com Mon Apr 4 08:51:04 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 4 Apr 2011 14:51:04 +0200 Subject: DELETE, PUT http In-Reply-To: References: Message-ID: <2D280880-B9B3-4D49-9590-74585CEFA709@economy-x-talk.com> That's cool, Trevor. I didn't know this. Is it documented somewhere? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 4 apr 2011, at 14:36, Trevor DeVore wrote: > > PUT and DELETE arel supported by libURL. > > PUT: put theVariableData into URL "http://www.mydomain.com/path/" > DELETE: delete URL "http://www.mydomain.com/path/" > > -- > Trevor DeVore > Blue Mango Learning Systems > ScreenSteps: http://www.screensteps.com > LiveCode Resources for Developers: http://livecode.bluemangolearning.com From ambassador at fourthworld.com Mon Apr 4 09:30:30 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 04 Apr 2011 06:30:30 -0700 Subject: The Perfect Plug-In In-Reply-To: <4D99241D.000003.02144@CALS_BIG_PC> References: <4D99241D.000003.02144@CALS_BIG_PC> Message-ID: <4D99C7F6.7020105@fourthworld.com> Cal Horner wrote: > Does anyone have the perfect Definition of a plug-in? What are all of a > plug-ins attributes and property settings? And after building a plug-in how > do you test it? A plugin is just a stack that's conveniently accessible within the IDE. Not much special to it. LC offers additional options to set the window mode, get special IDE messages, etc., all managed by the Plugin Settings window accessible as the last item in the Plugins submenu. To install a custom plugin just create a folder named "Plugins" and change your Prefs to point to that folder* and anything in that folder appears in Development->Plugins. You can also put your plugins directly in LC's own Plugins folder if you can find it, but note that such plugins won't carry forward when you upgrade. * In Preferences you don't actually point it to your Plugins folder, but instead point it to the folder that contains your Plugins folder. Don't ask me why. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From lists at mangomultimedia.com Mon Apr 4 09:31:25 2011 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 4 Apr 2011 09:31:25 -0400 Subject: DELETE, PUT http In-Reply-To: <2D280880-B9B3-4D49-9590-74585CEFA709@economy-x-talk.com> References: <2D280880-B9B3-4D49-9590-74585CEFA709@economy-x-talk.com> Message-ID: On Mon, Apr 4, 2011 at 8:51 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > That's cool, Trevor. I didn't know this. Is it documented somewhere? Yes. 'delete URL' appears in the docs and a note about the HTTP implementation of PUT appears in the 'put' entry in the docs (I'm looking at the 4.6 docs). -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com LiveCode Resources for Developers: http://livecode.bluemangolearning.com From m.schonewille at economy-x-talk.com Mon Apr 4 09:44:24 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 4 Apr 2011 15:44:24 +0200 Subject: DELETE, PUT http In-Reply-To: References: <2D280880-B9B3-4D49-9590-74585CEFA709@economy-x-talk.com> Message-ID: <40781D73-C4B1-446B-8FF5-1C7EFF2C759B@economy-x-talk.com> Thanks, Trevor. I've just tried it in 4.0 and it doesn't work there. I guess it is a new feature. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 4 apr 2011, at 15:31, Trevor DeVore wrote: > > Yes. 'delete URL' appears in the docs and a note about the HTTP > implementation of PUT appears in the 'put' entry in the docs (I'm looking at > the 4.6 docs). From lists at mangomultimedia.com Mon Apr 4 09:52:42 2011 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 4 Apr 2011 09:52:42 -0400 Subject: DELETE, PUT http In-Reply-To: <40781D73-C4B1-446B-8FF5-1C7EFF2C759B@economy-x-talk.com> References: <2D280880-B9B3-4D49-9590-74585CEFA709@economy-x-talk.com> <40781D73-C4B1-446B-8FF5-1C7EFF2C759B@economy-x-talk.com> Message-ID: On Mon, Apr 4, 2011 at 9:44 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Thanks, Trevor. I've just tried it in 4.0 and it doesn't work there. I > guess it is a new feature. I don't think it is new as I found out about support a while ago (at least 4.x, probably 3.x). I don't have 4.0 installed any longer though so I can't confirm that at the moment. How was your test set up? Below are the results I see in the field targeted by libURLSetLogField when executing a PUT or DELETE call. Testing PUT: put "what" into url "http://google.com" ********************* PUT / HTTP/1.1 Host: google.com User-Agent: LiveCode (MacOS) Content-Length: 4 Content-Type: application/x-www-form-urlencoded HTTP/1.1 405 Method Not Allowed Content-Type: text/html; charset=UTF-8 Content-Length: 1390 Date: Mon, 04 Apr 2011 13:47:26 GMT Server: GFE/2.0 Connection: close ********************* Testing DELETE: delete url "http://google.com" ********************* DELETE / HTTP/1.1 Host: google.com User-Agent: LiveCode (MacOS) HTTP/1.1 405 Method Not Allowed Content-Type: text/html; charset=UTF-8 Content-Length: 1393 Date: Mon, 04 Apr 2011 13:49:35 GMT Server: GFE/2.0 ********************* -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com LiveCode Resources for Developers: http://livecode.bluemangolearning.com From ambassador at fourthworld.com Mon Apr 4 10:04:25 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 04 Apr 2011 07:04:25 -0700 Subject: [OT] Upgrading to Ubuntu 11.04 Beta In-Reply-To: <4D997543.3050009@gmail.com> References: <4D997543.3050009@gmail.com> Message-ID: <4D99CFE9.5000302@fourthworld.com> Richmond wrote: > If you have been running GNOME as your window manager, upgrading to > Ubuntu 11.04 Beta will "hose" GNOME: I know, I did just that; now having to > use XFCE (which isn't bad in itself, I just prefer GNOME). A little background for those here who haven't been up on the news with Ubuntu: This month Ubuntu rolls out a fresh new UI called Unity, similar to how Apple switched to Aqua and Microsoft to Glass. IMO Unity is every bit as much of an advance over the older UI as the switch the other two major OS vendors put into place, but like those others there are some users who liked things as they were. Good news for them: Gnome 2 is still available in Ubuntu 11.04. Just choose that option from the login screen if you prefer it. Most important for those who've loved Gnome 2 is that Canonical isn't making this change by themselves. The Gnome project itself is leaving Gnome 2 behind in favor of Gnome 3, which has far more in common with Ubuntu's Unity than either does with Gnome 2. Gnome 2's days are numbered (Gnome 3 will replace it by June), and Canonical is merely being proactive about how to manage the change by migrating their UI to Unity. In addition to choosing which desktop environment you use when you log in, Ubuntu has two release tracks so folks can pick which one best reflects their needs: LTS and twice a year. LTS stands for "Long Term Support", and is released on a three-year cycle. The UI remains pretty much locked down, and bug fixes from current versions are backported regularly. The current LTS will remain in place until next year. For those who prefer the very latest Ubuntu is upgraded twice a year, in April and October, with the next one being 11.04 (April of 2011). This 11.04 release is perhaps the most significant UI change in Ubuntu's history thanks to the introduction of Unity, a new shell that sits on top of the Gnome 2 desktop environment as part of an ongoing effort to provide ever greater usability. I saw Ted Gould's two presentations on Unity at SCaLE back in February, and spoke with him at length about it in between. Ted is one of Canonical's top engineers on the Unity project, and his enthusiasm for it is rather contagious. While Unity may be off-putting to some members of the Ubuntu community who really like Gnome 2, most of the folks in the Ubuntu forums who initially complained about the Alphas have come to like it quite a bit as they spend more time with it, which isn't surprising since there are sound reasons behind the changes and overall it's coming along quite well IMO. Personally, I feel there are still a couple details that need refinement, and from participating in the Ayatana discussion list (Ayatana is the name of the community project focused on the Ubuntu interface) it seems Unity won't become perfect until the 11.10 release, long before it becomes the next LTS. With Apple's move to Aqua it took a few releases to get it right, and I suspect the same will be true of Unity. But even now Unity is pretty nice once you get used to it, and Mac folks tend to take to it right away since it sports a global menu bar and built-in Dock-like Launcher. I could go one about Unity's design objectives, where it succeeds in meeting those goals and where IMO it still needs refinement, but this post has already gotten too long. Instead, if you're coming to RevLive later this month my session will be on Linux deployment, and I'll be devoting a few minutes to showing Unity and its implications for both users and developers, And remember, Unity is part of Ubuntu and Ubuntu is Linux, so this means all of you have an opportunity you just can't get with any closed-source OS: it's community-driven and you can directly contribute to the project. If any of you are interested in participating or have any questions about Unity or Ubuntu, feel free to write me directly and I'll be happy to help if I can. -- 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 Mon Apr 4 10:14:03 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 4 Apr 2011 07:14:03 -0700 Subject: The Perfect Plug-In In-Reply-To: <4D99C7F6.7020105@fourthworld.com> References: <4D99241D.000003.02144@CALS_BIG_PC> <4D99C7F6.7020105@fourthworld.com> Message-ID: Richard - Perhaps to set the IDE default folder for other things besides plugins - like external libs, Remo etc? For instance Remo use the IDE settings in regards to where its own settings are. This is great for using LIvecode with Dropbox and its ilk when using on multiple machines. I haven't used the word ILK in a long time.... a herd of ilk. sqb On 4 April 2011 06:30, Richard Gaskin wrote: > > > * In Preferences you don't actually point it to your Plugins folder, but > instead point it to the folder that contains your Plugins folder. Don't ask > me why. > > - Stephen Barncard San Francisco Ca. USA more about sqb From maarten.koopmans at gmail.com Mon Apr 4 10:16:05 2011 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Mon, 4 Apr 2011 16:16:05 +0200 Subject: Fit a card to PDF Message-ID: Hi, I have a card of r.g. 1024x768 that I print to pdf (awesome) but.... it only shows partially; a matter of scaling. How do you scale the printing of your card to a PDF so that it precisely maps to say, an A4 PDF? --Maarten From maarten.koopmans at gmail.com Mon Apr 4 10:34:18 2011 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Mon, 4 Apr 2011 16:34:18 +0200 Subject: Fit a card to PDF In-Reply-To: References: Message-ID: Duh.... http://lessons.runrev.com/spaces/lessons/buckets/784/lessons/29177-How-to-create-PDFs-using-LiveCode On Mon, Apr 4, 2011 at 4:16 PM, Maarten Koopmans wrote: > Hi, > > I have a card of r.g. 1024x768 that I print to pdf (awesome) but.... it > only shows partially; a matter of scaling. How do you scale the printing of > your card to a PDF so that it precisely maps to say, an A4 PDF? > > --Maarten > From admin at FlexibleLearning.com Mon Apr 4 10:39:51 2011 From: admin at FlexibleLearning.com (FlexibleLearning) Date: Mon, 4 Apr 2011 15:39:51 +0100 Subject: [ANN] ChartMaker free update In-Reply-To: Message-ID: We are pleased to announce a free update for ChartMaker 2.1 [build 46]. If you have version 2.0, there is a discounted upgrade path available that includes all the other new features such as PDF printing, max/min ranges and bi-color toned backgrounds. What's New? In the Library, we now have... - Scatter charts - Linear regression Trend Lines with optional stats information - 3D Drop Shadows and - The lifting of the 100x100 iOS chart size restriction. In the Wizard, we now have... - Cell editing and alternating row color options - Personal color palettes - 'Quick-Pick' color names menus - A new disclosure-style layout and - A new Playground for you to try out and investigate. Details with preview images are at http://www.flexiblelearning.com/chartmaker/versioning/whatsnew.htm To download the new version, click 'Check for Updates...' in the software. For a free 30-day trial, go to http://www.flexiblelearning.com/chartmaker Hugh Senior FLCo From lists at mangomultimedia.com Mon Apr 4 11:22:14 2011 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 4 Apr 2011 11:22:14 -0400 Subject: DELETE, PUT http In-Reply-To: References: Message-ID: On Sun, Apr 3, 2011 at 3:50 AM, Maarten Koopmans wrote: > I there a way to have LIvecode do PUT and DELETE via http/https, > hopefully witj digest authentication? > Regarding digest authentication - libURL doesn't offer built in support for digest so you have to roll your own. You can extend the supported authorization schemes by means of libUrlSetAuthCallback. The GLX Application Framework has Digest support built in, however. If you look at the glxApplicationFramework stack script that comes with the distribution you will find a handler named glxappAuthDigestCallback. It relies on a couple of other handlers but it may help you out. http://www.bluemangolearning.com/revolution/software/libraries/glx-application-framework/ -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com LiveCode Resources for Developers: http://livecode.bluemangolearning.com From dunbarx at aol.com Mon Apr 4 12:12:46 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 04 Apr 2011 12:12:46 -0400 Subject: messageTransparent In-Reply-To: References: Message-ID: <8CDC0FA4197764B-1C3C-1C83A@webmail-m005.sysops.aol.com> Wasn't there a discussion a while back about a property (or trick) of a control that would allow, say, a mouseUp message to think that the object wasn't really there, and so the message would pass to a control that underlay it? So if I had a graphic that was on top of a locked field, and I clicked on the graphic, a mouseUp message would pass right through the graphic and be picked up by the field? A sort of messageTransparent property? For example, getting the clickLine would be direct. I can always send the message to the field from the graphic, but I seem to remember a cuter way. Thanks... Craig Newman From dave.cragg at lacscentre.co.uk Mon Apr 4 12:24:03 2011 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Mon, 4 Apr 2011 17:24:03 +0100 Subject: DELETE, PUT http In-Reply-To: References: Message-ID: <613ED0A1-030B-4073-BA89-73578BFC407A@lacscentre.co.uk> On 4 Apr 2011, at 13:36, Trevor DeVore wrote: > On Sun, Apr 3, 2011 at 3:50 AM, Maarten Koopmans > wrote: > >> I there a way to have LIvecode do PUT and DELETE via http/https, >> hopefully witj digest authentication? So you can use the UI tools to >> integrate with REST services? I see great chanches here :-) >> > > PUT and DELETE arel supported by libURL. Now I feel embarrassed. :-) Please ignore my earlier mail. Don't know what I was thinking. The only comment I can add is that PUT and DELETE for http were never extensively tested when added to libUrl. This was because so few http servers support these commands. The "Method not allowed" response that Trevor shows in his other mail is typical for most servers. Dave From bobs at twft.com Mon Apr 4 12:41:52 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 4 Apr 2011 09:41:52 -0700 Subject: datagrid: how to apply a numberFormat to a column? In-Reply-To: <1301919395795-3425298.post@n4.nabble.com> References: <1301919395795-3425298.post@n4.nabble.com> Message-ID: Even after you refresh the datagrid? Bob On Apr 4, 2011, at 5:16 AM, JosepM wrote: > Hi, > > I'm trying to apply a numberFormat to a column but nothing change. > > In the database I have 4 decimals but I want to show only 2. > > Into the FillData I put: > > set the numberFormat to "#.00" > > > Salut, > Josep M > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/datagrid-how-to-apply-a-numberFormat-to-a-column-tp3425298p3425298.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Apr 4 12:56:28 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 4 Apr 2011 09:56:28 -0700 Subject: Code Documentation on steroids In-Reply-To: <8CDBEEEC6FFDE57-18A4-127F5@webmail-m036.sysops.aol.com> References: <8CDBEEEC6FFDE57-18A4-127F5@webmail-m036.sysops.aol.com> Message-ID: <171810AE-BB9C-4BCF-8D2A-A76C88B74852@twft.com> GLX2 has this feature. In the right side of the code editor there was a line. If you clicked out past that line GLX2 inserted a pound sign # and you could start typing there. I suppose you could do this yourself by putting all your commenting out at the end of the lines of code, but it might look messier. Bob On Apr 1, 2011, at 6:45 PM, DunbarX at aol.com wrote: > I wish that each line in the script editor could have a tooltip associated with it. Annotation takes up so much room if done right, that it is hard to separate the code from the comments. Or maybe a secondary parallel scrolling field that is attached to the editor? > > > I like my code to be written in consecutive lines I find even my own comments distracting, however helpful they are. It would be great if an adjunct display of some sort could be placed alongside. > > > Craig Newman > > > > > > -----Original Message----- > From: Trevor DeVore > To: How to use LiveCode > Sent: Fri, Apr 1, 2011 12:08 pm > Subject: Re: Code Documentation > > > On Fri, Apr 1, 2011 at 11:54 AM, Pete wrote: > >> I'm sure I could write a script to go through all my handlers and extract >> the comment block but before I start down that road, are there any code >> documentation aids out there for Livecode? >> > > I use NativeDoc and like it a lot. > > http://www.nativesoft.fr/index.php?option=com_content&view=article&id=87&Itemid=115 > > -- > Trevor DeVore > Blue Mango Learning Systems > ScreenSteps: http://www.screensteps.com > LiveCode Resources for Developers: http://livecode.bluemangolearning.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 4 12:58:17 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 4 Apr 2011 09:58:17 -0700 Subject: Just noticed In-Reply-To: References: Message-ID: <1670DB7E-29F7-46CD-AF16-AE268E20EFFA@twft.com> Or get in the habit of typing a space after shift-insert. That is a bug thought in my opinion. Bob On Apr 3, 2011, at 10:27 AM, Mike Bonner wrote: > Nevermind. Using ctrl-v sets it dirty, shift-insert doesn't. I'll just > remember to use ctrl-v instead. > > On Thu, Mar 31, 2011 at 2:47 PM, Mike Bonner wrote: > >> When i paste code into the script editor it doesn't set the dirty bit. Has >> it always been this way and I've just never noticed it before? > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 4 13:11:06 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 4 Apr 2011 10:11:06 -0700 Subject: OT: Elevated admin rights or admin on Mac In-Reply-To: <000601cbf2b3$2c178dc0$8446a940$@de> References: <000601cbf2b3$2c178dc0$8446a940$@de> Message-ID: If you are trying to do all this via a terminal shell using ssh, you will have to get admin credentials from the user, then use sudo and use the admin creds in the command. I've never done this but I think this is how all installers actually work which require admin access or root access. You probably don't have to use sudo (which is a way of masquerading as the root user using administrator credentials). If you are doing this through Livecode commands and functions, then I don't know how you would call the Apple's authentication dialog yourself or do anything using the creds you get back. It might be easier though to install in the user's library at ~/library as each user already has read write access to that folder. The downside though is that you have to do this for each user the first time they try to use your software. You would have to check for the existence of your files at their location and do the copy if they are not there. Bob On Apr 4, 2011, at 3:29 AM, Tiemo Hollmann TB wrote: > Hi, > > I am not used to the rights management on Mac, so I don't know where to > start looking. > > One of my LiveCode programs is installed in 3 steps. > > 1. Dragging the prog from the dmg to the app folder > > 2. Starting a tool on the CD to copy some videos to: > /library/preferences/MyFolder > > 3. When starting my prog the first time, it creates an ini file at: > /library/preferences/MyFolder > > A customer tried to install my prog with a user with restricted rights. He > was asked to "elevate to admin rights" (I just don't know the exact pharse), > but step 2 and 3 failed. When doing the same with the admin user, everything > worked fine. He told me that installing of other programs worked ok also > with the restricted user and the additionally "elevating". > > The difference to my "installation" probably is that step 2 + 3 are not any > more an "installation", but standard program job. Probably I could change > the library path to a user based path, but the the program would be > restricted to that installation user. > > My question: Is it state of the art on Mac, that you should be able to > install every program also with a standard user, or is it ok to say that my > program can only be installed by an admin? > > Thanks for your experience > > Tiemo > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Apr 4 13:19:23 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 4 Apr 2011 10:19:23 -0700 Subject: The Perfect Plug-In In-Reply-To: References: <4D99241D.000003.02144@CALS_BIG_PC> <4D99C7F6.7020105@fourthworld.com> Message-ID: <32E3FE4D-03C1-4B57-A935-F8DDC1FA86B6@twft.com> Makes sense if you think about it. A herd of ilk would be by definition almost exactly alike. Bob On Apr 4, 2011, at 7:14 AM, stephen barncard wrote: > I haven't used the word ILK in a long time.... a herd of ilk. > > sqb From maarten.koopmans at gmail.com Mon Apr 4 13:23:15 2011 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Mon, 4 Apr 2011 19:23:15 +0200 Subject: DELETE, PUT http In-Reply-To: <613ED0A1-030B-4073-BA89-73578BFC407A@lacscentre.co.uk> References: <613ED0A1-030B-4073-BA89-73578BFC407A@lacscentre.co.uk> Message-ID: On Monday, April 4, 2011, Dave Cragg wrote: > > On 4 Apr 2011, at 13:36, Trevor DeVore wrote: > >> On Sun, Apr 3, 2011 at 3:50 AM, Maarten Koopmans >> wrote: >> >>> I there a way to have LIvecode do PUT and DELETE via http/https, >>> hopefully witj digest authentication? So you can use the UI tools to >>> integrate with REST services? I see great chanches here :-) >>> >> >> PUT and DELETE arel supported by libURL. > > Now I feel embarrassed. :-) > > Please ignore my earlier mail. Don't know what I was thinking. > > The only comment I can add is that PUT and DELETE for http were never extensively tested when added to libUrl. This was because so few http servers support these commands. The "Method not allowed" response that Trevor shows in his other mail is typical for most servers. > But put and delete are very handy when you have a rest service, especially when you control the web service :-) Thanks, Maarten From keith.clarke at clarkeandclarke.co.uk Mon Apr 4 13:23:48 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Mon, 4 Apr 2011 18:23:48 +0100 Subject: The Perfect Plug-In In-Reply-To: <32E3FE4D-03C1-4B57-A935-F8DDC1FA86B6@twft.com> References: <4D99241D.000003.02144@CALS_BIG_PC> <4D99C7F6.7020105@fourthworld.com> <32E3FE4D-03C1-4B57-A935-F8DDC1FA86B6@twft.com> Message-ID: <926C9915-68B3-41E6-9A3F-0215FB07F187@clarkeandclarke.co.uk> ...surely only if it's a herd of homogenised ilk. Keith.. On 4 Apr 2011, at 18:19, Bob Sneidar wrote: > Makes sense if you think about it. A herd of ilk would be by definition almost exactly alike. > > Bob > > > On Apr 4, 2011, at 7:14 AM, stephen barncard wrote: > >> I haven't used the word ILK in a long time.... a herd of ilk. >> >> 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 maarten.koopmans at gmail.com Mon Apr 4 13:28:40 2011 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Mon, 4 Apr 2011 19:28:40 +0200 Subject: OAuth, dropbox Message-ID: Hi, The downside of Livecode is that I haven't found an OAuth library, where I can build dropbox integration on top of..... Think downloading files from dropbox to your iOS device or so..... Has anybody already started this journey, bevause it looks like there are dragons if you can't use a SDK. Thanks, Maarten From m.schonewille at economy-x-talk.com Mon Apr 4 13:37:13 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 4 Apr 2011 19:37:13 +0200 Subject: OAuth, dropbox In-Reply-To: References: Message-ID: <8F227365-6E05-4129-8F78-B0A67A917328@economy-x-talk.com> Hi Maarten, If you can't use an SDK, you can still resort to the web api. https://www.dropbox.com/developers/web_docs This should work from within revBrowser for example. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 4 apr 2011, at 19:28, Maarten Koopmans wrote: > Hi, > > The downside of Livecode is that I haven't found an OAuth library, > where I can build dropbox integration on top of..... Think downloading > files from dropbox to your iOS device or so..... > > Has anybody already started this journey, bevause it looks like there > are dragons if you can't use a SDK. > > Thanks, > > Maarten From bonnmike at gmail.com Mon Apr 4 13:49:36 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 4 Apr 2011 11:49:36 -0600 Subject: Just noticed In-Reply-To: <1670DB7E-29F7-46CD-AF16-AE268E20EFFA@twft.com> References: <1670DB7E-29F7-46CD-AF16-AE268E20EFFA@twft.com> Message-ID: The only time it bugs me is when I paste something in, then instantly hit enter to compile. Since the bit isn't set, the editor closes. Nothing catastrophic since the code should still be in the clipboard, but surely annoying. On Mon, Apr 4, 2011 at 10:58 AM, Bob Sneidar wrote: > Or get in the habit of typing a space after shift-insert. That is a bug > thought in my opinion. > > Bob > > > On Apr 3, 2011, at 10:27 AM, Mike Bonner wrote: > > > Nevermind. Using ctrl-v sets it dirty, shift-insert doesn't. I'll just > > remember to use ctrl-v instead. > > > > On Thu, Mar 31, 2011 at 2:47 PM, Mike Bonner wrote: > > > >> When i paste code into the script editor it doesn't set the dirty bit. > Has > >> it always been this way and I've just never noticed it before? > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dunbarx at aol.com Mon Apr 4 14:40:41 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 04 Apr 2011 14:40:41 -0400 Subject: messageTransparent In-Reply-To: <8CDC0FA4197764B-1C3C-1C83A@webmail-m005.sysops.aol.com> References: <8CDC0FA4197764B-1C3C-1C83A@webmail-m005.sysops.aol.com> Message-ID: <8CDC10EEF32453D-1C3C-1E76C@webmail-m005.sysops.aol.com> Stupid. I have known for 25 years that you just disable the frontmost object. -----Original Message----- From: dunbarx at aol.com To: use-livecode at lists.runrev.com Sent: Mon, Apr 4, 2011 12:12 pm Subject: messageTransparent Wasn't there a discussion a while back about a property (or trick) of a control that would allow, say, a mouseUp message to think that the object wasn't really there, and so the message would pass to a control that underlay it? So if I had a graphic that was on top of a locked field, and I clicked on the graphic, a mouseUp message would pass right through the graphic and be picked up by the field? A sort of messageTransparent property? For example, getting the clickLine would be direct. I can always send the message to the field from the graphic, but I seem to remember a cuter way. Thanks... Craig Newman _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Apr 4 14:41:47 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 04 Apr 2011 13:41:47 -0500 Subject: messageTransparent In-Reply-To: <8CDC0FA4197764B-1C3C-1C83A@webmail-m005.sysops.aol.com> References: <8CDC0FA4197764B-1C3C-1C83A@webmail-m005.sysops.aol.com> Message-ID: <4D9A10EB.9090108@hyperactivesw.com> On 4/4/11 11:12 AM, dunbarx at aol.com wrote: > > > Wasn't there a discussion a while back about a property (or trick) of > a control that would allow, say, a mouseUp message to think that the > object wasn't really there, and so the message would pass to a > control that underlay it? So if I had a graphic that was on top of a > locked field, and I clicked on the graphic, a mouseUp message would > pass right through the graphic and be picked up by the field? A sort > of messageTransparent property? For images and graphics you can set the enabled to false. I'm not sure about other types of controls -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From maarten.koopmans at gmail.com Mon Apr 4 14:57:19 2011 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Mon, 4 Apr 2011 20:57:19 +0200 Subject: OAuth, dropbox In-Reply-To: <8F227365-6E05-4129-8F78-B0A67A917328@economy-x-talk.com> References: <8F227365-6E05-4129-8F78-B0A67A917328@economy-x-talk.com> Message-ID: Hi Mark, That still requires oauth, but more importantly, it's not supported by dropbox yet. Guess I'll have to write my own SDK. --Maarten On Monday, April 4, 2011, Mark Schonewille wrote: > Hi Maarten, > > If you can't use an SDK, you can still resort to the web api. > https://www.dropbox.com/developers/web_docs > This should work from within revBrowser for example. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce > > On 4 apr 2011, at 19:28, Maarten Koopmans wrote: > >> Hi, >> >> The downside of Livecode is that I haven't found an OAuth library, >> where I can build dropbox integration on top of..... Think downloading >> files from dropbox to your iOS device or so..... >> >> Has anybody already started this journey, bevause it looks like there >> are dragons if you can't use a SDK. >> >> Thanks, >> >> Maarten > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From etcawley at fastmail.fm Mon Apr 4 15:00:18 2011 From: etcawley at fastmail.fm (edward cawley) Date: Mon, 4 Apr 2011 14:00:18 -0500 Subject: script debug problem Message-ID: I got an execution error that it couldn't find a message. I went to the script and commented out the message. I tried to debug the script with a breakpoint but it wasn't accepted because< the script debug mode is disabled>. Now I can't turn the script debug mode on so I can't trace the error. A search listed several recommendations to turn off the script debugger but no suggestions as to un-disabling it. The breakpoints listing on the script editor list several breakpoints that I can't delete. I think it started with the execution error. I haven't found any discussion of it, is it a bug? How can I get it the script debug mode enabled? back on?? Ed From ray at linkit.com Mon Apr 4 15:02:36 2011 From: ray at linkit.com (Ray Horsley) Date: Mon, 4 Apr 2011 15:02:36 -0400 Subject: TextShift In-Reply-To: <4D929749.4030103@hyperactivesw.com> References: <001701cbee6a$419ddd40$c4d997c0$@LinkIt.Com> <4D929749.4030103@hyperactivesw.com> Message-ID: <000901cbf2fa$dd1d93c0$9758bb40$@LinkIt.Com> Jackie, Thanks for your input. I assume you mean getting the textShift on 2 or more characters when you mention a "text run". That would make sense. Thanks, Ray -----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: Tuesday, March 29, 2011 10:37 PM To: How to use LiveCode Subject: Re: TextShift On 3/29/11 6:37 PM, Ray Horsley wrote: > Somehow on of our users ended up with a character in a field with a > textShift value of "mixed". I thought this value had to be a negative > or positive integer (or zero). Anybody know how such a value got there? If it's a text run, each character can have its own textshift setting. If they all aren't the same, you get "mixed". -- 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 ray at linkit.com Mon Apr 4 15:04:27 2011 From: ray at linkit.com (Ray Horsley) Date: Mon, 4 Apr 2011 15:04:27 -0400 Subject: Convert Color JPEG to Black and White Message-ID: <000a01cbf2fb$1f816d40$5e8447c0$@LinkIt.Com> Can this be done in LiveCode? If not, anybody have a utility to do so? Thanks, Ray Horsley LinkIt! Software From bonnmike at gmail.com Mon Apr 4 15:13:32 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 4 Apr 2011 13:13:32 -0600 Subject: Convert Color JPEG to Black and White In-Reply-To: <000a01cbf2fb$1f816d40$5e8447c0$@LinkIt.Com> References: <000a01cbf2fb$1f816d40$5e8447c0$@LinkIt.Com> Message-ID: Look at http://lessons.runrev.com/spaces/lessons/buckets/784/lessons/25371-Vision-How-do-I-Convert-a-Color-Image-to-Grayscale- On Mon, Apr 4, 2011 at 1:04 PM, Ray Horsley wrote: > Can this be done in LiveCode? If not, anybody have a utility to do so? > > > > Thanks, > > > > Ray Horsley > > LinkIt! Software > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Mon Apr 4 15:15:26 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 4 Apr 2011 13:15:26 -0600 Subject: script debug problem In-Reply-To: References: Message-ID: Under the development menu, should be able to click 'script debug mode' to turn it on and off. On Mon, Apr 4, 2011 at 1:00 PM, edward cawley wrote: > I got an execution error that it couldn't find a message. I went to the > script and commented out the message. I tried to debug the script with a > breakpoint but it wasn't accepted because< the script debug mode is > disabled>. Now I can't turn the script debug mode on so I can't trace the > error. A search listed several recommendations to turn off the script > debugger but no suggestions as to un-disabling it. The breakpoints listing > on the script editor list several breakpoints that I can't delete. I think > it started with the execution error. I haven't found any discussion of it, > is it a bug? How can I get it the script debug mode enabled? back on?? > Ed > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ray at linkit.com Mon Apr 4 15:26:38 2011 From: ray at linkit.com (Ray Horsley) Date: Mon, 4 Apr 2011 15:26:38 -0400 Subject: Convert Color JPEG to Black and White In-Reply-To: References: <000a01cbf2fb$1f816d40$5e8447c0$@LinkIt.Com> Message-ID: <001501cbf2fe$39090ae0$ab1b20a0$@LinkIt.Com> Oh yes! Thanks so much Mike. Thanks, Ray -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mike Bonner Sent: Monday, April 04, 2011 3:14 PM To: How to use LiveCode Subject: Re: Convert Color JPEG to Black and White Look at http://lessons.runrev.com/spaces/lessons/buckets/784/lessons/25371-Vision-Ho w-do-I-Convert-a-Color-Image-to-Grayscale- On Mon, Apr 4, 2011 at 1:04 PM, Ray Horsley wrote: > Can this be done in LiveCode? If not, anybody have a utility to do so? > > > > Thanks, > > > > Ray Horsley > > LinkIt! Software > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Apr 4 15:33:00 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 04 Apr 2011 14:33:00 -0500 Subject: script debug problem In-Reply-To: References: Message-ID: <4D9A1CEC.1080700@hyperactivesw.com> On 4/4/11 2:00 PM, edward cawley wrote: > I got an execution error that it couldn't find a message. I went to > the script and commented out the message. I tried to debug the script > with a breakpoint but it wasn't accepted because< the script debug > mode is disabled>. Now I can't turn the script debug mode on so I > can't trace the error. A search listed several recommendations to > turn off the script debugger but no suggestions as to un-disabling > it. The breakpoints listing on the script editor list several > breakpoints that I can't delete. I think it started with the > execution error. I haven't found any discussion of it, is it a bug? > How can I get it the script debug mode enabled? back on?? I've never heard of it turning itself off, but did you check the "Script Debug Mode" menu item in the Development menu? If it is already checked, then try restarting LiveCode. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Mon Apr 4 15:43:38 2011 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 04 Apr 2011 22:43:38 +0300 Subject: [OT] Upgrading to Ubuntu 11.04 Beta In-Reply-To: <4D99CFE9.5000302@fourthworld.com> References: <4D997543.3050009@gmail.com> <4D99CFE9.5000302@fourthworld.com> Message-ID: <4D9A1F6A.4020702@gmail.com> On 04/04/2011 05:04 PM, Richard Gaskin wrote: > > > Good news for them: Gnome 2 is still available in Ubuntu 11.04. Just > choose that option from the login screen if you prefer it. > Possibly; but not for me. If I select "Ubuntu Classic" (err . . . slipped there a bit; not very original) I get screen artifacts, unusable apps and my Avant Window Navigator gets Huntingdon's Chorea. From ambassador at fourthworld.com Mon Apr 4 16:16:05 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 04 Apr 2011 13:16:05 -0700 Subject: [OT] Upgrading to Ubuntu 11.04 Beta In-Reply-To: <4D9A1F6A.4020702@gmail.com> References: <4D9A1F6A.4020702@gmail.com> Message-ID: <4D9A2705.9050601@fourthworld.com> Richmond wrote: > On 04/04/2011 05:04 PM, Richard Gaskin wrote: >> Good news for them: Gnome 2 is still available in Ubuntu 11.04. Just >> choose that option from the login screen if you prefer it. >> > Possibly; but not for me. > > If I select "Ubuntu Classic" (err . . . slipped there a bit; not very > original) > I get screen artifacts, unusable apps and my Avant Window Navigator gets > Huntingdon's Chorea. Ubuntu 11.04 just recently went into beta testing. You can submit your bug report here: -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From bobs at twft.com Mon Apr 4 17:06:40 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 4 Apr 2011 14:06:40 -0700 Subject: script debug problem In-Reply-To: <4D9A1CEC.1080700@hyperactivesw.com> References: <4D9A1CEC.1080700@hyperactivesw.com> Message-ID: <3B5FF00A-9243-4BE9-AE2B-3999187961F4@twft.com> I did have an issue with an older version of GLX2 written before 4.0 came out. My debugger kept disabling itself. The newer GLX2 does not do this. It may have had something to do with my running the old tRev program in conjunction with GLX2, a practice I no longer engage in. At any rate I never got to the bottom of it. I only know that it never happened when I had GLX2 disabled, and now it doesn't happen at all. Bob On Apr 4, 2011, at 12:33 PM, J. Landman Gay wrote: > On 4/4/11 2:00 PM, edward cawley wrote: >> I got an execution error that it couldn't find a message. I went to >> the script and commented out the message. I tried to debug the script >> with a breakpoint but it wasn't accepted because< the script debug >> mode is disabled>. Now I can't turn the script debug mode on so I >> can't trace the error. A search listed several recommendations to >> turn off the script debugger but no suggestions as to un-disabling >> it. The breakpoints listing on the script editor list several >> breakpoints that I can't delete. I think it started with the >> execution error. I haven't found any discussion of it, is it a bug? >> How can I get it the script debug mode enabled? back on?? > > I've never heard of it turning itself off, but did you check the "Script Debug Mode" menu item in the Development menu? If it is already checked, then try restarting LiveCode. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Mon Apr 4 18:00:08 2011 From: livfoss at mac.com (Graham Samuel) Date: Tue, 05 Apr 2011 00:00:08 +0200 Subject: Is there any route to importing a PDF image into LiveCode? Message-ID: Folks I see in the archives some discussion of this topic, but it seemed to be concentrated on the issue of reading the text in a PDF. I have to process some images which exist as PDF files (with little or no text and anyway I don't want to deconstruct it at all). I would be happy to turn the PDF into an image which could be displayed, snapshotted etc., i.e. essentially a bitmap. I don't think LiveCode can do this natively, but can anyone suggest a route perhaps using another tool which would make this work automatically (I mean I want the user to find the file using a normal dialog within a LiveCode program and the image would then be imported without further action on the user's part)? The target platform is PC. TIA Graham From joseph at positivepractices.com Mon Apr 4 23:06:41 2011 From: joseph at positivepractices.com (Joseph) Date: Mon, 04 Apr 2011 20:06:41 -0700 Subject: Standalone Inclusions (solved) In-Reply-To: Message-ID: I solved the problem. The standalone main stack has a 'startup' handler. Apparently, the database and xml library bundles are activated internally by this handler. Simply add 'pass startup' to the end of the handler to share its purpose. Thanks, Joseph Martinez From andre at andregarzia.com Mon Apr 4 23:59:52 2011 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 5 Apr 2011 00:59:52 -0300 Subject: [OT] Upgrading to Ubuntu 11.04 Beta In-Reply-To: <4D9A2705.9050601@fourthworld.com> References: <4D9A1F6A.4020702@gmail.com> <4D9A2705.9050601@fourthworld.com> Message-ID: Folks, Never try any Ubuntu Beta on a production machine. Every iteration they break something that was working on the previous version. For every new animal that Canonical releases there are a ton of improvements but they also tend to have some regressions. There is a cautionary tale that I learned late in the game about never ever touching a working linux. If you got your linux desktop or server to work like you want then don't update unless there is something that needs patching or you are in deep need for an adventure. I have Ubuntu 6.04 running here on a little sheeva plug and I will NEVER UPDATE IT because once I got it to work, I can never do it again. I am running 10.04 on my current desktop and will not update to 11.x never unless something breaks here. Ubuntu versions are named after animals because they always need sometime after release to stop barking and running at everything and just calming down... wait for some months and things will behave again after regression bugs are squashed... I miss BSD.... On Mon, Apr 4, 2011 at 5:16 PM, Richard Gaskin wrote: > Richmond wrote: > > On 04/04/2011 05:04 PM, Richard Gaskin wrote: >> >>> Good news for them: Gnome 2 is still available in Ubuntu 11.04. Just >>> choose that option from the login screen if you prefer it. >>> >>> Possibly; but not for me. >> >> If I select "Ubuntu Classic" (err . . . slipped there a bit; not very >> original) >> I get screen artifacts, unusable apps and my Avant Window Navigator gets >> Huntingdon's Chorea. >> > > Ubuntu 11.04 just recently went into beta testing. You can submit your bug > report here: > > > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From runrev260805 at m-r-d.de Tue Apr 5 02:38:05 2011 From: runrev260805 at m-r-d.de (Matthias Rebbe) Date: Tue, 5 Apr 2011 08:38:05 +0200 Subject: Is there any route to importing a PDF image into LiveCode? In-Reply-To: References: Message-ID: <1F734D42-8A2C-4EBF-87CD-3531BE4D534F@m-r-d.de> Graham, you could use ImageMagick. http://www.imagemagick.org It is a software suite to create, edit, compose, or convert bitmap images. But you need only the command-line tool convert. You could try the following command for a quick start for example: convert -density 300x300 -trim your_source.pdf output.jpeg This would convert the file "your_source.pdf" to the jpeg file output.jpeg with a density of 300x300dpi You can find more information about the commandline switches of convert at http://www.imagemagick.org/script/convert.php HTH, Matthias Am 05.04.2011 um 00:00 schrieb Graham Samuel: > Folks > > I see in the archives some discussion of this topic, but it seemed to be concentrated on the issue of reading the text in a PDF. I have to process some images which exist as PDF files (with little or no text and anyway I don't want to deconstruct it at all). I would be happy to turn the PDF into an image which could be displayed, snapshotted etc., i.e. essentially a bitmap. > > I don't think LiveCode can do this natively, but can anyone suggest a route perhaps using another tool which would make this work automatically (I mean I want the user to find the file using a normal dialog within a LiveCode program and the image would then be imported without further action on the user's part)? The target platform is PC. > > TIA > > Graham > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Tue Apr 5 03:10:06 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 5 Apr 2011 09:10:06 +0200 Subject: AW: OT: Elevated admin rights or admin on Mac In-Reply-To: References: <000601cbf2b3$2c178dc0$8446a940$@de> Message-ID: <002e01cbf360$81ef8880$85ce9980$@de> Thank you Mark and Bob for coaching on unix Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Mark Schonewille > Gesendet: Montag, 4. April 2011 13:18 > An: How to use LiveCode > Betreff: Re: OT: Elevated admin rights or admin on Mac > > Tiemo, > > Under any unix flavour, including Mac OS X, you can install software from any > account, provided that you give the installing process admin rights (or super > user rights). > > A restricted user is not a standard user. The purpose of restricted users is > that these accounts can't freely install applications. > > You have two options: > 1) tell the customer that the software can only be installed under an admin > account > 2) allow the user to install the software for the current user only (changing > /library/preferences/MyFolder into ~/library/preferences/MyFolder). > > Depending on the restrictions, a restricted user may still be unable to > install software, if the installer tries to install the software for the > current user only. > > In your case, I'd choose option 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 > > New: Download the Installer Maker Plugin 1.6 for LiveCode here > http://qery.us/ce > > On 4 apr 2011, at 12:29, Tiemo Hollmann TB wrote: > > > Hi, > > > > I am not used to the rights management on Mac, so I don't know where to > > start looking. > > > > One of my LiveCode programs is installed in 3 steps. > > > > 1. Dragging the prog from the dmg to the app folder > > > > 2. Starting a tool on the CD to copy some videos to: > > /library/preferences/MyFolder > > > > 3. When starting my prog the first time, it creates an ini file at: > > /library/preferences/MyFolder > > > > A customer tried to install my prog with a user with restricted rights. He > > was asked to "elevate to admin rights" (I just don't know the exact pharse), > > but step 2 and 3 failed. When doing the same with the admin user, everything > > worked fine. He told me that installing of other programs worked ok also > > with the restricted user and the additionally "elevating". > > > > The difference to my "installation" probably is that step 2 + 3 are not any > > more an "installation", but standard program job. Probably I could change > > the library path to a user based path, but the the program would be > > restricted to that installation user. > > > > My question: Is it state of the art on Mac, that you should be able to > > install every program also with a standard user, or is it ok to say that my > > program can only be installed by an admin? > > > > Thanks for your experience > > > > Tiemo > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From admin at FlexibleLearning.com Tue Apr 5 05:28:28 2011 From: admin at FlexibleLearning.com (FlexibleLearning) Date: Tue, 5 Apr 2011 10:28:28 +0100 Subject: [ANN] ChartMaker Update Release In-Reply-To: Message-ID: If you downloaded a copy of the recent ChartMaker 2.1 update, please check for and download a correction issued today by clicking 'Check for updates...' in the software. It remedies problems when cell editing in the Utility Wizard. This is obviously a free update for licence holders and we apologize for any inconvenience caused. Alternatively, go to www.FlexibleLearning.com/chartmaker/versioning/whatsnew.htm to see details and previews of the new release and download a copy from there. It includes a free 30-day trial and there is a discounted upgrade path. If you have version 2.0, the 'Check for updates...' will download an html link to the new website location for you. Just follow the breadcrumbs! Regards, Hugh Senior FLCo From jmyepes at mac.com Tue Apr 5 05:40:09 2011 From: jmyepes at mac.com (JosepM) Date: Tue, 5 Apr 2011 04:40:09 -0500 (CDT) Subject: datagrid: how to apply a numberFormat to a column? In-Reply-To: References: <1301919395795-3425298.post@n4.nabble.com> Message-ID: <1301996409929-3427533.post@n4.nabble.com> Yes. If I add a new row the numberFormat is applied but not if I load from the database. Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/datagrid-how-to-apply-a-numberFormat-to-a-column-tp3425298p3427533.html Sent from the Revolution - User mailing list archive at Nabble.com. From yvescoppe at skynet.be Tue Apr 5 06:32:58 2011 From: yvescoppe at skynet.be (Yves COPPE) Date: Tue, 5 Apr 2011 12:32:58 +0200 Subject: Tab key Message-ID: Hello, I have a fld (simple table of 2 columns with 2 tabstops values) the tabkey to go to the next cell doesn't work anymore I've made no changes in the fld, but since the upgrade of LC, it doesn't work ???? Can you help me ? Greetings. Yves COPPE yvescoppe at skynet.be From tkuypers at telenet.be Tue Apr 5 07:36:04 2011 From: tkuypers at telenet.be (tkuypers at telenet.be) Date: Tue, 5 Apr 2011 13:36:04 +0200 Subject: usage of dropfolder Message-ID: <86960FF6-F9D7-4C3F-9BB1-D8079A8CD3A7@telenet.be> Hi gang, I'm stuck, after about 4 hours I have to admit I'm not clever enough for this... I'm trying to implement a drop-folder based application. When a file is found in the folder, I need to open it and check for some data inside the file. The actual code to check inside the file takes about 0.01 seconds, so I get a result almost immediately. When there are files in the folder when I start, it works perfectly. But when the process is checking every x seconds if there are files in the folder, thing go wrong: LiveCode sees a file in the folder, while the finder is still copying the file to that folder. So when I open the file, to read the content, it might still be empty. The files are jpg, CR2 (= raw images) and tiff files, ranging anywhere from 10kb to 30 Mb in size, so copying can take a few minutes. And now my question: How do I know if the Finder finished copying? Checking the file size doesn't work. Any help is more then welcome Warm regards, Ton Kuypers From mcgrath3 at mac.com Tue Apr 5 08:14:02 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 5 Apr 2011 08:14:02 -0400 Subject: usage of dropfolder In-Reply-To: <86960FF6-F9D7-4C3F-9BB1-D8079A8CD3A7@telenet.be> References: <86960FF6-F9D7-4C3F-9BB1-D8079A8CD3A7@telenet.be> Message-ID: <89DA5DFD-4F8B-4C08-85D5-CC57764A3AF7@mac.com> Have you tried using a folder action to let you know when something is added to the folder? -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Apr 5, 2011, at 7:36 AM, tkuypers at telenet.be wrote: > Hi gang, > > I'm stuck, after about 4 hours I have to admit I'm not clever enough for this... > > I'm trying to implement a drop-folder based application. > When a file is found in the folder, I need to open it and check for some data inside the file. > > The actual code to check inside the file takes about 0.01 seconds, so I get a result almost immediately. When there are files in the folder when I start, it works perfectly. > > But when the process is checking every x seconds if there are files in the folder, thing go wrong: LiveCode sees a file in the folder, while the finder is still copying the file to that folder. > So when I open the file, to read the content, it might still be empty. > > The files are jpg, CR2 (= raw images) and tiff files, ranging anywhere from 10kb to 30 Mb in size, so copying can take a few minutes. > > And now my question: How do I know if the Finder finished copying? Checking the file size doesn't work. > > Any help is more then welcome > > > Warm regards, > > Ton Kuypers > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tkuypers at telenet.be Tue Apr 5 08:21:19 2011 From: tkuypers at telenet.be (tkuypers at telenet.be) Date: Tue, 5 Apr 2011 14:21:19 +0200 Subject: usage of dropfolder In-Reply-To: <89DA5DFD-4F8B-4C08-85D5-CC57764A3AF7@mac.com> References: <86960FF6-F9D7-4C3F-9BB1-D8079A8CD3A7@telenet.be> <89DA5DFD-4F8B-4C08-85D5-CC57764A3AF7@mac.com> Message-ID: <35D4C9B7-0C2C-4DB9-B180-5CF9DF04FDA2@telenet.be> Hi Tom, Can't do that, everything needs to be setup and controlled by the LiveCode app. A folder actions would require a regular user to setup this, and you know how clever users are ;-) Ton On 5-apr-2011, at 14:14, Thomas McGrath III wrote: > Have you tried using a folder action to let you know when something is added to the folder? > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > From sims at ezpzapps.com Tue Apr 5 08:34:25 2011 From: sims at ezpzapps.com (Jim Sims) Date: Tue, 5 Apr 2011 14:34:25 +0200 Subject: usage of dropfolder In-Reply-To: <35D4C9B7-0C2C-4DB9-B180-5CF9DF04FDA2@telenet.be> References: <86960FF6-F9D7-4C3F-9BB1-D8079A8CD3A7@telenet.be> <89DA5DFD-4F8B-4C08-85D5-CC57764A3AF7@mac.com> <35D4C9B7-0C2C-4DB9-B180-5CF9DF04FDA2@telenet.be> Message-ID: On Apr 5, 2011, at 2:21 PM, tkuypers at telenet.be wrote: > Can't do that, everything needs to be setup and controlled by the LiveCode app. > A folder actions would require a regular user to setup this, and you know how clever users are ;-) If OS X you are talking about, can you write an Applescript for the action you need? Then use that script for what you think the user needs to do? sims From tkuypers at telenet.be Tue Apr 5 08:41:49 2011 From: tkuypers at telenet.be (tkuypers at telenet.be) Date: Tue, 5 Apr 2011 14:41:49 +0200 Subject: usage of dropfolder In-Reply-To: References: <86960FF6-F9D7-4C3F-9BB1-D8079A8CD3A7@telenet.be> <89DA5DFD-4F8B-4C08-85D5-CC57764A3AF7@mac.com> <35D4C9B7-0C2C-4DB9-B180-5CF9DF04FDA2@telenet.be> Message-ID: <43AF27A3-D6C8-42F4-8AFC-CB7C0D46537D@telenet.be> There will be a folder published on the network. Any user from any system in the network is able to drop files into that folder. The Mac running the app must be able to drop files in that folder as well. When files are dropped, they will be copied to the source of that published folder, so there is some delay involved. Only when the files are completely copied to that folder, my app needs to start copying By scripting "System Events" I know when the mac running the app is copying a file, so I can wait until local finder-copies are finished, but I need to make sure it will be ok to start processing files when they are copied from a remote Mac or PC to the dropfolder. Ton On 5-apr-2011, at 14:34, Jim Sims wrote: > > On Apr 5, 2011, at 2:21 PM, tkuypers at telenet.be wrote: > >> Can't do that, everything needs to be setup and controlled by the LiveCode app. >> A folder actions would require a regular user to setup this, and you know how clever users are ;-) > > If OS X you are talking about, can you write an Applescript for the action you need? Then use that script for what you think the user needs to do? > > sims > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Tue Apr 5 08:49:48 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 5 Apr 2011 08:49:48 -0400 Subject: usage of dropfolder In-Reply-To: <43AF27A3-D6C8-42F4-8AFC-CB7C0D46537D@telenet.be> References: <86960FF6-F9D7-4C3F-9BB1-D8079A8CD3A7@telenet.be> <89DA5DFD-4F8B-4C08-85D5-CC57764A3AF7@mac.com> <35D4C9B7-0C2C-4DB9-B180-5CF9DF04FDA2@telenet.be> <43AF27A3-D6C8-42F4-8AFC-CB7C0D46537D@telenet.be> Message-ID: <5EE7B0BD-6A3E-460C-9CD2-58EBEF49981A@mac.com> Ton, How time sensitive is this? Immediately? Can you set a flag upon first notice of the folder activity and then wait an indeterminate period of time to perform your LC action? -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Apr 5, 2011, at 8:41 AM, tkuypers at telenet.be wrote: > There will be a folder published on the network. Any user from any system in the network is able to drop files into that folder. > The Mac running the app must be able to drop files in that folder as well. > When files are dropped, they will be copied to the source of that published folder, so there is some delay involved. > > Only when the files are completely copied to that folder, my app needs to start copying > > By scripting "System Events" I know when the mac running the app is copying a file, so I can wait until local finder-copies are finished, but I need to make sure it will be ok to start processing files when they are copied from a remote Mac or PC to the dropfolder. > > > Ton > From admin at FlexibleLearning.com Tue Apr 5 12:00:10 2011 From: admin at FlexibleLearning.com (FlexibleLearning) Date: Tue, 5 Apr 2011 17:00:10 +0100 Subject: Tab key In-Reply-To: Message-ID: Hi Yves, I think this was a problem on Mac OS X with the first release of 4.6, quickly remedied by an update to 4.6.1. I think. Hugh Senior FLCo Hello, I have a fld (simple table of 2 columns with 2 tabstops values) the tabkey to go to the next cell doesn't work anymore I've made no changes in the fld, but since the upgrade of LC, it doesn't work ???? Can you help me ? Greetings. Yves COPPE yvescoppe at skynet.be From rjb at robelko.com Tue Apr 5 12:30:02 2011 From: rjb at robelko.com (Robert Brenstein) Date: Tue, 5 Apr 2011 18:30:02 +0200 Subject: usage of dropfolder In-Reply-To: <5EE7B0BD-6A3E-460C-9CD2-58EBEF49981A@mac.com> References: <86960FF6-F9D7-4C3F-9BB1-D8079A8CD3A7@telenet.be> <89DA5DFD-4F8B-4C08-85D5-CC57764A3AF7@mac.com> <35D4C9B7-0C2C-4DB9-B180-5CF9DF04FDA2@telenet.be> <43AF27A3-D6C8-42F4-8AFC-CB7C0D46537D@telenet.be> <5EE7B0BD-6A3E-460C-9CD2-58EBEF49981A@mac.com> Message-ID: On 05.04.11 at 08:49 -0400 Thomas McGrath III apparently wrote: >Ton, > >How time sensitive is this? Immediately? > >Can you set a flag upon first notice of the folder activity and then >wait an indeterminate period of time to perform your LC action? > Ton, I wonder whether Finder sets file information right away or keeps updating it as the file is copied. Worth checking. If the latter, a variation or enhancement of what Thomas suggested above could be to keep looking at the file size as reported by the detailed files. If three or four (or more) subsequent checks give the same number, your program can assume that copying is done. Time delayed multiple checks are needed since copying may pause. Robert From richmondmathewson at gmail.com Tue Apr 5 13:28:36 2011 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 05 Apr 2011 20:28:36 +0300 Subject: Is there any route to importing a PDF image into LiveCode? In-Reply-To: <1F734D42-8A2C-4EBF-87CD-3531BE4D534F@m-r-d.de> References: <1F734D42-8A2C-4EBF-87CD-3531BE4D534F@m-r-d.de> Message-ID: <4D9B5144.6070302@gmail.com> GIMP will do this for you. On 04/05/2011 09:38 AM, Matthias Rebbe wrote: > Graham, > > > you could use ImageMagick. http://www.imagemagick.org > It is a software suite to create, edit, compose, or convert bitmap images. But you need only the command-line tool convert. > > You could try the following command for a quick start for example: > > convert -density 300x300 -trim your_source.pdf output.jpeg > > This would convert the file "your_source.pdf" to the jpeg file output.jpeg with a density of 300x300dpi > > You can find more information about the commandline switches of convert at > http://www.imagemagick.org/script/convert.php > > > HTH, > > Matthias > Am 05.04.2011 um 00:00 schrieb Graham Samuel: > >> Folks >> >> I see in the archives some discussion of this topic, but it seemed to be concentrated on the issue of reading the text in a PDF. I have to process some images which exist as PDF files (with little or no text and anyway I don't want to deconstruct it at all). I would be happy to turn the PDF into an image which could be displayed, snapshotted etc., i.e. essentially a bitmap. >> >> I don't think LiveCode can do this natively, but can anyone suggest a route perhaps using another tool which would make this work automatically (I mean I want the user to find the file using a normal dialog within a LiveCode program and the image would then be imported without further action on the user's part)? The target platform is PC. >> >> TIA >> >> Graham >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Tue Apr 5 14:36:22 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 05 Apr 2011 13:36:22 -0500 Subject: Tab key In-Reply-To: References: Message-ID: <4D9B6126.2040609@hyperactivesw.com> On 4/5/11 5:32 AM, Yves COPPE wrote: > Hello, > > I have a fld (simple table of 2 columns with 2 tabstops values) > > the tabkey to go to the next cell doesn't work anymore > > I've made no changes in the fld, but since the upgrade of LC, it doesn't work ???? Hugh is right, there was a problem with the tab key in the first release. The fixed release uses the same version number, since it was posted so quickly after the original release. Log into to your account and re-download again. That should fix it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From revolution at derbrill.de Tue Apr 5 15:00:32 2011 From: revolution at derbrill.de (Malte Brill) Date: Tue, 5 Apr 2011 21:00:32 +0200 Subject: Customized Datagrid TAB order In-Reply-To: References: Message-ID: <435498E4-7AE0-4BCE-8A99-4D0031C4F094@derbrill.de> Hi all, I have a datagrid that is highly customized ( no field editor, but editable fields in it. Data entry messes with XML and stuff). Now this all is working just fine, but I need to implement Tabbing from one column to the next on the same row. however, If I do not script anything, the TAB order is frist column down to the end, then next column from top to bottom. I need to TAb from the left to the right and than downwards (and in reverse if the shiftkey is down). To script this I need to know the long name (or ID) of the field in the next column on the same row (or if it is the last of the next row respectively). Anyone done something like this? Any pointers much appreciated. Cheers, Malte -- Find my music on iTunes: http://itunes.apple.com/en/album/geek/id418516694?i=418516703 From livfoss at mac.com Tue Apr 5 15:11:31 2011 From: livfoss at mac.com (Graham Samuel) Date: Tue, 05 Apr 2011 21:11:31 +0200 Subject: Is there any route to importing a PDF image into LiveCode? Message-ID: <71BB4702-5CD1-460C-944F-26A64D83228A@mac.com> Thanks Matthias Looks as if ImageMagick will do the job provided I can fully integrate it into my product without the user needing to do an additional installation etc. I am not good with command line interfaces (although I grew up with them, but that's another story). I am now investigating. Cheers Graham on Tue, 5 Apr 2011 08:38:05 +0200, Matthias Rebbe wrote: > Graham, > > > you could use ImageMagick. http://www.imagemagick.org > It is a software suite to create, edit, compose, or convert bitmap images. But you need only the command-line tool convert. > > You could try the following command for a quick start for example: > > convert -density 300x300 -trim your_source.pdf output.jpeg > > This would convert the file "your_source.pdf" to the jpeg file output.jpeg with a density of 300x300dpi > > You can find more information about the commandline switches of convert at > http://www.imagemagick.org/script/convert.php > > > HTH, > > Matthias > Am 05.04.2011 um 00:00 schrieb Graham Samuel: > >> Folks >> >> I see in the archives some discussion of this topic, but it seemed to be concentrated on the issue of reading the text in a PDF. I have to process some images which exist as PDF files (with little or no text and anyway I don't want to deconstruct it at all). I would be happy to turn the PDF into an image which could be displayed, snapshotted etc., i.e. essentially a bitmap. >> >> I don't think LiveCode can do this natively, but can anyone suggest a route perhaps using another tool which would make this work automatically (I mean I want the user to find the file using a normal dialog within a LiveCode program and the image would then be imported without further action on the user's part)? The target platform is PC. >> >> TIA >> >> Graham > From yvescoppe at skynet.be Tue Apr 5 15:15:03 2011 From: yvescoppe at skynet.be (Yves COPPE) Date: Tue, 5 Apr 2011 21:15:03 +0200 Subject: Tab key In-Reply-To: <4D9B6126.2040609@hyperactivesw.com> References: <4D9B6126.2040609@hyperactivesw.com> Message-ID: Le 5 avr. 2011 ? 20:36, J. Landman Gay a ?crit : > On 4/5/11 5:32 AM, Yves COPPE wrote: >> Hello, >> >> I have a fld (simple table of 2 columns with 2 tabstops values) >> >> the tabkey to go to the next cell doesn't work anymore >> >> I've made no changes in the fld, but since the upgrade of LC, it doesn't work ???? > > Hugh is right, there was a problem with the tab key in the first release. The fixed release uses the same version number, since it was posted so quickly after the original release. Log into to your account and re-download again. That should fix it. > > -- re, yes, it's now good with re-download of LC 4.6 Thanks. Greetings. Yves COPPE yvescoppe at skynet.be From etcawley at fastmail.fm Tue Apr 5 16:51:35 2011 From: etcawley at fastmail.fm (edward cawley) Date: Tue, 5 Apr 2011 15:51:35 -0500 Subject: script debug problem In-Reply-To: References: Message-ID: <8FB0F03C-A8A6-451C-9026-DEA555A87079@fastmail.fm> > -------------------------- > > Message: 15 > Date: Mon, 4 Apr 2011 13:15:26 -0600 > From: Mike Bonner > To: How to use LiveCode > Subject: Re: script debug problem > Message-ID: > Content-Type: text/plain; charset=ISO-8859-1 > > Under the development menu, should be able to click 'script debug mode' to > turn it on and off. > That's my problem-I click on it and it doesn't turn off or on! > > > Message: 17 > Date: Mon, 04 Apr 2011 14:33:00 -0500 > From: "J. Landman Gay" > To: How to use LiveCode > Subject: Re: script debug problem > Message-ID: <4D9A1CEC.1080700 at hyperactivesw.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > I've never heard of it turning itself off, but did you check the "Script > Debug Mode" menu item in the Development menu? If it is already checked, > then try restarting LiveCode. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > That's the problem it is off and I can't turn it back on, no matter what I do. > > > Message: 20 > Date: Mon, 4 Apr 2011 14:06:40 -0700 > From: Bob Sneidar > To: How to use LiveCode > Subject: Re: script debug problem > Message-ID: <3B5FF00A-9243-4BE9-AE2B-3999187961F4 at twft.com> > Content-Type: text/plain; charset=us-ascii > > I did have an issue with an older version of GLX2 written before 4.0 came out. My debugger kept disabling itself. The newer GLX2 does not do this. It may have had something to do with my running the old tRev program in conjunction with GLX2, a practice I no longer engage in. At any rate I never got to the bottom of it. I only know that it never happened when I had GLX2 disabled, and now it doesn't happen at all. > > Bob > I thought this might be the problem since I had an old copy -1.0- of tRev. I moved all of the files of tRev I could find out of the GLX folder and tried again. I'm now using 4.6.1. The tRev was original installed on Rev 3. It made no difference, I still can't turn on the script debugger. Any more ideas, anybody??? Ed > > On Apr 4, 2011, at 12:33 PM, J. Landman Gay wrote: > >> On 4/4/11 2:00 PM, edward cawley wrote: >>> I got an execution error that it couldn't find a message. I went to >>> the script and commented out the message. I tried to debug the script >>> with a breakpoint but it wasn't accepted because< the script debug >>> mode is disabled>. Now I can't turn the script debug mode on so I >>> can't trace the error. A search listed several recommendations to >>> turn off the script debugger but no suggestions as to un-disabling >>> it. The breakpoints listing on the script editor list several >>> breakpoints that I can't delete. I think it started with the >>> execution error. I haven't found any discussion of it, is it a bug? >>> How can I get it the script debug mode enabled? back on?? > From jacque at hyperactivesw.com Tue Apr 5 17:39:41 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 05 Apr 2011 16:39:41 -0500 Subject: script debug problem In-Reply-To: <8FB0F03C-A8A6-451C-9026-DEA555A87079@fastmail.fm> References: <8FB0F03C-A8A6-451C-9026-DEA555A87079@fastmail.fm> Message-ID: <4D9B8C1D.1070609@hyperactivesw.com> On 4/5/11 3:51 PM, edward cawley wrote: >> >> Under the development menu, should be able to click 'script debug mode' to >> turn it on and off. >> > That's my problem-I click on it and it doesn't turn off or on! Have you restarted LiveCode? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at mollysrevenge.com Tue Apr 5 18:12:20 2011 From: pete at mollysrevenge.com (Pete) Date: Tue, 5 Apr 2011 15:12:20 -0700 Subject: Customized Datagrid TAB order In-Reply-To: <435498E4-7AE0-4BCE-8A99-4D0031C4F094@derbrill.de> References: <435498E4-7AE0-4BCE-8A99-4D0031C4F094@derbrill.de> Message-ID: The best I can think of is that the datagrid has a property named columns which returns a list of column names, one per line, in the order they appear. The dgColumn property gives you the name of the current column so you can locate that in the columns property and move to the next/prev column in that list. Depending on where your script is you could probably get the long ID with something like "the long id of control the dgcolumn of me" Pete Molly's Revenge On Tue, Apr 5, 2011 at 12:00 PM, Malte Brill wrote: > Hi all, > > I have a datagrid that is highly customized ( no field editor, but editable > fields in it. Data entry messes with XML and stuff). Now this all is working > just fine, but I need to implement Tabbing from one column to the next on > the same row. however, If I do not script anything, the TAB order is frist > column down to the end, then next column from top to bottom. I need to TAb > from the left to the right and than downwards (and in reverse if the > shiftkey is down). To script this I need to know the long name (or ID) of > the field in the next column on the same row (or if it is the last of the > next row respectively). Anyone done something like this? Any pointers much > appreciated. > > Cheers, > > Malte > > -- > > Find my music on iTunes: > http://itunes.apple.com/en/album/geek/id418516694?i=418516703 > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 5 18:31:55 2011 From: zryip.theslug at gmail.com (zryip theSlug) Date: Wed, 6 Apr 2011 00:31:55 +0200 Subject: Customized Datagrid TAB order In-Reply-To: <435498E4-7AE0-4BCE-8A99-4D0031C4F094@derbrill.de> References: <435498E4-7AE0-4BCE-8A99-4D0031C4F094@derbrill.de> Message-ID: On Tue, Apr 5, 2011 at 9:00 PM, Malte Brill wrote: > I have a datagrid that is highly customized ( no field editor, but editable fields in it. Data entry messes with XML and stuff). Now this all is working just fine, but I need to implement Tabbing from one column to the next on the same row. however, If I do not script anything, the TAB order is frist column down to the end, then next column from top to bottom. I need to TAb from the left to the right and than downwards (and in reverse if the shiftkey is down). To script this I need to know the long name (or ID) of the field in the next column on the same row (or if it is the last of the next row respectively). Anyone done something like this? Any pointers much appreciated. Hi Malte, It exists two functions in the API to get the long id of the control inside a column. A possible solution is to use them inside the datagrid group script. ColumnControlOfIndex(pColumn, pIndex) or ColumnControlOfLine(pColumn, pLine) Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From pete at mollysrevenge.com Tue Apr 5 19:55:04 2011 From: pete at mollysrevenge.com (Pete) Date: Tue, 5 Apr 2011 16:55:04 -0700 Subject: Customized Datagrid TAB order In-Reply-To: References: <435498E4-7AE0-4BCE-8A99-4D0031C4F094@derbrill.de> Message-ID: OK, that's really interesting and useful and would have saved me a lot of work if I'd known about them. Where are these documented? I can't find them in the online datagrid documentation. I wonder how many other useful functions are there that aren't documented. Pete Molly's Revenge On Tue, Apr 5, 2011 at 3:31 PM, zryip theSlug wrote: > On Tue, Apr 5, 2011 at 9:00 PM, Malte Brill > wrote: > > > I have a datagrid that is highly customized ( no field editor, but > editable fields in it. Data entry messes with XML and stuff). Now this all > is working just fine, but I need to implement Tabbing from one column to the > next on the same row. however, If I do not script anything, the TAB order is > frist column down to the end, then next column from top to bottom. I need to > TAb from the left to the right and than downwards (and in reverse if the > shiftkey is down). To script this I need to know the long name (or ID) of > the field in the next column on the same row (or if it is the last of the > next row respectively). Anyone done something like this? Any pointers much > appreciated. > > Hi Malte, > > It exists two functions in the API to get the long id of the control > inside a column. A possible solution is to use them inside the > datagrid group script. > > ColumnControlOfIndex(pColumn, pIndex) > > or > > ColumnControlOfLine(pColumn, pLine) > > > > Best regards, > -- > -Zryip TheSlug- wish you the best! 8) > http://www.aslugontheroad.co.cc > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From m.schonewille at economy-x-talk.com Tue Apr 5 21:48:29 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 6 Apr 2011 03:48:29 +0200 Subject: Live LiveCode Code Event #17 - wrap-up Message-ID: <5D635308-BF25-4D39-825A-9A8873EB69C4@economy-x-talk.com> Dear LiveCoders, Last Saturday, 2 April, we had another nice on-line gathering of LiveCode fans. This time we had 2 interesting presentations, both of which you can watch again, if you missed the event. Claudi explored the interaction/integration with the Arduino micro controller. His project involves some hardware accelerometers and gyroscopes, which is also of interest to iOS developers. Claudi has provided us with his presentation slides http://qery.us/p1 and his Arduino demo stack http://qery.us/p2 . He also has a website, http://www.claudi.on-rev.com/livecode/experiments/ , where you can download his demo stack as well. Claudi recorded his presentation in two parts: http://www.ustream.tv/recorded/13729151 http://www.ustream.tv/recorded/13729531 Mario presented a "Message driven programming style", which means that he uses messages to simplify and rationalize LC programming. An important part of this approach is the broadcasting of messages using a repeat loop. You can find Mario's demo stack here http://qery.us/p3 . You can find Mario's presentation here: http://www.ustream.tv/recorded/13730355 eHUG, http://www.ehug.info , raffled off the e-book "Take Control of Backup the Easy Way" courtesy of TidBITS, http://www.tidbits.com/ , which was won by Bernd. We are still looking for people who are willing to do a presentation. Please look at http://qery.us/oj for ideas and contact me through this web form http://qery.us/du to tell me when you're available. I hope to see you all at the event next time. We will be making announcements on this mailing list and at http://livecode.tv where you can also find a copy of this text. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce From revolution at derbrill.de Wed Apr 6 06:22:13 2011 From: revolution at derbrill.de (Malte Brill) Date: Wed, 6 Apr 2011 12:22:13 +0200 Subject: Customized Datagrid TAB order In-Reply-To: References: Message-ID: > ColumnControlOfIndex(pColumn, pIndex) > > or > > ColumnControlOfLine(pColumn, pLine) > Zryip, you are a lifesaver! Thanks a heap! -- Find my music on iTunes: http://itunes.apple.com/en/album/geek/id418516694?i=418516703 From lists at mangomultimedia.com Wed Apr 6 11:00:06 2011 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 6 Apr 2011 11:00:06 -0400 Subject: Customized Datagrid TAB order In-Reply-To: References: <435498E4-7AE0-4BCE-8A99-4D0031C4F094@derbrill.de> Message-ID: On Tue, Apr 5, 2011 at 7:55 PM, Pete wrote: > OK, that's really interesting and useful and would have saved me a lot of > work if I'd known about them. Where are these documented? I can't find > them in the online datagrid documentation. I wonder how many other useful > functions are there that aren't documented. ColumnControlOfIndex is documented. http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7344-Data-Grid-API -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com LiveCode Resources for Developers: http://livecode.bluemangolearning.com From jmyepes at mac.com Wed Apr 6 12:14:59 2011 From: jmyepes at mac.com (JosepM) Date: Wed, 6 Apr 2011 09:14:59 -0700 (PDT) Subject: datagrid: how to apply a numberFormat to a column? In-Reply-To: <1301996409929-3427533.post@n4.nabble.com> References: <1301919395795-3425298.post@n4.nabble.com> <1301996409929-3427533.post@n4.nabble.com> Message-ID: <1302106499291-3431149.post@n4.nabble.com> I don't found a solution for this... any help or idea? Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/datagrid-how-to-apply-a-numberFormat-to-a-column-tp3425298p3431149.html Sent from the Revolution - User mailing list archive at Nabble.com. From gbojsza at gmail.com Wed Apr 6 14:32:27 2011 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 6 Apr 2011 12:32:27 -0600 Subject: 24 hour clock Message-ID: I was wondering if anyone has a 24 hour clock in rev. It only needs to have the hours and minutes but if it also had seconds that would be great. thanks, Glen From bonnmike at gmail.com Wed Apr 6 15:40:35 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 6 Apr 2011 13:40:35 -0600 Subject: 24 hour clock In-Reply-To: References: Message-ID: If you look at the twelvehourtime property it should help. If its set to false then time is returned as a 24 hour value. Once you have that set, if you have a field to display the time, you can have something like command timeLoop put the long time into field "myClockField" send timeLoop to me in 1 second end timeLoop If you want to be able to toggle it on and off with a button you can do something like the following This script is in a button named clockb, and I have a field named clockfield local clockState -- track the staate of the clock, on or off on mouseUp if clockstate is empty then -- on first run, set the clockstate, and the twelvehourtime property put false into clockstate set the twelvehourtime to false end if put not clockstate into clockstate -- toggle the clockstate to on (or off if its not the first run) clockToggle -- the command that updates the field end mouseUp command clockToggle set the label of button "clockb" to "Running:" && clockState -- changes the button label to -- the the current state of the clock if clockState then -- if the clock is running put the long time into field "clockField" -- put the time into the field send clockToggle to me in 1 second -- and call clocktoggle again in 1 second. end if -- if the clock is not running (clockstate = false) there is no send in time, and the clock stops. end clockToggle On Wed, Apr 6, 2011 at 12:32 PM, Glen Bojsza wrote: > I was wondering if anyone has a 24 hour clock in rev. > > It only needs to have the hours and minutes but if it also had seconds that > would be great. > > thanks, > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From etcawley at fastmail.fm Wed Apr 6 17:13:20 2011 From: etcawley at fastmail.fm (edward cawley) Date: Wed, 6 Apr 2011 16:13:20 -0500 Subject: use-livecode Digest, Vol 91, Issue 10 In-Reply-To: References: Message-ID: <2AE353E0-393F-4B6F-B43A-5B6C168A268D@fastmail.fm> Jacque, I had restarted it several times,but no change. Then I switched to another copy of the app that I'd hadn't been working on, I did some editing and the debugger worked. I then changed back to the 1st app and now the debugger was working?? The only thing that seemed to have happened was the execution error when I was editing on the app I had modified with the mobile IOS. But it's working now. Sorry for the trouble.Thanks Ed On Apr 6, 2011, at 12:00 PM, use-livecode-request at lists.runrev.com wrote: > > > Message: 7 > Date: Tue, 05 Apr 2011 16:39:41 -0500 > From: "J. Landman Gay" > To: How to use LiveCode > Subject: Re: script debug problem > Message-ID: <4D9B8C1D.1070609 at hyperactivesw.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > On 4/5/11 3:51 PM, edward cawley wrote: >>> >>> Under the development menu, should be able to click 'script debug mode' to >>> turn it on and off. >>> >> That's my problem-I click on it and it doesn't turn off or on! > > Have you restarted LiveCode? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > From katir at hindu.org Wed Apr 6 21:26:23 2011 From: katir at hindu.org (Sivakatirswami) Date: Wed, 06 Apr 2011 15:26:23 -1000 Subject: Handle "Open Printing" dynamically Message-ID: <4D9D12BF.6020402@hindu.org> i want to create an automated routine that digs folders with jpgs, loads them onto cards and then prints to PDF's that have the filename of the folder. I will have an uber driver stack that runs the printing stack, the uber driver will watch for each print job to complete, move on to the next folder, get the name of the folder, open it, load the jpgs onto cards, print to pdf, close printing and move on to the next folder. This seems all very simple except for the fact that open printing to pdf invokes a dialog that must be manually filled in and "OK'ed" before proceeding. Is there a way to pass the filename to the open print dialog and issue a "continue" command The standard open printing command normally offers no dialog or with dialog, but open printing to pdf always invokes a dialog There are lots of printing options and you can set just about anything ahead of time, one of which is set the printerOutput to {device | preview | fileSpec} which will print to PDF on the Mac, but I need the card queue function that the "open printing to pdf" offers so that all the cards dump to a single pdf. Any ideas? Sivakatirswami From katir at hindu.org Wed Apr 6 21:36:18 2011 From: katir at hindu.org (Sivakatirswami) Date: Wed, 06 Apr 2011 15:36:18 -1000 Subject: open Printing to PDF works just fine -- Ignore last query Message-ID: <4D9D1512.3010205@hindu.org> foot-in-mouth.. it works just fine. I had an "ask file" command in there I should have commented out. This works perfectly: on mouseup put "/Users/sivakatirswami/Desktop/test4.pdf" into tOutPutFile set the printMargins to 0,0,0,0 open printing to pdf tOutPutFile if it is "cancel" then exit to top print card 1 close printing answer "done" end mouseup From katir at hindu.org Wed Apr 6 21:50:44 2011 From: katir at hindu.org (Sivakatirswami) Date: Wed, 06 Apr 2011 15:50:44 -1000 Subject: LiveCode - Import Tiff Message-ID: <4D9D1874.7060205@hindu.org> I suppose this is very old ground and it's "just not going to happen." but I hit a wall today because LiveCode cannot import TIFF files. (big project of scans... most scanners default to .tiff format) I could not even find a feature request in the QA center. Did anyone do an external for tiff import? Sivakatirswami From sims at ezpzapps.com Wed Apr 6 21:59:36 2011 From: sims at ezpzapps.com (Jim Sims) Date: Thu, 7 Apr 2011 03:59:36 +0200 Subject: LiveCode - Import Tiff In-Reply-To: <4D9D1874.7060205@hindu.org> References: <4D9D1874.7060205@hindu.org> Message-ID: On Apr 7, 2011, at 3:50 AM, Sivakatirswami wrote: > I suppose this is very old ground and it's "just not going to happen." > > but I hit a wall today because LiveCode cannot import TIFF files. > > (big project of scans... most scanners default to .tiff format) > > I could not even find a feature request in the QA center. > > Did anyone do an external for tiff import? Can you use a Player object instead of an image? sims From alex at harryscollar.com Wed Apr 6 22:00:16 2011 From: alex at harryscollar.com (Alex Shaw) Date: Thu, 07 Apr 2011 12:00:16 +1000 Subject: LiveCode - Import Tiff In-Reply-To: <4D9D1874.7060205@hindu.org> References: <4D9D1874.7060205@hindu.org> Message-ID: <4D9D1AB0.5080400@harryscollar.com> Hi Sivakatirswami Have you tried a snapshot of a player object? regards alex On 7/04/11 11:50 AM, Sivakatirswami wrote: > I suppose this is very old ground and it's "just not going to happen." > > but I hit a wall today because LiveCode cannot import TIFF files. > > (big project of scans... most scanners default to .tiff format) > > I could not even find a feature request in the QA center. > > Did anyone do an external for tiff import? > > 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 revdev at pdslabs.net Wed Apr 6 23:22:27 2011 From: revdev at pdslabs.net (Phil Davis) Date: Wed, 06 Apr 2011 20:22:27 -0700 Subject: LiveCode - Import Tiff In-Reply-To: <4D9D1874.7060205@hindu.org> References: <4D9D1874.7060205@hindu.org> Message-ID: <4D9D2DF3.2070100@pdslabs.net> You can use a revBrowser object to look at tiffs. (I just tried it) Phil Davis On 4/6/11 6:50 PM, Sivakatirswami wrote: > I suppose this is very old ground and it's "just not going to happen." > > but I hit a wall today because LiveCode cannot import TIFF files. > > (big project of scans... most scanners default to .tiff format) > > I could not even find a feature request in the QA center. > > Did anyone do an external for tiff import? > > 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 > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From andre at andregarzia.com Thu Apr 7 00:33:45 2011 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 7 Apr 2011 01:33:45 -0300 Subject: anyone know how to get the old bsd engine? Message-ID: Hey Folks, Anyone here knows how to get the old FreeBSD engines? I think they were last updated for Rev 2.x or something like that... Cheers andre -- http://www.andregarzia.com All We Do Is Code. From tsj at unimelb.edu.au Thu Apr 7 00:52:38 2011 From: tsj at unimelb.edu.au (Terry Judd) Date: Thu, 7 Apr 2011 14:52:38 +1000 Subject: LiveCode - Import Tiff In-Reply-To: <4D9D1874.7060205@hindu.org> Message-ID: If you're on a Mac you can script Image Events to convert the file from TIFF to PNG (or whatever) for you first. Here's a script I used to convert .icn files to .png files that would probably work just as well (with only minor modification) for TIFFs FUNCTION createFileFromIcon pSourceIconPath, pDestFilePath, pIconSize, pReturnImageData IF not (there is a file pDestFilePath) THEN put empty into url ("file:"&pDestFilePath) IF not (there is a file pDestFilePath) THEN return "Error: couldn't create output file" END IF END IF put revMacFromUnixPath(pSourceIconPath) into pSourceIconPath put revMacFromUnixPath(pDestFilePath) into pDestFilePath put "tell application 'Image Events'" &cr&\ "launch" &cr&\ "set theIcon to open file '[[pSourceIconPath]]'" &cr&\ "scale theIcon to size [[pIconSize]]" &cr&\ "save theIcon as PNG in file '[[pDestFilePath]]' without icon" &cr&\ "close theIcon" &cr&\ "end tell" into tScript put merge(tScript) into tScript replace "'" WITH quote in tScript do tScript as AppleScript put revUnixFromMacPath(pDestFilePath) into pDestFilePath IF pReturnImageData THEN IF there is a file pDestFilePath THEN put url ("binfile:"&pDestFilePath) into tImageData return tImageData ELSE return "Error: couldn't create output file" END IF ELSE return the result END IF END createFileFromIcon Regards, Terry... On 7/04/11 11:50 AM, "Sivakatirswami" wrote: > > I suppose this is very old ground and it's "just not going to happen." > > but I hit a wall today because LiveCode cannot import TIFF files. > > (big project of scans... most scanners default to .tiff format) > > I could not even find a feature request in the QA center. > > Did anyone do an external for tiff import? > > 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 > -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne From sims at ezpzapps.com Thu Apr 7 01:37:45 2011 From: sims at ezpzapps.com (Jim Sims) Date: Thu, 7 Apr 2011 07:37:45 +0200 Subject: LiveCode - Import Tiff In-Reply-To: References: Message-ID: On Apr 7, 2011, at 6:52 AM, Terry Judd wrote: > If you're on a Mac you can script Image Events to convert the file from TIFF > to PNG (or whatever) for you first. If the machine has Quicktime you can use a Player object, TIFF files can be viewed in them. sims From psahores at free.fr Thu Apr 7 02:20:53 2011 From: psahores at free.fr (Pierre Sahores) Date: Thu, 7 Apr 2011 08:20:53 +0200 Subject: anyone know how to get the old bsd engine? In-Reply-To: References: Message-ID: I expect it was the 2.1.2 version. The 2.1.2 version is, at least, the last one to work properly under Solaris. Best, Pierre Le 7 avr. 2011 ? 06:33, Andre Garzia a ?crit : > Hey Folks, > > Anyone here knows how to get the old FreeBSD engines? I think they were last > updated for Rev 2.x or something like that... > > Cheers > andre > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From zryip.theslug at gmail.com Thu Apr 7 04:47:56 2011 From: zryip.theslug at gmail.com (zryip theSlug) Date: Thu, 7 Apr 2011 10:47:56 +0200 Subject: datagrid: how to apply a numberFormat to a column? In-Reply-To: <1301919395795-3425298.post@n4.nabble.com> References: <1301919395795-3425298.post@n4.nabble.com> Message-ID: On Mon, Apr 4, 2011 at 2:16 PM, JosepM wrote: > I'm trying to apply a numberFormat to a column but nothing change. > > In the database I have 4 decimals but I want to show only 2. > > Into the FillData I put: > > set the numberFormat to "#.00" Hi Josep, Have a look to numberFormat in the dictionary. The numberFormat formats result of numeric calculations. So a possible solution is to multiply pData by 1 in the fillinData handler: on FillInData pData set the numberFormat to "#.00" set the text of field 1 of me to (pData * 1) end FillInData Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From gbojsza at gmail.com Thu Apr 7 11:05:25 2011 From: gbojsza at gmail.com (Glen Bojsza) Date: Thu, 7 Apr 2011 09:05:25 -0600 Subject: Playing MPEG-2 video in Livecode Message-ID: Hello everyone, I am looking to see if a solutions exists that allows playing and MPEG-2 video in Livecode ... preferably on Linux. The existing play object supports MPEG-4 Part 2 and H.264 but not MPEG-2. Has anyone done an external that would support all three? regards, Glen From stephenREVOLUTION2 at barncard.com Thu Apr 7 11:10:45 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 7 Apr 2011 08:10:45 -0700 Subject: Playing MPEG-2 video in Livecode In-Reply-To: References: Message-ID: There's a Quicktime component for MP2 import and playback that can be purchased for $20 - Mac and windows http://www.apple.com/quicktime/extending/components.html On 7 April 2011 08:05, Glen Bojsza wrote: > Hello everyone, > > I am looking to see if a solutions exists that allows playing and MPEG-2 > video in Livecode ... preferably on Linux. > > The existing play object supports MPEG-4 Part 2 and H.264 but not MPEG-2. > Has anyone done an external that would support all three? > > regards, > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From klaus at major.on-rev.com Thu Apr 7 11:15:08 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Thu, 7 Apr 2011 17:15:08 +0200 Subject: Playing MPEG-2 video in Livecode In-Reply-To: References: Message-ID: Hi all, Am 07.04.2011 um 17:10 schrieb stephen barncard: > There's a Quicktime component for MP2 import and playback that can be > purchased for $20 - Mac and windows > http://www.apple.com/quicktime/extending/components.html And don't forget, this is a PER SEAT price! ;-) > On 7 April 2011 08:05, Glen Bojsza wrote: > >> Hello everyone, >> >> I am looking to see if a solutions exists that allows playing and MPEG-2 >> video in Livecode ... preferably on Linux. >> >> The existing play object supports MPEG-4 Part 2 and H.264 but not MPEG-2. >> Has anyone done an external that would support all three? >> >> regards, >> >> Glen > > Stephen Barncard > San Francisco Ca. USA Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From gbojsza at gmail.com Thu Apr 7 11:20:37 2011 From: gbojsza at gmail.com (Glen Bojsza) Date: Thu, 7 Apr 2011 09:20:37 -0600 Subject: Playing MPEG-2 video in Livecode In-Reply-To: References: Message-ID: Klaus, that is a very key point! thanks. Also, this probably would not work on a Linux platform which is what I am looking to deploy on. Any other suggestions? On Thu, Apr 7, 2011 at 9:15 AM, Klaus on-rev wrote: > Hi all, > > Am 07.04.2011 um 17:10 schrieb stephen barncard: > > > There's a Quicktime component for MP2 import and playback that can be > > purchased for $20 - Mac and windows > > http://www.apple.com/quicktime/extending/components.html > > And don't forget, this is a PER SEAT price! ;-) > > > On 7 April 2011 08:05, Glen Bojsza wrote: > > > >> Hello everyone, > >> > >> I am looking to see if a solutions exists that allows playing and MPEG-2 > >> video in Livecode ... preferably on Linux. > >> > >> The existing play object supports MPEG-4 Part 2 and H.264 but not > MPEG-2. > >> Has anyone done an external that would support all three? > >> > >> regards, > >> > >> Glen > > > > Stephen Barncard > > San Francisco Ca. USA > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From stephenREVOLUTION2 at barncard.com Thu Apr 7 11:40:15 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 7 Apr 2011 08:40:15 -0700 Subject: Playing MPEG-2 video in Livecode In-Reply-To: References: Message-ID: Ok, how about this (for the editing part) ? It's old, but it's open source. http://mpgtx.sourceforge.net/ *mpgtx* a command line MPEG audio/video/system file toolbox, that slices and joins audio and video files, including MPEG1, MPEG2 and MP3. for playback there seems to be some other tools out there with a google search: "mpeg 2 open source linux player" mPlayer http://www.mplayerhq.hu/design7/news.html mJpegTools http://mjpeg.sourceforge.net/ the list scrolls on... I think the code is out there, you have to glue it together. On 7 April 2011 08:20, Glen Bojsza wrote: > Klaus, that is a very key point! thanks. > > Also, this probably would not work on a Linux platform which is what I am > looking to deploy on. > > Any other suggestions? > > On Thu, Apr 7, 2011 at 9:15 AM, Klaus on-rev > wrote: > > > Hi all, > > > > Am 07.04.2011 um 17:10 schrieb stephen barncard: > > > > > There's a Quicktime component for MP2 import and playback that can be > > > purchased for $20 - Mac and windows > > > http://www.apple.com/quicktime/extending/components.html > > > > And don't forget, this is a PER SEAT price! ;-) > > > > > On 7 April 2011 08:05, Glen Bojsza wrote: > > > > > >> Hello everyone, > > >> > > >> I am looking to see if a solutions exists that allows playing and > MPEG-2 > > >> video in Livecode ... preferably on Linux. > > >> > > >> The existing play object supports MPEG-4 Part 2 and H.264 but not > > MPEG-2. > > >> Has anyone done an external that would support all three? > > >> > > >> regards, > > >> > > >> Glen > > > > > > Stephen Barncard > > > San Francisco Ca. USA > > > > Best > > > > Klaus > > > > -- > > Klaus Major > > http://www.major-k.de > > klaus at major.on-rev.com > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From andre at andregarzia.com Thu Apr 7 12:01:14 2011 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 7 Apr 2011 13:01:14 -0300 Subject: anyone confirms that "launch url" works on linux? Message-ID: Folks, the launch url command does not seem to be working on my linux, anyone here had success with it? Cheers andre -- http://www.andregarzia.com All We Do Is Code. From m.schonewille at economy-x-talk.com Thu Apr 7 12:15:17 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 7 Apr 2011 18:15:17 +0200 Subject: anyone confirms that "launch url" works on linux? In-Reply-To: References: Message-ID: <73015BB1-FF5E-49AE-A7B5-77EE00E1203E@economy-x-talk.com> Yup, I tried it yesterday with Rev 4.5. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 7 apr 2011, at 18:01, Andre Garzia wrote: > Folks, > > the launch url command does not seem to be working on my linux, anyone here > had success with it? > > Cheers > andre From coiin at verizon.net Thu Apr 7 12:38:11 2011 From: coiin at verizon.net (Colin Holgate) Date: Thu, 07 Apr 2011 12:38:11 -0400 Subject: Playing MPEG-2 video in Livecode In-Reply-To: References: Message-ID: <0E0A06B8-8993-4A9A-928B-9AAF69E67244@verizon.net> On Apr 7, 2011, at 11:20 AM, Glen Bojsza wrote: > > Any other suggestions? Don't support MPEG-2. All normal use of MPEG-2 involves licensing fees, and most users won't have the tools to make MPEG-2. So concentrate on other codecs. From andre at andregarzia.com Thu Apr 7 12:38:23 2011 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 7 Apr 2011 13:38:23 -0300 Subject: anyone confirms that "launch url" works on linux? In-Reply-To: <73015BB1-FF5E-49AE-A7B5-77EE00E1203E@economy-x-talk.com> References: <73015BB1-FF5E-49AE-A7B5-77EE00E1203E@economy-x-talk.com> Message-ID: Mark, thanks for the answer, can you tell me what is your default browser and what flavor of linux you're running there please? cheers andre On Thu, Apr 7, 2011 at 1:15 PM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Yup, I tried it yesterday with Rev 4.5. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > New: Download the Installer Maker Plugin 1.6 for LiveCode here > http://qery.us/ce > > On 7 apr 2011, at 18:01, Andre Garzia wrote: > > > Folks, > > > > the launch url command does not seem to be working on my linux, anyone > here > > had success with it? > > > > Cheers > > andre > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From m.schonewille at economy-x-talk.com Thu Apr 7 12:56:50 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 7 Apr 2011 18:56:50 +0200 Subject: anyone confirms that "launch url" works on linux? In-Reply-To: References: <73015BB1-FF5E-49AE-A7B5-77EE00E1203E@economy-x-talk.com> Message-ID: Hi Andre, I'm using Ubuntu 8. The default browser is FireFox 3.6. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 7 apr 2011, at 18:38, Andre Garzia wrote: > Mark, > > thanks for the answer, can you tell me what is your default browser and what > flavor of linux you're running there please? > > cheers > andre From andre at andregarzia.com Thu Apr 7 13:20:56 2011 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 7 Apr 2011 14:20:56 -0300 Subject: anyone confirms that "launch url" works on linux? In-Reply-To: References: <73015BB1-FF5E-49AE-A7B5-77EE00E1203E@economy-x-talk.com> Message-ID: Thanks!!! here it is Ubuntu 10.04 with Chrome... I guess it can't launch chrome... damn... On Thu, Apr 7, 2011 at 1:56 PM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi Andre, > > I'm using Ubuntu 8. The default browser is FireFox 3.6. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > New: Download the Installer Maker Plugin 1.6 for LiveCode here > http://qery.us/ce > > On 7 apr 2011, at 18:38, Andre Garzia wrote: > > > Mark, > > > > thanks for the answer, can you tell me what is your default browser and > what > > flavor of linux you're running there please? > > > > cheers > > andre > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From jmyepes at mac.com Thu Apr 7 14:49:09 2011 From: jmyepes at mac.com (JosepM) Date: Thu, 7 Apr 2011 11:49:09 -0700 (PDT) Subject: datagrid: how to apply a numberFormat to a column? In-Reply-To: References: <1301919395795-3425298.post@n4.nabble.com> Message-ID: <1302202149690-3434246.post@n4.nabble.com> Yes, I'm doing this but nothing of nothing... Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/datagrid-how-to-apply-a-numberFormat-to-a-column-tp3425298p3434246.html Sent from the Revolution - User mailing list archive at Nabble.com. From bonnmike at gmail.com Thu Apr 7 14:53:01 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 7 Apr 2011 12:53:01 -0600 Subject: anyone confirms that "launch url" works on linux? In-Reply-To: References: <73015BB1-FF5E-49AE-A7B5-77EE00E1203E@economy-x-talk.com> Message-ID: While not directly related to ubuntu 10.4, might look here. http://www.howtogeek.com/howto/ubuntu/set-the-default-browser-on-ubuntu-from-the-command-line/ On Thu, Apr 7, 2011 at 11:20 AM, Andre Garzia wrote: > Thanks!!! > > here it is Ubuntu 10.04 with Chrome... I guess it can't launch chrome... > damn... > > On Thu, Apr 7, 2011 at 1:56 PM, Mark Schonewille < > m.schonewille at economy-x-talk.com> wrote: > > > Hi Andre, > > > > I'm using Ubuntu 8. The default browser is FireFox 3.6. > > > > -- > > Best regards, > > > > Mark Schonewille > > > > Economy-x-Talk Consulting and Software Engineering > > Homepage: http://economy-x-talk.com > > Twitter: http://twitter.com/xtalkprogrammer > > KvK: 50277553 > > > > New: Download the Installer Maker Plugin 1.6 for LiveCode here > > http://qery.us/ce > > > > On 7 apr 2011, at 18:38, Andre Garzia wrote: > > > > > Mark, > > > > > > thanks for the answer, can you tell me what is your default browser and > > what > > > flavor of linux you're running there please? > > > > > > 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. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 7 15:14:30 2011 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 7 Apr 2011 16:14:30 -0300 Subject: anyone confirms that "launch url" works on linux? In-Reply-To: References: <73015BB1-FF5E-49AE-A7B5-77EE00E1203E@economy-x-talk.com> Message-ID: chrome is my default browser according to that... well, I might revert back to firefox On Thu, Apr 7, 2011 at 3:53 PM, Mike Bonner wrote: > While not directly related to ubuntu 10.4, might look here. > > http://www.howtogeek.com/howto/ubuntu/set-the-default-browser-on-ubuntu-from-the-command-line/ > > On Thu, Apr 7, 2011 at 11:20 AM, Andre Garzia > wrote: > > > Thanks!!! > > > > here it is Ubuntu 10.04 with Chrome... I guess it can't launch chrome... > > damn... > > > > On Thu, Apr 7, 2011 at 1:56 PM, Mark Schonewille < > > m.schonewille at economy-x-talk.com> wrote: > > > > > Hi Andre, > > > > > > I'm using Ubuntu 8. The default browser is FireFox 3.6. > > > > > > -- > > > Best regards, > > > > > > Mark Schonewille > > > > > > Economy-x-Talk Consulting and Software Engineering > > > Homepage: http://economy-x-talk.com > > > Twitter: http://twitter.com/xtalkprogrammer > > > KvK: 50277553 > > > > > > New: Download the Installer Maker Plugin 1.6 for LiveCode here > > > http://qery.us/ce > > > > > > On 7 apr 2011, at 18:38, Andre Garzia wrote: > > > > > > > Mark, > > > > > > > > thanks for the answer, can you tell me what is your default browser > and > > > what > > > > flavor of linux you're running there please? > > > > > > > > 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. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From bonnmike at gmail.com Thu Apr 7 15:19:42 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 7 Apr 2011 13:19:42 -0600 Subject: anyone confirms that "launch url" works on linux? In-Reply-To: References: <73015BB1-FF5E-49AE-A7B5-77EE00E1203E@economy-x-talk.com> Message-ID: Ah well, was worth a check. On Thu, Apr 7, 2011 at 1:14 PM, Andre Garzia wrote: > chrome is my default browser according to that... well, I might revert back > to firefox > > On Thu, Apr 7, 2011 at 3:53 PM, Mike Bonner wrote: > > > While not directly related to ubuntu 10.4, might look here. > > > > > http://www.howtogeek.com/howto/ubuntu/set-the-default-browser-on-ubuntu-from-the-command-line/ > > > > On Thu, Apr 7, 2011 at 11:20 AM, Andre Garzia > > wrote: > > > > > Thanks!!! > > > > > > here it is Ubuntu 10.04 with Chrome... I guess it can't launch > chrome... > > > damn... > > > > > > On Thu, Apr 7, 2011 at 1:56 PM, Mark Schonewille < > > > m.schonewille at economy-x-talk.com> wrote: > > > > > > > Hi Andre, > > > > > > > > I'm using Ubuntu 8. The default browser is FireFox 3.6. > > > > > > > > -- > > > > Best regards, > > > > > > > > Mark Schonewille > > > > > > > > Economy-x-Talk Consulting and Software Engineering > > > > Homepage: http://economy-x-talk.com > > > > Twitter: http://twitter.com/xtalkprogrammer > > > > KvK: 50277553 > > > > > > > > New: Download the Installer Maker Plugin 1.6 for LiveCode here > > > > http://qery.us/ce > > > > > > > > On 7 apr 2011, at 18:38, Andre Garzia wrote: > > > > > > > > > Mark, > > > > > > > > > > thanks for the answer, can you tell me what is your default browser > > and > > > > what > > > > > flavor of linux you're running there please? > > > > > > > > > > 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. > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From livecode.list at gmail.com Thu Apr 7 16:16:49 2011 From: livecode.list at gmail.com (Thomas Coder) Date: Thu, 7 Apr 2011 13:16:49 -0700 Subject: Accented Characters Display Message-ID: We?re having some trouble with accented characters and hoping someone can shed some light on the topic. We have data in a MySQL database that contains accented characters like ?Nu??z?, and we want it to display correctly in a datagrid. When we retrieve the data, LiveCode sees it as this: Nu??z When we try this: set the unicodeText of fld "Field" to uniencode(t, "UTF8") the words appears with a square character instead of the ???? characters. Is there a magic combination of code that fixes this? Thanks, Thomas From devin_asay at byu.edu Thu Apr 7 16:35:03 2011 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 7 Apr 2011 14:35:03 -0600 Subject: Accented Characters Display In-Reply-To: References: Message-ID: On Apr 7, 2011, at 2:16 PM, Thomas Coder wrote: > We?re having some trouble with accented characters and hoping someone can > shed some light on the topic. > > We have data in a MySQL database that contains accented characters like > ?Nu??z?, and we want it to display correctly in a datagrid. > > When we retrieve the data, LiveCode sees it as this: Nu??z > > When we try this: > set the unicodeText of fld "Field" to uniencode(t, "UTF8") > > the words appears with a square character instead of the ???? characters. > > Is there a magic combination of code that fixes this? Thomas, I'm guessing you're on a Mac? What happens when you do this: -- retrieve the data from your database into variable t put isoToMac(t) into fld "displayfld" The root of your problem is probably that the data is not stored in the database as UTF-8. If it were, the 'set the unicode ...' statement would work. Also, make sure that the textFont for the destination field is set to a unicode font to ensure all of the characters display. Hope this helps. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From bvg at mac.com Thu Apr 7 18:18:42 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 08 Apr 2011 00:18:42 +0200 Subject: anyone know how to get the old bsd engine? In-Reply-To: References: Message-ID: support at runrev.com On 7 Apr 2011, at 06:33, Andre Garzia wrote: > Hey Folks, > > Anyone here knows how to get the old FreeBSD engines? I think they were last > updated for Rev 2.x or something like that... > > Cheers > andre > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bvg at mac.com Thu Apr 7 18:47:49 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 08 Apr 2011 00:47:49 +0200 Subject: need presenters for Live livecode code event Message-ID: Hi I still haven't found enough presenters for the event this saturday. Please step up and stream! Contact me or Mark off list, or on chatrev. Remember: Without presenters, the event is not happening. Cheers Bj?rnke Tutorial: http://livecode.tv/participate/ -- official ChatRev page: http://bjoernke.com/chatrev Chat with other RunRev developers: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" From livecode.list at gmail.com Thu Apr 7 18:48:58 2011 From: livecode.list at gmail.com (Thomas Coder) Date: Thu, 7 Apr 2011 15:48:58 -0700 Subject: Accented Characters Display In-Reply-To: References: Message-ID: That did the trick! Now on Windows, the ? has an accent instead of ?. Also, now knowing this, is there something special we should do when using LiveCode to insert data into the database? Thomas On Thu, Apr 7, 2011 at 1:35 PM, Devin Asay wrote: > > On Apr 7, 2011, at 2:16 PM, Thomas Coder wrote: > > > We?re having some trouble with accented characters and hoping someone can > > shed some light on the topic. > > > > We have data in a MySQL database that contains accented characters like > > ?Nu??z?, and we want it to display correctly in a datagrid. > > > > When we retrieve the data, LiveCode sees it as this: Nu??z > > > > When we try this: > > set the unicodeText of fld "Field" to uniencode(t, "UTF8") > > > > the words appears with a square character instead of the ???? characters. > > > > Is there a magic combination of code that fixes this? > > Thomas, > > I'm guessing you're on a Mac? > > What happens when you do this: > > -- retrieve the data from your database into variable t > put isoToMac(t) into fld "displayfld" > > The root of your problem is probably that the data is not stored in the > database as UTF-8. If it were, the 'set the unicode ...' statement would > work. Also, make sure that the textFont for the destination field is set to > a unicode font to ensure all of the characters display. > > Hope this helps. > > 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 palcibiades-first at yahoo.co.uk Thu Apr 7 18:54:13 2011 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Thu, 7 Apr 2011 15:54:13 -0700 (PDT) Subject: [OT] Upgrading to Ubuntu 11.04 Beta In-Reply-To: <4D997543.3050009@gmail.com> References: <4D997543.3050009@gmail.com> Message-ID: <1302216853242-3434797.post@n4.nabble.com> They are telling you something, the folks at Ubuntu. Its fluxbox. Or Openbox. Or maybe it could even be WMII. Or that Finnish tiling WM I was using a few months back. F1 for the man pages, F2 for terminal. What else do you really need? I suspect they are telling you something else. They are also whispering quietly: why not run it on Debian....? Those guys don't reinvent the whole thing from scratch every six months. Maybe they know something? Peter -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Upgrading-to-Ubuntu-11-04-Beta-tp3424824p3434797.html Sent from the Revolution - User mailing list archive at Nabble.com. From m.schonewille at economy-x-talk.com Thu Apr 7 19:40:11 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 8 Apr 2011 01:40:11 +0200 Subject: Accented Characters Display In-Reply-To: References: Message-ID: <9A2646C8-85F3-4CE0-87F6-D3E153F4246B@economy-x-talk.com> Hi, The whole idea of using unicode is that you don't need isoToMac anymore. If you happen to be storing unicode data in a database that isn't encoded as unicode, then it simply won't work. What is the encoding of the database? Is it actually UTF8? There's a good chance that LiveCode is unable to retrieve the unicode data directly from the MySQL database, because LiveCode cannot retrieve binary data from the command line, externals and (database) drivers. LiveCode can, however, retrieve binary data through sockets. If you make a simple PHP script, which shold reside on the server and can be called by LiveCode using the put URL command, then you will be able to retrieve correct unicode data. Once you got the PHP script, you should be able to execute a simple script like this: put "http://domain.com?query=read&name=john&city=new%20york" into myUrl put url myUrl into myData put uniencode(myData,"UTF8") into myData set the unicodeText of fld "Foo" to myData To save the data you need to do something like this: put urlEncode(unidecode(the unicodeText of fld "Name","UTF8")) into myName put urlEncode(unidecode(the unicodeText of fld "City","UTF8")) into myCity put "http://domain.com?query=write&name=" & myName & "&city=" & myCity into myUrl get url myUrl This is just an example to inspire you. The above won't work with your set-up. I delivered a project yesterday, which is based on this mechanism: always convert your data to UTF8 before saving it and convert it back to unicode (UTF16) when retrieving it. Make sure that the database is UTF8 capital insensitve encoded. Why store as UTF8 and not as UTF16? Because you don't want to mess with little and big endian. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 7 apr 2011, at 22:35, Devin Asay wrote: > > On Apr 7, 2011, at 2:16 PM, Thomas Coder wrote: > >> We?re having some trouble with accented characters and hoping someone can >> shed some light on the topic. >> >> We have data in a MySQL database that contains accented characters like >> ?Nu??z?, and we want it to display correctly in a datagrid. >> >> When we retrieve the data, LiveCode sees it as this: Nu??z >> >> When we try this: >> set the unicodeText of fld "Field" to uniencode(t, "UTF8") >> >> the words appears with a square character instead of the ???? characters. >> >> Is there a magic combination of code that fixes this? > > Thomas, > > I'm guessing you're on a Mac? > > What happens when you do this: > > -- retrieve the data from your database into variable t > put isoToMac(t) into fld "displayfld" > > The root of your problem is probably that the data is not stored in the database as UTF-8. If it were, the 'set the unicode ...' statement would work. Also, make sure that the textFont for the destination field is set to a unicode font to ensure all of the characters display. > > Hope this helps. > > 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 andre at andregarzia.com Thu Apr 7 19:55:35 2011 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 7 Apr 2011 20:55:35 -0300 Subject: [OT] Upgrading to Ubuntu 11.04 Beta In-Reply-To: <1302216853242-3434797.post@n4.nabble.com> References: <4D997543.3050009@gmail.com> <1302216853242-3434797.post@n4.nabble.com> Message-ID: if we had an engine that would run on FreeBSD I would never ever look back.... On Thu, Apr 7, 2011 at 7:54 PM, Peter Alcibiades < palcibiades-first at yahoo.co.uk> wrote: > They are telling you something, the folks at Ubuntu. > > Its fluxbox. Or Openbox. Or maybe it could even be WMII. Or that Finnish > tiling WM I was using a few months back. F1 for the man pages, F2 for > terminal. What else do you really need? > > I suspect they are telling you something else. They are also whispering > quietly: why not run it on Debian....? Those guys don't reinvent the > whole > thing from scratch every six months. Maybe they know something? > > Peter > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/OT-Upgrading-to-Ubuntu-11-04-Beta-tp3424824p3434797.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From bvg at mac.com Thu Apr 7 21:10:57 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 08 Apr 2011 03:10:57 +0200 Subject: Live LiveCode code event # 18 In-Reply-To: <7EC6A85B-DD6B-4138-A597-512A194F4453@mac.com> References: <6B865405-BBC0-491C-AD25-BFB1C85A2D58@mac.com> <7EC6A85B-DD6B-4138-A597-512A194F4453@mac.com> Message-ID: <89782C22-C6E3-4245-95D1-A48F69423753@mac.com> Hi passive watchers Getting two people per week from the community to make a show is very stressful, and we are pondering ways to reduce that load. To keep up the current frequency and amount of content, we would need more presenters, and also someone else besides Mark and me to manage the show. That task is basically equal to sending spam mail for acquiring presenters, announcing the show, and then guiding watchers in chat during the presentation. If you think that could be a service you'd like to do, then please contact me or mark directly. Everyone here has something to show, so please step up and tell us what you will present when. Please contact me or Mark directly. As for this event, Jim Ault will pop in again on short notice, and explain a few things about on-rev, server scripting, html, javascript, and maybe even talk a bit about revIginiter. http://livecode.tv/jim/ David on the other hand, will do one of his usual secret shows. http://livecode.tv/david/ Join the event on ChatRev at these times, this Saturday: Brussels 20:00 New York 15:00 Los Angeles 12:00 Melbourne 06:00 (Sun) To attend, simply join ChatRev. Get it here: http://bjoernke.com/chatrev/ or enter in the message box: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" For recordings of past events, visit the blog: http://livecode.tv/ I'm kinda down Bjoernke From jperryl at ecs.fullerton.edu Thu Apr 7 23:27:24 2011 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 7 Apr 2011 20:27:24 -0700 (PDT) Subject: need presenters for Live livecode code event In-Reply-To: References: Message-ID: On Fri, 8 Apr 2011, Bj?rnke von Gierke wrote: > I still haven't found enough presenters for the event this saturday. Please step up and stream! Contact me or Mark off list, or on chatrev. > > Remember: Without presenters, the event is not happening. --Come on, folks! Even *I* have done two of these, and we all know that my toolbox contains markedly fewer items than those of most people here! Judy From bobs at twft.com Thu Apr 7 22:50:52 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 7 Apr 2011 19:50:52 -0700 Subject: usage of dropfolder In-Reply-To: <86960FF6-F9D7-4C3F-9BB1-D8079A8CD3A7@telenet.be> References: <86960FF6-F9D7-4C3F-9BB1-D8079A8CD3A7@telenet.be> Message-ID: I believe that OS X creates a placeholder file while the "real" file is being copied/worked with. I am not sure what the method would be to determine if the process has completed yet. I suspect there is some kind of flag on the file itself, read only or a file type reserved for this sort of thing. Oddly, this allows you to actually rename a file WHILE IT'S BEING COPIED. You may be able to do other things as well. Isn't UNIX wonderful? Bob Sent from my iPad On Apr 5, 2011, at 4:36 AM, "tkuypers at telenet.be" wrote: > Hi gang, > > I'm stuck, after about 4 hours I have to admit I'm not clever enough for this... > > I'm trying to implement a drop-folder based application. > When a file is found in the folder, I need to open it and check for some data inside the file. > > The actual code to check inside the file takes about 0.01 seconds, so I get a result almost immediately. When there are files in the folder when I start, it works perfectly. > > But when the process is checking every x seconds if there are files in the folder, thing go wrong: LiveCode sees a file in the folder, while the finder is still copying the file to that folder. > So when I open the file, to read the content, it might still be empty. > > The files are jpg, CR2 (= raw images) and tiff files, ranging anywhere from 10kb to 30 Mb in size, so copying can take a few minutes. > > And now my question: How do I know if the Finder finished copying? Checking the file size doesn't work. > > Any help is more then welcome > > > Warm regards, > > Ton Kuypers > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Thu Apr 7 22:58:47 2011 From: pete at mollysrevenge.com (Pete) Date: Thu, 7 Apr 2011 19:58:47 -0700 Subject: Live LiveCode code event # 18 In-Reply-To: <89782C22-C6E3-4245-95D1-A48F69423753@mac.com> References: <6B865405-BBC0-491C-AD25-BFB1C85A2D58@mac.com> <7EC6A85B-DD6B-4138-A597-512A194F4453@mac.com> <89782C22-C6E3-4245-95D1-A48F69423753@mac.com> Message-ID: Hi Bjornke, I for one what to express my thanks for the effort you put into getting these presentations going. One thing that maybe useful. You could ask people on the list what subjects they'd like to see covered in the presentations then circulate that list with a request for "if you have experience in any of these topics, please sign up for a presentation". Pete Molly's Revenge 2011/4/7 Bj?rnke von Gierke > Hi passive watchers > > Getting two people per week from the community to make a show is very > stressful, and we are pondering ways to reduce that load. To keep up the > current frequency and amount of content, we would need more presenters, and > also someone else besides Mark and me to manage the show. That task is > basically equal to sending spam mail for acquiring presenters, announcing > the show, and then guiding watchers in chat during the presentation. If you > think that could be a service you'd like to do, then please contact me or > mark directly. > > Everyone here has something to show, so please step up and tell us what you > will present when. Please contact me or Mark directly. > > As for this event, Jim Ault will pop in again on short notice, and explain > a few things about on-rev, server scripting, html, javascript, and maybe > even talk a bit about revIginiter. > http://livecode.tv/jim/ > > David on the other hand, will do one of his usual secret shows. > http://livecode.tv/david/ > > Join the event on ChatRev at these times, this Saturday: > Brussels 20:00 > New York 15:00 > Los Angeles 12:00 > Melbourne 06:00 (Sun) > > To attend, simply join ChatRev. Get it here: > http://bjoernke.com/chatrev/ > or enter in the message box: > go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" > > For recordings of past events, visit the blog: > http://livecode.tv/ > > I'm kinda down > Bjoernke > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From m.schonewille at economy-x-talk.com Fri Apr 8 04:34:41 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 8 Apr 2011 10:34:41 +0200 Subject: Live LiveCode code event # 18 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> Message-ID: <3A4B2485-6F7D-4C3C-A58E-2F4C0D44E18D@economy-x-talk.com> Thank you for your suggestion, Pete. What kind of subject would you like to discuss in a presentation? :-) -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 8 apr 2011, at 04:58, Pete wrote: > Hi Bjornke, > I for one what to express my thanks for the effort you put into getting > these presentations going. > > One thing that maybe useful. You could ask people on the list what subjects > they'd like to see covered in the presentations then circulate that list > with a request for "if you have experience in any of these topics, please > sign up for a presentation". > > Pete > Molly's Revenge > From ambassador at fourthworld.com Fri Apr 8 10:57:52 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 08 Apr 2011 07:57:52 -0700 Subject: [OT] Upgrading to Ubuntu 11.04 Beta Message-ID: <4D9F2270.4020402@fourthworld.com> Peter Alcibiades wrote: > They are telling you something, the folks at Ubuntu. > > Its fluxbox. Or Openbox. Or maybe it could even be WMII. Or that Finnish > tiling WM I was using a few months back. F1 for the man pages, F2 for > terminal. What else do you really need? > > I suspect they are telling you something else. They are also whispering > quietly: why not run it on Debian....? Those guys don't reinvent the whole > thing from scratch every six months. Maybe they know something? I recall a member of this list who, in response to my suggestion that the Linux world pool their resources around a single distro, argued that diversity is a benefit to the community. I've come to share that view. Even within Ubuntu, there are diverse options: - Within 11.04 you can still choose the Classic appearance right in the login screen if you prefer it over the new Unity look and feel, in the same way that Mac users could log into Classic if they preferred during the first few years of OS X. - Ubuntu offers an LTS edition ("Long Term Support") which is released on a three-year cycle very much like Debian, and like Debian still sports Gnome 2. And of course there's the world of other distros available, diverse enough to cater to nearly every possible taste. The Gnome 2 look and feel is dead, and it's not Canonical who killed it but the Gnome project itself. They're moving on, and the world is moving forward with them. Gnome 3 is the future, and for the end-user it comes with Gnome Shell, which looks far more like Unity than either looks like Gnome 2. There's even been talk that Fedora and openSUSE may consider adopting Unity down the road, just as Fedora's also looking to follow Ubuntu's lead with adopting Wayland in the future (for those of you who haven't been following, Wayland is a more modern OpenGL-based display server being developed as replacement to the ancient X, similar in some respects to Apple's shift to Quartz in OS X). If there's any message being delivered by Unity, it's simply this: For Linux to grow, it needs to focus on the end-user experience in a way that appeals to a broader audience than just long-time Linux enthusiasts. Like Canonical, the Gnome, Fedora, openSUSE, and other teams understand this, and each in their respective ways are working toward that same goal. Personally, I find this bold new thinking across the Linux community very exciting. Mac Classic had its day, as did Gnome 2. Sooner or later it becomes time to grow. That time is now. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From devin_asay at byu.edu Fri Apr 8 11:02:47 2011 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 8 Apr 2011 09:02:47 -0600 Subject: Accented Characters Display In-Reply-To: <9A2646C8-85F3-4CE0-87F6-D3E153F4246B@economy-x-talk.com> References: <9A2646C8-85F3-4CE0-87F6-D3E153F4246B@economy-x-talk.com> Message-ID: On Apr 7, 2011, at 5:40 PM, Mark Schonewille wrote: > Hi, > > The whole idea of using unicode is that you don't need isoToMac anymore. > > If you happen to be storing unicode data in a database that isn't encoded as unicode, then it simply won't work. What is the encoding of the database? Is it actually UTF8? > > There's a good chance that LiveCode is unable to retrieve the unicode data directly from the MySQL database, because LiveCode cannot retrieve binary data from the command line, externals and (database) drivers. LiveCode can, however, retrieve binary data through sockets. If you make a simple PHP script, which shold reside on the server and can be called by LiveCode using the put URL command, then you will be able to retrieve correct unicode data. > > Once you got the PHP script, you should be able to execute a simple script like this: > > put "http://domain.com?query=read&name=john&city=new%20york" into myUrl > put url myUrl into myData > put uniencode(myData,"UTF8") into myData > set the unicodeText of fld "Foo" to myData > > To save the data you need to do something like this: > > put urlEncode(unidecode(the unicodeText of fld "Name","UTF8")) into myName > put urlEncode(unidecode(the unicodeText of fld "City","UTF8")) into myCity > put "http://domain.com?query=write&name=" & myName & "&city=" & myCity into myUrl > get url myUrl > > This is just an example to inspire you. The above won't work with your set-up. > > I delivered a project yesterday, which is based on this mechanism: always convert your data to UTF8 before saving it and convert it back to unicode (UTF16) when retrieving it. Make sure that the database is UTF8 capital insensitve encoded. > > Why store as UTF8 and not as UTF16? Because you don't want to mess with little and big endian. I'll second what Mark said. Storing your text as UTF-8 in the database is the way to go. I do this a lot, and it's been completely reliable. (But make sure to set your MySQL table encodings to UTF-8, as Mark indicated. To save your data to the DB as UTF-8, take your text from a field with unicode text in it: put unidecode(the unicodeText of fld "myUniFld","UTF8") into tUni8Txt Then just execute a standard SQL statement (or send it through a server-side script) to insert it into your database table. When you retrieve it from the DB, just reverse the process: set the unicodeText of fld "myUniFld" to uniEncode(tTextFromDB,"UTF8") HTH Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From maarten.koopmans at gmail.com Fri Apr 8 11:38:23 2011 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Fri, 8 Apr 2011 17:38:23 +0200 Subject: revCopyFile slow? Message-ID: Hi, I just started using revCopyFile, and well, on my Mac it felt..... slow..... Is that normal? Any faster way to do it - or just write my own in2out file copy? --Maarten From m.schonewille at economy-x-talk.com Fri Apr 8 11:46:19 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 8 Apr 2011 17:46:19 +0200 Subject: revCopyFile slow? In-Reply-To: References: Message-ID: Hi Maarten, Yes, it is slow, because the underlying AppleScript needs to be compiled every time it is used. For big files, it might be useful, but if you have to copy many small files, it is a disaster. The safest and quickes option is probably to use the cp shell command. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 8 apr 2011, at 17:38, Maarten Koopmans wrote: > Hi, > > I just started using revCopyFile, and well, on my Mac it felt..... slow..... > Is that normal? Any faster way to do it - or just write my own in2out file > copy? > > --Maarten From maarten.koopmans at gmail.com Fri Apr 8 12:25:50 2011 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Fri, 8 Apr 2011 18:25:50 +0200 Subject: revCopyFile slow? In-Reply-To: References: Message-ID: I'll just write a copyfile function in LC then. That should be near-C speed, assuming open/read/write are implemented close to the os. Thanks, Maarten On Friday, April 8, 2011, Mark Schonewille wrote: > Hi Maarten, > > Yes, it is slow, because the underlying AppleScript needs to be compiled every time it is used. For big files, it might be useful, but if you have to copy many small files, it is a disaster. The safest and quickes option is probably to use the cp shell command. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce > > On 8 apr 2011, at 17:38, Maarten Koopmans wrote: > >> Hi, >> >> I just started using revCopyFile, and well, on my Mac it felt..... slow..... >> Is that normal? Any faster way to do it - or just write my own in2out file >> copy? >> >> --Maarten > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mcgrath3 at mac.com Fri Apr 8 12:55:32 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Fri, 8 Apr 2011 12:55:32 -0400 Subject: Help with export snapshot Message-ID: <3C2095A2-1E16-43C1-822D-6948EC972250@mac.com> I just figured this out and then due to another problem lost the code. For the life of me I can't remember what I just did. if exists (graphic "PreviewRect" of group "PreviewGroup" of this card) then export snapshot from rect (the rect of graphic "PreviewRect" of group "PreviewGroup" of this card) to tPreviewImage as PNG put tPreviewImage into image "PreviewImage" of group (the short name of this card) end if This code will copy from the relative (window) coordinates as the docs state: "Important! If a window, stack or object is specified, the rectangle is given in relative (window) coordinates; otherwise, it is given in absolute coordinates." EXCEPT an object is not specified but a rect is!!! Tried with erro: export snapshot from the rect of graphic "PreviewRect" of group "PreviewGroup" of this card to tPreviewImage as PNG This one grabs the rect itself and not what is in front of it like I need: export snapshot from graphic "PreviewRect" of group "PreviewGroup" of this card to tPreviewImage as PNG Any one feel like showing me what I'm doing wrong here???? Thanks -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net From m.schonewille at economy-x-talk.com Fri Apr 8 13:25:33 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 8 Apr 2011 19:25:33 +0200 Subject: Help with export snapshot In-Reply-To: <3C2095A2-1E16-43C1-822D-6948EC972250@mac.com> References: <3C2095A2-1E16-43C1-822D-6948EC972250@mac.com> Message-ID: Hi Tom, Whenever you mention you get an error, you should post that error. You define a rect, but you don't tell LiveCode what the rect belongs to. Your approach: put the rect of graphic "PreviewRect" of group "PreviewGroup" of this card into myRect export snapshot from rect myRect to tPreviewImage as PNG This should be: export snapshot from rect myRect of this cd to tPreviewImage as PNG I'm not sure that you actually need to define this rect separately. Can't you export it directly? export grc "PreviewRect" of grp "PreviewGroup" of this cd to tPreviewImage as PNG -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 8 apr 2011, at 18:55, Thomas McGrath III wrote: > I just figured this out and then due to another problem lost the code. For the life of me I can't remember what I just did. > > if exists (graphic "PreviewRect" of group "PreviewGroup" of this card) then > export snapshot from rect (the rect of graphic "PreviewRect" of group "PreviewGroup" of this card) to tPreviewImage as PNG > put tPreviewImage into image "PreviewImage" of group (the short name of this card) > end if > > This code will copy from the relative (window) coordinates as the docs state: "Important! If a window, stack or object is specified, the rectangle is given in relative (window) coordinates; otherwise, it is given in absolute coordinates." EXCEPT an object is not specified but a rect is!!! > > > Tried with erro: > export snapshot from the rect of graphic "PreviewRect" of group "PreviewGroup" of this card to tPreviewImage as PNG > > This one grabs the rect itself and not what is in front of it like I need: > export snapshot from graphic "PreviewRect" of group "PreviewGroup" of this card to tPreviewImage as PNG > > > > Any one feel like showing me what I'm doing wrong here???? > > Thanks > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net From mcgrath3 at mac.com Fri Apr 8 13:35:44 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Fri, 8 Apr 2011 13:35:44 -0400 Subject: Help with export snapshot In-Reply-To: References: <3C2095A2-1E16-43C1-822D-6948EC972250@mac.com> Message-ID: <4F9AD219-9BEE-4970-BEB9-EB4857AF02A2@mac.com> Mark, That was it. I actually just figured that out earlier before I got frustrated with another problem. So when I lost the code i could not remember what I did. I am using the rect of that item to define an area of the card to capture and not the actual graphic itself. Is there any savings between using the two line method or a one line like this: export snapshot from rect (the rect of grc "PreviewRect" of group "PreviewGroup" of this card) of this card to tPreviewImage as PNG ??? -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Apr 8, 2011, at 1:25 PM, Mark Schonewille wrote: > Hi Tom, > > Whenever you mention you get an error, you should post that error. > > You define a rect, but you don't tell LiveCode what the rect belongs to. > > Your approach: > put the rect of graphic "PreviewRect" of group "PreviewGroup" of this card into myRect > export snapshot from rect myRect to tPreviewImage as PNG > > This should be: > export snapshot from rect myRect of this cd to tPreviewImage as PNG > > I'm not sure that you actually need to define this rect separately. Can't you export it directly? > > export grc "PreviewRect" of grp "PreviewGroup" of this cd to tPreviewImage as PNG > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce From psahores at free.fr Sat Apr 9 09:20:20 2011 From: psahores at free.fr (Pierre Sahores) Date: Sat, 9 Apr 2011 15:20:20 +0200 Subject: revdb and PostgreSQL 9.0.3 (linux x64) In-Reply-To: References: Message-ID: <7F72B2E0-27E7-46E1-9773-3EC3CA1F526A@free.fr> Hi Friends, When i try to connect PostgreSQL 9.0.3 from revserver (localhost, OpenSuse 10.4 x64), in using this code : > put "postgresql" into DbTarget ; put "mydatabase" into DbName # Constante 3 & 4 # > put "mypguser" into DbUser ; put "mypguserpassword" into DBPasswd # Constantes 5 & 6 # > put revOpenDatabase (DbTarget,"localhost",DbName,DbUser,DBPasswd) into myDatabaseID > if myDatabaseID is not a number then > > return myDatabaseID > > else i get this back : > revdberr,invalid database type Did anyone there got the right way to solve this inconstancy and, else, what is the last PostgreSQL supported version revserver-revdb are known to be able to run friendly with ? TIA, -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From bvg at mac.com Sat Apr 9 13:05:27 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat, 09 Apr 2011 19:05:27 +0200 Subject: Live LiveCode code event # 18 In-Reply-To: <89782C22-C6E3-4245-95D1-A48F69423753@mac.com> References: <6B865405-BBC0-491C-AD25-BFB1C85A2D58@mac.com> <7EC6A85B-DD6B-4138-A597-512A194F4453@mac.com> <89782C22-C6E3-4245-95D1-A48F69423753@mac.com> Message-ID: One hour to go. be there or be dust. http://bjoernke.com/chatrev/ http://livecode.tv/ On 8 Apr 2011, at 03:10, Bj?rnke von Gierke wrote: > Hi passive watchers > > Getting two people per week from the community to make a show is very stressful, and we are pondering ways to reduce that load. To keep up the current frequency and amount of content, we would need more presenters, and also someone else besides Mark and me to manage the show. That task is basically equal to sending spam mail for acquiring presenters, announcing the show, and then guiding watchers in chat during the presentation. If you think that could be a service you'd like to do, then please contact me or mark directly. > > Everyone here has something to show, so please step up and tell us what you will present when. Please contact me or Mark directly. > > As for this event, Jim Ault will pop in again on short notice, and explain a few things about on-rev, server scripting, html, javascript, and maybe even talk a bit about revIginiter. > http://livecode.tv/jim/ > > David on the other hand, will do one of his usual secret shows. > http://livecode.tv/david/ > > Join the event on ChatRev at these times, this Saturday: > Brussels 20:00 > New York 15:00 > Los Angeles 12:00 > Melbourne 06:00 (Sun) > > To attend, simply join ChatRev. Get it here: > http://bjoernke.com/chatrev/ > or enter in the message box: > go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" > > For recordings of past events, visit the blog: > http://livecode.tv/ > > I'm kinda down > Bjoernke > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bdrunrev at gmail.com Sat Apr 9 15:23:07 2011 From: bdrunrev at gmail.com (Bernard Devlin) Date: Sat, 9 Apr 2011 20:23:07 +0100 Subject: socket handling/libURL changed between 4.0 and 4.6? Message-ID: I have some very simple code that works in 4.0 (on both Linux and Windows), but which fails on 4.6. The code posts XML to a webserver and now fails on both Linux and Windows using 4.6. It is making PROPFIND requests to a webdav server. But fundamentally it is just HTTP request/response, and should work in 4.6 just as it works in 4.0. The problem manifests itself as a socket timeout on 4.6, but there is not timeout on 4.0. The normal response times from the server are in a sub-4000 ms range, but even if I set the socketTimeoutInterval to 30000 ms, the code fails with a socket timeout. Reverting back to 4.0, and the same code works in a sub-4000 ms range with no timeout. on mouseUp resetAll put fld "request" into tXml libURLSetCustomHTTPHeaders (fld "headers") -- headers contains PROPFIND method put "http://192.168.0.202:1980/" into tURL try wait 50 milliseconds with messages post tXml to URL tURL catch tError put "error" && tError finally put the long time & cr & it & cr & the result into fld "response" put the long time & cr & libUrlLastRhHeaders() into fld "ResponseHeaders" end try end mouseUp The server has not changed, and I've tried alternatiing repeatedly between 4.0 and 4.6, and the problem is there consistently with 4.6 and not at all with 4.0. I see in 4.5 there was a change to DNS resolution, so I tried adding a manual entry to my hosts file, but even though a browser can resolve the ip address from the hostname, Livecode still fails. With Revolution 4.0, it works with either IP address or a hostname resolved via lookup to the hosts file. I also put a HTTP inspector between the IDE and the server. After setting the httpProxy, with 4.0 I can intercept the calls to the server and view them; but with 4.6 they do not even reach the HTTP inspector. I tried setting up libURL logging using: libUrlSetLogField ("field" && quote & "LogField" & quote) but it didn't make any difference - logging doesn't seem to work on 4.0 or 4.6. I tried putting breakpoints inside the libURL handlers themselves, but they never seem to get triggered - not even on 4.0 where the "post to URL" is working. Is there something I'm missing in how one should be able to step into the libURL code? Bernard Devlin From katir at hindu.org Sat Apr 9 21:28:08 2011 From: katir at hindu.org (Web Admin Himalayan Academy) Date: Sat, 09 Apr 2011 15:28:08 -1000 Subject: socket handling/libURL changed between 4.0 and 4.6? In-Reply-To: References: Message-ID: <4DA107A8.6020009@hindu.org> Better push this one to a ticket in the QA center with a sample stack. On 4/9/11 9:23 AM, Bernard Devlin wrote: > I have some very simple code that works in 4.0 (on both Linux and > Windows), but which fails on 4.6. The code posts XML to a webserver > and now fails on both Linux and Windows using 4.6. It is making > PROPFIND requests to a webdav server. But fundamentally it is just > HTTP request/response, and should work in 4.6 just as it works in 4.0. > > The problem manifests itself as a socket timeout on 4.6, but there is > not timeout on 4.0. The normal response times from the server are in > a sub-4000 ms range, but even if I set the socketTimeoutInterval to > 30000 ms, the code fails with a socket timeout. Reverting back to 4.0, > and the same code works in a sub-4000 ms range with no timeout. > > on mouseUp > resetAll > put fld "request" into tXml > libURLSetCustomHTTPHeaders (fld "headers") -- headers contains > PROPFIND method > put "http://192.168.0.202:1980/" into tURL > try > wait 50 milliseconds with messages > post tXml to URL tURL > catch tError > put "error"&& tError > finally > put the long time& cr& it& cr& the result into fld "response" > put the long time& cr& libUrlLastRhHeaders() into fld "ResponseHeaders" > end try > end mouseUp > > The server has not changed, and I've tried alternatiing repeatedly > between 4.0 and 4.6, and the problem is there consistently with 4.6 > and not at all with 4.0. > > I see in 4.5 there was a change to DNS resolution, so I tried adding a > manual entry to my hosts file, but even though a browser can resolve > the ip address from the hostname, Livecode still fails. With > Revolution 4.0, it works with either IP address or a hostname resolved > via lookup to the hosts file. > > I also put a HTTP inspector between the IDE and the server. After > setting the httpProxy, with 4.0 I can intercept the calls to the > server and view them; but with 4.6 they do not even reach the HTTP > inspector. > > I tried setting up libURL logging using: > > libUrlSetLogField ("field"&& quote& "LogField"& quote) > > but it didn't make any difference - logging doesn't seem to work on 4.0 or 4.6. > > I tried putting breakpoints inside the libURL handlers themselves, but > they never seem to get triggered - not even on 4.0 where the "post to > URL" is working. Is there something I'm missing in how one should be > able to step into the libURL code? > > Bernard Devlin > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 9 21:34:49 2011 From: katir at hindu.org (Web Admin Himalayan Academy) Date: Sat, 09 Apr 2011 15:34:49 -1000 Subject: revCopyFile slow? In-Reply-To: References: Message-ID: <4DA10939.5080005@hindu.org> On 4/8/11 6:25 AM, Maarten Koopmans wrote: > I'll just write a copyfile function in LC then. That should be near-C > speed, assuming open/read/write are implemented close to the os. > > Thanks, Maarten I would second Mark's option to use shell, I have a complete in-house version control system for InDesign files that runs pretty much entirely using cp and mv . These all run about as fast as the network and disk I/0 can handle... e.g. command Checkout pFileName CheckServerIsMounted if the uServerMounted of this stack <> "true" then answer "Sorry, Server is not mounted, you cannot check out files." with "OK" exit to top end if # Make a copy in Versions Archive put (the uServerProjectPath of this stack) &"/"& pFileName into tCurrentLocationPath put tCurrentLocationPath into tArchivePath set the itemDelimiter to "/" put "/Versions Archive" after item 5 of tArchivePath put ("cp " & quote & tCurrentLocationPath & quote &" "& quote & tArchivePath & quote) into tShell get shell (tShell) # update Control string and rename the top level file put the uUserInitials of this stack into char -7 to -6 of pFileName replace "-ci-" with "-co-" in pFileName put (the uServerProjectPath of this stack) &"/"& pFileName into tNewNamePath put ("mv " & quote & tCurrentLocationPath & quote &" "& quote & tNewNamePath & quote) into tShell get shell (tShell) # Copy to local folder put gLocalProjectPath &"/"& pFileName into tNewLocalPath put ("cp " & quote & tNewNamePath & quote &" "& quote & tNewLocalPath & quote) into tShell get shell (tShell) # update GUI now LoadVersionFiles gCurrentProject # boot InDesign and edit launch (tNewLocalPath) with (the uInDesignPath of this stack) # expand to handle other file types end Checkout From maarten.koopmans at gmail.com Sun Apr 10 07:36:55 2011 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Sun, 10 Apr 2011 13:36:55 +0200 Subject: revCopyFile slow? In-Reply-To: <4DA10939.5080005@hindu.org> References: <4DA10939.5080005@hindu.org> Message-ID: Yes, but a simple rev implementation should be as fast and cross-platform (windows.... Mobile.....) On Sunday, April 10, 2011, Web Admin Himalayan Academy wrote: > ?On 4/8/11 6:25 AM, Maarten Koopmans wrote: > > I'll just write a copyfile function in LC then. That should be near-C > speed, assuming open/read/write are implemented close to the os. > > Thanks, Maarten > > I would second Mark's option to use shell, I have a complete in-house version control system for InDesign files that runs pretty much entirely using cp and mv ?. > > These all run about as fast as the network and disk I/0 can handle... > > e.g. > > command Checkout pFileName > > ? CheckServerIsMounted > > ? if the uServerMounted of this stack <> "true" then > ? ? ?answer ?"Sorry, Server is not mounted, you cannot check out files." with "OK" > ? ? ?exit to top > ? end if > ? # Make a copy in Versions Archive > ? put (the uServerProjectPath of this stack) &"/"& pFileName into tCurrentLocationPath > ? put tCurrentLocationPath into tArchivePath > ? set the itemDelimiter to "/" > ? put "/Versions Archive" after item 5 of tArchivePath > ? put ("cp " & quote & tCurrentLocationPath & quote &" "& quote & tArchivePath & quote) into tShell > ? get shell (tShell) > > ? # update Control string and rename the top level file > > ? put the uUserInitials of this stack into char -7 to -6 of pFileName > ? replace "-ci-" with "-co-" in pFileName > ? put (the uServerProjectPath of this stack) &"/"& pFileName into tNewNamePath > ? put ("mv " & quote & tCurrentLocationPath & quote &" "& quote & tNewNamePath & quote) into tShell > ? get shell (tShell) > > ? ? ? ?# Copy to local folder > ? ? put gLocalProjectPath &"/"& pFileName into tNewLocalPath > ? put ("cp " & quote & tNewNamePath & quote &" "& quote & tNewLocalPath & quote) into tShell > ? get shell (tShell) > > ? ? ?# update GUI now > > ? LoadVersionFiles gCurrentProject > > ? # boot InDesign and edit > > ? launch (tNewLocalPath) with (the uInDesignPath of this stack) ?# expand to handle other file types > > > end Checkout > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From maarten.koopmans at gmail.com Sun Apr 10 07:39:50 2011 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Sun, 10 Apr 2011 13:39:50 +0200 Subject: socket handling/libURL changed between 4.0 and 4.6? In-Reply-To: <4DA107A8.6020009@hindu.org> References: <4DA107A8.6020009@hindu.org> Message-ID: Off note: if you have a client webdav library, I'd be very interested. Please contact me (off list if that works better fo you). Best, Maarten On Sunday, April 10, 2011, Web Admin Himalayan Academy wrote: > ?Better push this one to a ticket in the QA center with a sample stack. > > On 4/9/11 9:23 AM, Bernard Devlin wrote: > > I have some very simple code that works in 4.0 (on both Linux and > Windows), but which fails on 4.6. ?The code posts XML to a webserver > and now fails on both Linux and Windows using 4.6. ?It is making > PROPFIND requests to a webdav server. ?But fundamentally it is just > HTTP request/response, and should work in 4.6 just as it works in 4.0. > > The problem manifests itself as a socket timeout on 4.6, but there is > not timeout on 4.0. ?The normal response times from the server are in > a sub-4000 ms range, but even if I set the socketTimeoutInterval to > 30000 ms, the code fails with a socket timeout. Reverting back to 4.0, > and the same code works in a sub-4000 ms range with no timeout. > > on mouseUp > ? ?resetAll > ? ?put fld "request" into tXml > ? ?libURLSetCustomHTTPHeaders (fld "headers") ?-- headers contains > PROPFIND method > ? ?put "http://192.168.0.202:1980/" into tURL > ? ?try > ? ? ? wait 50 milliseconds with messages > ? ? ? post tXml to URL tURL > ? ?catch tError > ? ? ? put "error"&& ?tError > ? ?finally > ? ? ? put the long time& ?cr& ?it& ?cr& ?the result into fld "response" > ? ? ? put the long time& ?cr& ? libUrlLastRhHeaders() into fld "ResponseHeaders" > ? ?end try > end mouseUp > > The server has not changed, and I've tried alternatiing repeatedly > between 4.0 and 4.6, and the problem is there consistently with 4.6 > and not at all with 4.0. > > I see in 4.5 there was a change to DNS resolution, so I tried adding a > manual entry to my hosts file, but even though a browser can resolve > the ip address from the hostname, Livecode still fails. With > Revolution 4.0, it works with either IP address or a hostname resolved > via lookup to the hosts file. > > I also put a HTTP inspector between the IDE and the server. ?After > setting the httpProxy, with 4.0 I can intercept the calls to the > server and view them; but with 4.6 they do not even reach the HTTP > inspector. > > I tried setting up libURL logging using: > > ?libUrlSetLogField ("field"&& ?quote& ?"LogField"& ?quote) > > but it didn't make any difference - logging doesn't seem to work on 4.0 or 4.6. > > I tried putting breakpoints inside the libURL handlers themselves, but > they never seem to get triggered - not even on 4.0 where the "post to > URL" is working. ?Is there something I'm missing in how one should be > able to step into the libURL code? > > Bernard Devlin > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From m.schonewille at economy-x-talk.com Sun Apr 10 07:48:36 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 10 Apr 2011 13:48:36 +0200 Subject: revCopyFile slow? In-Reply-To: References: <4DA10939.5080005@hindu.org> Message-ID: <1240FCF1-161B-496F-942C-5B6230F6453A@economy-x-talk.com> Cross-platform yes, fast no. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 10 apr 2011, at 13:36, Maarten Koopmans wrote: > Yes, but a simple rev implementation should be as fast and > cross-platform (windows.... Mobile.....) From maarten.koopmans at gmail.com Sun Apr 10 08:14:07 2011 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Sun, 10 Apr 2011 14:14:07 +0200 Subject: revCopyFile slow? In-Reply-To: <1240FCF1-161B-496F-942C-5B6230F6453A@economy-x-talk.com> References: <4DA10939.5080005@hindu.org> <1240FCF1-161B-496F-942C-5B6230F6453A@economy-x-talk.com> Message-ID: Really? Ever benchmarked open, read, write on files? How slow are they? On Sunday, April 10, 2011, Mark Schonewille wrote: > Cross-platform yes, fast no. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce > > On 10 apr 2011, at 13:36, Maarten Koopmans wrote: > >> Yes, but a simple rev implementation should be as fast and >> cross-platform (windows.... Mobile.....) > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From m.schonewille at economy-x-talk.com Sun Apr 10 08:31:04 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 10 Apr 2011 14:31:04 +0200 Subject: revCopyFile slow? In-Reply-To: References: <4DA10939.5080005@hindu.org> <1240FCF1-161B-496F-942C-5B6230F6453A@economy-x-talk.com> Message-ID: Maarten, That depends on many factors. I have been in situations where writing a few tens of thousands of files too hours using read/write, while using the shell command took a few minutes. I have also been in situations where read/write was actually the preferred method. If it is about speed, though, I'd go with the command line. You can do the benchmarking if it really matters to you. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 10 apr 2011, at 14:14, Maarten Koopmans wrote: > Really? Ever benchmarked open, read, write on files? How slow are they? From jimaultwins at yahoo.com Sun Apr 10 10:26:40 2011 From: jimaultwins at yahoo.com (Jim Ault) Date: Sun, 10 Apr 2011 07:26:40 -0700 Subject: revCopyFile slow? In-Reply-To: References: <4DA10939.5080005@hindu.org> <1240FCF1-161B-496F-942C-5B6230F6453A@economy-x-talk.com> Message-ID: On Apr 10, 2011, at 5:31 AM, Mark Schonewille wrote: > Maarten, > That depends on many factors. I have been in situations where > writing a few tens of thousands of files too hours using read/write, > while using the shell command took a few minutes. I have also been > in situations where read/write was actually the preferred method. If > it is about speed, though, I'd go with the command line. You can do > the benchmarking if it really matters to you. > And if you program your progress bar to show movie trailers, sports highlights, or car crashes, the user won't mind so much if the file writing process is slower. Jim Ault Las Vegas > On 10 apr 2011, at 14:14, Maarten Koopmans wrote: > >> Really? Ever benchmarked open, read, write on files? How slow are >> they? > From maarten.koopmans at gmail.com Sun Apr 10 10:49:24 2011 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Sun, 10 Apr 2011 16:49:24 +0200 Subject: revCopyFile slow? In-Reply-To: References: <4DA10939.5080005@hindu.org> <1240FCF1-161B-496F-942C-5B6230F6453A@economy-x-talk.com> Message-ID: I'll try the command shell, I hope the command window doesn't show. Blocking behavior is another fear ( why revCopyFile is unacceptable). Thanks for all the hints and advice everybody! --Maarten On Sunday, April 10, 2011, Jim Ault wrote: > On Apr 10, 2011, at 5:31 AM, Mark Schonewille wrote: > > Maarten, > That depends on many factors. I have been in situations where writing a few tens of thousands of files too hours using read/write, while using the shell command took a few minutes. I have also been in situations where read/write was actually the preferred method. If it is about speed, though, I'd go with the command line. You can do the benchmarking if it really matters to you. > > > And if you program your progress bar to show > movie trailers, sports highlights, or car crashes, > the user won't mind so much if the file writing process is slower. > > Jim Ault > Las Vegas > > > On 10 apr 2011, at 14:14, Maarten Koopmans wrote: > > > Really? ?Ever benchmarked open, read, write on files? How slow are they? > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From m.schonewille at economy-x-talk.com Sun Apr 10 10:56:47 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 10 Apr 2011 16:56:47 +0200 Subject: revCopyFile slow? In-Reply-To: References: <4DA10939.5080005@hindu.org> <1240FCF1-161B-496F-942C-5B6230F6453A@economy-x-talk.com> Message-ID: <4D620D2B-B4A7-4F57-8670-A41C9E3609FE@economy-x-talk.com> Maarten, Whether using the shell blocks your interface depends on the size of your files. Copying one very big file is likely to be blocking, but copying many small files in a repeat loop should hardly interfere with user interaction. I really think you should give all options a try and choose the best one. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 10 apr 2011, at 16:49, Maarten Koopmans wrote: > I'll try the command shell, I hope the command window doesn't show. > Blocking behavior is another fear ( why revCopyFile is unacceptable). > > Thanks for all the hints and advice everybody! > > --Maarten From bonnmike at gmail.com Sun Apr 10 10:57:39 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 10 Apr 2011 08:57:39 -0600 Subject: revCopyFile slow? In-Reply-To: References: <4DA10939.5080005@hindu.org> <1240FCF1-161B-496F-942C-5B6230F6453A@economy-x-talk.com> Message-ID: For shell windows showing look at the property hideConsoleWindows If you're worried about shell blocking, could do your file management stuff as a process instead. Syntax: open process appName [for [text|binary] {read | write | update | neither}] Haven't done much with open process myself, but can probably do what you want that way. On Sun, Apr 10, 2011 at 8:49 AM, Maarten Koopmans < maarten.koopmans at gmail.com> wrote: > I'll try the command shell, I hope the command window doesn't show. > Blocking behavior is another fear ( why revCopyFile is unacceptable). > > Thanks for all the hints and advice everybody! > > --Maarten > > On Sunday, April 10, 2011, Jim Ault wrote: > > On Apr 10, 2011, at 5:31 AM, Mark Schonewille wrote: > > > > Maarten, > > That depends on many factors. I have been in situations where writing a > few tens of thousands of files too hours using read/write, while using the > shell command took a few minutes. I have also been in situations where > read/write was actually the preferred method. If it is about speed, though, > I'd go with the command line. You can do the benchmarking if it really > matters to you. > > > > > > And if you program your progress bar to show > > movie trailers, sports highlights, or car crashes, > > the user won't mind so much if the file writing process is slower. > > > > Jim Ault > > Las Vegas > > > > > > On 10 apr 2011, at 14:14, Maarten Koopmans wrote: > > > > > > Really? Ever benchmarked open, read, write on files? How slow are they? > > > > > > > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Apr 10 11:33:01 2011 From: bdrunrev at gmail.com (Bernard Devlin) Date: Sun, 10 Apr 2011 16:33:01 +0100 Subject: socket handling/libURL changed between 4.0 and 4.6? In-Reply-To: <4DA107A8.6020009@hindu.org> References: <4DA107A8.6020009@hindu.org> Message-ID: I copied the libURL from 4.0 and pasted it over the version in 4.6, and things work again. So it is the changes made to libURL between 4.0 and 4.6 that are the immediate cause of this problem. It would be helpful if libURL gave some error message rather than a socket timeout. Can someone tell me how to go about getting the debugger to step into the code inside the 4.6 libURL library. At least then I can try and debug the problem. At the moment breakpoints inside the libURL library never trigger the debugger to kick in. I don't know what other issues I will be leaving myself open to by reverting to the 4.0 libURL whilst working with the 4.6 engine. So clearly this kind of mongrel I've hacked together is not a satisfactory solution. Bernard On Sun, Apr 10, 2011 at 2:28 AM, Web Admin Himalayan Academy wrote: > ?Better push this one to a ticket in the QA center with a sample stack. > From pete at mollysrevenge.com Sun Apr 10 19:41:04 2011 From: pete at mollysrevenge.com (Pete) Date: Sun, 10 Apr 2011 16:41:04 -0700 Subject: LockLocation of a group Message-ID: I vaguely remember a discussion about this once before but I need to ask about this again. The dictionary says "If the *lockLocation* of a group is false, the group is automatically resized when the objects in it are moved, resized, hidden, or shown." I'm not seeing that behavior. I have a combobox menu in a group and the group's lockloc is false. When I resize the combobox, as as it hits the boundary of the group, that parts of it that would be outside the group disappear. Am I misunderstanding something or is the dictionary wrong? Pete Molly's Revenge From m.schonewille at economy-x-talk.com Sun Apr 10 19:50:23 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 11 Apr 2011 01:50:23 +0200 Subject: LockLocation of a group In-Reply-To: References: Message-ID: <0015A026-6593-448B-8367-3223D2AD44C2@economy-x-talk.com> Hi Pete, I think this is a bug. AFAIK it only work when you move an object but not when you resize it. I'm not sure about hiding and showing, I guess this doesn't work either and I think I like it that way. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 11 apr 2011, at 01:41, Pete wrote: > I vaguely remember a discussion about this once before but I need to ask > about this again. > > The dictionary says "If the *lockLocation* of a group is false, the group is > automatically resized when the objects in it are moved, resized, hidden, or > shown." I'm not seeing that behavior. I have a combobox menu in a group > and the group's lockloc is false. When I resize the combobox, as as it hits > the boundary of the group, that parts of it that would be outside the group > disappear. > > Am I misunderstanding something or is the dictionary wrong? > > > Pete > Molly's Revenge From jhj at jhj.com Sun Apr 10 19:57:31 2011 From: jhj at jhj.com (Jerry J) Date: Sun, 10 Apr 2011 16:57:31 -0700 Subject: LockLocation of a group In-Reply-To: <0015A026-6593-448B-8367-3223D2AD44C2@economy-x-talk.com> References: <0015A026-6593-448B-8367-3223D2AD44C2@economy-x-talk.com> Message-ID: <5AE22B19-E65A-4307-AD19-86843AA52A07@jhj.com> I also have been recently surprised to see that a group is 4 pixels bigger on all 4 sides than its parts. Make a new stack, drag in a label field, hit group and watch the handles grow. Is this supposed to be this way? --Jerry Jensen On Apr 10, 2011, at 4:50 PM, Mark Schonewille wrote: > Hi Pete, > > I think this is a bug. AFAIK it only work when you move an object but not when you resize it. I'm not sure about hiding and showing, I guess this doesn't work either and I think I like it that way. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce > > On 11 apr 2011, at 01:41, Pete wrote: > >> I vaguely remember a discussion about this once before but I need to ask >> about this again. >> >> The dictionary says "If the *lockLocation* of a group is false, the group is >> automatically resized when the objects in it are moved, resized, hidden, or >> shown." I'm not seeing that behavior. I have a combobox menu in a group >> and the group's lockloc is false. When I resize the combobox, as as it hits >> the boundary of the group, that parts of it that would be outside the group >> disappear. >> >> Am I misunderstanding something or is the dictionary wrong? >> >> >> 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 tsj at unimelb.edu.au Sun Apr 10 19:57:38 2011 From: tsj at unimelb.edu.au (Terry Judd) Date: Mon, 11 Apr 2011 09:57:38 +1000 Subject: LockLocation of a group In-Reply-To: Message-ID: Pete - Just 'nudge' the group using the arrow keys after you resized the control. That should update the boundaries of the group. Terry... On 11/04/2011 09:41 AM, "Pete" wrote: > I vaguely remember a discussion about this once before but I need to ask > about this again. > > The dictionary says "If the *lockLocation* of a group is false, the group is > automatically resized when the objects in it are moved, resized, hidden, or > shown." I'm not seeing that behavior. I have a combobox menu in a group > and the group's lockloc is false. When I resize the combobox, as as it hits > the boundary of the group, that parts of it that would be outside the group > disappear. > > Am I misunderstanding something or is the dictionary wrong? > > > 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 > -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne From m.schonewille at economy-x-talk.com Sun Apr 10 20:10:05 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 11 Apr 2011 02:10:05 +0200 Subject: LockLocation of a group In-Reply-To: <5AE22B19-E65A-4307-AD19-86843AA52A07@jhj.com> References: <0015A026-6593-448B-8367-3223D2AD44C2@economy-x-talk.com> <5AE22B19-E65A-4307-AD19-86843AA52A07@jhj.com> Message-ID: Jerry, Yes, this is supposed to be this way and you can change it by setting the margins of the group to 0 (or any other positive number). -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 11 apr 2011, at 01:57, Jerry J wrote: > I also have been recently surprised to see that a group is 4 pixels bigger on all 4 sides than its parts. Make a new stack, drag in a label field, hit group and watch the handles grow. Is this supposed to be this way? > > --Jerry Jensen From jhj at jhj.com Sun Apr 10 20:28:24 2011 From: jhj at jhj.com (Jerry J) Date: Sun, 10 Apr 2011 17:28:24 -0700 Subject: LockLocation of a group In-Reply-To: References: <0015A026-6593-448B-8367-3223D2AD44C2@economy-x-talk.com> <5AE22B19-E65A-4307-AD19-86843AA52A07@jhj.com> Message-ID: Aha! (and d'OH). Never noticed that way down at the bottom of the inspector! Thanks! On Apr 10, 2011, at 5:10 PM, Mark Schonewille wrote: > Jerry, > > Yes, this is supposed to be this way and you can change it by setting the margins of the group to 0 (or any other positive number). > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce > > On 11 apr 2011, at 01:57, Jerry J wrote: > >> I also have been recently surprised to see that a group is 4 pixels bigger on all 4 sides than its parts. Make a new stack, drag in a label field, hit group and watch the handles grow. Is this supposed to be this way? >> >> --Jerry Jensen > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Sun Apr 10 21:39:56 2011 From: pete at mollysrevenge.com (Pete) Date: Sun, 10 Apr 2011 18:39:56 -0700 Subject: LockLocation of a group In-Reply-To: <0015A026-6593-448B-8367-3223D2AD44C2@economy-x-talk.com> References: <0015A026-6593-448B-8367-3223D2AD44C2@economy-x-talk.com> Message-ID: Thanks everyone. It's not a big deal to change the size of the group - I was mainly wondering if I was misunderstanding what was in the dictionary. Pete Molly's Revenge On Sun, Apr 10, 2011 at 4:50 PM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi Pete, > > I think this is a bug. AFAIK it only work when you move an object but not > when you resize it. I'm not sure about hiding and showing, I guess this > doesn't work either and I think I like it that way. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > New: Download the Installer Maker Plugin 1.6 for LiveCode here > http://qery.us/ce > > On 11 apr 2011, at 01:41, Pete wrote: > > > I vaguely remember a discussion about this once before but I need to ask > > about this again. > > > > The dictionary says "If the *lockLocation* of a group is false, the group > is > > automatically resized when the objects in it are moved, resized, hidden, > or > > shown." I'm not seeing that behavior. I have a combobox menu in a group > > and the group's lockloc is false. When I resize the combobox, as as it > hits > > the boundary of the group, that parts of it that would be outside the > group > > disappear. > > > > Am I misunderstanding something or is the dictionary wrong? > > > > > > 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 jacque at hyperactivesw.com Sun Apr 10 21:44:47 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 10 Apr 2011 20:44:47 -0500 Subject: LockLocation of a group In-Reply-To: References: Message-ID: <4DA25D0F.5040907@hyperactivesw.com> On 4/10/11 6:41 PM, Pete wrote: > I vaguely remember a discussion about this once before but I need to ask > about this again. > > The dictionary says "If the *lockLocation* of a group is false, the group is > automatically resized when the objects in it are moved, resized, hidden, or > shown." I'm not seeing that behavior. I have a combobox menu in a group > and the group's lockloc is false. When I resize the combobox, as as it hits > the boundary of the group, that parts of it that would be outside the group > disappear. > > Am I misunderstanding something or is the dictionary wrong? The size change won't be visible until the group needs to be redrawn on screen. As mentioned, give one of the objects a little nudge, or else just leave the card and come back. (Haven't tried it, but just locking and then unlocking the screen might do it too.) Unlocked images behave the same way, and it can be a surprise when you return to the card to see that your unlocked image has suddenly grown huge. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From niconiko at gmail.com Sun Apr 10 22:32:21 2011 From: niconiko at gmail.com (Nicolas Cueto) Date: Mon, 11 Apr 2011 11:32:21 +0900 Subject: player object messages Message-ID: Hi, Assuming there is one, what is the name for the message sent when the thumbslider (?) of a player object is clicked and/or released? While on the topic, I'd welcome a short list of names for any other player object messages related to its stop/play/pause and thumbslide-left/right buttons. Thank you. -- Nicolas Cueto From pete at mollysrevenge.com Sun Apr 10 23:32:36 2011 From: pete at mollysrevenge.com (Pete) Date: Sun, 10 Apr 2011 20:32:36 -0700 Subject: LockLocation of a group In-Reply-To: <4DA25D0F.5040907@hyperactivesw.com> References: <4DA25D0F.5040907@hyperactivesw.com> Message-ID: Interesting. I closed the card and re-opened it and the group did resize as you suggested. Thanks, Pete Molly's Revenge On Sun, Apr 10, 2011 at 6:44 PM, J. Landman Gay wrote: > On 4/10/11 6:41 PM, Pete wrote: > >> I vaguely remember a discussion about this once before but I need to ask >> about this again. >> >> The dictionary says "If the *lockLocation* of a group is false, the group >> is >> automatically resized when the objects in it are moved, resized, hidden, >> or >> shown." I'm not seeing that behavior. I have a combobox menu in a group >> and the group's lockloc is false. When I resize the combobox, as as it >> hits >> the boundary of the group, that parts of it that would be outside the >> group >> disappear. >> >> Am I misunderstanding something or is the dictionary wrong? >> > > The size change won't be visible until the group needs to be redrawn on > screen. As mentioned, give one of the objects a little nudge, or else just > leave the card and come back. (Haven't tried it, but just locking and then > unlocking the screen might do it too.) Unlocked images behave the same way, > and it can be a surprise when you return to the card to see that your > unlocked image has suddenly grown huge. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From jacque at hyperactivesw.com Sun Apr 10 23:42:42 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 10 Apr 2011 22:42:42 -0500 Subject: LockLocation of a group In-Reply-To: References: <4DA25D0F.5040907@hyperactivesw.com> Message-ID: <4DA278B2.4080305@hyperactivesw.com> On 4/10/11 10:32 PM, Pete wrote: > Interesting. I closed the card and re-opened it and the group did resize as > you suggested. I don't know why I forgot to mention it, maybe because it's so automatic for me, but the usual way I force an update is to click the Edit Group button in the toolbar twice. The first time puts the group into edit mode, the second click pops back out, which forces an update. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Apr 10 23:44:34 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 10 Apr 2011 22:44:34 -0500 Subject: player object messages In-Reply-To: References: Message-ID: <4DA27922.9030806@hyperactivesw.com> On 4/10/11 9:32 PM, Nicolas Cueto wrote: > Hi, > > Assuming there is one, what is the name for the message sent when the > thumbslider (?) of a player object is clicked and/or released? currentTimeChanged > > While on the topic, I'd welcome a short list of names for any other > player object messages related to its stop/play/pause and > thumbslide-left/right buttons. They're all in the dictionary under the Player category. That's in the left-side list. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From niconiko at gmail.com Mon Apr 11 00:34:56 2011 From: niconiko at gmail.com (Nicolas Cueto) Date: Mon, 11 Apr 2011 13:34:56 +0900 Subject: currentTimeChanged and player callbacks bug? Message-ID: Hi again. My (video) player object's callbacks consists of 297 lines. Every line has the same command but a different index number. When called to, the player object uses that index number to retrieve and display a line of text. Now, to allow use of the player's control bar to skip forward or back thru text lines, the player object also includes a currentTimeChanged handler. This way, the current line of text gets displayed as soon as the video control bar is released, rather than having to restart the video to initiate a callback value. Here's the problem. If the video controller thumb is slid >>back<< in time, when "play" is clicked the correct callback will get immediately triggered. However, if the thumb is slid >>forward<< in time, it appears that LC is running thru every callback between the time when the control bar was clicked and the time when it is released. I say "appears", because I can see the text-field that displays the current line of text changing madly. So, I guess the lag is related to the text having to be redrawn on-screen. But, I do not understand why the player object doesn't automatically jump to the current callback when the currentTimeChanged happens? It seems to be doing so when moving back in time. Just not when moving forward in time. Hope that was less confusing to read than it was to type. Thanks. -- Nicolas Cueto From niconiko at gmail.com Mon Apr 11 00:37:09 2011 From: niconiko at gmail.com (Nicolas Cueto) Date: Mon, 11 Apr 2011 13:37:09 +0900 Subject: player object messages In-Reply-To: <4DA27922.9030806@hyperactivesw.com> References: <4DA27922.9030806@hyperactivesw.com> Message-ID: > They're all in the dictionary under the Player category. That's in the > left-side list. Thanks, Jacqueline. But there's so many listed there! Hard to tell where to start just from the command name :-). -- Nicolas Cueto From jacque at hyperactivesw.com Mon Apr 11 00:46:19 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 10 Apr 2011 23:46:19 -0500 Subject: currentTimeChanged and player callbacks bug? In-Reply-To: References: Message-ID: <4DA2879B.5040205@hyperactivesw.com> On 4/10/11 11:34 PM, Nicolas Cueto wrote: > Here's the problem. If the video controller thumb is slid>>back<< in > time, when "play" is clicked the correct callback will get immediately > triggered. However, if the thumb is slid>>forward<< in time, it > appears that LC is running thru every callback between the time when > the control bar was clicked and the time when it is released. > > I say "appears", because I can see the text-field that displays the > current line of text changing madly. So, I guess the lag is related to > the text having to be redrawn on-screen. > > But, I do not understand why the player object doesn't automatically > jump to the current callback when the currentTimeChanged happens? It > seems to be doing so when moving back in time. Just not when moving > forward in time. You could try capturing the mouseUp message instead of the currentTimeChanged. That only triggers when the user lets go. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Apr 11 00:50:12 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 10 Apr 2011 23:50:12 -0500 Subject: player object messages In-Reply-To: References: <4DA27922.9030806@hyperactivesw.com> Message-ID: <4DA28884.5000604@hyperactivesw.com> On 4/10/11 11:37 PM, Nicolas Cueto wrote: >> They're all in the dictionary under the Player category. That's in the >> left-side list. > > Thanks, Jacqueline. But there's so many listed there! Hard to tell > where to start just from the command name :-). It sounds like you only want messages. So select the Player category at the left, then click the "Type" column header. That will sort the entries by type and all the messages will be together. There aren't as many of those. Although, in my suggestion to use mouseUp instead of currentTimeChanged, you'd want to get the currentTime property, and that isn't a message... -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From williamdesmet at gmail.com Mon Apr 11 05:03:25 2011 From: williamdesmet at gmail.com (William de Smet) Date: Mon, 11 Apr 2011 11:03:25 +0200 Subject: Fullname/username/displayname on Windows? Message-ID: <0FD46BC6-FA34-46F8-BD10-C01C73914CE0@gmail.com> Hi there, I use $username to get the user login name on a Windows server. This however is mostly not someone's full name. Is there a variable that I can use to get the full name? This is also the shown above the Start menu. Thanks. Greetings, William ----- Verstuurd vanaf mijn iPhone! From bonnmike at gmail.com Mon Apr 11 08:25:32 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 11 Apr 2011 06:25:32 -0600 Subject: Fullname/username/displayname on Windows? In-Reply-To: <0FD46BC6-FA34-46F8-BD10-C01C73914CE0@gmail.com> References: <0FD46BC6-FA34-46F8-BD10-C01C73914CE0@gmail.com> Message-ID: I can think of a couple possibilities, since you can get the username then you can do a shell("net user username") and it will return a bunch of stuff that youc an parse for Full Name. I haven't checked it, but on the chance there IS a fullname system var you can do shell("set") and it will return a list of all system variables available through the livecode shell. I don't have a fullname defined on my system, so don't have a fullname variable, but since I don't believe you can define an empty system variable that could be why. Not sure if it would show up as FULLNAME or FULL_NAME or what. On Mon, Apr 11, 2011 at 3:03 AM, William de Smet wrote: > Hi there, > > I use $username to get the user login name on a Windows server. This > however is mostly not someone's full name. Is there a variable that I can > use to get the full name? This is also the shown above the Start menu. > > Thanks. > > Greetings, > > William > > ----- > Verstuurd vanaf mijn iPhone! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at mollysrevenge.com Mon Apr 11 12:04:28 2011 From: pete at mollysrevenge.com (Pete) Date: Mon, 11 Apr 2011 09:04:28 -0700 Subject: LockLocation of a group In-Reply-To: <4DA278B2.4080305@hyperactivesw.com> References: <4DA25D0F.5040907@hyperactivesw.com> <4DA278B2.4080305@hyperactivesw.com> Message-ID: Thanks, that's a good tip. Pete Molly's Revenge On Sun, Apr 10, 2011 at 8:42 PM, J. Landman Gay wrote: > On 4/10/11 10:32 PM, Pete wrote: > >> Interesting. I closed the card and re-opened it and the group did resize >> as >> you suggested. >> > > I don't know why I forgot to mention it, maybe because it's so automatic > for me, but the usual way I force an update is to click the Edit Group > button in the toolbar twice. The first time puts the group into edit mode, > the second click pops back out, which forces an update. > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From stephenREVOLUTION2 at barncard.com Mon Apr 11 16:39:17 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 11 Apr 2011 13:39:17 -0700 Subject: stacks within a stack file Message-ID: I've tried various ways and I know there must be one but I can't seem to find it. I know how to determine the *name* of the *stack file* that's holding a loaded stack, but if one knows the *stack file name*, how does one get the name of the stacks within? Does the whole stack have to be loaded first or is there a way to get the names of the stacks inside a stackfile without loading it? thanks sqb -- Stephen Barncard San Francisco Ca. USA more about sqb From ambassador at fourthworld.com Mon Apr 11 16:49:16 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 11 Apr 2011 13:49:16 -0700 Subject: stacks within a stack file Message-ID: <4DA3694C.80208@fourthworld.com> stephen barncard wrote: > I know how to determine the *name* of the *stack file* that's holding a > loaded stack, but if one knows the *stack file name*, how does one get the > name of the stacks within? get the substacks of stack "MyMainStack" > Does the whole stack have to be loaded first or is there a way to get the > names of the stacks inside a stackfile without loading it? Depends on what you mean by "load". To read any property of any part of a stack file will cause the entire stack file to be loaded into memory. It will not, however, be "opened" per se; that is, it won't trigger the preOpenStack, openStack, etc. messages. In fact, the only way you'd be able to know if it's been loaded into memory is to check the mainStacks function. Once it's in memory you can use the "delete" command to purge it. IMPORTANT: the "delete" command doesn't actually delete the stack when used on a mainstack, but instead merely purges it from memory. If used on a substack, however, it will actually delete the substack. To rectify this ambiguity I suggested the addition of a "purge" command many years ago: -- 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 Mon Apr 11 17:20:26 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 11 Apr 2011 14:20:26 -0700 Subject: stacks within a stack file In-Reply-To: <4DA3694C.80208@fourthworld.com> References: <4DA3694C.80208@fourthworld.com> Message-ID: got it -- tnx richard. put "/Users/Desktop/stackfile,rev" into sf put the mainstack of stack sf into tStacks put the substacks of stack sf into tSubStacks On 11 April 2011 13:49, Richard Gaskin wrote: > stephen barncard wrote: > > I know how to determine the *name* of the *stack file* that's holding a >> loaded stack, but if one knows the *stack file name*, how does one get the >> name of the stacks within? >> > > get the substacks of stack "MyMainStack" > > > Stephen Barncard San Francisco Ca. USA more about sqb From jacque at hyperactivesw.com Mon Apr 11 18:09:52 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 11 Apr 2011 17:09:52 -0500 Subject: stacks within a stack file In-Reply-To: References: <4DA3694C.80208@fourthworld.com> Message-ID: <4DA37C30.1040609@hyperactivesw.com> On 4/11/11 4:20 PM, stephen barncard wrote: > got it -- tnx richard. > > put "/Users/Desktop/stackfile,rev" into sf > > put the mainstack of stack sf into tStacks > > put the substacks of stack sf into tSubStacks LiveCode will resolve the path as a stack if you specify "stack", so you could combine it all into a one-liner if you want: put the substacks of stack "/Users/Desktop/stackfile.rev" into tSubStacks -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From paul.foraker at gmail.com Mon Apr 11 18:27:23 2011 From: paul.foraker at gmail.com (Paul Foraker) Date: Mon, 11 Apr 2011 15:27:23 -0700 Subject: Error in Windows standalone Message-ID: I've built a little app that is generating a script error on Windows 7, but not on XP or Mac. On Win 7, the app generates this error message: Executing at 2:58:29 PM Type Object card id 1002 Line put 'Object' & tab & the short name of tObject & cr after tErrorString Hint preOpenCard I don't have access to the Win 7 machine to run the stack in LiveCode, so I'm relying on my user to run the standalone and let me know how it goes. So far, not so good. The stack is a one-card stack with a data grid and the revExternalLibrary for MySQL support. All three stacks have a card id 1002, but none of them have scripts. There is no "preOpenCard" handler in any object in the stack files. There is no such command as in the line above in use in any script that I can find. On preOpenStack, the main stack opens a file on the user's hard drive, using this code: function actionFile pFname if the platform contains "Mac" then put specialFolderPath("Preferences") into tPath else -- windows put "0x000C" into myDocs put specialFolderPath(myDocs) into tPath end if put "/4Spires" after tPath if there is no folder tPath then create folder tPath put "/" &pFname &".txt" after tPath return tPath end actionFile I'm passing this function the string "ActionHistoryURLs" which is the name of a file containing a return-delimited list of urls the user has entered. If there are none yet, I use a default url instead. I use the first one in the list (or the default one) to open a file on the server containing encrypted database configuration information. I decrypt the config info and execute a query to get the "action history" from the database, and then populate the datagrid. Works fine on Mac and XP. Chokes on Win 7 in two ways. First, it never gets the data from the default url; second, when the user clicks that default url in a list, it should go get the data. That's when the interrupt occurs, and he sends me the error message. I'm wondering if this error is occurring in some part of the engine code instead of mine, and what's up with the single quotes in the command? Any ideas? -- Paul From bonnmike at gmail.com Mon Apr 11 19:00:35 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 11 Apr 2011 17:00:35 -0600 Subject: Error in Windows standalone In-Reply-To: References: Message-ID: Might look at http://forums.runrev.com/viewtopic.php?f=18&t=1694 and see if it applies. Also noticed you mentioned a database in your post, if you're trying to access a database from your stack, you can't do anything relating to it in your preopenstack handler. The external won't be loaded yet and will fail. If you look at the bottom of a dictionary entry there is a note explaining this, and I think it applies to all externals not just DB, so anything that requires a fully loaded external should go into openstack, or I think preopencard will work but I haven't tested it. On Mon, Apr 11, 2011 at 4:27 PM, Paul Foraker wrote: > I've built a little app that is generating a script error on Windows 7, but > not on XP or Mac. On Win 7, the app generates this error message: > > Executing at 2:58:29 PM > Type > Object card id 1002 > Line put 'Object' & tab & the short name of tObject & cr after > tErrorString > Hint preOpenCard > > I don't have access to the Win 7 machine to run the stack in LiveCode, so > I'm relying on my user to run the standalone and let me know how it goes. > So > far, not so good. > > The stack is a one-card stack with a data grid and the revExternalLibrary > for MySQL support. All three stacks have a card id 1002, but none of them > have scripts. There is no "preOpenCard" handler in any object in the stack > files. There is no such command as in the line above in use in any script > that I can find. > > > On preOpenStack, the main stack opens a file on the user's hard drive, > using > this code: > > function actionFile pFname > if the platform contains "Mac" then > put specialFolderPath("Preferences") into tPath > else -- windows > put "0x000C" into myDocs > put specialFolderPath(myDocs) into tPath > end if > put "/4Spires" after tPath > if there is no folder tPath then create folder tPath > put "/" &pFname &".txt" after tPath > return tPath > end actionFile > > I'm passing this function the string "ActionHistoryURLs" which is the name > of a file containing a return-delimited list of urls the user has entered. > If there are none yet, I use a default url instead. I use the first one in > the list (or the default one) to open a file on the server containing > encrypted database configuration information. I decrypt the config info and > execute a query to get the "action history" from the database, and then > populate the datagrid. Works fine on Mac and XP. Chokes on Win 7 in two > ways. First, it never gets the data from the default url; second, when the > user clicks that default url in a list, it should go get the data. That's > when the interrupt occurs, and he sends me the error message. > > I'm wondering if this error is occurring in some part of the engine code > instead of mine, and what's up with the single quotes in the command? > > Any ideas? > > -- Paul > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Mon Apr 11 19:04:35 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 11 Apr 2011 17:04:35 -0600 Subject: Error in Windows standalone In-Reply-To: References: Message-ID: Here is the comment from the rev dictionary that explains. Got it from the very last comment for revopendatabase. * * *revOpenDatabase, like all the revDB commands and functions is implemented in a separate library called an External, rather than in the Revolution core engine. * * * *The database library is loaded by adding a hidden group to your stack when deploying it. This hidden group then loads up the library by creating a wrapper stack for the external and inserting it into the message path. It does this on receipt of its first preOpenBackground message. * * * *The consequence of this is that attempting to connect to the database before this preOpenBackground message has initialized the external will fail. For example, don't connect to the database on preOpenStack. Instead use openStack or openCard.* On Mon, Apr 11, 2011 at 5:00 PM, Mike Bonner wrote: > Might look at http://forums.runrev.com/viewtopic.php?f=18&t=1694 and see > if it applies. > > Also noticed you mentioned a database in your post, if you're trying to > access a database from your stack, you can't do anything relating to it in > your preopenstack handler. The external won't be loaded yet and will fail. > If you look at the bottom of a dictionary entry there is a note explaining > this, and I think it applies to all externals not just DB, so anything that > requires a fully loaded external should go into openstack, or I think > preopencard will work but I haven't tested it. > > > On Mon, Apr 11, 2011 at 4:27 PM, Paul Foraker wrote: > >> I've built a little app that is generating a script error on Windows 7, >> but >> not on XP or Mac. On Win 7, the app generates this error message: >> >> Executing at 2:58:29 PM >> Type >> Object card id 1002 >> Line put 'Object' & tab & the short name of tObject & cr after >> tErrorString >> Hint preOpenCard >> >> I don't have access to the Win 7 machine to run the stack in LiveCode, so >> I'm relying on my user to run the standalone and let me know how it goes. >> So >> far, not so good. >> >> The stack is a one-card stack with a data grid and the revExternalLibrary >> for MySQL support. All three stacks have a card id 1002, but none of them >> have scripts. There is no "preOpenCard" handler in any object in the stack >> files. There is no such command as in the line above in use in any script >> that I can find. >> >> >> On preOpenStack, the main stack opens a file on the user's hard drive, >> using >> this code: >> >> function actionFile pFname >> if the platform contains "Mac" then >> put specialFolderPath("Preferences") into tPath >> else -- windows >> put "0x000C" into myDocs >> put specialFolderPath(myDocs) into tPath >> end if >> put "/4Spires" after tPath >> if there is no folder tPath then create folder tPath >> put "/" &pFname &".txt" after tPath >> return tPath >> end actionFile >> >> I'm passing this function the string "ActionHistoryURLs" which is the name >> of a file containing a return-delimited list of urls the user has entered. >> If there are none yet, I use a default url instead. I use the first one in >> the list (or the default one) to open a file on the server containing >> encrypted database configuration information. I decrypt the config info >> and >> execute a query to get the "action history" from the database, and then >> populate the datagrid. Works fine on Mac and XP. Chokes on Win 7 in two >> ways. First, it never gets the data from the default url; second, when the >> user clicks that default url in a list, it should go get the data. That's >> when the interrupt occurs, and he sends me the error message. >> >> I'm wondering if this error is occurring in some part of the engine code >> instead of mine, and what's up with the single quotes in the command? >> >> Any ideas? >> >> -- Paul >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From pete at mollysrevenge.com Mon Apr 11 19:09:51 2011 From: pete at mollysrevenge.com (Pete) Date: Mon, 11 Apr 2011 16:09:51 -0700 Subject: Error in Windows standalone In-Reply-To: References: Message-ID: preOpenCard works for db access, not sure about other externals. Pete Molly's Revenge On Mon, Apr 11, 2011 at 4:00 PM, Mike Bonner wrote: > Might look at http://forums.runrev.com/viewtopic.php?f=18&t=1694 and see > if > it applies. > > Also noticed you mentioned a database in your post, if you're trying to > access a database from your stack, you can't do anything relating to it in > your preopenstack handler. The external won't be loaded yet and will fail. > If you look at the bottom of a dictionary entry there is a note explaining > this, and I think it applies to all externals not just DB, so anything that > requires a fully loaded external should go into openstack, or I think > preopencard will work but I haven't tested it. > > On Mon, Apr 11, 2011 at 4:27 PM, Paul Foraker >wrote: > > > I've built a little app that is generating a script error on Windows 7, > but > > not on XP or Mac. On Win 7, the app generates this error message: > > > > Executing at 2:58:29 PM > > Type > > Object card id 1002 > > Line put 'Object' & tab & the short name of tObject & cr after > > tErrorString > > Hint preOpenCard > > > > I don't have access to the Win 7 machine to run the stack in LiveCode, so > > I'm relying on my user to run the standalone and let me know how it goes. > > So > > far, not so good. > > > > The stack is a one-card stack with a data grid and the revExternalLibrary > > for MySQL support. All three stacks have a card id 1002, but none of them > > have scripts. There is no "preOpenCard" handler in any object in the > stack > > files. There is no such command as in the line above in use in any script > > that I can find. > > > > > > On preOpenStack, the main stack opens a file on the user's hard drive, > > using > > this code: > > > > function actionFile pFname > > if the platform contains "Mac" then > > put specialFolderPath("Preferences") into tPath > > else -- windows > > put "0x000C" into myDocs > > put specialFolderPath(myDocs) into tPath > > end if > > put "/4Spires" after tPath > > if there is no folder tPath then create folder tPath > > put "/" &pFname &".txt" after tPath > > return tPath > > end actionFile > > > > I'm passing this function the string "ActionHistoryURLs" which is the > name > > of a file containing a return-delimited list of urls the user has > entered. > > If there are none yet, I use a default url instead. I use the first one > in > > the list (or the default one) to open a file on the server containing > > encrypted database configuration information. I decrypt the config info > and > > execute a query to get the "action history" from the database, and then > > populate the datagrid. Works fine on Mac and XP. Chokes on Win 7 in two > > ways. First, it never gets the data from the default url; second, when > the > > user clicks that default url in a list, it should go get the data. That's > > when the interrupt occurs, and he sends me the error message. > > > > I'm wondering if this error is occurring in some part of the engine code > > instead of mine, and what's up with the single quotes in the command? > > > > Any ideas? > > > > -- Paul > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From andrew at rjdfarm.com Mon Apr 11 21:11:02 2011 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Mon, 11 Apr 2011 18:11:02 -0700 (PDT) Subject: Error in Windows standalone In-Reply-To: References: Message-ID: <1302570662139-3443496.post@n4.nabble.com> I had this happen on windows 7 when it opened cards with datagrids. The datagrid library was not being included in the stand alone. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Error-in-Windows-standalone-tp3443299p3443496.html Sent from the Revolution - User mailing list archive at Nabble.com. From bonnmike at gmail.com Mon Apr 11 21:20:01 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 11 Apr 2011 19:20:01 -0600 Subject: Error in Windows standalone In-Reply-To: <1302570662139-3443496.post@n4.nabble.com> References: <1302570662139-3443496.post@n4.nabble.com> Message-ID: Actually pete, ignore me, I think you're correct, preopencard is probably fine, preopenstack is probably not, but my peepers don't always read things right. Not positive about preopencard, but is probably safe. Forgive my misread. Did I mention my frequent and rampant wrongness? Well there ya go. On Mon, Apr 11, 2011 at 7:11 PM, Andrew Kluthe wrote: > I had this happen on windows 7 when it opened cards with datagrids. The > datagrid library was not being included in the stand alone. > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Error-in-Windows-standalone-tp3443299p3443496.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 paul.foraker at gmail.com Mon Apr 11 21:53:03 2011 From: paul.foraker at gmail.com (Paul Foraker) Date: Mon, 11 Apr 2011 18:53:03 -0700 Subject: Error in Windows standalone In-Reply-To: <1302570662139-3443496.post@n4.nabble.com> References: <1302570662139-3443496.post@n4.nabble.com> Message-ID: Seems like if it were the case that the datagrid library did not get included, it would also fail on Win XP, no? It works fine there and on Mac. On Mon, Apr 11, 2011 at 6:11 PM, Andrew Kluthe wrote: > I had this happen on windows 7 when it opened cards with datagrids. The > datagrid library was not being included in the stand alone. > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Error-in-Windows-standalone-tp3443299p3443496.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > From jacque at hyperactivesw.com Tue Apr 12 00:50:52 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 11 Apr 2011 23:50:52 -0500 Subject: Error in Windows standalone In-Reply-To: References: <1302570662139-3443496.post@n4.nabble.com> Message-ID: <4DA3DA2C.8040801@hyperactivesw.com> On 4/11/11 8:53 PM, Paul Foraker wrote: > Seems like if it were the case that the datagrid library did not get > included, it would also fail on Win XP, no? It works fine there and on Mac. You'd think so. Did you send exactly the same copy to XP and Win7 users? It was just mentioned on the dev list that there is no way to manually include the datagrid library in the standalone builder, it is only included when "search for inclusions" is checked. Could you have built twice, once with that checked and once without it? Grasping at straws here. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Apr 12 01:06:40 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 12 Apr 2011 00:06:40 -0500 Subject: Error in Windows standalone In-Reply-To: References: Message-ID: <4DA3DDE0.9060405@hyperactivesw.com> On 4/11/11 5:27 PM, Paul Foraker wrote: > I've built a little app that is generating a script error on Windows 7, but > not on XP or Mac. On Win 7, the app generates this error message: > > Executing at 2:58:29 PM > Type > Object card id 1002 > Line put 'Object'& tab& the short name of tObject& cr after > tErrorString > Hint preOpenCard Ignore what I just said. The error references the script that's creating the error dialog. Talk about recursion. The error script can't create itself because there's an error in the error script. Not sure why it's triggering on preOpenCard, but maybe it's refering to one of LiveCode's front or backscripts. I'm not sure it helps much to know that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sims at ezpzapps.com Tue Apr 12 01:58:39 2011 From: sims at ezpzapps.com (Jim Sims) Date: Tue, 12 Apr 2011 07:58:39 +0200 Subject: iOS and revBrowser Message-ID: <4A7AD2B6-9645-4D08-B9A2-FCF0BA7046ED@ezpzapps.com> Anyone using revBrowser with iOS? Have you had problems doing so or does all seem fine? sims From david at dvglasgow.wanadoo.co.uk Tue Apr 12 05:48:23 2011 From: david at dvglasgow.wanadoo.co.uk (David Glasgow) Date: Tue, 12 Apr 2011 10:48:23 +0100 Subject: Weird cursor freeze In-Reply-To: References: Message-ID: <3E5F7906-1F6F-453A-930F-818206C2FA9F@dvglasgow.wanadoo.co.uk> Hello folks, Banging my head against a wall on this one. I have a mainstack with several substacks. One substack presents 10 images, which the user rates. I do some funny business with the cursor during this, to make the cursor disappear after a rating is made, and reappear at the mid point on a bipolar scale ready for the next rating. The cursor is also constrained within the scale area during rating to prevent accidental clicks outwith the scale. That all works fine. Data is gathered fine, with the cursor moving and changing as it should in all circumstances. At the end of the ratings, I have a routine that resets stuff and prepares the ratings to be either run again (button starter") or user return to the mainstack ("continue"). It is a very innocuous handler. on finish hide button "N e x t p i c t u r e" hide group "raters" hide group "blocker" show button "continue" show button "starter" -- repeat 5 times -- set the cursor to busy -- end repeat -- unlock cursor -- set cursor to hand -- wait 1 sec -- set cursor to cross -- wait 1 sec -- set cursor to arrow end finish The commented section is stuff I put in to try to find out what was going on. The script runs fine but then the cursor freezes in position, and displaying as whatever icon was last set. Oddly, the cursor is locked in the same place in all open apps, so switching between finder etc. and LC doesn't help. Using shortcuts to switch in and out of browse/edit mode doesn't work. The only way out I have found in the dev environment is to invoke the preferences stack via shortcut, and THEN switch between browse and edit mode via keyboard. This allows the cursor to move, but it sticks with whatever icon was set until it feels like changing for no obvious reason, although sometimes in response to a command. I have tried various cursor related commands within the "finish" handler, all of which appear to be executed correctly, but always followed by the system wide cursor lock up. Running the debugger prevents the problem arising, so it isn't much help. Sadly, the problem isn't restricted to the dev environment, and I have to force quit standalones on Mac. All this is on Mac, running LC 4.0 and 4.5 Could it be a problem with the mac cursor stack? If so, how should I set about exploring that possibility? This is ruining a nice days scripting that I have been looking forward to for weeks, so any help would be gratefully received. Best Wishes, David Glasgow Carlton Glasgow Partnership i-psych.co.uk From psahores at free.fr Tue Apr 12 11:29:31 2011 From: psahores at free.fr (Pierre Sahores) Date: Tue, 12 Apr 2011 17:29:31 +0200 Subject: revdb and PostgreSQL 9.0.3 (linux x64) [solved] In-Reply-To: <7F72B2E0-27E7-46E1-9773-3EC3CA1F526A@free.fr> References: <7F72B2E0-27E7-46E1-9773-3EC3CA1F526A@free.fr> Message-ID: <996586C7-FEF7-4A07-9935-4E8E7FC9F5F4@free.fr> Hi there, Problem solved by switching back to CentOS 5.6 / PostgreSQL 8.1.23. Best, > Hi Friends, > > When i try to connect PostgreSQL 9.0.3 from revserver (localhost, OpenSuse 10.4 x64), in using this code : > >> put "postgresql" into DbTarget ; put "mydatabase" into DbName # Constante 3 & 4 # >> put "mypguser" into DbUser ; put "mypguserpassword" into DBPasswd # Constantes 5 & 6 # > >> put revOpenDatabase (DbTarget,"localhost",DbName,DbUser,DBPasswd) into myDatabaseID >> if myDatabaseID is not a number then >> >> return myDatabaseID >> >> else > > > i get this back : > >> revdberr,invalid database type > > > Did anyone there got the right way to solve this inconstancy and, else, what is the last PostgreSQL supported version revserver-revdb are known to be able to run friendly with ? > > TIA, -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From andre at andregarzia.com Tue Apr 12 15:11:59 2011 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 12 Apr 2011 16:11:59 -0300 Subject: Yay! Victory RevServer runs on FreeBSD with Linux Compat installed. Message-ID: Folks, Just to tell people here that RevServer runs on FreeBSD 8.1 with the Linux Binary Compatibility ports installed. It takes a while to install all the needed Linux version of the libraries but it works. A screenshot: http://idisk.me.com/soapdog/Public/Pictures/Skitch/Welcome_to_revIgniter-20110412-161011.jpg >From the FreeBSD Handbook: FreeBSD provides binary compatibility with several other UNIX? like operating systems, including Linux. At this point, you may be asking yourself why exactly, does FreeBSD need to be able to run Linux binaries? The answer to that question is quite simple. Many companies and developers develop only for Linux, since it is the latest ?hot thing? in the computing world. That leaves the rest of us FreeBSD users bugging these same companies and developers to put out native FreeBSD versions of their applications. The problem is, that most of these companies do not really realize how many people would use their product if there were FreeBSD versions too, and most continue to only develop for Linux. So what is a FreeBSD user to do? This is where the Linux binary compatibility of FreeBSD comes into play. In a nutshell, the compatibility allows FreeBSD users to run about 90% of all Linux applications without modification. This includes applications such as StarOffice?, the Linux version of Netscape?, Adobe? Acrobat?, RealPlayer?, VMware?, Oracle?, WordPerfect?, Doom, Quake, and more. It is also reported that in some situations, Linux binaries perform better on FreeBSD than they do under Linux. Source: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/linuxemu.html Below is a glue of the ldd output from the revserver engine binary under FreeBSD: libdl.so.2 => /lib/libdl.so.2 (0x2826a000) libm.so.6 => /lib/libm.so.6 (0x2826f000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x28298000) libpcre.so.0 => /lib/libpcre.so.0 (0x28388000) libpng12.so.0 => /usr/lib/libpng12.so.0 (0x283ba000) libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x283e1000) libcurl.so.4 => /usr/lib/libcurl.so.4 (0x28405000) libc.so.6 => /lib/libc.so.6 (0x28454000) libz.so.1 => /lib/libz.so.1 (0x285cc000) /lib/ld-linux.so.2 (0x28243000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x285e0000) libidn.so.11 => /lib/libidn.so.11 (0x285ee000) libssh2.so.1 => /usr/lib/libssh2.so.1 (0x28621000) libldap-2.4.so.2 => /usr/lib/libldap-2.4.so.2 (0x28643000) librt.so.1 => /lib/librt.so.1 (0x28685000) libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x2868f000) libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x286bd000) libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x2875c000) libcom_err.so.2 => /lib/libcom_err.so.2 (0x28782000) libssl3.so => /lib/libssl3.so (0x28785000) libsmime3.so => /lib/libsmime3.so (0x287b6000) libnss3.so => /lib/libnss3.so (0x287dd000) libplds4.so => /lib/libplds4.so (0x28905000) libplc4.so => /lib/libplc4.so (0x28909000) libnspr4.so => /lib/libnspr4.so (0x2890f000) libpthread.so.0 => /lib/libpthread.so.0 (0x28949000) libssl.so.7 => /lib/libssl.so.7 (0x28963000) libcrypto.so.7 => /lib/libcrypto.so.7 (0x289ae000) liblber-2.4.so.2 => /usr/lib/liblber-2.4.so.2 (0x28b02000) libresolv.so.2 => /lib/libresolv.so.2 (0x28b12000) libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x28b29000) libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x28b42000) libkeyutils.so.1 => /lib/libkeyutils.so.1 (0x28b4c000) libnssutil3.so => /lib/libnssutil3.so (0x28b4f000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x28b69000) libselinux.so.1 => /lib/libselinux.so.1 (0x28b9c000) Now, who else got RevServer running on OSes it was not compiled for? :-D Cheers andre PS: now, can I have a native FreeBSD engine? -- http://www.andregarzia.com All We Do Is Code. From psahores at free.fr Tue Apr 12 16:28:33 2011 From: psahores at free.fr (Pierre Sahores) Date: Tue, 12 Apr 2011 22:28:33 +0200 Subject: Yay! Victory RevServer runs on FreeBSD with Linux Compat installed. In-Reply-To: References: Message-ID: Congratulations Andre ;D Does FreeBSD run an SELinux (RedHat) or AppArmor(Suse) kind of security demon. Kind regards, Pierre PS : a little "configuration+make+make install" on the revserver sources "et voil?", mothership compile an up to date revserver for FreeBSD available for sale. Would be realy cool usefull ! Le 12 avr. 2011 ? 21:11, Andre Garzia a ?crit : > Folks, > > Just to tell people here that RevServer runs on FreeBSD 8.1 with the Linux > Binary Compatibility ports installed. It takes a while to install all the > needed Linux version of the libraries but it works. > > A screenshot: > http://idisk.me.com/soapdog/Public/Pictures/Skitch/Welcome_to_revIgniter-20110412-161011.jpg > > From the FreeBSD Handbook: > FreeBSD provides binary compatibility with several other UNIX? like > operating systems, including Linux. At this point, you may be asking > yourself why exactly, does FreeBSD need to be able to run Linux binaries? > The answer to that question is quite simple. Many companies and developers > develop only for Linux, since it is the latest ?hot thing? in the computing > world. That leaves the rest of us FreeBSD users bugging these same companies > and developers to put out native FreeBSD versions of their applications. The > problem is, that most of these companies do not really realize how many > people would use their product if there were FreeBSD versions too, and most > continue to only develop for Linux. So what is a FreeBSD user to do? This is > where the Linux binary compatibility of FreeBSD comes into play. > > In a nutshell, the compatibility allows FreeBSD users to run about 90% of > all Linux applications without modification. This includes applications such > as StarOffice?, the Linux version of Netscape?, Adobe? Acrobat?, > RealPlayer?, VMware?, Oracle?, WordPerfect?, Doom, Quake, and more. It is > also reported that in some situations, Linux binaries perform better on > FreeBSD than they do under Linux. > > Source: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/linuxemu.html > > Below is a glue of the ldd output from the revserver engine binary under > FreeBSD: > libdl.so.2 => /lib/libdl.so.2 (0x2826a000) > libm.so.6 => /lib/libm.so.6 (0x2826f000) > libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x28298000) > libpcre.so.0 => /lib/libpcre.so.0 (0x28388000) > libpng12.so.0 => /usr/lib/libpng12.so.0 (0x283ba000) > libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x283e1000) > libcurl.so.4 => /usr/lib/libcurl.so.4 (0x28405000) > libc.so.6 => /lib/libc.so.6 (0x28454000) > libz.so.1 => /lib/libz.so.1 (0x285cc000) > /lib/ld-linux.so.2 (0x28243000) > libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x285e0000) > libidn.so.11 => /lib/libidn.so.11 (0x285ee000) > libssh2.so.1 => /usr/lib/libssh2.so.1 (0x28621000) > libldap-2.4.so.2 => /usr/lib/libldap-2.4.so.2 (0x28643000) > librt.so.1 => /lib/librt.so.1 (0x28685000) > libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x2868f000) > libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x286bd000) > libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x2875c000) > libcom_err.so.2 => /lib/libcom_err.so.2 (0x28782000) > libssl3.so => /lib/libssl3.so (0x28785000) > libsmime3.so => /lib/libsmime3.so (0x287b6000) > libnss3.so => /lib/libnss3.so (0x287dd000) > libplds4.so => /lib/libplds4.so (0x28905000) > libplc4.so => /lib/libplc4.so (0x28909000) > libnspr4.so => /lib/libnspr4.so (0x2890f000) > libpthread.so.0 => /lib/libpthread.so.0 (0x28949000) > libssl.so.7 => /lib/libssl.so.7 (0x28963000) > libcrypto.so.7 => /lib/libcrypto.so.7 (0x289ae000) > liblber-2.4.so.2 => /usr/lib/liblber-2.4.so.2 (0x28b02000) > libresolv.so.2 => /lib/libresolv.so.2 (0x28b12000) > libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x28b29000) > libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x28b42000) > libkeyutils.so.1 => /lib/libkeyutils.so.1 (0x28b4c000) > libnssutil3.so => /lib/libnssutil3.so (0x28b4f000) > libcrypt.so.1 => /lib/libcrypt.so.1 (0x28b69000) > libselinux.so.1 => /lib/libselinux.so.1 (0x28b9c000) > > > Now, who else got RevServer running on OSes it was not compiled for? :-D > > Cheers > andre > PS: now, can I have a native FreeBSD engine? > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From livecode.list at gmail.com Tue Apr 12 16:41:05 2011 From: livecode.list at gmail.com (Chip Thomas) Date: Tue, 12 Apr 2011 13:41:05 -0700 Subject: Rev/Livecode project and GPL Licenses Message-ID: I am wondering if anyone on this list has shipped a Rev/Livecode project that communicated with a code library released under the GPL license, and if so, your reasons for making your LiveCode project GPL or non-GPL. The GPL license is clear that it is possible to have closed-source commercial code work with GPL licensed code in a way that does not violate the terms of the GPL license, the only thing is, it does not make the parameters altogether clear, to me anyway. Thanks in advance for any info! Thomas From m.schonewille at economy-x-talk.com Tue Apr 12 17:49:29 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 12 Apr 2011 23:49:29 +0200 Subject: Rev/Livecode project and GPL Licenses In-Reply-To: References: Message-ID: Hi Thomas, This might give you some ideas http://qery.us/pb In which way is your project going to be delivered to your customers? Is your project going to be distributed commercially? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 12 apr 2011, at 22:41, Chip Thomas wrote: > I am wondering if anyone on this list has shipped a Rev/Livecode project > that communicated with a code library released under the GPL license, and if > so, your reasons for making your LiveCode project GPL or non-GPL. > > > The GPL license is clear that it is possible to have closed-source > commercial code work with GPL licensed code in a way that does not violate > the terms of the GPL license, the only thing is, it does not make the > parameters altogether clear, to me anyway. > > > Thanks in advance for any info! > > > Thomas From jacque at hyperactivesw.com Tue Apr 12 20:05:33 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 12 Apr 2011 19:05:33 -0500 Subject: Weird cursor freeze In-Reply-To: <3E5F7906-1F6F-453A-930F-818206C2FA9F@dvglasgow.wanadoo.co.uk> References: <3E5F7906-1F6F-453A-930F-818206C2FA9F@dvglasgow.wanadoo.co.uk> Message-ID: <4DA4E8CD.2000301@hyperactivesw.com> On 4/12/11 4:48 AM, David Glasgow wrote: >The script runs fine but then the cursor freezes in > position, and displaying as whatever icon was last set. Oddly, the > cursor is locked in the same place in all open apps, so switching > between finder etc. and LC doesn't help. Using shortcuts to switch > in and out of browse/edit mode doesn't work. The only way out I have > found in the dev environment is to invoke the preferences stack via > shortcut, and THEN switch between browse and edit mode via keyboard. > This allows the cursor to move, but it sticks with whatever icon was > set until it feels like changing for no obvious reason, although > sometimes in response to a command. I have tried various cursor > related commands within the "finish" handler, all of which appear to > be executed correctly, but always followed by the system wide cursor > lock up. > > Running the debugger prevents the problem arising, so it isn't much > help. Sadly, the problem isn't restricted to the dev environment, > and I have to force quit standalones on Mac. All this is on Mac, > running LC 4.0 and 4.5 Could it be a problem with the mac cursor > stack? If so, how should I set about exploring that possibility? As a guess, it sounds like you have a script running that isn't yielding time to the engine. Cursors don't update until all pending handlers have finished. If you have something going forever in the background, there won't be any idle time in which the engine can do cleanup. You could try adding a "wait 1 with messages" here and there to see if that fixes it. A better approach would be to find out what's preventing the engine from getting any idle time. Specifically setting the cursor should have worked though, so I'm not sure what could be going on. I'm just jumping in because no one else did. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Tue Apr 12 20:37:07 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 12 Apr 2011 17:37:07 -0700 Subject: Rev/Livecode project and GPL Licenses In-Reply-To: References: Message-ID: <4DA4F033.70903@fourthworld.com> Chip Thomas wrote: > I am wondering if anyone on this list has shipped a Rev/Livecode project > that communicated with a code library released under the GPL license, and if > so, your reasons for making your LiveCode project GPL or non-GPL. > > > The GPL license is clear that it is possible to have closed-source > commercial code work with GPL licensed code in a way that does not violate > the terms of the GPL license, the only thing is, it does not make the > parameters altogether clear, to me anyway. Volumes have been written about the GPL and FOSS in general. Big topic, with many implications. Do you have a project you're thinking of deploying under the GPL? If so, what are you goals in doing so? GPL can be a great option if it's what you need, but there are so many licenses available, and of course the creator of a work can define any terms he chooses, so it can be difficult to offer any brief recommendation one way or another without some details. While looking at different licensing options a few months ago for a project I'd considered possibly GPL'ing, I came across one tip that may be useful: It's easier to convert proprietary code to GPL than the other way around, so if you have any questions about whether to use GPL it may be prudent to consider more closed terms at first until those questions are answered. You can always change it later. -- 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 lan.kc.macmail at gmail.com Tue Apr 12 23:17:23 2011 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 13 Apr 2011 11:17:23 +0800 Subject: Live LiveCode Code Event #17 - wrap-up In-Reply-To: References: <5D635308-BF25-4D39-825A-9A8873EB69C4@economy-x-talk.com> Message-ID: Hi, This only makes sense if you read Part 1 of my earlier email. Below is the cpu performance figure I noted from Apple's Activity Monitor whilst varying the length of the wait command in my Script talking to Arduino. Below that is the actual data I was getting out. CPU performance (w% = static and dynamic the same, x-y% = x = static, y = dynamic) 10 pin read 9600 Idle 17% cpu; >50ms 2-6% cpu; 50ms 34% cpu; 19ms 13-27% cpu; 17ms 3-22% cpu; 16ms 100% 57600 Idle 17% cpu; >50ms 2-12% cpu; 50ms 34% cpu; 19ms 13-31% cpu; 17ms = 3-27% cpu; 16ms 100-98% 69 pin read 57600 Idle 18% cpu; >50ms 4-6% cpu; 50ms 34% cpu; 19ms 13% cpu; 17ms = 3-6% cpu; 16ms 100% Data Output For this test my 'test bed' only had the ability to rapidly change the status of pin 2, all others are static. For the first bunch of test I was only testing 9 pins so the print out should have been 9 1's or 0's on each line, no blank lines. As you'll see my final test was with 69 pins, therefore 69 1's or 0's per line. 9600bps @ 17ms 0111 001101 001100 1101 0111001101 0011001101 0 111001101 0011 001101 0111001101 001 9600bps @ 100ms 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011 001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 9600bps @ 300ms 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 011100110 1 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 57600bps @ 17ms 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011 001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 57600bps @ 51ms 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 57600bps @ 100ms 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 57600 @ 17ms 001100110100110011000011001100001100110000110011000011001100001100110 011100110100110011000011001100001100110000110011000011001100001100110 001100110100110011000011001100001100110000110011000011001100001100110 011100110100110011000011001100001100110000110011000011001100001100110 001100110100110011000011001100001100110000110011000011001100001100110 011100110100110011000011001100001100110000110011000011001100001100110 001100110100110011000011001100001100110000110011000011001100001100110 011100110100110011000011001100001100110000110011000011001100001100110 001100110100110011000011001100001100110000110011000011001100001100110 011100110100110011000011001100001100110000110011000011001100001100110 001100110100110011000011001100001100110000110011000011001100001100110 011100110100110011000011001100001100110000110011000011001100001100110 001100110100110011000011001100001100110000110011000011001100001100110 011100110100110011000011001100001100110000110011000011001100001100110 001100110100110011000011001100001100110000110011000011001100001100110 011100110100110011000011001100001100110000110011000011001100001100110 001100110100110011000011001100001100110000110011000011001100001100110 011100110100110011000011001100001100110000110011000011001100001100110 001100110100110011000011001100001100110000110011000011001100001100110 011100110100110011000011001100001100110000110011000011001100001100110 001100110100110011000011001100001100110000110011000011001100001100110 011100110100110011000011001100001100110000110011000011001100001100110 001100110100110011000011001100001100110000110011000011001100001100110 011100110100110011000011001100001100110000110011000011001100001100110 001100110100110011000011001100001100110000110011000011001100001100110 011100110100110011000011001100001100110000110011000011001100001100110 001100110100110011000011001100001100110000110011000011001100001100110 011100110100110011000011001100001100110000110011000011001100001100110 001100110100110011000011001100001100110000110011000011001100001100110 011100110100110011000011001100001100110000110011000011001100001100110 001100110100110011000011001100001100110000110011000011001100001100110 011100110100110011000011001100001100110000110011000011001100001100110 001100110100110011000011001100001100110000110011000011001100001100110 011100110100110011000011001100001100110000110011000011001100001100110 001100110100110011000011001100001100110000110011000011001100001100110 011100110100110011000011001100001100110000110011000011001100001100110 001100110100110011000011001100001100110000110011000011001100001100110 011100110100110011000011001100001100110000110011000011001100001100110 ? (on and on, no corruption) From lan.kc.macmail at gmail.com Tue Apr 12 23:26:07 2011 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 13 Apr 2011 11:26:07 +0800 Subject: Live LiveCode Code Event #17 - wrap-up In-Reply-To: <5D635308-BF25-4D39-825A-9A8873EB69C4@economy-x-talk.com> References: <5D635308-BF25-4D39-825A-9A8873EB69C4@economy-x-talk.com> Message-ID: Ok this is the third time I've tried to send this email and I still get messages saying that It's too big even though it shows up as only 9kb. So I've now split it into 3, - Part1a, Part1b and part2 ------------------------------------ First off I would like to thank Mark for organising the Live LiveCode #17 and also for putting it on line for those of us who were not able to be there Live and thus enjoyed Preserved LiveCode #17 - which I guess means it's LiveCode Jam #17 :-) But my real appreciation goes to Claudi for his presentation. Claudi, your presentation was spot on, at least for me. Doing it Live is tough, but if we waited until everything was perfect, we'd never have these gems of information. Most of us are way to busy to get it how we'd really like it. So please, do a follow up, I might not be able to view Live LiveCode, but hopefully I can always enjoy LiveCode Jam. Claudi and Thomas, I've really appreciated your posts re the Arduino and do hope you keep the List updated on your progress. Also a thanks to Sarah and her Serial Test stack which saved me a couple of wheels I didn't need to reinvent. I also recently came across Arduino and have been experimenting with it and LiveCode. Foolishly I spent a couple of days experimenting with it first before heading to this List. So I reinvented the wheel a couple of times ;-( I'd just like to add a couple of my own observations which may be of use to others who venture down the Arduino + LiveCode path. IMPORTANT My comments are based on my personal set-up, your mileage IS SURE to vary. OSX 10.6.6 LiveCode 4.6 Arduino Mega COPY - my board is made by a company called Seeed Studio under the open license and differs from a standard Arduino Mega in a couple of ways, but the most important is it has 70 digital I/Os instead of the Mega's 54. Also it is an older board so it uses the older FTDI USB drivers. I'm currently ONLY interested in reading Digital INPUTS. I have not set up any outputs. My sketch simply loops through reading all the pins, ONLY if ANY pin has changed status since the last loop, the sketch sends a 'Serial.println' to LiveCode with the status of EVERY input. ie 1100010111? I started out experimenting with 2, then 10 and now 69 input pins. WITH REFERENCE TO CLAUDI's 'MUST DOs' I do not need to disconnect the Arduino after uploading a sketch. My first 'read' is not 'for 1 line' but I use what I got from Sarah's Serial Test stack, 'read from driver tDriverName until CRLF' and to that I added 'in 1 ticks'. This seems to prevent LiveCode from hanging on the first call. >From then on, as Claudi said (and I know in the video he mentioned someone said NOT to use 'read until empty') I also 'read until empty' although I have had success with 'read until CRLF' but in that case I'm not sure if I've missed any lines so I stick with 'ready until empty'. I also can not get LiveCode to communicate with Arduino at a BAUD of 115200, 57600 is the fastest I can go. At the other end of the spectrum I can't get LiveCode and Arduino to communicate at BAUD 300 or 1200, the slowest is 2400. I am CONVINCED this is a LiveCode problem. The Arduino Serial Monitor has no problem communicating at 300 or 115200 BAUD, so clearly Arduino + FTDI USB Driver + OS X 10.6.6 are happy. (I'm not really interested in 300/1200, if the mothership can fix 115200 that would be great) See Part 1b for more From lan.kc.macmail at gmail.com Tue Apr 12 23:26:36 2011 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 13 Apr 2011 11:26:36 +0800 Subject: Live LiveCode Code Event #17 - wrap-up In-Reply-To: References: <5D635308-BF25-4D39-825A-9A8873EB69C4@economy-x-talk.com> Message-ID: This only makes sense if you've read Part 1a ---------------- MY IMPORTANT OBSERVATIONS Basically LiveCode is EXTREMELY susceptible to timing issues and there is a NEED to include a 'wait' command in your LiveCode loop. What is illogical, and from my own perspective, only possible to determine through experimentation, is the appropriate length of the wait. It's also IMPORTANT to include 'with messages' with your 'wait' otherwise you can lock-up LiveCode. Here is an extract of my LiveCode script: open driver tDriverName for text update write numToChar(1) & cr to driver tDriverName wait 1 ticks with messages read from driver tDriverName until CRLF in 1 ticks --need first read repeat read from driver tDriverName until empty --normal reads put it after tUSBData wait 17 millisecs with messages if (the default of me = true) then exit to top end if end repeat -- more code to do stuff put tUSBData into field "output" This code, without the 'wait 17 millisecs with messages' will lock-up LiveCode and you need to Force Quit. Initially I started with figures in the 200-300 millisec range and placed the data straight into field "output" for viewing, and things worked OK, but not perfect. In a quest for speed I started playing with the wait time and placed the data into a variable 'tUSBData'. The following is for 69 pin read at 57600 baud: With LiveCode just sitting there doing nothing, Activity Monitor would report that it was using 18% cpu. Once I pressed my Button and started my LiveCode Script, with the wait time set at ANYTHING ABOVE 50ms the cpu would drop to 4% whilst the pins were static, ie no changes, I could leave them that way for minutes (too impatient to wait hours to see if it were different) and it would just sit there around 4%. As soon as I started changing the pin status, the cpu would rise to 6%. As soon as I stopped, it would go back down to 4%. Repeating the same experiment with wait 50ms, again, 18% cpu whilst I hadn't started my script, but as soon as I did it rose to 34% cpu and it didn't matter if the pins were static or being changed, the cpu sat at 34% cpu. Continuing the experiment I discovered that not much changed as you looked at waits down to around 25ms, but then below this things started to change again. Repeating the same experiment with wait 19ms, again 18% cpu whilst I hadn't started my script, but as soon as I did it dropped to 13% regardless of whether the pins were static or changing. Repeating the same experiment with wait 17ms, again 18% cpu, then when I started my script it dropped to 3% cpu with static pins, rose to 6% with changing status, and drop back to 3% as soon as they became static. Again it didn't matter how long they remained static, the cpu remained at 3%. Repeating the same experiment with wait 16ms, again 18% cpu before starting, then as soon as I started the cpu rose rapidly to 100%. It didn't matter if the pins were static or changing, the cpu would remain at 100%. Interestingly the cpu rose faster to 100% if the pins were static than if I were changing them. IF YOU DO NOT HAVE 'with messaged' in you wait command, if you get to this condition you will probably have to FORCE QUIT to get out of it. INTERESTINGLY these figures were basically identical regardless of whether I was reading 10 or 69 pins. Much the same regardless of 9600 or 57600 baud. See CPU Performance figures in Part 2 of my email. For reasons I couldn't fathom, for my 10 pin experiments some of my data was corrupted; not badly, just the data spread across two lines, or extra blank lines added. Logically it seemed that the longer the wait, the more correct the data. BUT, the data also IMPROVED by using 57600 baud rather than 9600. STRANGEST of all though, is that at 17ms, 57600 baud and 69 pins, the data came out perfect????. Seems LiveCode prefers more data at a fast baud. See Data Output in Part 2 of my email. Please NOTE the importance of using millisec rather than ticks. 1 tick = 16.6666 millisec. If I tried wait 1 tick I'd have the cpu hit 100%. If I tried 2 ticks (33ms) I'd be in the 34% region, which would be the same for 4 ticks (50ms), so I'd end up at 5 ticks, well above what is needed. Lastly I ASSUME, and it is a big ASSUMPTION, that if my repeat loop contained a whole bunch of extra lines of script, these would take up cycles, which would take up millisec which SHOULD therefore effect how long my waits are. What I KNOW is that LiveCode is VERY susceptible to TIMING issues when communicating with Arduino on OS X via USB. Your repeat loops MUST contain wait commands that INCLUDE 'with messages'. Use MILLISEC not ticks. (This does NOT apply to the odd wait command you may have in other areas of your script OUTSIDE the repeat loops monitoring serial comms). Finally, you MUST experiment with different wait values to find the best, and just because the numbers start heading in the wrong direction, doesn't mean that the numbers wont head in the right direction with even lower values. 1 ms can make ALL THE DIFFERENCE!!!!!!! Hope that helps. From niconiko at gmail.com Wed Apr 13 00:20:00 2011 From: niconiko at gmail.com (Nicolas Cueto) Date: Wed, 13 Apr 2011 13:20:00 +0900 Subject: setting the insertion point Message-ID: Hello, Given this script: put "123" into field "abc" focus on field"abc" what additional script lines would cause the insertion point to be placed at the end of the line? or, say, after the number "2"? Thanks. -- Nicolas Cueto From jacque at hyperactivesw.com Wed Apr 13 00:38:47 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 12 Apr 2011 23:38:47 -0500 Subject: setting the insertion point In-Reply-To: References: Message-ID: <4DA528D7.5090802@hyperactivesw.com> On 4/12/11 11:20 PM, Nicolas Cueto wrote: > Hello, > > Given this script: > > put "123" into field "abc" > focus on field"abc" > > what additional script lines would cause the insertion point to be > placed at the end of the line? or, say, after the number "2"? See "select" in the dictionary (the command, not the keyword.) Examples pertaining to text, with my comments, are: select text of field ID 3 -- selects all text select after word 34 of field "myField" -- selects after a particular word select empty -- removes all selections You can select after or before any text chunk. To place the cursor after "123" in your example: select after line 1 of fld "abc" Or: select after char 3 of fld "abc" Or to select after the number "2": select after char 2 of fld "abc" Or: select after char offset("2",fld "abc") of fld "abc" Or you can select "before" any of those: select before line 2 of fld "abc" select before char 3 of fld "abc" ... etc. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephenREVOLUTION2 at barncard.com Wed Apr 13 00:42:55 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 12 Apr 2011 21:42:55 -0700 Subject: setting the insertion point In-Reply-To: References: Message-ID: you almost have it. select text after field "abc" On 12 April 2011 21:20, Nicolas Cueto wrote: > Hello, > > Given this script: > > put "123" into field "abc" > focus on field"abc" > > what additional script lines would cause the insertion point to be > placed at the end of the line? or, say, after the number "2"? > > Thanks. > > -- > Nicolas Cueto > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From runrevplanet at smpcs.server101.com Wed Apr 13 00:54:02 2011 From: runrevplanet at smpcs.server101.com (Scott McDonald) Date: Tue, 12 Apr 2011 21:54:02 -0700 (PDT) Subject: [ANN] 3D Carousel Menu for LiveCode Message-ID: <1302670442315-3446273.post@n4.nabble.com> There is a new control for LiveCode. It is a commercial Carousel Menu with a 3D effect. As well as being fashionable, a carousel menu is easy to use (fun even?) and an excellent way to present multiple items to a user to allow selection and browsing. The RunRevPlanet Carousel 3D can show reflections, and have different rotation effects with smooth scrolling and a "bounce" animation for selected items. You can use it on the desktop (Linux, OS X, Windows) and on mobile platforms -- currently only iOS, but an Android version is in the works. You can try it out at: http://www.runrevplanet.com/ ----- -- Scott McDonald "Components, Controls, Tools and Resources for LiveCode" www.runrevplanet.com -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-3D-Carousel-Menu-for-LiveCode-tp3446273p3446273.html Sent from the Revolution - User mailing list archive at Nabble.com. From scott at tactilemedia.com Wed Apr 13 02:03:59 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 12 Apr 2011 23:03:59 -0700 Subject: (My) Memory Corrupted -- Scaling An Image? Message-ID: Hey all: It's been some years since I've had to do this, and I'm now I'm getting old and blanking on the technique: scale an image so the data in the resulting image reflects the scaled down data, not the original image data? The one technique I was able to piece together: scale the image and then set the image/alphaData of the image to the current image/alphaData of the image. Is this correct? Took me a while to figure this out because this technique apparently *doesn't* work using the text property of the image. I must be really tired -- thanks in advance for reminding me how to accomplish such a basic result. Regards, Scott Rossi Creative Director Tactile Media, UX Design From niggemann at uni-wh.de Wed Apr 13 03:19:10 2011 From: niggemann at uni-wh.de (BNig) Date: Wed, 13 Apr 2011 00:19:10 -0700 (PDT) Subject: (My) Memory Corrupted -- Scaling An Image? In-Reply-To: References: Message-ID: <1302679150212-3446457.post@n4.nabble.com> Hi Scott, Scott Rossi wrote: > > Hey all: > ... > scale an image so the data in the resulting > image reflects the scaled down data, not the original image data? > > The one technique I was able to piece together: scale the image and then > set > the image/alphaData of the image to the current image/alphaData of the > image. Is this correct? Took me a while to figure this out because this > technique apparently *doesn't* work using the text property of the image. > That is how I do it except that for me it seems to be sufficient to just set the imagedata of the scaled image to the imageData of the scaled image. That effectively changeds the size of the image and purges the remnants of the old image size, and keeps the resized/new alphaData. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/My-Memory-Corrupted-Scaling-An-Image-tp3446358p3446457.html Sent from the Revolution - User mailing list archive at Nabble.com. From niconiko at gmail.com Wed Apr 13 05:21:33 2011 From: niconiko at gmail.com (Nicolas Cueto) Date: Wed, 13 Apr 2011 18:21:33 +0900 Subject: setting the insertion point In-Reply-To: <4DA528D7.5090802@hyperactivesw.com> References: <4DA528D7.5090802@hyperactivesw.com> Message-ID: Thanks, Jacqueline and Stephen. -- Nicolas Cueto From livfoss at mac.com Wed Apr 13 13:15:46 2011 From: livfoss at mac.com (Graham Samuel) Date: Wed, 13 Apr 2011 19:15:46 +0200 Subject: Where are official "Made with..." graphics for Livecode? Message-ID: <562E65D8-4E34-42AD-9792-75A61A2C49FB@mac.com> A quick search revealed nothing, but there must be some resources other than the ones on the RunRev Media Resources page (they don't look like they are intended to adorn an app, as such). Basically I want to put an up-to-date "Made with LiveCode by Runtime Revolution" in some approved and attractive format on a splash screen. Sorry if I missed it in the docs. Can anyone point me in the right direction? TIA Graham From klaus at major.on-rev.com Wed Apr 13 13:24:51 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 13 Apr 2011 19:24:51 +0200 Subject: Where are official "Made with..." graphics for Livecode? In-Reply-To: <562E65D8-4E34-42AD-9792-75A61A2C49FB@mac.com> References: <562E65D8-4E34-42AD-9792-75A61A2C49FB@mac.com> Message-ID: <1545C0DD-19D7-411E-91CD-10680A40E118@major.on-rev.com> Hi Graham, > A quick search revealed nothing, but there must be some resources other than the ones on the RunRev Media Resources page (they don't look like they are intended to adorn an app, as such). Basically I want to put an up-to-date "Made with LiveCode by Runtime Revolution" in some approved and attractive format on a splash screen. Sorry if I missed it in the docs. > > Can anyone point me in the right direction? here are some hi-res LC graphics, maybe that helps? > TIA > > Graham Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From andre at andregarzia.com Wed Apr 13 14:53:30 2011 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 13 Apr 2011 15:53:30 -0300 Subject: Yay! Victory RevServer runs on FreeBSD with Linux Compat installed. In-Reply-To: References: Message-ID: Thanks Pierre, I don't know about security daemons on FreeBSD. I know that the system is very secure when configured correctly and very stable. Can you or somebody try to access http://bsd.soapdog.org and tell me if it opens? I am having problems here with my ISP, it appears that people from WAN are able to connect but from inside my LAN, the portfowarding is not working. :-D PS: RevServer on FreeBSD so far looks good, soon, I will try connecting to MySQL... On Tue, Apr 12, 2011 at 5:28 PM, Pierre Sahores wrote: > Congratulations Andre ;D > > Does FreeBSD run an SELinux (RedHat) or AppArmor(Suse) kind of security > demon. > > Kind regards, > > Pierre > > PS : a little "configuration+make+make install" on the revserver sources > "et voil?", mothership compile an up to date revserver for FreeBSD available > for sale. Would be realy cool usefull ! > > > Le 12 avr. 2011 ? 21:11, Andre Garzia a ?crit : > > > Folks, > > > > Just to tell people here that RevServer runs on FreeBSD 8.1 with the > Linux > > Binary Compatibility ports installed. It takes a while to install all the > > needed Linux version of the libraries but it works. > > > > A screenshot: > > > http://idisk.me.com/soapdog/Public/Pictures/Skitch/Welcome_to_revIgniter-20110412-161011.jpg > > > > From the FreeBSD Handbook: > > FreeBSD provides binary compatibility with several other UNIX? like > > operating systems, including Linux. At this point, you may be asking > > yourself why exactly, does FreeBSD need to be able to run Linux binaries? > > The answer to that question is quite simple. Many companies and > developers > > develop only for Linux, since it is the latest ?hot thing? in the > computing > > world. That leaves the rest of us FreeBSD users bugging these same > companies > > and developers to put out native FreeBSD versions of their applications. > The > > problem is, that most of these companies do not really realize how many > > people would use their product if there were FreeBSD versions too, and > most > > continue to only develop for Linux. So what is a FreeBSD user to do? This > is > > where the Linux binary compatibility of FreeBSD comes into play. > > > > In a nutshell, the compatibility allows FreeBSD users to run about 90% of > > all Linux applications without modification. This includes applications > such > > as StarOffice?, the Linux version of Netscape?, Adobe? Acrobat?, > > RealPlayer?, VMware?, Oracle?, WordPerfect?, Doom, Quake, and more. It is > > also reported that in some situations, Linux binaries perform better on > > FreeBSD than they do under Linux. > > > > Source: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/linuxemu.html > > > > Below is a glue of the ldd output from the revserver engine binary under > > FreeBSD: > > libdl.so.2 => /lib/libdl.so.2 (0x2826a000) > > libm.so.6 => /lib/libm.so.6 (0x2826f000) > > libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x28298000) > > libpcre.so.0 => /lib/libpcre.so.0 (0x28388000) > > libpng12.so.0 => /usr/lib/libpng12.so.0 (0x283ba000) > > libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x283e1000) > > libcurl.so.4 => /usr/lib/libcurl.so.4 (0x28405000) > > libc.so.6 => /lib/libc.so.6 (0x28454000) > > libz.so.1 => /lib/libz.so.1 (0x285cc000) > > /lib/ld-linux.so.2 (0x28243000) > > libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x285e0000) > > libidn.so.11 => /lib/libidn.so.11 (0x285ee000) > > libssh2.so.1 => /usr/lib/libssh2.so.1 (0x28621000) > > libldap-2.4.so.2 => /usr/lib/libldap-2.4.so.2 (0x28643000) > > librt.so.1 => /lib/librt.so.1 (0x28685000) > > libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x2868f000) > > libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x286bd000) > > libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x2875c000) > > libcom_err.so.2 => /lib/libcom_err.so.2 (0x28782000) > > libssl3.so => /lib/libssl3.so (0x28785000) > > libsmime3.so => /lib/libsmime3.so (0x287b6000) > > libnss3.so => /lib/libnss3.so (0x287dd000) > > libplds4.so => /lib/libplds4.so (0x28905000) > > libplc4.so => /lib/libplc4.so (0x28909000) > > libnspr4.so => /lib/libnspr4.so (0x2890f000) > > libpthread.so.0 => /lib/libpthread.so.0 (0x28949000) > > libssl.so.7 => /lib/libssl.so.7 (0x28963000) > > libcrypto.so.7 => /lib/libcrypto.so.7 (0x289ae000) > > liblber-2.4.so.2 => /usr/lib/liblber-2.4.so.2 (0x28b02000) > > libresolv.so.2 => /lib/libresolv.so.2 (0x28b12000) > > libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x28b29000) > > libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x28b42000) > > libkeyutils.so.1 => /lib/libkeyutils.so.1 (0x28b4c000) > > libnssutil3.so => /lib/libnssutil3.so (0x28b4f000) > > libcrypt.so.1 => /lib/libcrypt.so.1 (0x28b69000) > > libselinux.so.1 => /lib/libselinux.so.1 (0x28b9c000) > > > > > > Now, who else got RevServer running on OSes it was not compiled for? :-D > > > > Cheers > > andre > > PS: now, can I have a native FreeBSD engine? > > > > > > -- > > http://www.andregarzia.com All We Do Is Code. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > -- > Pierre Sahores > mobile : (33) 6 03 95 77 70 > > www.woooooooords.com > www.sahores-conseil.com > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From scott at tactilemedia.com Wed Apr 13 14:56:26 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 13 Apr 2011 11:56:26 -0700 Subject: [ANN] 3D Carousel Menu for LiveCode In-Reply-To: <1302670442315-3446273.post@n4.nabble.com> Message-ID: Recently, Scott McDonald wrote: > There is a new control for LiveCode. It is a commercial Carousel Menu with a > 3D effect. > ... > You can try it out at: http://www.runrevplanet.com/ Looks nice Scott. Did you do anything special to optimize performance on mobile (haven't tried it out yet, just curious)? Best Regards, Scott Rossi Creative Director Tactile Media, UX Design From devin_asay at byu.edu Wed Apr 13 15:33:15 2011 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 13 Apr 2011 13:33:15 -0600 Subject: Yay! Victory RevServer runs on FreeBSD with Linux Compat installed. In-Reply-To: References: Message-ID: <32E456CF-DC64-4B1B-8104-433C4AB353BF@byu.edu> On Apr 13, 2011, at 12:53 PM, Andre Garzia wrote: > Thanks Pierre, > > I don't know about security daemons on FreeBSD. I know that the system is > very secure when configured correctly and very stable. > > Can you or somebody try to access http://bsd.soapdog.org and tell me if it > opens? I am having problems here with my ISP, it appears that people from > WAN are able to connect but from inside my LAN, the portfowarding is not > working. Andre, When I go to this url I see a Heading that says "Welcome to revIgniter!" Then some information about editing and the controller for the page, etc. Is that right? Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From stephenREVOLUTION2 at barncard.com Wed Apr 13 15:38:10 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 13 Apr 2011 12:38:10 -0700 Subject: Yay! Victory RevServer runs on FreeBSD with Linux Compat installed. In-Reply-To: <32E456CF-DC64-4B1B-8104-433C4AB353BF@byu.edu> References: <32E456CF-DC64-4B1B-8104-433C4AB353BF@byu.edu> Message-ID: the most relevant part is "This system is running Linux bsd.devacode.com.br 2.6.16 FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011 i686 i686 i386 GNU/Linux ." nice. On 13 April 2011 12:33, Devin Asay wrote: > > On Apr 13, 2011, at 12:53 PM, Andre Garzia wrote: > > > Thanks Pierre, > > > > I don't know about security daemons on FreeBSD. I know that the system is > > very secure when configured correctly and very stable. > > > > Can you or somebody try to access http://bsd.soapdog.org and tell me if > it > > opens? I am having problems here with my ISP, it appears that people from > > WAN are able to connect but from inside my LAN, the portfowarding is not > > working. > > Andre, > > When I go to this url I see a Heading that says "Welcome to revIgniter!" > Then some information about editing and the controller for the page, etc. > > Is that right? > > 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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From andre at andregarzia.com Wed Apr 13 15:55:03 2011 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 13 Apr 2011 16:55:03 -0300 Subject: Yay! Victory RevServer runs on FreeBSD with Linux Compat installed. In-Reply-To: References: <32E456CF-DC64-4B1B-8104-433C4AB353BF@byu.edu> Message-ID: Thanks guys! it works! :-D Cheers andre On Wed, Apr 13, 2011 at 4:38 PM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > the most relevant part is > > "This system is running Linux bsd.devacode.com.br 2.6.16 FreeBSD > 8.2-RELEASE > #0: Fri Feb 18 02:24:46 UTC 2011 i686 i686 i386 GNU/Linux ." > > nice. > > On 13 April 2011 12:33, Devin Asay wrote: > > > > > On Apr 13, 2011, at 12:53 PM, Andre Garzia wrote: > > > > > Thanks Pierre, > > > > > > I don't know about security daemons on FreeBSD. I know that the system > is > > > very secure when configured correctly and very stable. > > > > > > Can you or somebody try to access http://bsd.soapdog.org and tell me > if > > it > > > opens? I am having problems here with my ISP, it appears that people > from > > > WAN are able to connect but from inside my LAN, the portfowarding is > not > > > working. > > > > Andre, > > > > When I go to this url I see a Heading that says "Welcome to revIgniter!" > > Then some information about editing and the controller for the page, etc. > > > > Is that right? > > > > 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 > > > > > > -- > > > > 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.andregarzia.com All We Do Is Code. From psahores at free.fr Wed Apr 13 16:07:25 2011 From: psahores at free.fr (Pierre Sahores) Date: Wed, 13 Apr 2011 22:07:25 +0200 Subject: Yay! Victory RevServer runs on FreeBSD with Linux Compat installed. In-Reply-To: References: Message-ID: <11EEB653-F61D-45D0-9D73-07DC4B68226E@free.fr> 'Evening Andre, Yep. It works there too in displaying the "Welcome to revIgniter!" message. > Thanks Pierre, > > I don't know about security daemons on FreeBSD. I know that the system is > very secure when configured correctly and very stable. Did you have an eye on SELinux, the security demon witch make our linux servers very secure in a complementary way the firewalls are working ? Works perfectly on RHEL and CenrOS and should on Debian 6 too (right testing revserver+postgres install on it). CentOS 5.6 works perfectly fine in about revserver+postgresql web driven apps :-) On the other hand, i could't run such revserver+postgresql web driven apps under OpenSuse 11.3 + PG 8.4.7 nor OpenSuse 11.4 + PG 9.0.3 for yet. Did you went more successfully than me on this ? Bonne soir?e, :D > > Can you or somebody try to access http://bsd.soapdog.org and tell me if it > opens? I am having problems here with my ISP, it appears that people from > WAN are able to connect but from inside my LAN, the portfowarding is not > working. > > :-D > > PS: RevServer on FreeBSD so far looks good, soon, I will try connecting to > MySQL... > > On Tue, Apr 12, 2011 at 5:28 PM, Pierre Sahores wrote: > >> Congratulations Andre ;D >> >> Does FreeBSD run an SELinux (RedHat) or AppArmor(Suse) kind of security >> demon. >> >> Kind regards, >> >> Pierre >> >> PS : a little "configuration+make+make install" on the revserver sources >> "et voil?", mothership compile an up to date revserver for FreeBSD available >> for sale. Would be realy cool usefull ! >> >> >> Le 12 avr. 2011 ? 21:11, Andre Garzia a ?crit : >> >>> Folks, >>> >>> Just to tell people here that RevServer runs on FreeBSD 8.1 with the >> Linux >>> Binary Compatibility ports installed. It takes a while to install all the >>> needed Linux version of the libraries but it works. >>> >>> A screenshot: >>> >> http://idisk.me.com/soapdog/Public/Pictures/Skitch/Welcome_to_revIgniter-20110412-161011.jpg >>> >>> From the FreeBSD Handbook: >>> FreeBSD provides binary compatibility with several other UNIX? like >>> operating systems, including Linux. At this point, you may be asking >>> yourself why exactly, does FreeBSD need to be able to run Linux binaries? >>> The answer to that question is quite simple. Many companies and >> developers >>> develop only for Linux, since it is the latest ?hot thing? in the >> computing >>> world. That leaves the rest of us FreeBSD users bugging these same >> companies >>> and developers to put out native FreeBSD versions of their applications. >> The >>> problem is, that most of these companies do not really realize how many >>> people would use their product if there were FreeBSD versions too, and >> most >>> continue to only develop for Linux. So what is a FreeBSD user to do? This >> is >>> where the Linux binary compatibility of FreeBSD comes into play. >>> >>> In a nutshell, the compatibility allows FreeBSD users to run about 90% of >>> all Linux applications without modification. This includes applications >> such >>> as StarOffice?, the Linux version of Netscape?, Adobe? Acrobat?, >>> RealPlayer?, VMware?, Oracle?, WordPerfect?, Doom, Quake, and more. It is >>> also reported that in some situations, Linux binaries perform better on >>> FreeBSD than they do under Linux. >>> >>> Source: >>> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/linuxemu.html >>> >>> Below is a glue of the ldd output from the revserver engine binary under >>> FreeBSD: >>> libdl.so.2 => /lib/libdl.so.2 (0x2826a000) >>> libm.so.6 => /lib/libm.so.6 (0x2826f000) >>> libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x28298000) >>> libpcre.so.0 => /lib/libpcre.so.0 (0x28388000) >>> libpng12.so.0 => /usr/lib/libpng12.so.0 (0x283ba000) >>> libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x283e1000) >>> libcurl.so.4 => /usr/lib/libcurl.so.4 (0x28405000) >>> libc.so.6 => /lib/libc.so.6 (0x28454000) >>> libz.so.1 => /lib/libz.so.1 (0x285cc000) >>> /lib/ld-linux.so.2 (0x28243000) >>> libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x285e0000) >>> libidn.so.11 => /lib/libidn.so.11 (0x285ee000) >>> libssh2.so.1 => /usr/lib/libssh2.so.1 (0x28621000) >>> libldap-2.4.so.2 => /usr/lib/libldap-2.4.so.2 (0x28643000) >>> librt.so.1 => /lib/librt.so.1 (0x28685000) >>> libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x2868f000) >>> libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x286bd000) >>> libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x2875c000) >>> libcom_err.so.2 => /lib/libcom_err.so.2 (0x28782000) >>> libssl3.so => /lib/libssl3.so (0x28785000) >>> libsmime3.so => /lib/libsmime3.so (0x287b6000) >>> libnss3.so => /lib/libnss3.so (0x287dd000) >>> libplds4.so => /lib/libplds4.so (0x28905000) >>> libplc4.so => /lib/libplc4.so (0x28909000) >>> libnspr4.so => /lib/libnspr4.so (0x2890f000) >>> libpthread.so.0 => /lib/libpthread.so.0 (0x28949000) >>> libssl.so.7 => /lib/libssl.so.7 (0x28963000) >>> libcrypto.so.7 => /lib/libcrypto.so.7 (0x289ae000) >>> liblber-2.4.so.2 => /usr/lib/liblber-2.4.so.2 (0x28b02000) >>> libresolv.so.2 => /lib/libresolv.so.2 (0x28b12000) >>> libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x28b29000) >>> libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x28b42000) >>> libkeyutils.so.1 => /lib/libkeyutils.so.1 (0x28b4c000) >>> libnssutil3.so => /lib/libnssutil3.so (0x28b4f000) >>> libcrypt.so.1 => /lib/libcrypt.so.1 (0x28b69000) >>> libselinux.so.1 => /lib/libselinux.so.1 (0x28b9c000) >>> >>> >>> Now, who else got RevServer running on OSes it was not compiled for? :-D >>> >>> Cheers >>> andre >>> PS: now, can I have a native FreeBSD engine? >>> >>> >>> -- >>> http://www.andregarzia.com All We Do Is Code. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> -- >> Pierre Sahores >> mobile : (33) 6 03 95 77 70 >> >> www.woooooooords.com >> www.sahores-conseil.com >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From andre at andregarzia.com Wed Apr 13 16:37:19 2011 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 13 Apr 2011 17:37:19 -0300 Subject: Yay! Victory RevServer runs on FreeBSD with Linux Compat installed. In-Reply-To: <11EEB653-F61D-45D0-9D73-07DC4B68226E@free.fr> References: <11EEB653-F61D-45D0-9D73-07DC4B68226E@free.fr> Message-ID: > > > > CentOS 5.6 works perfectly fine in about revserver+postgresql web driven > apps :-) > > On the other hand, i could't run such revserver+postgresql web driven apps > under OpenSuse 11.3 + PG 8.4.7 nor OpenSuse 11.4 + PG 9.0.3 for yet. Did you > went more successfully than me on this ? > Pierre, I think I got it running on OpenSuse 11.0 or something like that but if I rememeber correctly it involved installing some libraries by hand. I think Linux is quite confusing in where it install things and where it looks for things. I like how FreeBSD (and BSDs in general) have a clear view of how things are configured and installed. The ports collection is great, I don't care that it builds software from source, I care that it works and does not conflict with the rest of the system. It was easier to setup RevServer in FreeBSD than in some Linux flavors, what a crazy world... :-D BSDs Rules!!!! -- http://www.andregarzia.com All We Do Is Code. From psahores at free.fr Wed Apr 13 16:55:53 2011 From: psahores at free.fr (Pierre Sahores) Date: Wed, 13 Apr 2011 22:55:53 +0200 Subject: Yay! Victory RevServer runs on FreeBSD with Linux Compat installed. In-Reply-To: References: <11EEB653-F61D-45D0-9D73-07DC4B68226E@free.fr> Message-ID: <456F692D-2B7C-45BD-83A5-4B877CF39EEA@free.fr> Thanks for those precisions, Andre ! Seems i will not resist to test how BSD handle revserver+PG yet... Your fault ;-) Le 13 avr. 2011 ? 22:37, Andre Garzia a ?crit : > I think I got it running on OpenSuse 11.0 or something like that but if I > rememeber correctly it involved installing some libraries by hand. I think > Linux is quite confusing in where it install things and where it looks for > things. I like how FreeBSD (and BSDs in general) have a clear view of how > things are configured and installed. The ports collection is great, I don't > care that it builds software from source, I care that it works and does not > conflict with the rest of the system. It was easier to setup RevServer in > FreeBSD than in some Linux flavors, what a crazy world... -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From psahores at free.fr Wed Apr 13 16:58:44 2011 From: psahores at free.fr (Pierre Sahores) Date: Wed, 13 Apr 2011 22:58:44 +0200 Subject: Yay! Victory RevServer runs on FreeBSD with Linux Compat installed. In-Reply-To: References: <11EEB653-F61D-45D0-9D73-07DC4B68226E@free.fr> Message-ID: RevServer works OK under OpenSuse. It's the revdb.so and/or revPG.so whose don't. > I think I got it running on OpenSuse 11.0 or something like that but if I > rememeber correctly it involved installing some libraries by hand. -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From paul.foraker at gmail.com Wed Apr 13 17:01:04 2011 From: paul.foraker at gmail.com (Paul Foraker) Date: Wed, 13 Apr 2011 14:01:04 -0700 Subject: Error in Windows standalone In-Reply-To: <4DA3DDE0.9060405@hyperactivesw.com> References: <4DA3DDE0.9060405@hyperactivesw.com> Message-ID: So, if the error is in the error script, and the error is the single quotes around "Object" when they should be double quotes, how do I fix that? And, why would it work on Mac & XP, but not Win 7? I'm so foncused. However, maybe I'm doing something wrong in the specification of the place to save the preferences file. I tried using the CSIDL, which is supposedly still included in Win 7 for backward compatibility. So, I switched to "Documents". That again works on XP, but didn't work on Win 7, same error, and [new clue] no file written to the user's hard drive. Here's the possibly offending code: function actionFile pFname if the platform contains "Mac" then put specialFolderPath("Preferences") into tPath else -- windows -- put "0x000C" into myDocs put "Documents" into myDocs put specialFolderPath(myDocs) into tPath end if put "/4Spires" after tPath if there is no folder tPath then create folder tPath put "/" &pFname &".txt" after tPath return tPath end actionFile -- Paul On Mon, Apr 11, 2011 at 10:06 PM, J. Landman Gay wrote: > On 4/11/11 5:27 PM, Paul Foraker wrote: > >> I've built a little app that is generating a script error on Windows 7, >> but >> not on XP or Mac. On Win 7, the app generates this error message: >> >> Executing at 2:58:29 PM >> Type >> Object card id 1002 >> Line put 'Object'& tab& the short name of tObject& cr after >> tErrorString >> Hint preOpenCard >> > > Ignore what I just said. The error references the script that's creating > the error dialog. Talk about recursion. The error script can't create itself > because there's an error in the error script. Not sure why it's triggering > on preOpenCard, but maybe it's refering to one of LiveCode's front or > backscripts. > > I'm not sure it helps much to know that. > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From andre at andregarzia.com Wed Apr 13 17:08:06 2011 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 13 Apr 2011 18:08:06 -0300 Subject: Yay! Victory RevServer runs on FreeBSD with Linux Compat installed. In-Reply-To: References: <11EEB653-F61D-45D0-9D73-07DC4B68226E@free.fr> Message-ID: give me a couple days, I will install pg here and try it out... I have mysql installed but so far no testing done because I can't believe it will actually work and am afraid that my beliefs will again be shattered (I thought that linux compat would never work) On Wed, Apr 13, 2011 at 5:58 PM, Pierre Sahores wrote: > RevServer works OK under OpenSuse. It's the revdb.so and/or revPG.so whose > don't. > > > I think I got it running on OpenSuse 11.0 or something like that but if I > > rememeber correctly it involved installing some libraries by hand. > > -- > Pierre Sahores > mobile : (33) 6 03 95 77 70 > > www.woooooooords.com > www.sahores-conseil.com > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From claudi.c at fiberworld.nl Wed Apr 13 17:35:06 2011 From: claudi.c at fiberworld.nl (Claudi Cornaz) Date: Wed, 13 Apr 2011 23:35:06 +0200 Subject: Live LiveCode Code Event #17 - wrap-up In-Reply-To: References: <5D635308-BF25-4D39-825A-9A8873EB69C4@economy-x-talk.com> Message-ID: <6A927BD4-BEDF-4F33-A93F-DC4B126D0D7A@fiberworld.nl> Hi kay, Glad to see more and more people are playing/discovering the arduino. It's the new lego. I am glad you liked the presentation and I certainly will do a follow up. I still have a lot more to say and show. Heck, I hardly scratched the surface. > WITH REFERENCE TO CLAUDI's 'MUST DOs' > > I do not need to disconnect the Arduino after uploading a sketch. I guess it depends on the particular serial driver. The UNO uses a new chip for the serial/usb connection so that might explain the difference. I haven't yet tryed it with the mini pro which connects via a seperate usb/serial board and uses another driver. I will test it, altough I have set it up for wireless communication with the xbee modules. If anyone is interested how to get the xBee's to work, let me know. It took me quiete a while and a lot of frustration to get the right information. All I found where instruction for the old firmware and just wouldn't work. Once I had the right info and installed a app on a windows computer I could configure the xbee's and now it's realy simple to work with these wireless modules. > My first 'read' is not 'for 1 line' but I use what I got from Sarah's > Serial Test stack, 'read from driver tDriverName until CRLF' and to > that I added 'in 1 ticks'. This seems to prevent LiveCode from hanging > on the first call. That's basicly the same, just make sure the arduino sends a CRLF. In my scetches I just send a 'A' char and a CR after recieving the first char, thats why I read for 1 line. I guess it can be anything as long as the amount is fixed, so it could also be for 1 char etc. After that first "read for" I guess something in the driver routines of livecode get's set correctly, so afterwards it's ok to read until empty. > Basically LiveCode is EXTREMELY susceptible to timing issues and there > is a NEED to include a 'wait' command in your LiveCode loop. My code setup is a bit different. I always try to avoid a continues loop in my livecode code :-) I know and set the samplerate with which the arduino samples and sends the sensor values. Exept for that first "A" & cr I send to establish contact between the arduino and livecode, everything I send from the arduino to livecode or the other way around has a start char "<" next a command-char, which can be any char but each char stands for a certain command, followed by the 'parameters' or 'values' for the command (comma separated) and ending with a end char ">". Everything between "<" and ">" belangs to the same dataframe. (like "" I might send a couple of dataframes from the arduino in one go, but the sensor samples are always spaced out in the same rythm, the samplerate. I might send a sensor dataframe and one or more command dataframes in one go, but the dataframes of the sensors are always the samplerate spaced apart. (1, 2 or 5 millisecs) After succesfuly opening the driver I call a routine which reads the driver until empty and returns complete 'dataframes' keeping the beginning of the next dataframe if it's there already, which isn't completly recieved yet in a local var. This 'saved' partial dataframe will be put in front of the next read. This routine calls itself in the same rythm as the samplerate of the arduino. This way I keep things in sync and I can still drag the stack window around and have a responsive userinterface, so I can click on btns or do other things. Even if I recieve a couple of these dataframes at a time (due to a delay in reading, cause I moved the window around etc.) I know their original timing because each sensor dataframe is exactly the arduino samplerate appart. This way I can do reliable calculations of the recieved sensor values with regard to time. This means I don't need a tight loop to recieve the sensor values and thus I don't need to experiment with wait in time statements. I now send dataframes like "" every millisec to livecode without any problems. I would certainly love to have to higher baudrate working. At a certain moment that will be the bottleneck. You just can't push more data over to livecode as the serial connection will permit. Currently I just finished the hardware setup with a arduino mini with a BMA180 accellerometer and a ITG 3200 gyro attached to the mini. The arduino mini is also connected to a xbee module to do wirreless communication with livecode. I also connected a logger shield to the mini so I can record the accelero and gyro samples on a SD card. So I can walk - run or skate and then analyse/visualyse all the data in livecode. This whole setup has the size of a rather small remote control. A 5way switch and a RGB led are also connected so I can set different filters and sesitivity's for the sensors and also to change the samplerate while in the field. (the RGB led is the UI. Green means I am now in the sensitivity menu and the number of blinks will be the number of the choice. Very primitive but also very small. Blue will be another menu etc.) I have now to write the code for this and also the code to translate acceleration to speed and then to distance. I hope to make my next presentation about this project. I hope this helped you. You made me curious what youre gonna do with all those 70 digital I/Os. It sure sounds intruiging. Best wishes, Claudi From jacque at hyperactivesw.com Wed Apr 13 18:28:09 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 13 Apr 2011 17:28:09 -0500 Subject: Error in Windows standalone In-Reply-To: References: <4DA3DDE0.9060405@hyperactivesw.com> Message-ID: <4DA62379.2090407@hyperactivesw.com> On 4/13/11 4:01 PM, Paul Foraker wrote: > So, if the error is in the error script, and the error is the single quotes > around "Object" when they should be double quotes, how do I fix that? And, > why would it work on Mac& XP, but not Win 7? I'm so foncused. In the original LiveCode script, it's in double quotes. I don't think that's the issue. I didn't crawl through all the code in there, but it's likely the double quotes are being replaced by single quotes later on for some reason. > > However, maybe I'm doing something wrong in the specification of the place > to save the preferences file. The function looks okay to me and the paths are right. Try logging the result after the folder creation and see if you can find a problem there. Or you could wrap the folder creation in a "try" statement, and log any errors. That would bypass the engine's error report. I'm still thinking there's a permissions problem somewhere, and that's why the script is causing an error. It also looks like a bug in LiveCode's error reporting for some reason. Does your user get the same error if there is already a folder created in the desired location? If not, that would at least give a clue that the problem is connected with creating the folder. Is the user running under an admin account? If not, does it work if they log in and run it as admin? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jmyepes at mac.com Wed Apr 13 18:47:17 2011 From: jmyepes at mac.com (JosepM) Date: Wed, 13 Apr 2011 15:47:17 -0700 (PDT) Subject: [ANN] 3D Carousel Menu for LiveCode In-Reply-To: <1302670442315-3446273.post@n4.nabble.com> References: <1302670442315-3446273.post@n4.nabble.com> Message-ID: <1302734837991-3448409.post@n4.nabble.com> Very cool Scott! Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-3D-Carousel-Menu-for-LiveCode-tp3446273p3448409.html Sent from the Revolution - User mailing list archive at Nabble.com. From jmyepes at mac.com Wed Apr 13 18:53:33 2011 From: jmyepes at mac.com (JosepM) Date: Wed, 13 Apr 2011 15:53:33 -0700 (PDT) Subject: Differences between Mac chars and Win chars Message-ID: <1302735213916-3448415.post@n4.nabble.com> Hi, I have a problem with a encriptation results from Mac and from Win. The same word, for example "demo" have different results. Why? Any idea? Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Differences-between-Mac-chars-and-Win-chars-tp3448415p3448415.html Sent from the Revolution - User mailing list archive at Nabble.com. From anthonyhowe at mac.com Wed Apr 13 18:59:46 2011 From: anthonyhowe at mac.com (Anthony Howe) Date: Thu, 14 Apr 2011 08:59:46 +1000 Subject: Custom control performance with a backgroundPattern Message-ID: <368C522C-27E0-44CB-9D53-44ECB4120BDA@mac.com> Hiya Gang, scenario: stack at 1024 x 768 with a number of cards. cards contain a number of custom controls for user. (multimedia app) when using a 1024 x 768 imported background image file (around 800k... pre-optimised) as the 'backgroundPattern' for the stack / card, all the custom controls are sluggish at best, sometimes, disfunctional. when using the SAME image simply placed on the card in question at layer 1 or 'back' everything works fine. Current workaround is to insert the background image as the image of a BUTTON into the global nav grp that I have, which simply gets displayed on each required screen, without creating multiple instances of the large background image data. The problem does NOT occur when SMALLER graphics are loaded as the backgroundPattern on the card / stack. Also had the alwaysbuffer set to true of the image... I'm guessing there's some weird memory management stuff going on with teh BackgroundPattern function and the larger file? Thoughts? From m.schonewille at economy-x-talk.com Wed Apr 13 19:04:42 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 14 Apr 2011 01:04:42 +0200 Subject: Differences between Mac chars and Win chars In-Reply-To: <1302735213916-3448415.post@n4.nabble.com> References: <1302735213916-3448415.post@n4.nabble.com> Message-ID: <01F16E66-288A-4CD6-84AE-E3F9797B9D7F@economy-x-talk.com> Huh? Sorry, without more details, it is impossible to answer your question, Josep. It might have to do with unicode, iso/mac conversion, incorrect use of encryption routines, or even a simple scripting error. Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 14-apr-2011, om 0:53 heeft JosepM het volgende geschreven: > Hi, > > I have a problem with a encriptation results from Mac and from Win. > The same word, for example "demo" have different results. > > Why? Any idea? > > > Salut, > Josep From livfoss at mac.com Wed Apr 13 19:10:46 2011 From: livfoss at mac.com (Graham Samuel) Date: Thu, 14 Apr 2011 01:10:46 +0200 Subject: When Export Snapshot doesn't work Message-ID: I'm using 'export snapshot' and finding stuff that doesn't seem to be in the docs, nor did an archive search turn up anything. However I can never rule out finger trouble on my part. Can anyone confirm the following: 1. You can't export a snapshot from a card in a substack which isn't open - you have to 'go to' the stack first to activate it. The thing you're snapshotting can be off the screen, though (with a loc like 10000,10000). 2. If the rect you specify for the snapshot is not actually within the image you're snapshotting, the export fails silently. Neither 'the result' nor 'it' seem to report any problems, but the file is not created. 3. There is no report if a file is overwritten by an export snapshot - instead you have to check that the file path is unique by using 'exists' separately. Or maybe this is a consequence of using URL "binfile:... As usual, grateful thanks for any light shed or assumptions corrected Graham From runrevplanet at smpcs.server101.com Wed Apr 13 19:35:32 2011 From: runrevplanet at smpcs.server101.com (Scott McDonald) Date: Wed, 13 Apr 2011 16:35:32 -0700 (PDT) Subject: [ANN] 3D Carousel Menu for LiveCode In-Reply-To: References: <1302670442315-3446273.post@n4.nabble.com> Message-ID: <1302737732172-3448468.post@n4.nabble.com> >Did you do anything special to optimize performance >on mobile Scott, Performance on the mobile platform is much lower when compared to the desktop. While making it I haven't unearthed any special tricks to make it especially fast on iOS, but to keep respectable performance with it you can: a. keep the source images small. b. decrease the number of intermediate steps the animation uses for the rotation. (rrpC3dSetStepCount) c. turn off the reflections, if necessary. (rrpC3dSetReflection) In addition to these techniques, the rrpC3dSetAnimationQuality command allows you to optimise for speed by reducing the amount of processing that occurs on the object layers, at the expense of accuracy of the 3D effect during the rotation. I plan to put a video on the RunRevPlanet YouTube channel showing it running on actual iOS hardware in the coming days. ----- -- Scott McDonald "Components, Controls, Tools and Resources for LiveCode" www.runrevplanet.com -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-3D-Carousel-Menu-for-LiveCode-tp3446273p3448468.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Wed Apr 13 20:51:53 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 13 Apr 2011 17:51:53 -0700 Subject: Error in Windows standalone In-Reply-To: <4DA62379.2090407@hyperactivesw.com> References: <4DA3DDE0.9060405@hyperactivesw.com> <4DA62379.2090407@hyperactivesw.com> Message-ID: <1341920230281.20110413175153@ahsoftware.net> Jacque- Wednesday, April 13, 2011, 3:28:09 PM, you wrote: > The function looks okay to me and the paths are right. Try logging the > result after the folder creation and see if you can find a problem > there. Or you could wrap the folder creation in a "try" statement, and > log any errors. That would bypass the engine's error report. ...or you could wait a couple of weeks for an announcement... -- -Mark Wieder mwieder at ahsoftware.net From m.schonewille at economy-x-talk.com Wed Apr 13 21:21:36 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 14 Apr 2011 03:21:36 +0200 Subject: When Export Snapshot doesn't work In-Reply-To: References: Message-ID: Hi Graham, I can confirm all, but I have to say that 2 and 3 are logical and expected. I wouldn't this to be different. I can imagine that 1 is a little annoying and it would definitely be helpful to be able to import snapshots from closed stacks. I can add a fourth problem: import snapshot doesn't support multiple monitors, which means you can't create a screenshot of (a part of) your secondary monitor. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 14 apr 2011, at 01:10, Graham Samuel wrote: > I'm using 'export snapshot' and finding stuff that doesn't seem to be in the docs, nor did an archive search turn up anything. However I can never rule out finger trouble on my part. > > Can anyone confirm the following: > > 1. You can't export a snapshot from a card in a substack which isn't open - you have to 'go to' the stack first to activate it. The thing you're snapshotting can be off the screen, though (with a loc like 10000,10000). > > 2. If the rect you specify for the snapshot is not actually within the image you're snapshotting, the export fails silently. Neither 'the result' nor 'it' seem to report any problems, but the file is not created. > > 3. There is no report if a file is overwritten by an export snapshot - instead you have to check that the file path is unique by using 'exists' separately. Or maybe this is a consequence of using URL "binfile:... > > As usual, grateful thanks for any light shed or assumptions corrected > > Graham From lan.kc.macmail at gmail.com Wed Apr 13 21:23:55 2011 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 14 Apr 2011 09:23:55 +0800 Subject: Live LiveCode Code Event #17 - wrap-up In-Reply-To: <6A927BD4-BEDF-4F33-A93F-DC4B126D0D7A@fiberworld.nl> References: <5D635308-BF25-4D39-825A-9A8873EB69C4@economy-x-talk.com> <6A927BD4-BEDF-4F33-A93F-DC4B126D0D7A@fiberworld.nl> Message-ID: Hi Claudi, I wrote: Basically LiveCode is EXTREMELY susceptible to timing issues and there is a > NEED to include a 'wait' command in your LiveCode loop. > You responded: My code setup is a bit different. I always try to avoid a continues loop in > my livecode code :-) I know and set the samplerate with which the arduino > samples and sends the sensor values. > and: [my LiveCode] routine calls itself in the same rythm as the samplerate of > the arduino. This way I keep things in sync and I can still drag the stack > window around and have a responsive user interface, so I can click on btns > or do other things. > Which I believe is confirming the the first part of my statement, that LiveCode + Arduino is EXTREMELY susceptible to timing issues. My statement then needs to be amended to read: If you use a repeat loop you NEED to include a 'wait' command, if you don't use a repeat loop you need to ENSURE the sample rate of your LiveCode matches the sample rate of your Arduino sketch. My guess is that when you were experiencing lack of user interface responsiveness the cpu activity was probably up around 100%. I've discovered that when tinkering with LiveCode + Arduino, having Activity Monitor open as well can be very revealing. Looking forward to your next Live LiveCode presentation. From stephenREVOLUTION2 at barncard.com Wed Apr 13 21:36:56 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 13 Apr 2011 18:36:56 -0700 Subject: Live LiveCode Code Event #17 - wrap-up In-Reply-To: References: <5D635308-BF25-4D39-825A-9A8873EB69C4@economy-x-talk.com> <6A927BD4-BEDF-4F33-A93F-DC4B126D0D7A@fiberworld.nl> Message-ID: Let us remember that Serial port and handshaking stuff is tricky and a black art to make work perfectly in any situation, but especially at rates higher than 2400 baud. We are so used to the speedy, asynchronous world of TCP packets that interfacing with this archaic method can be quite frustrating. I'm not sure it's Livecode's fault. Serial interfacing has always been this way. I cannot remember a single time in my last 32 years when interfacing computers and serial hasn't been some kind of struggle, requiring rewiring cables and timing loops to make it work right. Especially troublesome over runs longer than 10ft, unless you balance it 422 style. On 13 April 2011 18:23, Kay C Lan wrote: > Hi Claudi, > > I wrote: > > Basically LiveCode is EXTREMELY susceptible to timing issues and there is a > > NEED to include a 'wait' command in your LiveCode loop. > > > > You responded: > > My code setup is a bit different. I always try to avoid a continues loop in > > my livecode code :-) I know and set the samplerate with which the arduino > > samples and sends the sensor values. > > > > and: > > [my LiveCode] routine calls itself in the same rythm as the samplerate of > > the arduino. This way I keep things in sync and I can still drag the > stack > > window around and have a responsive user interface, so I can click on > btns > > or do other things. > > > > Which I believe is confirming the the first part of my statement, that > LiveCode + Arduino is EXTREMELY susceptible to timing issues. My statement > then needs to be amended to read: > > If you use a repeat loop you NEED to include a 'wait' command, if you don't > use a repeat loop you need to ENSURE the sample rate of your LiveCode > matches the sample rate of your Arduino sketch. > > My guess is that when you were experiencing lack of user interface > responsiveness the cpu activity was probably up around 100%. I've > discovered > that when tinkering with LiveCode + Arduino, having Activity Monitor open > as > well can be very revealing. > > Looking forward to your next Live LiveCode presentation. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From ambassador at fourthworld.com Wed Apr 13 22:22:43 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 13 Apr 2011 19:22:43 -0700 Subject: When Export Snapshot doesn't work In-Reply-To: References: Message-ID: <4DA65A73.5040301@fourthworld.com> Graham Samuel wrote: > I'm using 'export snapshot' and finding stuff that doesn't seem to > be in the docs, nor did an archive search turn up anything. However > I can never rule out finger trouble on my part. > > Can anyone confirm the following: > > 1. You can't export a snapshot from a card in a substack which > isn't open - you have to 'go to' the stack first to activate it. > The thing you're snapshotting can be off the screen, though (with > a loc like 10000,10000). I think the rest of what you wrote is true, but as of v2.7 and later you can now export snapshots of any object, whether in an open stack or not. The key is to use an object reference rather than specifying a rect. With a rect it just grabs the specified portion of the screen buffer, but when specifying an object it triggers LC's internal routines to render the object into an internal buffer which then becomes the exported image data. The syntax I just verified this with is: export snapshot from cd 3 of stack "SomeUnopenedStack" \ to file "dsfdfgd.png" as png AFAIK the only thing that doesn't render properly when exporting an unopened card is the text in backround fields which have their sharedText set to false; those are set up from the internal record when a stack is opened, separate from the routine that images them, so such screen shots will likely show only the text from the first card (at least that's what I see here). But it looks like everything else renders well, very handy for thumbnailing cards and stuff like that. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From kee at kagi.com Wed Apr 13 22:45:13 2011 From: kee at kagi.com (Kee Nethery) Date: Wed, 13 Apr 2011 19:45:13 -0700 Subject: Differences between Mac chars and Win chars In-Reply-To: <1302735213916-3448415.post@n4.nabble.com> References: <1302735213916-3448415.post@n4.nabble.com> Message-ID: <986B69AD-1EBB-4090-881A-EEEDB001B5CC@kagi.com> Posting the code and the results might be useful. Doing a character by character comparison with chartonum() might also be a useful debugging tool. With almost zero data to back up this conjecture, perhaps you are running into big-endian and little-endian issues? Or perhaps you are running into the situation where "return" on Windows is two chars, "return" on a Mac is one (and depending upon the OS version is either numtochar(10) or numtochar(13)? or both? Kee "shooting in the dark" Nethery On Apr 13, 2011, at 3:53 PM, JosepM wrote: > Hi, > > I have a problem with a encriptation results from Mac and from Win. > The same word, for example "demo" have different results. > > Why? Any idea? > > > Salut, > Josep > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Differences-between-Mac-chars-and-Win-chars-tp3448415p3448415.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 ------------------------------------------------- I check email roughly 2 to 3 times per day. Kagi main office: +1 (510) 550-1336 From bvlahos at mac.com Thu Apr 14 01:33:31 2011 From: bvlahos at mac.com (Bill Vlahos) Date: Wed, 13 Apr 2011 22:33:31 -0700 Subject: Differences between Mac chars and Win chars In-Reply-To: <1302735213916-3448415.post@n4.nabble.com> References: <1302735213916-3448415.post@n4.nabble.com> Message-ID: <50E4DE19-B964-48C6-8F58-8CDEFFE5B9BF@mac.com> Josep, Do you have a sample script that you are using? This isn't enough information. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Apr 13, 2011, at 3:53 PM, JosepM wrote: > Hi, > > I have a problem with a encriptation results from Mac and from Win. > The same word, for example "demo" have different results. > > Why? Any idea? > > > Salut, > Josep > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Differences-between-Mac-chars-and-Win-chars-tp3448415p3448415.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 niconiko at gmail.com Thu Apr 14 01:41:21 2011 From: niconiko at gmail.com (Nicolas Cueto) Date: Thu, 14 Apr 2011 14:41:21 +0900 Subject: player object and large video Message-ID: Hello, I'm moving a stack from the development stage to standalone. For both Win and Web. The stack contains a player object, which refers to a large (55Mb) MPEG-4 video that is online on my onrev account. Some odd things, though. When opening the stack, the screen shows only the frame/outline of the stack. After many seconds and the video seems to have begun loading, only then does the screen become fully drawn. The web version takes longer than the standalone. Further, the video loops. The stack uses "set the playSelection of player x to true" to play the video in sections. And that selection is what is getting looped. But, in the LC IDE, the looping property of the player shows "false". I'll try including an explicit "set looping to false" in the card script. But don't think that'll work. Thanks as always. -- Nicolas Cueto From paul.foraker at gmail.com Thu Apr 14 04:02:57 2011 From: paul.foraker at gmail.com (Paul Foraker) Date: Thu, 14 Apr 2011 01:02:57 -0700 Subject: Error in Windows standalone In-Reply-To: <4DA62379.2090407@hyperactivesw.com> References: <4DA3DDE0.9060405@hyperactivesw.com> <4DA62379.2090407@hyperactivesw.com> Message-ID: On Wed, Apr 13, 2011 at 3:28 PM, J. Landman Gay wrote: > I'm still thinking there's a permissions problem somewhere, and that's why > the script is causing an error. It also looks like a bug in LiveCode's error > reporting for some reason. My user ran a search for the file name and got no hits. I asked him to look in My Documents for the folder and it was there, and the file was inside it. Expletive. So, it's not a permissions problem. I'm writing to that file just fine. So, now I'm thinking it must be in the code accessing the MySQL database. Again, works fine on Mac and XP, just not on his Win 7. Since launching the little app is taking up to a minute, I'd guess that the code accessing the database is choking. I'll add a log handler to see what's coming back. I suppose there's also the possibility that there's a problem with his network or firewall. I'll see if I can borrow a Win 7 machine. Thanks for thinking about this, -- Paul From livfoss at mac.com Thu Apr 14 04:31:13 2011 From: livfoss at mac.com (Graham Samuel) Date: Thu, 14 Apr 2011 10:31:13 +0200 Subject: When Export Snapshot doesn't work Message-ID: <82977D11-555B-428D-ABD8-065E0A58437E@mac.com> Mark, thanks for the reply, but I'm amazed that you are happy with the idea of silent failure of **any** operation. The thing is, I'm using 'snapshot' to create the output of my app (it's a portion of a bitmap that's been chosen by my user, to simplify somewhat). If nothing appears, then I need at least to make my excuses to the user and asking him/her to try again. As it is, to detect that the operation has failed means means more code. Maybe I should be using 'crop' followed by some separate file-exporting operation: then at least I'd know by conventional means if the file couldn't be written. In general, I don't yet understand how one detects failures of operations based on URLs. But I'm a newbie in this respect. Graham On Thu, 14 Apr 2011 03:21:36 +0200, Mark Schonewille wrote: > > Hi Graham, > > I can confirm all, but I have to say that 2 and 3 are logical and expected. I wouldn't this to be different. I can imagine that 1 is a little annoying and it would definitely be helpful to be able to import snapshots from closed stacks. > > I can add a fourth problem: import snapshot doesn't support multiple monitors, which means you can't create a screenshot of (a part of) your secondary monitor. > > -- > Best regards, > > Mark Schonewille > From livfoss at mac.com Thu Apr 14 04:33:23 2011 From: livfoss at mac.com (Graham Samuel) Date: Thu, 14 Apr 2011 10:33:23 +0200 Subject: Where are official "Made with..." graphics for Livecode? Message-ID: <1FBF6403-BF3A-4274-A50A-10F68FFDB182@mac.com> Hi Klaus Thanks but I've seen these. They don't form a package I can use in a splash screen. I would need some text as well ("Made with...") and then I'd need an approved font or a graphic representing the approved phrase, hopefully all incorporated into a series of graphics for different kinds of display (splash screen, printed media etc.). I'll just cobble something together but I'm surprised that LiveCode doesn't want to get developers to add discreetly to their branding. Frankly it's less likely that the press will want to do this, so some graphics for developers would be welcome. Or maybe nobody else thinks so. Or maybe I haven't waited long enough for the mother ship to react (I'm a Digest reader). Cheers Graham On Wed, 13 Apr 2011 19:24:51 +0200, Klaus on-rev wrote: > > > Hi Graham, > >> A quick search revealed nothing, but there must be some resources other than the ones on the RunRev Media Resources page (they don't look like they are intended to adorn an app, as such). Basically I want to put an up-to-date "Made with LiveCode by Runtime Revolution" in some approved and attractive format on a splash screen. Sorry if I missed it in the docs. >> >> Can anyone point me in the right direction? > > here are some hi-res LC graphics, maybe that helps? > > >> TIA >> >> Graham > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com From john.allijn at alice.nl Thu Apr 14 04:58:32 2011 From: john.allijn at alice.nl (John Allijn) Date: Thu, 14 Apr 2011 10:58:32 +0200 Subject: Substack Confusion References: <3061BF1E-72C7-4B03-8FB6-D1B761C43775@me.com> Message-ID: <6920ECC8-1A54-4CA2-BF6D-96C875A0EAB7@alice.nl> Hello, I'm having some trouble with a substack. I created a mainstack (used as splash-screen) and a substack containing data. (mac+win deployment) After some trial and error I got this working, but I made the 'mistake' of trying to update some of the code in the substack. These changes work when I open my substack in livecode directly, but the previous version of my substack is being launched after a "go to stack data_stack" from within the mainstack. I deleted the link of the stack in the Standalone-preferences and added it again, but now I can't jump to the substack all together. What is the correct way to use a mainstack/substack combination and what is the best way to update either one of them if needed? thanks!! John From m.schonewille at economy-x-talk.com Thu Apr 14 05:16:57 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 14 Apr 2011 11:16:57 +0200 Subject: When Export Snapshot doesn't work In-Reply-To: <82977D11-555B-428D-ABD8-065E0A58437E@mac.com> References: <82977D11-555B-428D-ABD8-065E0A58437E@mac.com> Message-ID: <989BCAD0-9530-4085-A480-823B1A8909B6@economy-x-talk.com> Hi Graham, You can write your own code to make sure that a file doesn't exist already. Before you export a snapshot to it, you can delete the file and check that it has been created again afterwards. You can also check "the result" and "it" for errors at certain points. I wouldn't want RunRev to show some error message by itself. I prefer to have full control over error messages and I don't think that the current ways of (silent) error reporting should be changed. You can write a script to check that the user selected an area within the target rect. If not, don't apologise for the user's mistakes but just show your custom error message. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 14 apr 2011, at 10:31, Graham Samuel wrote: > Mark, thanks for the reply, but I'm amazed that you are happy with the idea of silent failure of **any** operation. > > The thing is, I'm using 'snapshot' to create the output of my app (it's a portion of a bitmap that's been chosen by my user, to simplify somewhat). If nothing appears, then I need at least to make my excuses to the user and asking him/her to try again. As it is, to detect that the operation has failed means means more code. Maybe I should be using 'crop' followed by some separate file-exporting operation: then at least I'd know by conventional means if the file couldn't be written. In general, I don't yet understand how one detects failures of operations based on URLs. But I'm a newbie in this respect. > > Graham > From scott at tactilemedia.com Thu Apr 14 05:30:17 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 14 Apr 2011 02:30:17 -0700 Subject: Custom control performance with a backgroundPattern In-Reply-To: <368C522C-27E0-44CB-9D53-44ECB4120BDA@mac.com> Message-ID: Hi Anthony: Haven't checked it recently but there was threshold on the size of images used for backPatterns -- I think it was around 128px or 256px. Larger images would work, but as you saw, performance is poor and artifacts will often appear whenever you move something around. Usually you'll use a backPattern because you want the image/texture to tile over a large region. Using large images is fine, and your application of the image to a button as an icon will work. But don't forget that any group can be used as a background for multiple cards, and you can group single objects. So if you want an image to appear on several cards, you can group the image and place the resulting group on any card without duplicating the data of the image. Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Anthony Howe wrote: > Hiya Gang, > > scenario: > > stack at 1024 x 768 with a number of cards. > > cards contain a number of custom controls for user. (multimedia app) > > when using a 1024 x 768 imported background image file (around 800k... > pre-optimised) as the 'backgroundPattern' for the stack / card, all the custom > controls are sluggish at best, sometimes, disfunctional. > > when using the SAME image simply placed on the card in question at layer 1 or > 'back' everything works fine. > > Current workaround is to insert the background image as the image of a BUTTON > into the global nav grp that I have, which simply gets displayed on each > required screen, without creating multiple instances of the large background > image data. > > The problem does NOT occur when SMALLER graphics are loaded as the > backgroundPattern on the card / stack. > > Also had the alwaysbuffer set to true of the image... > > I'm guessing there's some weird memory management stuff going on with teh > BackgroundPattern function and the larger file? > > Thoughts? > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Thu Apr 14 05:48:59 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 14 Apr 2011 11:48:59 +0200 Subject: Dutch Forum Message-ID: <2C4B267B-F123-46E4-8FD1-C148A3350343@economy-x-talk.com> Hi Dutch readers of this list, I noticed that there are quite a few people from the Netherlands on this list. Some of you are already registered on the Dutch LiveCode forum, others aren't yet. Sometimes, it is easier if you can write in your own language and with a little luck you get the right answer quicker than on this list. Please consider posting your questions at http://runrev.info/rrforum/ . We all look forward to reading your questions :-) If you're an experienced LiveCode user, then your help answering questions is also highly appreciated. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce From maarten.koopmans at gmail.com Thu Apr 14 11:16:23 2011 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Thu, 14 Apr 2011 17:16:23 +0200 Subject: revCopyFile slow? In-Reply-To: References: <4DA10939.5080005@hindu.org> <1240FCF1-161B-496F-942C-5B6230F6453A@economy-x-talk.com> Message-ID: Actually, the below functions work pretty fast on Win7 (will test on OS X). Added them as a back script.... works nicely. Credit where credit is due, the fileSize function I grabbed from the mailing list (weird that such a thing is not readily available....) function fileSize pFilePath -- split the file path into the folder and url-encoded file name local tFolder, tEncodedFile set the itemDelimiter to slash put item 1 to -2 of pFilePath into tFolder put urlEncode(item -1 of pFilePath) into tEncodedFile set the itemDelimiter to comma -- now change the defaultfolder and get the detailed files information local tOldDefaultFolder, tDetailedFiles put the defaultFolder into tOldDefaultFolder set the defaultFolder to tFolder put the detailed files into tDetailedFiles set the defaultFolder to tOldDefaultFolder -- filter down the list to just the file we're interested in filter tDetailedFiles with (tEncodedFile & ",*") return (item 2 of tDetailedFiles + item 3 of tDetailedFiles) end FileSize on copyFile source,destination --revCopyFile source,destination put fileSize(source) into theSize open file source for binary read open file destination for binary write put 16384 into buflen repeat until theSize is 0 if theSize >16384 then put 16384 into buflen read from file source for buflen write it to file destination subtract buflen from theSize put theSize into buflen end repeat close file source close file destination end copyFile On Sun, Apr 10, 2011 at 4:57 PM, Mike Bonner wrote: > For shell windows showing look at the property hideConsoleWindows > > If you're worried about shell blocking, could do your file management stuff > as a process instead. > > Syntax: > open process appName [for [text|binary] {read | write | update | neither}] > > Haven't done much with open process myself, but can probably do what you > want that way. > > On Sun, Apr 10, 2011 at 8:49 AM, Maarten Koopmans < > maarten.koopmans at gmail.com> wrote: > > > I'll try the command shell, I hope the command window doesn't show. > > Blocking behavior is another fear ( why revCopyFile is unacceptable). > > > > Thanks for all the hints and advice everybody! > > > > --Maarten > > > > On Sunday, April 10, 2011, Jim Ault wrote: > > > On Apr 10, 2011, at 5:31 AM, Mark Schonewille wrote: > > > > > > Maarten, > > > That depends on many factors. I have been in situations where writing a > > few tens of thousands of files too hours using read/write, while using > the > > shell command took a few minutes. I have also been in situations where > > read/write was actually the preferred method. If it is about speed, > though, > > I'd go with the command line. You can do the benchmarking if it really > > matters to you. > > > > > > > > > And if you program your progress bar to show > > > movie trailers, sports highlights, or car crashes, > > > the user won't mind so much if the file writing process is slower. > > > > > > Jim Ault > > > Las Vegas > > > > > > > > > On 10 apr 2011, at 14:14, Maarten Koopmans wrote: > > > > > > > > > Really? Ever benchmarked open, read, write on files? How slow are > they? > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Apr 14 13:32:41 2011 From: livfoss at mac.com (Graham Samuel) Date: Thu, 14 Apr 2011 19:32:41 +0200 Subject: When Export Snapshot doesn't work Message-ID: Mark, thanks for staying with me. I don't suggest that LC should actually send out messages to a user when a file operation fails, but I could not detect that 'it' or 'the result' had been set when things went wrong - the LC documentation is very incomplete in this respect. I am happy to write my own code to test if the file exists already, but I had not expected to check if the file had been created, since if it hasn't this suggests some kind of system failure like wrong permissions or even physical disk errors, and if anything like that is happening I would want to be able to know more than just "file was not created". I have a Blu-ray player that sometimes says "this disc cannot be played" when you insert a movie - drives me crazy, I want to know what went wrong! As to the checking that the user has selected a valid area to snapshot, I do that - I was just curious that again the docs don't tell you that a partial snapshot will fail. I made a lot of snapshots during debugging and they never showed up because of mistakes in my coding. If I'd seen that bit of info in the docs I would have been forewarned. I will try to add a comment to the 'snapshot' entry when I have a moment. Cheers Graham On Thu, 14 Apr 2011 11:16:57 +0200, Mark Schonewille wrote: > > > Hi Graham, > > You can write your own code to make sure that a file doesn't exist already. Before you export a snapshot to it, you can delete the file and check that it has been created again afterwards. You can also check "the result" and "it" for errors at certain points. I wouldn't want RunRev to show some error message by itself. I prefer to have full control over error messages and I don't think that the current ways of (silent) error reporting should be changed. > > You can write a script to check that the user selected an area within the target rect. If not, don't apologise for the user's mistakes but just show your custom error message. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce > > On 14 apr 2011, at 10:31, Graham Samuel wrote: > >> Mark, thanks for the reply, but I'm amazed that you are happy with the idea of silent failure of **any** operation. >> >> The thing is, I'm using 'snapshot' to create the output of my app (it's a portion of a bitmap that's been chosen by my user, to simplify somewhat). If nothing appears, then I need at least to make my excuses to the user and asking him/her to try again. As it is, to detect that the operation has failed means means more code. Maybe I should be using 'crop' followed by some separate file-exporting operation: then at least I'd know by conventional means if the file couldn't be written. In general, I don't yet understand how one detects failures of operations based on URLs. But I'm a newbie in this respect. >> >> Graham > From RevList at CreaTECHSol.com Thu Apr 14 14:41:39 2011 From: RevList at CreaTECHSol.com (RevList) Date: Thu, 14 Apr 2011 11:41:39 -0700 Subject: iRev Form Question Message-ID: I have to admit that I seldom use my on-rev acoount and have just been using it to host some mailto form submissions. This has all worked well for me for a basic form submission when the form just has text entry boxes I store the entered data into the rev variable using Like this Now, I am the first to admit, I know only enough about form creation on html and On-rev to be dangerous. Now, I need to add a new selection field to my form and store that data in tSal I don't know how to do this. To create the selection list, I use Where do I put Thanks in advance for anyone who can answer this. I am under the gun to complete this project and can't find any quick reference to solve this for me. ****************************************** 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 jacque at hyperactivesw.com Thu Apr 14 15:04:06 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 14 Apr 2011 14:04:06 -0500 Subject: Where are official "Made with..." graphics for Livecode? In-Reply-To: <1FBF6403-BF3A-4274-A50A-10F68FFDB182@mac.com> References: <1FBF6403-BF3A-4274-A50A-10F68FFDB182@mac.com> Message-ID: <4DA74526.5060502@hyperactivesw.com> On 4/14/11 3:33 AM, Graham Samuel wrote: > Hi Klaus > > Thanks but I've seen these. They don't form a package I can use in a > splash screen. I would need some text as well ("Made with...") and > then I'd need an approved font or a graphic representing the > approved phrase, hopefully all incorporated into a series of graphics > for different kinds of display (splash screen, printed media etc.). The accredidation requirements have always been in the user license agreement. I haven't looked lately but I assume they are still there. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jimaultwins at yahoo.com Thu Apr 14 15:05:06 2011 From: jimaultwins at yahoo.com (Jim Ault) Date: Thu, 14 Apr 2011 12:05:06 -0700 Subject: iRev Form Question In-Reply-To: References: Message-ID: On Apr 14, 2011, at 11:41 AM, RevList wrote: > I have to admit that I seldom use my on-rev acoount and have just > been using it to host some mailto form submissions. > This has all worked well for me for a basic form submission when the > form just has text entry boxes > I store the entered data into the rev variable using VarName ?> > > Like this > > > Now, I am the first to admit, I know only enough about form creation > on html and On-rev to be dangerous. > > Now, I need to add a new selection field to my form and store that > data in tSal > > I don't know how to do this. > > To create the selection list, I use > > > Where do I put > > Thanks in advance for anyone who can answer this. I am under the > gun to complete this project and can't find any quick reference to > solve this for me. I would think you want to add another choice for the user that is the stored data value. Caution, what if tSal is empty ?? (note: HTML ignores CR chars) You could add an IF to skip in the case of empty. if tSal is not empty then put Hope this works for you. At least this should get you close to the correct solution. (not tested, but it looks OK ) Jim Ault Las Vegas From pete at mollysrevenge.com Thu Apr 14 15:08:57 2011 From: pete at mollysrevenge.com (Pete) Date: Thu, 14 Apr 2011 12:08:57 -0700 Subject: Coloring a datagrid header column Message-ID: I have a need to change the background color of the header of a specific column in a datagrid. I've figured out how to do this by setting the backgroundColor property of the Background graphic in a deeply-nested group of the datagrid but that exposes me to future changes in the datagrid structures so I'm wondering if anyone knows of a better way to do this. Thanks, Pete Molly's Revenge From brucelaidlaw at yahoo.co.uk Thu Apr 14 15:51:47 2011 From: brucelaidlaw at yahoo.co.uk (Bruce Laidlaw) Date: Thu, 14 Apr 2011 20:51:47 +0100 (BST) Subject: No subject Message-ID: <644707.88714.qm@web25004.mail.ukl.yahoo.com> http://ceradchiriqui.com/wp-content/themes/classic/www.html From bonnmike at gmail.com Thu Apr 14 16:00:42 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 14 Apr 2011 14:00:42 -0600 Subject: Hack Message-ID: Apparently my gmail was accessed from china last night. My apologies if anything was posted here. Password changed hopefully thats enough. From RevList at CreaTECHSol.com Thu Apr 14 16:05:14 2011 From: RevList at CreaTECHSol.com (RevList) Date: Thu, 14 Apr 2011 13:05:14 -0700 Subject: iRev Form Question In-Reply-To: References: Message-ID: How to use LiveCode on April-14-11 at 12:05 PM -0700 wrote: > >I would think you want to add another choice for the user that is the >stored data value. >Caution, what if tSal is empty ?? > > (note: HTML ignores CR chars) > > >You could add an IF to skip in the case of empty. > >if tSal is not empty then put > >Hope this works for you. At least this should get you close to the >correct solution. >(not tested, but it looks OK ) I take care of the conditions, and my original question was just plain dumb.\ I have it sorted out. ****************************************** 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 jacque at hyperactivesw.com Thu Apr 14 16:40:11 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 14 Apr 2011 15:40:11 -0500 Subject: Hack In-Reply-To: References: Message-ID: <4DA75BAB.30806@hyperactivesw.com> On 4/14/11 3:00 PM, Mike Bonner wrote: > Apparently my gmail was accessed from china last night. My apologies if > anything was posted here. Password changed hopefully thats enough. I've received several of the same type of emails from different people, starting yesterday. There is never a subject. The links are all different. There is never a text body. I don't think your account was hacked, I think you have a virus that is sending spam to all your email contacts. Probably you should do a scan. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Apr 14 16:46:31 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 14 Apr 2011 15:46:31 -0500 Subject: Substack Confusion In-Reply-To: <6920ECC8-1A54-4CA2-BF6D-96C875A0EAB7@alice.nl> References: <3061BF1E-72C7-4B03-8FB6-D1B761C43775@me.com> <6920ECC8-1A54-4CA2-BF6D-96C875A0EAB7@alice.nl> Message-ID: <4DA75D27.4090104@hyperactivesw.com> On 4/14/11 3:58 AM, John Allijn wrote: > Hello, > > I'm having some trouble with a substack. I created a mainstack (used > as splash-screen) and a substack containing data. (mac+win > deployment) > > After some trial and error I got this working, but I made the > 'mistake' of trying to update some of the code in the substack. These > changes work when I open my substack in livecode directly, but the > previous version of my substack is being launched after a "go to > stack data_stack" from within the mainstack. > > I deleted the link of the stack in the Standalone-preferences and > added it again, but now I can't jump to the substack all together. > > What is the correct way to use a mainstack/substack combination and > what is the best way to update either one of them if needed? I'm a little confused about your stack setup. "Substack" has a specific meaning in LiveCode, and refers to a stack that is embedded into the same file on disk as the main stack. If your stack is a separate file on disk, then it isn't really a "substack", it is a document stack or just a "stack". If your stack really is an actual, embedded substack, then it can't alter itself because it is part of a standalone, and they can't be changed after they are built. You will always see the stack in the same state in which it was originally saved when you built the standalone. If the stack is a separate file on disk, then it can be edited, modified, and saved like any other app document. Let us know how your stacks are configured and we can help. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pepetoo at cox.net Thu Apr 14 17:00:52 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Thu, 14 Apr 2011 14:00:52 -0700 Subject: Help Message-ID: <01A3A94F-7F18-47BE-9EB2-F1A7C891DD0D@cox.net> A real Senior moment: wracking my brains for something I've done many, many times - how do I get the whole number from a division? I've searched both the manual and the dictionary. Thanks, Joe Lewis Wilkins Architect & Director of Product Development for GSI From jhj at jhj.com Thu Apr 14 17:07:35 2011 From: jhj at jhj.com (Jerry J) Date: Thu, 14 Apr 2011 14:07:35 -0700 Subject: Help In-Reply-To: <01A3A94F-7F18-47BE-9EB2-F1A7C891DD0D@cox.net> References: <01A3A94F-7F18-47BE-9EB2-F1A7C891DD0D@cox.net> Message-ID: <15DF91A2-5B0F-477A-9529-DBE0DCD9B3CB@jhj.com> div? On Apr 14, 2011, at 2:00 PM, Joe Lewis Wilkins wrote: > A real Senior moment: wracking my brains for something I've done many, many times - how do I get the whole number from a division? I've searched both the manual and the dictionary. > > Thanks, > > Joe Lewis Wilkins > Architect & Director of Product Development for GSI > > > > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Thu Apr 14 17:10:24 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 14 Apr 2011 14:10:24 -0700 Subject: Help In-Reply-To: <01A3A94F-7F18-47BE-9EB2-F1A7C891DD0D@cox.net> Message-ID: Recently, Joe Lewis Wilkins wrote: > A real Senior moment: wracking my brains for something I've done many, many > times - how do I get the whole number from a division? I've searched both the > manual and the dictionary. round() or trunc() ? Regards, Scott Rossi Creative Director Tactile Media, UX Design From bobs at twft.com Thu Apr 14 17:22:03 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 14 Apr 2011 14:22:03 -0700 Subject: Hack In-Reply-To: <4DA75BAB.30806@hyperactivesw.com> References: <4DA75BAB.30806@hyperactivesw.com> Message-ID: <2452B94F-A34C-451D-A2C8-B292EB0328AA@twft.com> Actually, if I may beg to differ, what probably happened is that someone else with his address got compromised. Malicious Email spammers never use headers that indicate where the email really came from. If they did the mail could be traced back pretty quickly. If email went out as if from him, the one thing you can be almost positively certain about is that his computer was not the one compromised, or at least is not the one sending the spam. It is possible that someone in China got his Gmail credentials via a compromise on his computer and is logging into his account from China to send their spam. I find this unlikely however, because again the offending computer could be traced through the Google connection records. Dumb spammer maybe? It's possible. I did get an email from another On-Rev user with a link in the body which did not look right so I deleted it. Bob On Apr 14, 2011, at 1:40 PM, J. Landman Gay wrote: > On 4/14/11 3:00 PM, Mike Bonner wrote: >> Apparently my gmail was accessed from china last night. My apologies if >> anything was posted here. Password changed hopefully thats enough. > > I've received several of the same type of emails from different people, starting yesterday. There is never a subject. The links are all different. There is never a text body. > > I don't think your account was hacked, I think you have a virus that is sending spam to all your email contacts. Probably you should do a scan. > > -- > 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 jimaultwins at yahoo.com Thu Apr 14 17:56:47 2011 From: jimaultwins at yahoo.com (Jim Ault) Date: Thu, 14 Apr 2011 14:56:47 -0700 Subject: Help In-Reply-To: <01A3A94F-7F18-47BE-9EB2-F1A7C891DD0D@cox.net> References: <01A3A94F-7F18-47BE-9EB2-F1A7C891DD0D@cox.net> Message-ID: 3.456 div 2.6 = 1 On Apr 14, 2011, at 2:00 PM, Joe Lewis Wilkins wrote: > A real Senior moment: wracking my brains for something I've done > many, many times - how do I get the whole number from a division? > I've searched both the manual and the dictionary. Jim Ault Las Vegas From pete at mollysrevenge.com Thu Apr 14 18:29:35 2011 From: pete at mollysrevenge.com (Pete) Date: Thu, 14 Apr 2011 15:29:35 -0700 Subject: Hack In-Reply-To: <2452B94F-A34C-451D-A2C8-B292EB0328AA@twft.com> References: <4DA75BAB.30806@hyperactivesw.com> <2452B94F-A34C-451D-A2C8-B292EB0328AA@twft.com> Message-ID: Yes, I got just one suspicious email purporting to be from someone on the list. Pete Molly's Revenge On Thu, Apr 14, 2011 at 2:22 PM, Bob Sneidar wrote: > Actually, if I may beg to differ, what probably happened is that someone > else with his address got compromised. Malicious Email spammers never use > headers that indicate where the email really came from. If they did the mail > could be traced back pretty quickly. If email went out as if from him, the > one thing you can be almost positively certain about is that his computer > was not the one compromised, or at least is not the one sending the spam. > > It is possible that someone in China got his Gmail credentials via a > compromise on his computer and is logging into his account from China to > send their spam. I find this unlikely however, because again the offending > computer could be traced through the Google connection records. Dumb spammer > maybe? It's possible. > > I did get an email from another On-Rev user with a link in the body which > did not look right so I deleted it. > > Bob > > > On Apr 14, 2011, at 1:40 PM, J. Landman Gay wrote: > > > On 4/14/11 3:00 PM, Mike Bonner wrote: > >> Apparently my gmail was accessed from china last night. My apologies if > >> anything was posted here. Password changed hopefully thats enough. > > > > I've received several of the same type of emails from different people, > starting yesterday. There is never a subject. The links are all different. > There is never a text body. > > > > I don't think your account was hacked, I think you have a virus that is > sending spam to all your email contacts. Probably you should do a scan. > > > > -- > > Jacqueline Landman Gay | jacque at hyperactivesw.com > > HyperActive Software | http://www.hyperactivesw.com > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From bonnmike at gmail.com Thu Apr 14 18:48:58 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 14 Apr 2011 16:48:58 -0600 Subject: Hack In-Reply-To: References: <4DA75BAB.30806@hyperactivesw.com> <2452B94F-A34C-451D-A2C8-B292EB0328AA@twft.com> Message-ID: Different situation. On logging into google, the banner at the top said my account was accessed from china. (wasn't an email, was a google notification) on checking recent activity, there it was. Don't know if anything was actually DONE, but have changed my password and am hoping. I also saw the weird email from someone on the list but ignored it. Have since checked with most of the people on my contact list and none of them received anything. The info re: the connection is:UnknownChina (ny.adsl:115.52.242.36)3:33 am (13 hours ago) On reading a few things, my thought is that either a) it is related to the recent huge epsilon hack (of which 2 accounts I have were affected, loss of email address only though) or b) Something else entirely got me whacked, perhaps my own carelessness somewhere. Either way, the passwords they are a changin. On Thu, Apr 14, 2011 at 4:29 PM, Pete wrote: > Yes, I got just one suspicious email purporting to be from someone on the > list. > > Pete > Molly's Revenge > > > > > On Thu, Apr 14, 2011 at 2:22 PM, Bob Sneidar wrote: > > > Actually, if I may beg to differ, what probably happened is that someone > > else with his address got compromised. Malicious Email spammers never use > > headers that indicate where the email really came from. If they did the > mail > > could be traced back pretty quickly. If email went out as if from him, > the > > one thing you can be almost positively certain about is that his computer > > was not the one compromised, or at least is not the one sending the spam. > > > > It is possible that someone in China got his Gmail credentials via a > > compromise on his computer and is logging into his account from China to > > send their spam. I find this unlikely however, because again the > offending > > computer could be traced through the Google connection records. Dumb > spammer > > maybe? It's possible. > > > > I did get an email from another On-Rev user with a link in the body which > > did not look right so I deleted it. > > > > Bob > > > > > > On Apr 14, 2011, at 1:40 PM, J. Landman Gay wrote: > > > > > On 4/14/11 3:00 PM, Mike Bonner wrote: > > >> Apparently my gmail was accessed from china last night. My apologies > if > > >> anything was posted here. Password changed hopefully thats enough. > > > > > > I've received several of the same type of emails from different people, > > starting yesterday. There is never a subject. The links are all > different. > > There is never a text body. > > > > > > I don't think your account was hacked, I think you have a virus that is > > sending spam to all your email contacts. Probably you should do a scan. > > > > > > -- > > > Jacqueline Landman Gay | jacque at hyperactivesw.com > > > HyperActive Software | http://www.hyperactivesw.com > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobs at twft.com Thu Apr 14 19:11:48 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 14 Apr 2011 16:11:48 -0700 Subject: Hack In-Reply-To: References: <4DA75BAB.30806@hyperactivesw.com> <2452B94F-A34C-451D-A2C8-B292EB0328AA@twft.com> Message-ID: <6AE08CD8-60B4-4755-9035-BC26A3C65B90@twft.com> Well if it helps, I advise people to have 3 sets of credentials: 1) Local computer logins (local area networking, user login etc.) 2) Internet logins for things that cannot hurt you (mailing lists, software vendor accounts, insurance etc.) and 3) Internet logins that CAN hurt you (email because someone may send you passwords or software serial numbers, banking, Paypal etc.) Under no circumstances use one set of credentials for either of the others. Bob On Apr 14, 2011, at 3:48 PM, Mike Bonner wrote: > Different situation. On logging into google, the banner at the top said my > account was accessed from china. (wasn't an email, was a google > notification) > on checking recent activity, there it was. Don't know if anything was > actually DONE, but have changed my password and am hoping. > > I also saw the weird email from someone on the list but ignored it. Have > since checked with most of the people on my contact list and none of them > received anything. > > The info re: the connection is:UnknownChina (ny.adsl:115.52.242.36)3:33 am > (13 hours ago) > On reading a few things, my thought is that either a) it is related to the > recent huge epsilon hack (of which 2 accounts I have were affected, loss of > email address only though) or b) Something else entirely got me whacked, > perhaps my own carelessness somewhere. Either way, the passwords they are a > changin. From bonnmike at gmail.com Thu Apr 14 19:19:51 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 14 Apr 2011 17:19:51 -0600 Subject: Hack In-Reply-To: <6AE08CD8-60B4-4755-9035-BC26A3C65B90@twft.com> References: <4DA75BAB.30806@hyperactivesw.com> <2452B94F-A34C-451D-A2C8-B292EB0328AA@twft.com> <6AE08CD8-60B4-4755-9035-BC26A3C65B90@twft.com> Message-ID: Definately moving that direction. May be fortunate this time. Doesn't look like any spams sent, caught it pretty quick, and adjustments made pretty quick. Thx for the advice. Going to keep trying to figure out where I messed up because like most things of this nature, self inflicted carelessness is the most likely cause. On Thu, Apr 14, 2011 at 5:11 PM, Bob Sneidar wrote: > Well if it helps, I advise people to have 3 sets of credentials: 1) Local > computer logins (local area networking, user login etc.) 2) Internet logins > for things that cannot hurt you (mailing lists, software vendor accounts, > insurance etc.) and 3) Internet logins that CAN hurt you (email because > someone may send you passwords or software serial numbers, banking, Paypal > etc.) > > Under no circumstances use one set of credentials for either of the others. > > Bob > > > On Apr 14, 2011, at 3:48 PM, Mike Bonner wrote: > > > Different situation. On logging into google, the banner at the top said > my > > account was accessed from china. (wasn't an email, was a google > > notification) > > on checking recent activity, there it was. Don't know if anything was > > actually DONE, but have changed my password and am hoping. > > > > I also saw the weird email from someone on the list but ignored it. Have > > since checked with most of the people on my contact list and none of them > > received anything. > > > > The info re: the connection is:UnknownChina (ny.adsl:115.52.242.36)3:33 > am > > (13 hours ago) > > On reading a few things, my thought is that either a) it is related to > the > > recent huge epsilon hack (of which 2 accounts I have were affected, loss > of > > email address only though) or b) Something else entirely got me whacked, > > perhaps my own carelessness somewhere. Either way, the passwords they are > a > > changin. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bvg at mac.com Thu Apr 14 19:29:21 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 15 Apr 2011 01:29:21 +0200 Subject: Live LiveCode code event #19 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> Message-ID: Hello creepy, silent watchers Here's your nineteenth chance to watch silently, you creeps. If you are not a creep, please contact me or mark to make a presentation on your own! Andre Garzia (Superstar) is here with his first appearance, showing "RevSpark - a minimalist framework for building web services and APIs". http://blog.livecode.tv/andre/ In addition, Andreas Rozek will present his "iPhone Control Kit". It contains a collection of LiveCode objects which emulate the look and feel of various native iPhone controls. He will demonstrate these objects and also describe how to use them. http://blog.livecode.tv/andreas/ Join the event on ChatRev at these times, this Saturday: Brussels 20:00 New York 15:00 Los Angeles 12:00 Melbourne 06:00 (Sun) To attend, simply join ChatRev. Get it here: http://bjoernke.com/chatrev/ or enter in the message box: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" For recordings of past events, visit the blog: http://livecode.tv/ Cheers Bjoernke PS: the wrap up and recording of event 18 is postponed slightly, because Jim is a scrupulous perfectionist, and is re-recording the whole thing O_o From livecode.list at gmail.com Thu Apr 14 22:30:23 2011 From: livecode.list at gmail.com (Chip Thomas) Date: Thu, 14 Apr 2011 19:30:23 -0700 Subject: Rev/Livecode project and GPL Licenses In-Reply-To: <4DA4F033.70903@fourthworld.com> References: <4DA4F033.70903@fourthworld.com> Message-ID: This might give you some ideas http://qery.us/pb Thanks! In which way is your project going to be delivered to your customers? Is your project going to be distributed commercially? Our project with be delivered via download, and it will be distributed commercially. Do you have a project you're thinking of deploying under the GPL? If so, what are you goals in doing so? We are not GPL?ing a project, we are checking into distributing commercial software along with a code library that is GPL- if it?s possible without violating the GPL license. On Tue, Apr 12, 2011 at 5:37 PM, Richard Gaskin wrote: > Chip Thomas wrote: > > I am wondering if anyone on this list has shipped a Rev/Livecode project >> that communicated with a code library released under the GPL license, and >> if >> so, your reasons for making your LiveCode project GPL or non-GPL. >> >> >> The GPL license is clear that it is possible to have closed-source >> commercial code work with GPL licensed code in a way that does not violate >> the terms of the GPL license, the only thing is, it does not make the >> parameters altogether clear, to me anyway. >> > > Volumes have been written about the GPL and FOSS in general. Big topic, > with many implications. > > Do you have a project you're thinking of deploying under the GPL? > If so, what are you goals in doing so? > > GPL can be a great option if it's what you need, but there are so many > licenses available, and of course the creator of a work can define any terms > he chooses, so it can be difficult to offer any brief recommendation one way > or another without some details. > > While looking at different licensing options a few months ago for a project > I'd considered possibly GPL'ing, I came across one tip that may be useful: > > It's easier to convert proprietary code to GPL than the other way around, > so if you have any questions about whether to use GPL it may be prudent to > consider more closed terms at first until those questions are answered. You > can always change it later. > > -- > 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 paul.foraker at gmail.com Thu Apr 14 23:13:52 2011 From: paul.foraker at gmail.com (Paul Foraker) Date: Thu, 14 Apr 2011 20:13:52 -0700 Subject: Not a valid 32 bit application? Message-ID: I've got a customer trying to install the RunRev plugin and getting the error message that the installer is not a valid 32 bit application. I've written to ask what OS he's running, but haven't heard back yet. Known problem? Workaround? -- Paul From coiin at verizon.net Thu Apr 14 23:46:35 2011 From: coiin at verizon.net (Colin Holgate) Date: Thu, 14 Apr 2011 23:46:35 -0400 Subject: Live LiveCode code event #19 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> Message-ID: On Apr 14, 2011, at 7:29 PM, Bj?rnke von Gierke wrote: > Join the event on ChatRev at these times, this Saturday: > Brussels 20:00 > New York 15:00 > Los Angeles 12:00 > Melbourne 06:00 (Sun) If your time is correct for Brussels, it's wrong for all of the others. Look at this handy page: http://www.timeanddate.com/worldclock/fixedtime.html?msg=Live+LiveCode+code+event+%2319&iso=20110416T20&p1=48 From anthonyhowe at me.com Thu Apr 14 23:56:38 2011 From: anthonyhowe at me.com (Anthony Howe) Date: Fri, 15 Apr 2011 13:56:38 +1000 Subject: Coloring a datagrid header column In-Reply-To: References: Message-ID: <256964EE-3104-4996-9FB8-D276550EC7E9@me.com> Pete, I'm a big fan of this: http://www.runrev.com/store/product/data-grid-helper-1-2-0/ ... but you're probably learning more about how the data grid actually works than I am! On 15/04/2011, at 5:08 AM, Pete wrote: > I have a need to change the background color of the header of a specific > column in a datagrid. I've figured out how to do this by setting the > backgroundColor property of the Background graphic in a deeply-nested group > of the datagrid but that exposes me to future changes in the datagrid > structures so I'm wondering if anyone knows of a better way to do this. > > Thanks, > > > 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 runrevplanet at smpcs.server101.com Fri Apr 15 00:49:27 2011 From: runrevplanet at smpcs.server101.com (Scott McDonald) Date: Thu, 14 Apr 2011 21:49:27 -0700 (PDT) Subject: Rev/Livecode project and GPL Licenses In-Reply-To: References: <4DA4F033.70903@fourthworld.com> Message-ID: <1302842967133-3451250.post@n4.nabble.com> I looked into this a while back and my understanding was: * If you link to a library released under the GPL terms, then you cannot sell your product commercially. * But if the library is released under the LGPL terms (which are different), then it is OK to sell your product commercially. * If your software uses a GPL library that is hosted on a server then that is fine for commercial software. * But if your user needs to download the GPL software (or you want to include it in your download bundle) then your product cannot be sold commercially if it links to it. As mentioned above these are just my conclusions, and I am not a lawyer. ----- -- Scott McDonald "Components, Controls, Tools and Resources for LiveCode" www.runrevplanet.com -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Rev-Livecode-project-and-GPL-Licenses-tp3445643p3451250.html Sent from the Revolution - User mailing list archive at Nabble.com. From runrevplanet at smpcs.server101.com Fri Apr 15 00:59:18 2011 From: runrevplanet at smpcs.server101.com (Scott McDonald) Date: Thu, 14 Apr 2011 21:59:18 -0700 (PDT) Subject: Free LiveCode eBook Message-ID: <1302843558603-3451256.post@n4.nabble.com> Hi, Just wanting you to know that there is an eBook (PDF format) titled "LiveCode Tips". In it I have compiled a set of tips from my website into a convenient single file. It's free and you can get it here: http://www.runrevplanet.com/free-downloads.html If it helps prevent anyone from wasting time solving a little LiveCode mystery, or improves their programming practise, then that will be gratifying. Cheers, ----- -- Scott McDonald "Components, Controls, Tools and Resources for LiveCode" www.runrevplanet.com -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Free-LiveCode-eBook-tp3451256p3451256.html Sent from the Revolution - User mailing list archive at Nabble.com. From coiin at verizon.net Fri Apr 15 01:06:39 2011 From: coiin at verizon.net (Colin Holgate) Date: Fri, 15 Apr 2011 01:06:39 -0400 Subject: Free LiveCode eBook In-Reply-To: <1302843558603-3451256.post@n4.nabble.com> References: <1302843558603-3451256.post@n4.nabble.com> Message-ID: <6FD46697-3AC6-42A0-8360-8BCF861A12A2@verizon.net> On Apr 15, 2011, at 12:59 AM, Scott McDonald wrote: > It's free and you can get it here: > > http://www.runrevplanet.com/free-downloads.html Thanks. I put it onto my iPad too, it looks good in iBooks. From maarten.koopmans at gmail.com Fri Apr 15 01:37:31 2011 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Fri, 15 Apr 2011 07:37:31 +0200 Subject: Free LiveCode eBook In-Reply-To: <6FD46697-3AC6-42A0-8360-8BCF861A12A2@verizon.net> References: <1302843558603-3451256.post@n4.nabble.com> <6FD46697-3AC6-42A0-8360-8BCF861A12A2@verizon.net> Message-ID: Thanks! On Friday, April 15, 2011, Colin Holgate wrote: > > On Apr 15, 2011, at 12:59 AM, Scott McDonald wrote: > >> It's free and you can get it here: >> >> http://www.runrevplanet.com/free-downloads.html > > > Thanks. I put it onto my iPad too, it looks good in iBooks. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From anthonyhowe at me.com Fri Apr 15 01:55:27 2011 From: anthonyhowe at me.com (Anthony Howe) Date: Fri, 15 Apr 2011 15:55:27 +1000 Subject: Free LiveCode eBook In-Reply-To: <1302843558603-3451256.post@n4.nabble.com> References: <1302843558603-3451256.post@n4.nabble.com> Message-ID: <75245698-9C3D-421A-88C8-88C070683E9D@me.com> Scott, Now that is a fantastic resource. Thanks so much! On 15/04/2011, at 2:59 PM, Scott McDonald wrote: > Hi, > > Just wanting you to know that there is an eBook (PDF format) titled > "LiveCode Tips". In it I have compiled a set of tips from my website into a > convenient single file. > > It's free and you can get it here: > > http://www.runrevplanet.com/free-downloads.html > > If it helps prevent anyone from wasting time solving a little LiveCode > mystery, or improves their programming practise, then that will be > gratifying. > > Cheers, > > ----- > -- > Scott McDonald > "Components, Controls, Tools and Resources for LiveCode" > www.runrevplanet.com > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Free-LiveCode-eBook-tp3451256p3451256.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 Apr 15 03:59:24 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 15 Apr 2011 09:59:24 +0200 Subject: Rev/Livecode project and GPL Licenses In-Reply-To: <1302842967133-3451250.post@n4.nabble.com> References: <4DA4F033.70903@fourthworld.com> <1302842967133-3451250.post@n4.nabble.com> Message-ID: Hi, I know that this is not true. Under GPL, you can ALWAYS sell your software commercially, but if you do, you have to *offer* the source code as well. When you *offer* the source code, the buyer can decide to have *no interest* in the source code, which means that in some cases you may be distributing a compiled app only. (I know this for sure, but I still don't accept any responsibility for decisions that are based on this statement). -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 15 apr 2011, at 06:49, Scott McDonald wrote: > I looked into this a while back and my understanding was: > > * If you link to a library released under the GPL terms, then you cannot > sell your product commercially. > > * But if the library is released under the LGPL terms (which are different), > then it is OK to sell your product commercially. > > * If your software uses a GPL library that is hosted on a server then that > is fine for commercial software. > > * But if your user needs to download the GPL software (or you want to > include it in your download bundle) then your product cannot be sold > commercially if it links to it. > > As mentioned above these are just my conclusions, and I am not a lawyer. From keith.clarke at clarkeandclarke.co.uk Fri Apr 15 04:03:19 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Fri, 15 Apr 2011 09:03:19 +0100 Subject: Free LiveCode eBook In-Reply-To: <1302843558603-3451256.post@n4.nabble.com> References: <1302843558603-3451256.post@n4.nabble.com> Message-ID: Thanks for sharing, Scott - more useful grist to the mill for learning LiveCode. On 15 Apr 2011, at 05:59, Scott McDonald wrote: > Hi, > > Just wanting you to know that there is an eBook (PDF format) titled > "LiveCode Tips". In it I have compiled a set of tips from my website into a > convenient single file. > > It's free and you can get it here: > > http://www.runrevplanet.com/free-downloads.html > From runrevplanet at smpcs.server101.com Fri Apr 15 04:30:52 2011 From: runrevplanet at smpcs.server101.com (Scott McDonald) Date: Fri, 15 Apr 2011 01:30:52 -0700 (PDT) Subject: Rev/Livecode project and GPL Licenses In-Reply-To: References: <4DA4F033.70903@fourthworld.com> <1302842967133-3451250.post@n4.nabble.com> Message-ID: <1302856252669-3451548.post@n4.nabble.com> Thanks Mark for clarifying that. Where I was getting it mixed up, was that I was equating selling commercially with not making the source code available. But of course, they are not the same thing. Cheers, ----- -- Scott McDonald "Components, Controls, Tools and Resources for LiveCode" www.runrevplanet.com -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Rev-Livecode-project-and-GPL-Licenses-tp3445643p3451548.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Fri Apr 15 04:34:52 2011 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 15 Apr 2011 11:34:52 +0300 Subject: Free LiveCode eBook In-Reply-To: <1302843558603-3451256.post@n4.nabble.com> References: <1302843558603-3451256.post@n4.nabble.com> Message-ID: <4DA8032C.7080804@gmail.com> On 04/15/2011 07:59 AM, Scott McDonald wrote: > Hi, > > Just wanting you to know that there is an eBook (PDF format) titled > "LiveCode Tips". In it I have compiled a set of tips from my website into a > convenient single file. > > It's free and you can get it here: > > http://www.runrevplanet.com/free-downloads.html > > If it helps prevent anyone from wasting time solving a little LiveCode > mystery, or improves their programming practise, then that will be > gratifying. > Thank you very much. From john at splash21.com Fri Apr 15 05:41:25 2011 From: john at splash21.com (John Craig) Date: Fri, 15 Apr 2011 10:41:25 +0100 Subject: Free LiveCode eBook In-Reply-To: <1302843558603-3451256.post@n4.nabble.com> References: <1302843558603-3451256.post@n4.nabble.com> Message-ID: <4DA812C5.5010701@splash21.com> Excellent resource / reference - many thanks On 15/04/2011 05:59, Scott McDonald wrote: > Hi, > > Just wanting you to know that there is an eBook (PDF format) titled > "LiveCode Tips". In it I have compiled a set of tips from my website into a > convenient single file. > > It's free and you can get it here: > > http://www.runrevplanet.com/free-downloads.html > > If it helps prevent anyone from wasting time solving a little LiveCode > mystery, or improves their programming practise, then that will be > gratifying. > > Cheers, > > ----- > -- > Scott McDonald > "Components, Controls, Tools and Resources for LiveCode" > www.runrevplanet.com > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Free-LiveCode-eBook-tp3451256p3451256.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 david at dvglasgow.wanadoo.co.uk Fri Apr 15 06:19:11 2011 From: david at dvglasgow.wanadoo.co.uk (David Glasgow) Date: Fri, 15 Apr 2011 11:19:11 +0100 Subject: Weird cursor freeze In-Reply-To: References: Message-ID: <67A87F4E-2F63-43BA-8EBD-3CE803514838@dvglasgow.wanadoo.co.uk> On 13 Apr 2011, at 6:00 pm, Jacqueline Landman Gay wrote: > Specifically setting the cursor should have worked though, so I'm not sure what could be going on. I'm just jumping in because no one else did. Thanks Jacqueline. Your suggestion was part of the workaround. I couldn't identify anything running that would do anything with the cursor. Your script wrapped in a screen locked quick push to and and pop from another card sorted it out. Why? Gallic shrug. Cheers! Best Wishes, David Glasgow Carlton Glasgow Partnership i-psych.co.uk From -= Fri Apr 15 07:37:30 2011 From: -= (-=) Date: Fri, 15 Apr 2011 04:37:30 -0700 Subject: This Connection is Untrusted Message-ID: <74214234-83EC-44BE-AF7C-FD641FD3D9BB@pacifier.com> I just tried to connect to my On-Rev cPanel and received the message, This Connection is Untrusted What is going on? It also states someone might be trying to impersonate my sight or something like that. -=>JB<=- From mpetrides at earthlink.net Fri Apr 15 08:24:05 2011 From: mpetrides at earthlink.net (Petrides, M.D. Marian) Date: Fri, 15 Apr 2011 07:24:05 -0500 Subject: Free LiveCode eBook In-Reply-To: <1302843558603-3451256.post@n4.nabble.com> References: <1302843558603-3451256.post@n4.nabble.com> Message-ID: Looks great! Thanks, Scott. On Apr 14, 2011, at 11:59 PM, Scott McDonald wrote: > Hi, > > Just wanting you to know that there is an eBook (PDF format) titled > "LiveCode Tips". In it I have compiled a set of tips from my website into a > convenient single file. > > It's free and you can get it here: > > http://www.runrevplanet.com/free-downloads.html > > If it helps prevent anyone from wasting time solving a little LiveCode > mystery, or improves their programming practise, then that will be > gratifying. > > Cheers, > > ----- > -- > Scott McDonald > "Components, Controls, Tools and Resources for LiveCode" > www.runrevplanet.com > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Free-LiveCode-eBook-tp3451256p3451256.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Fri Apr 15 10:14:40 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 15 Apr 2011 07:14:40 -0700 Subject: Rev/Livecode project and GPL Licenses Message-ID: <4DA852D0.4030200@fourthworld.com> Scott McDonald wrote: > Thanks Mark for clarifying that. > > Where I was getting it mixed up, was that I was equating selling > commercially with not making the source code available. > > But of course, they are not the same thing. Not exactly the same, but how many people pay for milk when they can get the cow for free? If the GPL-licensed technology you're considering is absolutely essential, you may have no choice. But if you can find an alternative solution using something governed by the Apache or MIT licenses you'll not have to worry about GLPing your own stuff. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From klaus at major.on-rev.com Fri Apr 15 10:14:58 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Fri, 15 Apr 2011 16:14:58 +0200 Subject: weekdaynames Message-ID: <5C1D9E52-0BAD-46CA-BE37-E5AB669B97F6@major.on-rev.com> Hi all, when I query "the weekdaynames" I get Sunday Monday Tuesday etc. When I query "the system weekdaynames" I get Sonntag (Sunday) Montag Dienstag ... But in germany the first day of week is MONDAY? I am not sure if the function should also return the correct ORDER of the system weekday names? This makes it extremely hard to scripts proper mulit-language support in calendars etc... Or is this behaviour reliable? I mean will I ALWAYS get this order, no matter what the current system language is? Know what I mean? Any opinions? Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From jmyepes at mac.com Fri Apr 15 10:19:16 2011 From: jmyepes at mac.com (JosepM) Date: Fri, 15 Apr 2011 07:19:16 -0700 (PDT) Subject: Free LiveCode eBook In-Reply-To: <1302843558603-3451256.post@n4.nabble.com> References: <1302843558603-3451256.post@n4.nabble.com> Message-ID: <1302877156294-3452154.post@n4.nabble.com> Thanks Scott! Salut, Josep M -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Free-LiveCode-eBook-tp3451256p3452154.html Sent from the Revolution - User mailing list archive at Nabble.com. From bvg at mac.com Fri Apr 15 10:35:56 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 15 Apr 2011 16:35:56 +0200 Subject: Live LiveCode code event #19 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> Message-ID: <061D9182-B34B-4ABB-A7D6-9C2D09DA8755@mac.com> damn! Funny thing is that my times _are_ from that site... Probably some summertime problem. Corrected times: Zurich 20:00 New York 14:00 San Francisco: 11:00 Melbourne: 04:00 (Sun) On 15 Apr 2011, at 05:46, Colin Holgate wrote: > > On Apr 14, 2011, at 7:29 PM, Bj?rnke von Gierke wrote: > >> Join the event on ChatRev at these times, this Saturday: >> Brussels 20:00 >> New York 15:00 >> Los Angeles 12:00 >> Melbourne 06:00 (Sun) > > > If your time is correct for Brussels, it's wrong for all of the others. Look at this handy page: > > http://www.timeanddate.com/worldclock/fixedtime.html?msg=Live+LiveCode+code+event+%2319&iso=20110416T20&p1=48 > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 15 10:42:05 2011 From: revolution at derbrill.de (Malte Brill) Date: Fri, 15 Apr 2011 16:42:05 +0200 Subject: weekdaynames In-Reply-To: References: Message-ID: Hey Klaus, if this ever changes most of my apps will break tremendously! > I mean will I ALWAYS get this order, no matter what the current system > language is? Know what I mean? I think it actually has to be this order (look at item -1 of the dateitems, that does not change with the system settings either.) to reliably code with dates. Cheers, Malte -- Find my music on iTunes: http://itunes.apple.com/en/album/geek/id418516694?i=418516703 From livecode.list at gmail.com Fri Apr 15 10:44:16 2011 From: livecode.list at gmail.com (Chip Thomas) Date: Fri, 15 Apr 2011 07:44:16 -0700 Subject: Rev/Livecode project and GPL Licenses In-Reply-To: <1302842967133-3451250.post@n4.nabble.com> References: <4DA4F033.70903@fourthworld.com> <1302842967133-3451250.post@n4.nabble.com> Message-ID: Thanks Scott, and as I understand it, "links" means that you compile an app that links to the GPL library so the two in effect become one codebase. With LiveCode, your compiled app would have no "linkage" to the GPL library, but would be distributed alongside it, and the communication would occur through command line, in which case they are two separate applications, without compiled links in the technical sense. The ramifications of this are that if the GPL license allows you to commercially distribute a LiveCode app and GPL code, as long as the two are not linked, this means LiveCode developers can tap into the many powerful GPL code libraries out there while doing so legally and ethically. On Apr 14, 2011, at 9:49 PM, Scott McDonald wrote: > I looked into this a while back and my understanding was: > > * If you link to a library released under the GPL terms, then you cannot > sell your product commercially. > > * But if the library is released under the LGPL terms (which are different), > then it is OK to sell your product commercially. > > * If your software uses a GPL library that is hosted on a server then that > is fine for commercial software. > > * But if your user needs to download the GPL software (or you want to > include it in your download bundle) then your product cannot be sold > commercially if it links to it. > > As mentioned above these are just my conclusions, and I am not a lawyer. > > ----- > -- > Scott McDonald > "Components, Controls, Tools and Resources for LiveCode" > www.runrevplanet.com > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Rev-Livecode-project-and-GPL-Licenses-tp3445643p3451250.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From zryip.theslug at gmail.com Fri Apr 15 10:48:35 2011 From: zryip.theslug at gmail.com (zryip theSlug) Date: Fri, 15 Apr 2011 16:48:35 +0200 Subject: weekdaynames In-Reply-To: <5C1D9E52-0BAD-46CA-BE37-E5AB669B97F6@major.on-rev.com> References: <5C1D9E52-0BAD-46CA-BE37-E5AB669B97F6@major.on-rev.com> Message-ID: On Fri, Apr 15, 2011 at 4:14 PM, Klaus on-rev wrote: > Hi all, > > when I query "the weekdaynames" I get > Sunday > Monday > Tuesday > etc. > > When I query "the system weekdaynames" I get > Sonntag (Sunday) > Montag > Dienstag > ... > > But in germany the first day of week is MONDAY? > > I am not sure if the function should also return the correct ORDER > of the system weekday names? > > This makes it extremely hard to scripts proper mulit-language support > in calendars etc... > > Or is this behaviour reliable? > I mean will I ALWAYS get this order, no matter what the current system > language is? Know what I mean? > > Any opinions? Hi Klaus, Same here. Here is the code I'm using for dealing with: function weekDayNamesList pFirstDayIsMonday local tWeekdayNames ?put the abbr system weekdayNames into tWeekdayNames ?if pFirstDayIsMonday then ? ? put cr & line 1 of tWeekdayNames after tWeekdayNames ? ? delete line 1 of tWeekdayNames ?end if ?return tWeekDayNames end weekDayNamesList Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From jmyepes at mac.com Fri Apr 15 11:03:20 2011 From: jmyepes at mac.com (JosepM) Date: Fri, 15 Apr 2011 08:03:20 -0700 (PDT) Subject: Differences between Mac chars and Win chars In-Reply-To: <50E4DE19-B964-48C6-8F58-8CDEFFE5B9BF@mac.com> References: <1302735213916-3448415.post@n4.nabble.com> <50E4DE19-B964-48C6-8F58-8CDEFFE5B9BF@mac.com> Message-ID: <1302879800302-3452277.post@n4.nabble.com> Hi, Sorry. I use the stack of Michael Kuyumcu from RevOnline to encrypt using the Blowfish method. If you (to test) compile the stack and use it from Mac and from Windows you will obtain two differents values. Here is my problem. The database is UTF8. I put the user and password, encode and compare to the database, then if the record exist I get the values and unencode to show to the user, from Mac all run fine, but from Windows all is trash. Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Differences-between-Mac-chars-and-Win-chars-tp3448415p3452277.html Sent from the Revolution - User mailing list archive at Nabble.com. From dan at clearvisiontech.com Fri Apr 15 11:06:08 2011 From: dan at clearvisiontech.com (Dan Friedman) Date: Fri, 15 Apr 2011 08:06:08 -0700 Subject: iTunes Icon In-Reply-To: References: Message-ID: <79EEFC5E-1F18-4222-A564-06ECDD05E893@clearvisiontech.com> I am about to submit my first app to the app store. I noticed that the icon is missing in iTunes. It's displayed correctly on the iPhone and the iPad, but not in iTunes. I don't see a place to add an additional icon for this purpose. Am I missing something? Or, is this something that is "turned on" when the app is approved by Apple. Thanks in advance, -Dan From klaus at major.on-rev.com Fri Apr 15 11:11:31 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Fri, 15 Apr 2011 17:11:31 +0200 Subject: weekdaynames In-Reply-To: References: <5C1D9E52-0BAD-46CA-BE37-E5AB669B97F6@major.on-rev.com> Message-ID: <2F65E03B-C18D-4C47-A4FD-89AABE4082C7@major.on-rev.com> Hi Malte and zryip, > On Fri, Apr 15, 2011 at 4:14 PM, Klaus on-rev wrote: >> Hi all, >> >> when I query "the weekdaynames" I get > ... > > Best regards, > -- > -Zryip TheSlug- wish you the best! 8) thanks guys! -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From coiin at verizon.net Fri Apr 15 11:16:54 2011 From: coiin at verizon.net (Colin Holgate) Date: Fri, 15 Apr 2011 11:16:54 -0400 Subject: iTunes Icon In-Reply-To: <79EEFC5E-1F18-4222-A564-06ECDD05E893@clearvisiontech.com> References: <79EEFC5E-1F18-4222-A564-06ECDD05E893@clearvisiontech.com> Message-ID: <6AEDE51D-4F15-4DA9-ACC6-044F7E915DEE@verizon.net> On Apr 15, 2011, at 11:06 AM, Dan Friedman wrote: > Am I missing something? Or, is this something that is "turned on" when the app is approved by Apple. I think that would be the case. From bobs at twft.com Fri Apr 15 11:49:25 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 15 Apr 2011 08:49:25 -0700 Subject: This Connection is Untrusted In-Reply-To: <74214234-83EC-44BE-AF7C-FD641FD3D9BB@pacifier.com> References: <74214234-83EC-44BE-AF7C-FD641FD3D9BB@pacifier.com> Message-ID: <7BBA014D-2994-49EE-96F9-9734E42248F4@twft.com> Check the URL at that point to see if maybe you are getting redirected to somewhere else. If Google can get hacked, so can anybody. Bob On Apr 15, 2011, at 4:37 AM, -=>JB wrote: > I just tried to connect to my On-Rev cPanel and received > the message, > > This Connection is Untrusted > > What is going on? It also states someone might be trying > to impersonate my sight or something like that. > > -=>JB<=- > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Fri Apr 15 11:52:29 2011 From: pete at mollysrevenge.com (Pete) Date: Fri, 15 Apr 2011 08:52:29 -0700 Subject: weekdaynames In-Reply-To: References: <5C1D9E52-0BAD-46CA-BE37-E5AB669B97F6@major.on-rev.com> Message-ID: Not sure about other platforms but the Mac lets you set the first day of the week in user preferences so I guess the most flexible thing to do would be to get hold of that setting and use it as a reference point. Pete Molly's Revenge On Fri, Apr 15, 2011 at 7:48 AM, zryip theSlug wrote: > On Fri, Apr 15, 2011 at 4:14 PM, Klaus on-rev > wrote: > > Hi all, > > > > when I query "the weekdaynames" I get > > Sunday > > Monday > > Tuesday > > etc. > > > > When I query "the system weekdaynames" I get > > Sonntag (Sunday) > > Montag > > Dienstag > > ... > > > > But in germany the first day of week is MONDAY? > > > > I am not sure if the function should also return the correct ORDER > > of the system weekday names? > > > > This makes it extremely hard to scripts proper mulit-language support > > in calendars etc... > > > > Or is this behaviour reliable? > > I mean will I ALWAYS get this order, no matter what the current system > > language is? Know what I mean? > > > > Any opinions? > > Hi Klaus, > > Same here. > > Here is the code I'm using for dealing with: > > function weekDayNamesList pFirstDayIsMonday > local tWeekdayNames > > put the abbr system weekdayNames into tWeekdayNames > if pFirstDayIsMonday then > put cr & line 1 of tWeekdayNames after tWeekdayNames > delete line 1 of tWeekdayNames > end if > > return tWeekDayNames > end weekDayNamesList > > > Best regards, > -- > -Zryip TheSlug- wish you the best! 8) > http://www.aslugontheroad.co.cc > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From jiml at netrin.com Fri Apr 15 12:06:19 2011 From: jiml at netrin.com (Jim Lambert) Date: Fri, 15 Apr 2011 09:06:19 -0700 Subject: Free LiveCode eBook In-Reply-To: References: Message-ID: <78A6DEC7-0207-4DE0-8CAB-90E95D57EE3B@netrin.com> Scott, Thank you very much for "LiveCode Tips". Jim Lambert From bobs at twft.com Fri Apr 15 12:08:34 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 15 Apr 2011 09:08:34 -0700 Subject: Free LiveCode eBook In-Reply-To: <1302843558603-3451256.post@n4.nabble.com> References: <1302843558603-3451256.post@n4.nabble.com> Message-ID: <4424DA2A-F443-46D4-9745-0C94FE35C50C@twft.com> FYI I converted it to an eBook using Calibre, a shareware ePub converter, and then imported it into iTunes. I'll let you know how it looks. I am updating my iPad right now so I don't want to upset the Apple cart (so to speak). Bob On Apr 14, 2011, at 9:59 PM, Scott McDonald wrote: > Hi, > > Just wanting you to know that there is an eBook (PDF format) titled > "LiveCode Tips". In it I have compiled a set of tips from my website into a > convenient single file. > > It's free and you can get it here: > > http://www.runrevplanet.com/free-downloads.html From klaus at major.on-rev.com Fri Apr 15 12:11:22 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Fri, 15 Apr 2011 18:11:22 +0200 Subject: weekdaynames In-Reply-To: References: <5C1D9E52-0BAD-46CA-BE37-E5AB669B97F6@major.on-rev.com> Message-ID: <605A723B-2DCB-4C97-B9F1-D12B0B4FC87A@major.on-rev.com> Hi Pete, > Not sure about other platforms but the Mac lets you set the first day of the > week in user preferences so I guess the most flexible thing to do would be > to get hold of that setting and use it as a reference point. any hint how I can "get hold of that setting"? ;-) I'd need this crossplatform unfotunately. Thanks! > Pete Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From bvg at mac.com Fri Apr 15 12:41:03 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 15 Apr 2011 18:41:03 +0200 Subject: weekdaynames In-Reply-To: <605A723B-2DCB-4C97-B9F1-D12B0B4FC87A@major.on-rev.com> References: <5C1D9E52-0BAD-46CA-BE37-E5AB669B97F6@major.on-rev.com> <605A723B-2DCB-4C97-B9F1-D12B0B4FC87A@major.on-rev.com> Message-ID: <22BC249F-6127-498C-A2C0-F588DFC486A3@mac.com> I agree that the order should not change based on system settings. BU tmaybe a property "weekdaystart" that contains monday, or sunday, or... are there even any other weekstart systems? On 15 Apr 2011, at 18:11, Klaus on-rev wrote: > Hi Pete, > >> Not sure about other platforms but the Mac lets you set the first day of the >> week in user preferences so I guess the most flexible thing to do would be >> to get hold of that setting and use it as a reference point. > > any hint how I can "get hold of that setting"? ;-) > I'd need this crossplatform unfotunately. > > Thanks! > >> Pete > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alessandro at system-ini.it Fri Apr 15 12:44:48 2011 From: alessandro at system-ini.it (Alessandro Pisoni) Date: Fri, 15 Apr 2011 18:44:48 +0200 Subject: sos datagrid work in development but not runtime Message-ID: the datagrid work under development but when i compile the date of sqlite that i import do no enter in row and column when I want to clean the datagrid does not only happen null why this Cordiali Saluti Alessandro Pisoni System.ini di Pisoni Alessandro Via Grandi,5 20062 Cassano d'Adda (MI) Tel 0363-361487 Fax 1782260060 Cell. 335440150 email:info at system-ini.it www.system-ini.it From roger.e.eller at sealedair.com Fri Apr 15 12:54:40 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 15 Apr 2011 12:54:40 -0400 Subject: Free LiveCode eBook In-Reply-To: <1302843558603-3451256.post@n4.nabble.com> References: <1302843558603-3451256.post@n4.nabble.com> Message-ID: On Apr 15, 2011, at 12:59 AM, Scott McDonald wrote: > It's free and you can get it here: > > http://www.runrevplanet.com/free-downloads.html Nice eBook, and thanks! It looks good on Android 2.2 on the ViewSonic gTablet with Adobe Reader app. ~Roger From pete at mollysrevenge.com Fri Apr 15 12:58:35 2011 From: pete at mollysrevenge.com (Pete) Date: Fri, 15 Apr 2011 09:58:35 -0700 Subject: weekdaynames In-Reply-To: <605A723B-2DCB-4C97-B9F1-D12B0B4FC87A@major.on-rev.com> References: <5C1D9E52-0BAD-46CA-BE37-E5AB669B97F6@major.on-rev.com> <605A723B-2DCB-4C97-B9F1-D12B0B4FC87A@major.on-rev.com> Message-ID: I wish I knew! For the Mac, if there are any Applescripters out there, they may know how to get the user preferences. I guess you could implement a user preference within your application. Pete Molly's Revenge On Fri, Apr 15, 2011 at 9:11 AM, Klaus on-rev wrote: > Hi Pete, > > > Not sure about other platforms but the Mac lets you set the first day of > the > > week in user preferences so I guess the most flexible thing to do would > be > > to get hold of that setting and use it as a reference point. > > any hint how I can "get hold of that setting"? ;-) > I'd need this crossplatform unfotunately. > > Thanks! > > > Pete > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From coiin at verizon.net Fri Apr 15 13:22:54 2011 From: coiin at verizon.net (Colin Holgate) Date: Fri, 15 Apr 2011 13:22:54 -0400 Subject: Free LiveCode eBook In-Reply-To: <4424DA2A-F443-46D4-9745-0C94FE35C50C@twft.com> References: <1302843558603-3451256.post@n4.nabble.com> <4424DA2A-F443-46D4-9745-0C94FE35C50C@twft.com> Message-ID: On Apr 15, 2011, at 12:08 PM, Bob Sneidar wrote: > FYI I converted it to an eBook using Calibre, a shareware ePub converter, and then imported it into iTunes. I'll let you know how it looks. I am updating my iPad right now so I don't want to upset the Apple cart (so to speak). If you have iBooks installed you can take the PDF itself into iTunes, and then it will sync to iBooks. From bobs at twft.com Fri Apr 15 13:29:37 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 15 Apr 2011 10:29:37 -0700 Subject: Free LiveCode eBook In-Reply-To: References: <1302843558603-3451256.post@n4.nabble.com> <4424DA2A-F443-46D4-9745-0C94FE35C50C@twft.com> Message-ID: <888DBC56-0B84-49A9-B580-D2EE3FE1D68D@twft.com> Oh hey! I didn't know that. But how about the reflow issue? Or does it scale the pages? Bob On Apr 15, 2011, at 10:22 AM, Colin Holgate wrote: > > On Apr 15, 2011, at 12:08 PM, Bob Sneidar wrote: > >> FYI I converted it to an eBook using Calibre, a shareware ePub converter, and then imported it into iTunes. I'll let you know how it looks. I am updating my iPad right now so I don't want to upset the Apple cart (so to speak). > > If you have iBooks installed you can take the PDF itself into iTunes, and then it will sync to iBooks. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 15 13:30:34 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 15 Apr 2011 10:30:34 -0700 Subject: sos datagrid work in development but not runtime In-Reply-To: References: Message-ID: <6ADE74CE-47BB-4229-AFC6-2A302C1E7C8E@twft.com> ? On Apr 15, 2011, at 9:44 AM, Alessandro Pisoni wrote: > the datagrid work under development but when i compile the date of sqlite that i import do no enter in row and column > when I want to clean the datagrid does not only happen null > > why this > > > > > > > > > Cordiali Saluti > Alessandro Pisoni > > > System.ini di Pisoni Alessandro > Via Grandi,5 > 20062 Cassano d'Adda (MI) > Tel 0363-361487 Fax 1782260060 Cell. 335440150 > email:info at system-ini.it > www.system-ini.it > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 15 13:33:34 2011 From: coiin at verizon.net (Colin Holgate) Date: Fri, 15 Apr 2011 13:33:34 -0400 Subject: Free LiveCode eBook In-Reply-To: <888DBC56-0B84-49A9-B580-D2EE3FE1D68D@twft.com> References: <1302843558603-3451256.post@n4.nabble.com> <4424DA2A-F443-46D4-9745-0C94FE35C50C@twft.com> <888DBC56-0B84-49A9-B580-D2EE3FE1D68D@twft.com> Message-ID: <982F2817-87B7-4E87-9497-4555CAD75DDA@verizon.net> On Apr 15, 2011, at 1:29 PM, Bob Sneidar wrote: > Oh hey! I didn't know that. But how about the reflow issue? Or does it scale the pages? Just pinch and zoom as you would expect to. The tables and diagrams and screenshots all come out looking nice too. From klaus at major.on-rev.com Fri Apr 15 13:46:18 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Fri, 15 Apr 2011 19:46:18 +0200 Subject: sos datagrid work in development but not runtime In-Reply-To: <6ADE74CE-47BB-4229-AFC6-2A302C1E7C8E@twft.com> References: <6ADE74CE-47BB-4229-AFC6-2A302C1E7C8E@twft.com> Message-ID: <528E84CB-952D-4F01-BC3A-F5750E226603@major.on-rev.com> Buonasera Alessandro, Am 15.04.2011 um 19:30 schrieb Bob Sneidar: > ? what Bob tried to say is, we might need a BIT more infos ;-) > On Apr 15, 2011, at 9:44 AM, Alessandro Pisoni wrote: > >> the datagrid work under development but when i compile the date of sqlite that i import do no enter in row and column >> when I want to clean the datagrid does not only happen null >> >> why this >> >> Cordiali Saluti >> Alessandro Pisoni Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From gbojsza at gmail.com Fri Apr 15 14:00:32 2011 From: gbojsza at gmail.com (Glen Bojsza) Date: Fri, 15 Apr 2011 12:00:32 -0600 Subject: Livecode Trial - are there limitations? Message-ID: Hello, A friend wants to try out Livecode and I was recommending the trial version to get started. What are the limitations of a trial version? thanks, Glen From jacque at hyperactivesw.com Fri Apr 15 16:44:49 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 15 Apr 2011 15:44:49 -0500 Subject: weekdaynames In-Reply-To: <22BC249F-6127-498C-A2C0-F588DFC486A3@mac.com> References: <5C1D9E52-0BAD-46CA-BE37-E5AB669B97F6@major.on-rev.com> <605A723B-2DCB-4C97-B9F1-D12B0B4FC87A@major.on-rev.com> <22BC249F-6127-498C-A2C0-F588DFC486A3@mac.com> Message-ID: <4DA8AE41.40403@hyperactivesw.com> On 4/15/11 11:41 AM, Bj?rnke von Gierke wrote: > I agree that the order should not change based on system settings. BU > tmaybe a property "weekdaystart" that contains monday, or sunday, > or... are there even any other weekstart systems? In my house we always start the week on Tuesday, because Mondays are awful. Starting on Tuesday avoids that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jhj at jhj.com Fri Apr 15 16:58:38 2011 From: jhj at jhj.com (Jerry J) Date: Fri, 15 Apr 2011 13:58:38 -0700 Subject: weekdaynames In-Reply-To: <4DA8AE41.40403@hyperactivesw.com> References: <5C1D9E52-0BAD-46CA-BE37-E5AB669B97F6@major.on-rev.com> <605A723B-2DCB-4C97-B9F1-D12B0B4FC87A@major.on-rev.com> <22BC249F-6127-498C-A2C0-F588DFC486A3@mac.com> <4DA8AE41.40403@hyperactivesw.com> Message-ID: <802C8535-DF41-40A0-8A93-2C6AE54FE334@jhj.com> No wonder you're always ahead of everybody else! On Apr 15, 2011, at 1:44 PM, J. Landman Gay wrote: > On 4/15/11 11:41 AM, Bj?rnke von Gierke wrote: >> I agree that the order should not change based on system settings. BU >> tmaybe a property "weekdaystart" that contains monday, or sunday, >> or... are there even any other weekstart systems? > > In my house we always start the week on Tuesday, because Mondays are awful. Starting on Tuesday avoids that. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Fri Apr 15 17:18:30 2011 From: pete at mollysrevenge.com (Pete) Date: Fri, 15 Apr 2011 14:18:30 -0700 Subject: weekdaynames In-Reply-To: <4DA8AE41.40403@hyperactivesw.com> References: <5C1D9E52-0BAD-46CA-BE37-E5AB669B97F6@major.on-rev.com> <605A723B-2DCB-4C97-B9F1-D12B0B4FC87A@major.on-rev.com> <22BC249F-6127-498C-A2C0-F588DFC486A3@mac.com> <4DA8AE41.40403@hyperactivesw.com> Message-ID: I think that idea should be extended. Let's just not have a Monday and have a Sunday that lasts 48 hours. We should also do away with Fridays because project deadlines are always on a Friday so we could have a 48 hour Saturday instead. That would give us a 4-day weekend and a three day work week. Let's face it, we've been stuck with the same calendar for quite a while now - it's time for a change! Pete Molly's Revenge On Fri, Apr 15, 2011 at 1:44 PM, J. Landman Gay wrote: > On 4/15/11 11:41 AM, Bj?rnke von Gierke wrote: > >> I agree that the order should not change based on system settings. BU >> tmaybe a property "weekdaystart" that contains monday, or sunday, >> or... are there even any other weekstart systems? >> > > In my house we always start the week on Tuesday, because Mondays are awful. > Starting on Tuesday avoids that. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From bobs at twft.com Fri Apr 15 19:35:35 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 15 Apr 2011 16:35:35 -0700 Subject: sos datagrid work in development but not runtime In-Reply-To: <528E84CB-952D-4F01-BC3A-F5750E226603@major.on-rev.com> References: <6ADE74CE-47BB-4229-AFC6-2A302C1E7C8E@twft.com> <528E84CB-952D-4F01-BC3A-F5750E226603@major.on-rev.com> Message-ID: I should have been more clear. ;-) Bob On Apr 15, 2011, at 10:46 AM, Klaus on-rev wrote: > Buonasera Alessandro, > > Am 15.04.2011 um 19:30 schrieb Bob Sneidar: > >> ? > > what Bob tried to say is, we might need a BIT more infos ;-) > >> On Apr 15, 2011, at 9:44 AM, Alessandro Pisoni wrote: >> >>> the datagrid work under development but when i compile the date of sqlite that i import do no enter in row and column >>> when I want to clean the datagrid does not only happen null >>> >>> why this >>> >>> Cordiali Saluti >>> Alessandro Pisoni > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Fri Apr 15 19:36:40 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 15 Apr 2011 16:36:40 -0700 Subject: weekdaynames In-Reply-To: <4DA8AE41.40403@hyperactivesw.com> References: <5C1D9E52-0BAD-46CA-BE37-E5AB669B97F6@major.on-rev.com> <605A723B-2DCB-4C97-B9F1-D12B0B4FC87A@major.on-rev.com> <22BC249F-6127-498C-A2C0-F588DFC486A3@mac.com> <4DA8AE41.40403@hyperactivesw.com> Message-ID: <1A055433-16BE-446B-B8C4-573D2C331CE4@twft.com> Along the same lines, I am working on my second million dollars, because I have heard that the first million is the hardest. Bob On Apr 15, 2011, at 1:44 PM, J. Landman Gay wrote: > On 4/15/11 11:41 AM, Bj?rnke von Gierke wrote: >> I agree that the order should not change based on system settings. BU >> tmaybe a property "weekdaystart" that contains monday, or sunday, >> or... are there even any other weekstart systems? > > In my house we always start the week on Tuesday, because Mondays are awful. Starting on Tuesday avoids that. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jiml at netrin.com Fri Apr 15 19:51:34 2011 From: jiml at netrin.com (Jim Lambert) Date: Fri, 15 Apr 2011 16:51:34 -0700 Subject: iOS reliability of reachability on WIFI networks In-Reply-To: References: Message-ID: I have noticed a quirk with the experimental reachability function which makes the function untrustworthy in some WIFI situations. reachabilityChanged will sometimes return an empty reachabilityInfo. This is supposed to indicate no internet connection at all. However, other apps are able to connect! Has anyone else experienced this? This only happens intermittently (don't you hate that word?!) and unfortunately I have no recipe to force it to happen. Although sometimes moving a device into the range a different WIFI network will sometimes cause the problem. I have found that sometimes the problem can sometimes be corrected by turning on and then off airplane mode or shutting on or off the device's wifi setting. Needless to say, as it stands, this experimental function isn't 100% reliable yet. Even though it is a lower priority function, Apple does require apps to properly notify users when an internet connection is no longer viable - such as when one travels outside a WIFI network's range. So, we really do need this to work reliably. Thanks, Jim Lambert From jacque at hyperactivesw.com Fri Apr 15 20:28:00 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 15 Apr 2011 19:28:00 -0500 Subject: iOS reliability of reachability on WIFI networks In-Reply-To: References: Message-ID: <4DA8E290.7060800@hyperactivesw.com> On 4/15/11 6:51 PM, Jim Lambert wrote: > > reachabilityChanged will sometimes return an empty reachabilityInfo. > This is supposed to indicate no internet connection at all. However, > other apps are able to connect! > > Has anyone else experienced this? > > This only happens intermittently (don't you hate that word?!) and > unfortunately I have no recipe to force it to happen. Although > sometimes moving a device into the range a different WIFI network > will sometimes cause the problem. > > I have found that sometimes the problem can sometimes be corrected by > turning on and then off airplane mode or shutting on or off the > device's wifi setting. Is the network SSID hidden? What you're describing is exactly what I get on my Android device, with any app, on a network that isn't broadcasting its identity. It's a known issue with Android, I wonder if it's also a problem with iOS. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jiml at netrin.com Fri Apr 15 23:28:33 2011 From: jiml at netrin.com (Jim Lambert) Date: Fri, 15 Apr 2011 20:28:33 -0700 Subject: iOS reliability of reachability on WIFI networks In-Reply-To: References: Message-ID: <6FF88E13-4057-457C-866E-8E1BAAB5A750@netrin.com> Jacque wrote: > Is the network SSID hidden? What you're describing is exactly what I get > on my Android device, with any app, on a network that isn't broadcasting > its identity. It's a known issue with Android, I wonder if it's also a > problem with iOS. Thanks, Good thought. But no, these networks are broadcasting their SSIDs. BTW, I inadvertently posted my original message to this list by mistake. I'll re-post to the dev list now. JimL From jacque at hyperactivesw.com Sat Apr 16 01:12:57 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 16 Apr 2011 00:12:57 -0500 Subject: Livecode Trial - are there limitations? In-Reply-To: References: Message-ID: <4DA92559.8070508@hyperactivesw.com> On 4/15/11 1:00 PM, Glen Bojsza wrote: > Hello, > > A friend wants to try out Livecode and I was recommending the trial version > to get started. > > What are the limitations of a trial version? I think -- but am not positive -- that there aren't any limitations except for the expiration date. Any standalones you make will no longer launch after that date either. You could contact support to find out for sure. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From runrevplanet at smpcs.server101.com Sat Apr 16 03:12:17 2011 From: runrevplanet at smpcs.server101.com (Scott McDonald) Date: Sat, 16 Apr 2011 00:12:17 -0700 (PDT) Subject: Free LiveCode eBook In-Reply-To: <982F2817-87B7-4E87-9497-4555CAD75DDA@verizon.net> References: <1302843558603-3451256.post@n4.nabble.com> <4424DA2A-F443-46D4-9745-0C94FE35C50C@twft.com> <888DBC56-0B84-49A9-B580-D2EE3FE1D68D@twft.com> <982F2817-87B7-4E87-9497-4555CAD75DDA@verizon.net> Message-ID: <1302937937721-3453626.post@n4.nabble.com> Hi, I choose the A5 sized pages for the PDF to make it easier when viewing on smaller screens. Thanks all for the encouraging feedback. ----- -- Scott McDonald "Components, Controls, Tools and Resources for LiveCode" www.runrevplanet.com -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Free-LiveCode-eBook-tp3451256p3453626.html Sent from the Revolution - User mailing list archive at Nabble.com. From runrevplanet at smpcs.server101.com Sat Apr 16 03:29:39 2011 From: runrevplanet at smpcs.server101.com (Scott McDonald) Date: Sat, 16 Apr 2011 00:29:39 -0700 (PDT) Subject: Rev/Livecode project and GPL Licenses In-Reply-To: References: <4DA4F033.70903@fourthworld.com> <1302842967133-3451250.post@n4.nabble.com> Message-ID: <1302938979371-3453647.post@n4.nabble.com> The last time I looked at the fine print was when Version 3 of the GPL was being debated/coming out, and I was then an avid "Linux Format" reader, but that was a while ago now. Assuming what you say is correct, then that's good to know. >The ramifications of this are that if the GPL license allows >you to commercially distribute a LiveCode app and GPL code, >as long as the two are not linked, this means LiveCode >developers can tap into the many powerful GPL code libraries >out there while doing so legally and ethically. ----- -- Scott McDonald "Components, Controls, Tools and Resources for LiveCode" www.runrevplanet.com -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Rev-Livecode-project-and-GPL-Licenses-tp3445643p3453647.html Sent from the Revolution - User mailing list archive at Nabble.com. From rene.micout at numericable.com Sat Apr 16 03:33:28 2011 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Sat, 16 Apr 2011 09:33:28 +0200 Subject: Free LiveCode eBook In-Reply-To: <1302937937721-3453626.post@n4.nabble.com> References: <1302843558603-3451256.post@n4.nabble.com> <4424DA2A-F443-46D4-9745-0C94FE35C50C@twft.com> <888DBC56-0B84-49A9-B580-D2EE3FE1D68D@twft.com> <982F2817-87B7-4E87-9497-4555CAD75DDA@verizon.net> <1302937937721-3453626.post@n4.nabble.com> Message-ID: Merci (from Paris) !! Ren? Le 16 avr. 2011 ? 09:12, Scott McDonald a ?crit : > Hi, > > I choose the A5 sized pages for the PDF to make it easier when viewing on > smaller screens. > > Thanks all for the encouraging feedback. > > > ----- > -- > Scott McDonald > "Components, Controls, Tools and Resources for LiveCode" > www.runrevplanet.com > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Free-LiveCode-eBook-tp3451256p3453626.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Sat Apr 16 03:55:29 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 16 Apr 2011 00:55:29 -0700 Subject: Videograbber Audio settings on Mac - Desktop LC 4.6 Message-ID: Hi gang, I don't know if this is old turkey meat here, but I'm still having problems with saving AUDIO settings with the videograbber library. The video settings now can be restored, but the audio settings just don't seem to 'stick'. The syntax and usage on this videograbber stuff is just plain weird. There is no example code using in conjunction with . I just don't know how to get the audio to remember its settings. here's my settings code (abbrevitated) on preopenstack local myvar -- load the videoSettings custom property of this stack into the myVar variable put gDataArray["videoSettings"] into myVar -- set the video grabber to use the settings we just loaded from the stack revSetVideoGrabSettings "myvar" end preopenstack -- ( yeah the video settings get loaded but how do the audio settings get loaded? don't we need another variable for the audio settings?) on getAllsettings -- get all dialogs for setting video and audio -- local myvar revVideoGrabDialog "video" revVideoGrabDialog "audio" revVideoGrabSettings "myvar" put myvar into gDataArray["videoSettings"] saveprefsArray -- save this stack end getAllsettings (shouldn't there be a revSetAudioGrabSettings "myaudiovar" ?????? ) Some help from those who have gone before me would be welcome... thanks.. -- Stephen Barncard San Francisco Ca. USA more about sqb From m.schonewille at economy-x-talk.com Sat Apr 16 06:27:10 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 16 Apr 2011 12:27:10 +0200 Subject: Rev/Livecode project and GPL Licenses In-Reply-To: <4DA852D0.4030200@fourthworld.com> References: <4DA852D0.4030200@fourthworld.com> Message-ID: Richard, You'd be surprised how many don't know how to milk a cow or wouldn't bother doing so because it is so much easier to buy the milk in the supermarket. I, for one, could get a cow for free, but I have no place for it on my balcony. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 15 apr 2011, at 16:14, Richard Gaskin wrote: > Scott McDonald wrote: > >> Thanks Mark for clarifying that. >> >> Where I was getting it mixed up, was that I was equating selling >> commercially with not making the source code available. >> >> But of course, they are not the same thing. > > Not exactly the same, but how many people pay for milk when they can get the cow for free? > > If the GPL-licensed technology you're considering is absolutely essential, you may have no choice. > > But if you can find an alternative solution using something governed by the Apache or MIT licenses you'll not have to worry about GLPing your own stuff. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From richmondmathewson at gmail.com Sat Apr 16 06:43:39 2011 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 16 Apr 2011 13:43:39 +0300 Subject: Rev/Livecode project and GPL Licenses In-Reply-To: References: <4DA852D0.4030200@fourthworld.com> Message-ID: <4DA972DB.4070807@gmail.com> On 04/16/2011 01:27 PM, Mark Schonewille wrote: > Richard, > > You'd be surprised how many don't know how to milk a cow Having milked a cow by hand, and had the beast kick me in the stomach, I would advise one and all to avoid the experience at all costs. > or wouldn't bother doing so because it is so much easier to buy the milk in the supermarket. I, for one, could get a cow for free, but I have no place for it on my balcony. I have been wondering about our roof; it is tented at about 15 degrees; were it grassed it would be very much in fashion (Richmond's Eco-Roof) and could probably sustain 2 or 3 goats. Unfortunately, having worked with cows, I know that they have no head for heights. However; from Bulgaria; Livecode looks like a cow and Metacard looks like a goat. My experience tells me that cows are less bloody-minded than goats, and their milk is considerably preferable . . . :) I know that their are some people around and about who would be prepared to scramble up onto their roof twice a day to milk a goat; however, I would far rather stick to cow's milk; preferably pasteurised and bottled by a hygienic dairy, rather than from my roof or your balcony! > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce > > On 15 apr 2011, at 16:14, Richard Gaskin wrote: > >> Scott McDonald wrote: >> >>> Thanks Mark for clarifying that. >>> >>> Where I was getting it mixed up, was that I was equating selling >>> commercially with not making the source code available. >>> >>> But of course, they are not the same thing. >> Not exactly the same, but how many people pay for milk when they can get the cow for free? Cows are NOT free; anybody who has worked on a farm will tell you that they are relatively high maintenance beasts. Do not be fooled; nothing, absolutely nothing is free; it is just that some things have their price written on the front, and others, like cows, have the price written round the back (under the tail). >> If the GPL-licensed technology you're considering is absolutely essential, you may have no choice. >> >> But if you can find an alternative solution using something governed by the Apache or MIT licenses you'll not have to worry about GLPing your own stuff. >> >> -- >> Richard Gaskin >> Fourth World >> LiveCode training and consulting: http://www.fourthworld.com >> Webzine for LiveCode developers: http://www.LiveCodeJournal.com >> LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From williamdesmet at gmail.com Sat Apr 16 10:14:26 2011 From: williamdesmet at gmail.com (William de Smet) Date: Sat, 16 Apr 2011 16:14:26 +0200 Subject: Question about position of cloned group Message-ID: Hi there, I use a little script to clone a grp and rename the name and label of the btn in the group. So far so good but each cloned grp is put on top of the other one. Not so nice! How do I get the cloned grp to be show next to the previous cloned grp? Set the left of grp Naam to (the left of the last grp +20) doesn't work on mouseUp lock screen clone grp "dummy" global Naam add 1 to Naam set the name of the last grp to Naam set the name of btn "cijfer" of the last grp to Naam set the label of the last btn to Naam set the left of grp Naam to (the left of the last grp +20) unlock screen end mouseUp Greetings, William From maarten.koopmans at gmail.com Sat Apr 16 11:26:44 2011 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Sat, 16 Apr 2011 17:26:44 +0200 Subject: text field in modal allows no input Message-ID: Hi I have a main stack that accepts a drag-drop for files like this on a hidden field the size of the card: *on* dragDrop *if* the dragData["files"] is not empty *then* *modal* stack "AddMetaData" addFiles(dragData["files"]) *end* *if* *set* the dragAction to link *pass* dragDrop *end* dragDrop The addFiles command just copies the files. AddMetaData is a substack with just one text field and an "OK" button, *on* mouseUp *global* gNewTags *put the text of field MetaData into gNewMetaData* *close* this stack *end* mouseUp The problem: the text field has focus, but I can't type in it! I tried to mimick it with a simple mainstack/substack where the mainstack has a button"Go modal", and the moda stack is the same, and there.... it works. So I must be missings omething with te message path/drag drop/..... Any clues? I have thought about a more wizard like behaviour, but nce I start hiding/closing stacks and using go to things are indeed editable, but highly unpredictable. --Maarten ** Just to be the clear, my use case is quite simple: 1- user drags file on stack 2- user adds some mandatory info about the files 3- files get copied (2) is causing the problems, probably because I don't have my head wrapped around LC completely (though I do feel more comfortable more and more) From ambassador at fourthworld.com Sat Apr 16 11:36:35 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 16 Apr 2011 08:36:35 -0700 Subject: Rev/Livecode project and GPL Licenses In-Reply-To: References: Message-ID: <4DA9B783.20905@fourthworld.com> Mark Schonewille wrote: > On 15 apr 2011, at 16:14, Richard Gaskin wrote: > >> Scott McDonald wrote: >>> >>> Where I was getting it mixed up, was that I was equating selling >>> commercially with not making the source code available. >>> >>> But of course, they are not the same thing. >> >> Not exactly the same, but how many people pay for milk when they can >> get the cow for free? >> >> If the GPL-licensed technology you're considering is absolutely >> essential, you may have no choice. >> >> But if you can find an alternative solution using something governed >> by the Apache or MIT licenses you'll not have to worry about GLPing >> your own stuff. > > Richard, > > You'd be surprised how many don't know how to milk a cow or wouldn't > bother doing so because it is so much easier to buy the milk in the > supermarket. I, for one, could get a cow for free, but I have no > place for it on my balcony. True, and indeed there are some who make getting and using their GPL source unnecessarily cumbersome, such as sharing the source with no make file. But such a gambit is too easily transparent and risks alienating the very people who are providing your components, the FOSS community. Moreover, anyone can make a tool to obviate such a trick to make it easy to share the software. And of course with LiveCode, turning source into an executable requires only one click, so the number of people who might be willing to milk that cow is much larger than those who think it's difficult to run a make file. The point of GPL isn't to trick people into giving you free components for your app, but to participate in an open sharing of software. There's a reason most commercial works using GPL also use a dual license for their commercial version, rather than expecting people to pay for something that anyone can download, modify, and redistribute for free. The bottom line is that if you want to participate in free software, make free software. If instead you just want to benefit from free software without giving anything back to the community, read the license agreement very carefully and it may be good to consider consulting an attorney who specializes in IP to make sure the implications are well understood. LGPL is a bit more flexible in allowing a free component to be used in a non-free application, but straight GPL may not be so clear, whether "linked" or not, if you distribute the GPL'd component as part of your app, as you noted in the article at your site. I'm not an attorney, so local state law prohibits me from making any specific recommendations regarding licensing or other legal matters. But I am a contributor to a few open source projects, so I feel fairly confident that if a component developer chooses GPL instead of LGPL he did so for a reason, and under the rights acknowledged by international law we should honor their decision. When in doubt, the best way to understand the intentions of the creator of a work may be to simply ask him directly. If he's a free-software zealot he'll probably make that clear, and if he's willing to make a proprietary-use license available for reasonable terms he'll probably make that clear too. I find few developers turn down the opportunity to make unexpected money. :) -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From dunbarx at aol.com Sat Apr 16 11:46:12 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sat, 16 Apr 2011 11:46:12 -0400 Subject: Question about position of cloned group In-Reply-To: References: Message-ID: <8CDCA648C5C62DB-FA8-254D7@Webmail-m123.sysops.aol.com> There is an issue with the "last group". Unlike all other objects, it doesn't work. The dictionary has this: The "last" keyword is not stable when referring to groups. So if one creates several groups, referencing the "last" group may not return the group actual ly created last. Using the "templateGroup" is a workaround, since when creating a new group one can, for example, set the name of the templateGroup to something unique, and be able to find the last group by name. Also, trapping the "newGroup" message with an appropriate script can be used to find the last group. This is not an issue with other objects, -----Original Message----- From: William de Smet To: How to use LiveCode Sent: Sat, Apr 16, 2011 10:14 am Subject: Question about position of cloned group Hi there, I use a little script to clone a grp and rename the name and label of the btn in the group. So far so good but each cloned grp is put on top of the other one. Not so nice! How do I get the cloned grp to be show next to the previous cloned grp? Set the left of grp Naam to (the left of the last grp +20) doesn't work on mouseUp lock screen clone grp "dummy" global Naam add 1 to Naam set the name of the last grp to Naam set the name of btn "cijfer" of the last grp to Naam set the label of the last btn to Naam set the left of grp Naam to (the left of the last grp +20) unlock screen end mouseUp 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 rene.micout at numericable.com Sat Apr 16 11:49:27 2011 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Sat, 16 Apr 2011 17:49:27 +0200 Subject: Question about position of cloned group In-Reply-To: References: Message-ID: <83F82000-0239-46E6-A3EF-67E870189CB2@numericable.com> Hello > put item 1 of the loc of grp A into vX -- A = the name of the last group put item 2 of the loc of grp A into vY set the loc of grp Naam to vX+20,vY+20 -- 20 or other value... Bon souvenir de Paris Ren? set the loc of grp Naam to vxParentX+250,vxParentY+25 -- d?cal? par rapport au n?ud parent Le 16 avr. 2011 ? 16:14, William de Smet a ?crit : > Hi there, > > I use a little script to clone a grp and rename the name and label of > the btn in the group. > So far so good but each cloned grp is put on top of the other one. Not so nice! > How do I get the cloned grp to be show next to the previous cloned grp? > Set the left of grp Naam to (the left of the last grp +20) doesn't work > > on mouseUp > lock screen > clone grp "dummy" > global Naam > add 1 to Naam > set the name of the last grp to Naam > set the name of btn "cijfer" of the last grp to Naam > set the label of the last btn to Naam > set the left of grp Naam to (the left of the last grp +20) > unlock screen > end mouseUp > > 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 rene.micout at numericable.com Sat Apr 16 11:51:31 2011 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Sat, 16 Apr 2011 17:51:31 +0200 Subject: Question about position of cloned group In-Reply-To: References: Message-ID: <2F2C100A-B261-46F9-8E10-517C950629B0@numericable.com> (re) hello > clone grp "dummy" set the name of it to Naam Ren? Le 16 avr. 2011 ? 16:14, William de Smet a ?crit : > clone grp "dummy" > global Naam > add 1 to Naam > set the name of the last grp to Naam From m.schonewille at economy-x-talk.com Sat Apr 16 11:59:54 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 16 Apr 2011 17:59:54 +0200 Subject: Rev/Livecode project and GPL Licenses In-Reply-To: <4DA9B783.20905@fourthworld.com> References: <4DA9B783.20905@fourthworld.com> Message-ID: <17D32CE6-EB1B-4797-A9F7-61C0F293B8CA@economy-x-talk.com> Hi Richard, Don't forget that buying a LiveCode license, which is necessay to compile any open-source LC stack, might be much more expensive than paying for compiled open-source software. Im not entirely sure how you define 'free', but your statement regarding free software seems flawed, since open-source software is not about free as in free beer but as in free speech. (I might have misunderstood your statement). -- Kind regards, Mark Schonewille Economy-x-Talk Http://economy-x-talk.com Share the clipboard of your computer over a local network with Clipboard Link http://clipboardlink.economy-x-talk.com Op 16 apr. 2011 om 17:36 heeft Richard Gaskin het volgende geschreven: > > True, and indeed there are some who make getting and using their GPL source unnecessarily cumbersome, such as sharing the source with no make file. > > But such a gambit is too easily transparent and risks alienating the very people who are providing your components, the FOSS community. Moreover, anyone can make a tool to obviate such a trick to make it easy to share the software. > > And of course with LiveCode, turning source into an executable requires only one click, so the number of people who might be willing to milk that cow is much larger than those who think it's difficult to run a make file. > > The point of GPL isn't to trick people into giving you free components for your app, but to participate in an open sharing of software. > > There's a reason most commercial works using GPL also use a dual license for their commercial version, rather than expecting people to pay for something that anyone can download, modify, and redistribute for free. > > The bottom line is that if you want to participate in free software, make free software. > > If instead you just want to benefit from free software without giving anything back to the community, read the license agreement very carefully and it may be good to consider consulting an attorney who specializes in IP to make sure the implications are well understood. > > LGPL is a bit more flexible in allowing a free component to be used in a non-free application, but straight GPL may not be so clear, whether "linked" or not, if you distribute the GPL'd component as part of your app, as you noted in the article at your site. > > I'm not an attorney, so local state law prohibits me from making any specific recommendations regarding licensing or other legal matters. > > But I am a contributor to a few open source projects, so I feel fairly confident that if a component developer chooses GPL instead of LGPL he did so for a reason, and under the rights acknowledged by international law we should honor their decision. > > When in doubt, the best way to understand the intentions of the creator of a work may be to simply ask him directly. If he's a free-software zealot he'll probably make that clear, and if he's willing to make a proprietary-use license available for reasonable terms he'll probably make that clear too. I find few developers turn down the opportunity to make unexpected money. :) > > -- > 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 coiin at verizon.net Sat Apr 16 12:20:53 2011 From: coiin at verizon.net (Colin Holgate) Date: Sat, 16 Apr 2011 12:20:53 -0400 Subject: take by a LiveCode developer I suspect... Message-ID: <9D968A95-0549-4900-8B05-B3755F54B753@verizon.net> I was looking over some of the tutorials online, and saw this picture: http://tinyurl.com/3gytlko My guess is that it was taken at the desk of one of the developers. Can you see what in the picture gives me that clue? From andre at andregarzia.com Sat Apr 16 12:36:54 2011 From: andre at andregarzia.com (Andre Garzia) Date: Sat, 16 Apr 2011 13:36:54 -0300 Subject: take by a LiveCode developer I suspect... In-Reply-To: <9D968A95-0549-4900-8B05-B3755F54B753@verizon.net> References: <9D968A95-0549-4900-8B05-B3755F54B753@verizon.net> Message-ID: OMG!!!! I am a collector of Rev versions but that collection is impressive... so many icons.... I have Rev from 2.1 and up saved somewhere here but I don't keep them at my dock... :-D now, what I've won? On Sat, Apr 16, 2011 at 1:20 PM, Colin Holgate wrote: > I was looking over some of the tutorials online, and saw this picture: > > http://tinyurl.com/3gytlko > > My guess is that it was taken at the desk of one of the developers. Can you > see what in the picture gives me that clue? > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From dunbarx at aol.com Sat Apr 16 12:41:10 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sat, 16 Apr 2011 12:41:10 -0400 Subject: take by a LiveCode developer I suspect... In-Reply-To: <9D968A95-0549-4900-8B05-B3755F54B753@verizon.net> References: <9D968A95-0549-4900-8B05-B3755F54B753@verizon.net> Message-ID: <8CDCA6C3A1B91B7-FA8-25C4E@Webmail-m123.sysops.aol.com> Colin. Margarine, not butter on that muffin? Glass half full, not half empty? A dozen or so open LC icons in the dock? Not sure. Craig -----Original Message----- From: Colin Holgate To: How to use LiveCode Sent: Sat, Apr 16, 2011 12:20 pm Subject: take by a LiveCode developer I suspect... I was looking over some of the tutorials online, and saw this picture: http://tinyurl.com/3gytlko My guess is that it was taken at the desk of one of the developers. Can you see what in the picture gives me that clue? _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Sat Apr 16 12:42:41 2011 From: coiin at verizon.net (Colin Holgate) Date: Sat, 16 Apr 2011 12:42:41 -0400 Subject: take by a LiveCode developer I suspect... In-Reply-To: References: <9D968A95-0549-4900-8B05-B3755F54B753@verizon.net> Message-ID: <0D1C4E86-BFBC-4CB2-B84F-D5B88566F681@verizon.net> On Apr 16, 2011, at 12:36 PM, Andre Garzia wrote: > OMG!!!! I am a collector of Rev versions but that collection is > impressive... so many icons.... I have Rev from 2.1 and up saved somewhere > here but I don't keep them at my dock... Those are just LiveCode. The latest version is open, and the previous 13 versions are still in the Dock. From coiin at verizon.net Sat Apr 16 12:57:01 2011 From: coiin at verizon.net (Colin Holgate) Date: Sat, 16 Apr 2011 12:57:01 -0400 Subject: take by a LiveCode developer I suspect... In-Reply-To: <8CDCA6C3A1B91B7-FA8-25C4E@Webmail-m123.sysops.aol.com> References: <9D968A95-0549-4900-8B05-B3755F54B753@verizon.net> <8CDCA6C3A1B91B7-FA8-25C4E@Webmail-m123.sysops.aol.com> Message-ID: <7535A03C-8A40-4F9D-9167-6BB8236B872E@verizon.net> On Apr 16, 2011, at 12:41 PM, DunbarX at aol.com wrote: > > Margarine, not butter on that muffin? > > > Glass half full, not half empty? The water bottle did seem out of place. I would expect it to be butter not margarine, and there to be a coffee, or Mountain Dew, instead of water. From bvg at mac.com Sat Apr 16 13:15:38 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat, 16 Apr 2011 19:15:38 +0200 Subject: Live LiveCode code event #19 In-Reply-To: <061D9182-B34B-4ABB-A7D6-9C2D09DA8755@mac.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> Message-ID: <684EBD9E-8876-47DE-B79F-947B19A20026@mac.com> One hour to go (well 45 minutes actually, but then, you are already in chatrev, anticipating the big show, aren't you?) On 15 Apr 2011, at 16:35, Bj?rnke von Gierke wrote: > damn! Funny thing is that my times _are_ from that site... Probably some summertime problem. > > Corrected times: > > Zurich 20:00 > New York 14:00 > San Francisco: 11:00 > Melbourne: 04:00 (Sun) > > On 15 Apr 2011, at 05:46, Colin Holgate wrote: > >> >> On Apr 14, 2011, at 7:29 PM, Bj?rnke von Gierke wrote: >> >>> Join the event on ChatRev at these times, this Saturday: >>> Brussels 20:00 >>> New York 15:00 >>> Los Angeles 12:00 >>> Melbourne 06:00 (Sun) >> >> >> If your time is correct for Brussels, it's wrong for all of the others. Look at this handy page: >> >> http://www.timeanddate.com/worldclock/fixedtime.html?msg=Live+LiveCode+code+event+%2319&iso=20110416T20&p1=48 >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From kee at kagi.com Sat Apr 16 13:17:32 2011 From: kee at kagi.com (Kee Nethery) Date: Sat, 16 Apr 2011 10:17:32 -0700 Subject: barber pole progress bar? In-Reply-To: References: <2D280880-B9B3-4D49-9590-74585CEFA709@economy-x-talk.com> <40781D73-C4B1-446B-8FF5-1C7EFF2C759B@economy-x-talk.com> Message-ID: How do I do a barber pole progress bar? I know that I should not use the "set cursor to busy" command in a Mac OS X app because that now signifies that the system is hung (thanks everyone for teaching me the proper way). I know instead I should use a progress bar. All well and good but ... I have an encryption process that is going to take some unknowable amount of time to complete and I know when it starts (0%) and when it ends (100%) but have no way to know how far along it is in between. What I think I want is a barber pole kind of progress bar that shows activity so that the user knows something is happening. Any ideas on the proper way to show that something invisible is happening and the user should relax, the system has not hung? Kee Nethery From maarten.koopmans at gmail.com Sat Apr 16 13:23:21 2011 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Sat, 16 Apr 2011 19:23:21 +0200 Subject: text field in modal allows no input In-Reply-To: References: Message-ID: Mac bug. Same stack on windows work fine with text input on a modal in a dragDrop. I'll see if I can file a bug. If you know of a work around (except redesigning the UI.....), I'd be very thankful. --Maarten On Sat, Apr 16, 2011 at 5:26 PM, Maarten Koopmans < maarten.koopmans at gmail.com> wrote: > Hi > > I have a main stack that accepts a drag-drop for files like this on a > hidden field the size of the card: > > *on* dragDrop > > *if* the dragData["files"] is not empty *then* > > *modal* stack "AddMetaData" > > addFiles(dragData["files"]) > > *end* *if* > > *set* the dragAction to link > > *pass* dragDrop > > *end* dragDrop > > > The addFiles command just copies the files. > > > AddMetaData is a substack with just one text field and an "OK" button, > > > *on* mouseUp > > *global* gNewTags > > *put the text of field MetaData into gNewMetaData* > > *close* this stack > > *end* mouseUp > > > The problem: the text field has focus, but I can't type in it! > > > I tried to mimick it with a simple mainstack/substack where the mainstack > has a button"Go modal", and the moda stack is the same, and there.... it > works. So I must be missings omething with te message path/drag drop/..... > > > Any clues? I have thought about a more wizard like behaviour, but nce I > start hiding/closing stacks and using go to things are indeed editable, but > highly unpredictable. > > > --Maarten > > > ** Just to be the clear, my use case is quite simple: > 1- user drags file on stack > 2- user adds some mandatory info about the files > 3- files get copied > > (2) is causing the problems, probably because I don't have my head wrapped > around LC completely (though I do feel more comfortable more and more) > From williamdesmet at gmail.com Sat Apr 16 14:37:38 2011 From: williamdesmet at gmail.com (William de Smet) Date: Sat, 16 Apr 2011 20:37:38 +0200 Subject: Question about position of cloned group In-Reply-To: <2F2C100A-B261-46F9-8E10-517C950629B0@numericable.com> References: <2F2C100A-B261-46F9-8E10-517C950629B0@numericable.com> Message-ID: @ Dubarx aand Ren?: Thanks for your answers and I will try them out later next week. greetings, William 2011/4/16 Ren? Micout : > (re) hello > > > ?clone grp "dummy" > ?set the name of it to Naam > > Ren? > > Le 16 avr. 2011 ? 16:14, William de Smet a ?crit : > >> ? clone grp "dummy" >> ? global Naam >> ? add 1 to Naam >> ? set the name of the last grp to Naam > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Sat Apr 16 14:46:17 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 16 Apr 2011 11:46:17 -0700 Subject: Rev/Livecode project and GPL Licenses In-Reply-To: <17D32CE6-EB1B-4797-A9F7-61C0F293B8CA@economy-x-talk.com> References: <17D32CE6-EB1B-4797-A9F7-61C0F293B8CA@economy-x-talk.com> Message-ID: <4DA9E3F9.2000909@fourthworld.com> Mark Schonewille wrote: > Don't forget that buying a LiveCode license, which is necessay > to compile any open-source LC stack, might be much more expensive > than paying for compiled open-source software. True, and along those lines it may cost less to simply write the author of a component you need to get permission like I'd suggested as perhaps the simplest option. But moreover, AFAIK (and again, I need to be clear that I'm not an attorney and can provide no specific legal advice) there's nothing stopping anyone who already has LiveCode from getting your GPL project, changing a line of code in it, and redistributing the modified copy in either source or executable form. This is a feature of the GPL, not a bug. If you have different requirements there are plenty of other licenses to choose from. > Im not entirely sure how you define 'free', but your statement > regarding free software seems flawed, since open-source software > is not about free as in free beer but as in free speech. (I might > have misunderstood your statement). I've never claimed to be an able to provide authorized legal counsel on the subject. Acknowledging this, I tried to avoid any specific interpretation of the GPL myself, instead strongly suggesting that one consult authorized legal counsel themselves, which can include the creator of the work in question. I fully recognize that the GPL is about the Four Freedoms and not about price, but I also recognize that nearly everyone who uses the GPL also gives the executable away for free. Most exceptions to this aren't governed by the GPL per se, but instead are offered under a dual licensing scheme such as that used by MySQL and others. It may well be that most of the world is wrong on this, that there's actually no need for dual licensing and the folks who sell MySQL are just confused. I only report what I see, and I see most GPL software being given away every bit as free-as-in-beer as it is free-as-in-freedom. Nothing prevents you from putting a price tag on freely-available software, but nothing prevents anyone else from just going elsewhere to get it for free. This is widely acknowledged as one of the keys reasons FOSS projects seek funding through services and training rather than through sale of the software itself. > -- > Kind regards, > > Mark Schonewille > Economy-x-Talk > Http://economy-x-talk.com > > > Op 16 apr. 2011 om 17:36 heeft Richard Gaskin het volgende geschreven: >> >> True, and indeed there are some who make getting and using their GPL source unnecessarily cumbersome, such as sharing the source with no make file. >> >> But such a gambit is too easily transparent and risks alienating the very people who are providing your components, the FOSS community. Moreover, anyone can make a tool to obviate such a trick to make it easy to share the software. >> >> And of course with LiveCode, turning source into an executable requires only one click, so the number of people who might be willing to milk that cow is much larger than those who think it's difficult to run a make file. >> >> The point of GPL isn't to trick people into giving you free components for your app, but to participate in an open sharing of software. >> >> There's a reason most commercial works using GPL also use a dual license for their commercial version, rather than expecting people to pay for something that anyone can download, modify, and redistribute for free. >> >> The bottom line is that if you want to participate in free software, make free software. >> >> If instead you just want to benefit from free software without giving anything back to the community, read the license agreement very carefully and it may be good to consider consulting an attorney who specializes in IP to make sure the implications are well understood. >> >> LGPL is a bit more flexible in allowing a free component to be used in a non-free application, but straight GPL may not be so clear, whether "linked" or not, if you distribute the GPL'd component as part of your app, as you noted in the article at your site. >> >> I'm not an attorney, so local state law prohibits me from making any specific recommendations regarding licensing or other legal matters. >> >> But I am a contributor to a few open source projects, so I feel fairly confident that if a component developer chooses GPL instead of LGPL he did so for a reason, and under the rights acknowledged by international law we should honor their decision. >> >> When in doubt, the best way to understand the intentions of the creator of a work may be to simply ask him directly. If he's a free-software zealot he'll probably make that clear, and if he's willing to make a proprietary-use license available for reasonable terms he'll probably make that clear too. I find few developers turn down the opportunity to make unexpected money. :) >> -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From jacque at hyperactivesw.com Sat Apr 16 14:51:34 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 16 Apr 2011 13:51:34 -0500 Subject: barber pole progress bar? In-Reply-To: References: <2D280880-B9B3-4D49-9590-74585CEFA709@economy-x-talk.com> <40781D73-C4B1-446B-8FF5-1C7EFF2C759B@economy-x-talk.com> Message-ID: <4DA9E536.4050702@hyperactivesw.com> On 4/16/11 12:17 PM, Kee Nethery wrote: > How do I do a barber pole progress bar? Look in the image library that ships with LiveCode (Development->Image Library.) There are several barber poles in there. They are just animated gif images, and when you need one you just show it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephenREVOLUTION2 at barncard.com Sat Apr 16 15:10:15 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 16 Apr 2011 12:10:15 -0700 Subject: barber pole progress bar? In-Reply-To: References: <2D280880-B9B3-4D49-9590-74585CEFA709@economy-x-talk.com> <40781D73-C4B1-446B-8FF5-1C7EFF2C759B@economy-x-talk.com> Message-ID: "set the cursor to busy" still works but is not the colorful and dreaded "spinning pizza" you mentioned. It is the ancient monochrome one, and it still is useful if not ugly. On 16 April 2011 10:17, Kee Nethery wrote: > How do I do a barber pole progress bar? > > I know that I should not use the "set cursor to busy" command in a Mac OS X > app because that now signifies that the system is hung (thanks everyone for > teaching me the proper way). I know instead I should use a progress bar. All > well and good but ... I have an encryption process that is going to take > some unknowable amount of time to complete and I know when it starts (0%) > and when it ends (100%) but have no way to know how far along it is in > between. What I think I want is a barber pole kind of progress bar that > shows activity so that the user knows something is happening. > > Any ideas on the proper way to show that something invisible is happening > and the user should relax, the system has not hung? > > Kee Nethery > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From kee at kagi.com Sat Apr 16 15:22:55 2011 From: kee at kagi.com (Kee Nethery) Date: Sat, 16 Apr 2011 12:22:55 -0700 Subject: barber pole progress bar? In-Reply-To: <4DA9E536.4050702@hyperactivesw.com> References: <2D280880-B9B3-4D49-9590-74585CEFA709@economy-x-talk.com> <40781D73-C4B1-446B-8FF5-1C7EFF2C759B@economy-x-talk.com> <4DA9E536.4050702@hyperactivesw.com> Message-ID: doh! hand slap to forehead. I was pretty sure I checked those images previously but obviously not because ... they are there. Thanks! Kee On Apr 16, 2011, at 11:51 AM, J. Landman Gay wrote: > On 4/16/11 12:17 PM, Kee Nethery wrote: >> How do I do a barber pole progress bar? > > Look in the image library that ships with LiveCode (Development->Image Library.) There are several barber poles in there. They are just animated gif images, and when you need one you just show it. > > -- From bonnmike at gmail.com Sat Apr 16 17:26:30 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 16 Apr 2011 15:26:30 -0600 Subject: text field in modal allows no input In-Reply-To: References: Message-ID: No longer have a mac, but I seem to remember this same thing happening in non-lc applications also, and intermittently in the lc dictionary(I think there were several threads about the dictionary annoyance here). The fix being to click outside the field then refocus the field. As a workaround, if its fast enough maybe you can use click and click a blank spot on the card, then focus back on the field object. Or more simply, have an obscured button or field (put it behind something opaque) and then focus on field "mycheaterfield" wait 10 milliseconds focus on field "fieldIreallywantfocused" don't know if it will work, can't test, but its a thought. On Sat, Apr 16, 2011 at 11:23 AM, Maarten Koopmans < maarten.koopmans at gmail.com> wrote: > Mac bug. Same stack on windows work fine with text input on a modal in a > dragDrop. I'll see if I can file a bug. > > If you know of a work around (except redesigning the UI.....), I'd be very > thankful. > > --Maarten > > On Sat, Apr 16, 2011 at 5:26 PM, Maarten Koopmans < > maarten.koopmans at gmail.com> wrote: > > > Hi > > > > I have a main stack that accepts a drag-drop for files like this on a > > hidden field the size of the card: > > > > *on* dragDrop > > > > *if* the dragData["files"] is not empty *then* > > > > *modal* stack "AddMetaData" > > > > addFiles(dragData["files"]) > > > > *end* *if* > > > > *set* the dragAction to link > > > > *pass* dragDrop > > > > *end* dragDrop > > > > > > The addFiles command just copies the files. > > > > > > AddMetaData is a substack with just one text field and an "OK" button, > > > > > > *on* mouseUp > > > > *global* gNewTags > > > > *put the text of field MetaData into gNewMetaData* > > > > *close* this stack > > > > *end* mouseUp > > > > > > The problem: the text field has focus, but I can't type in it! > > > > > > I tried to mimick it with a simple mainstack/substack where the mainstack > > has a button"Go modal", and the moda stack is the same, and there.... it > > works. So I must be missings omething with te message path/drag > drop/..... > > > > > > Any clues? I have thought about a more wizard like behaviour, but nce I > > start hiding/closing stacks and using go to things are indeed editable, > but > > highly unpredictable. > > > > > > --Maarten > > > > > > ** Just to be the clear, my use case is quite simple: > > 1- user drags file on stack > > 2- user adds some mandatory info about the files > > 3- files get copied > > > > (2) is causing the problems, probably because I don't have my head > wrapped > > around LC completely (though I do feel more comfortable more and more) > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From cathy1 at optonline.net Sat Apr 16 19:16:14 2011 From: cathy1 at optonline.net (EDWARD DENES) Date: Sat, 16 Apr 2011 19:16:14 -0400 (EDT) Subject: Data-Entry in a LiveCode form using the tab key Message-ID: <18450074.892739.1302995774212.JavaMail.cathy1@mail.srv.brptct.cv.net> I have constructed a form in LiveCode; I want to complete the data entry in each field by using the tab key. Is there a way to reconfigure the "tab sequence" of fields so that as one tabs and then types in the data, one progresses through each field sequentially throughout the form? Thanks, Ed Denes CONTACT INFO: Edward J Denes 510 Allyndale Drive Stratford, CT 06614-4308 cathy1 at optonline.net (203) 378-3111 From bonnmike at gmail.com Sat Apr 16 20:27:57 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 16 Apr 2011 18:27:57 -0600 Subject: Data-Entry in a LiveCode form using the tab key In-Reply-To: <18450074.892739.1302995774212.JavaMail.cathy1@mail.srv.brptct.cv.net> References: <18450074.892739.1302995774212.JavaMail.cathy1@mail.srv.brptct.cv.net> Message-ID: If you select a field and go to the size and position tab in the inspector, near the bottom it shows the layer of that object. To get the effect you want, re-layer them so that they're in numerical order. On Sat, Apr 16, 2011 at 5:16 PM, EDWARD DENES wrote: > I have constructed a form in LiveCode; I want to complete the data > entry in each field by using the tab key. Is there a way to reconfigure the > "tab sequence" of fields so that as one tabs and then types in the data, one > progresses through each field sequentially throughout the form? > Thanks, > Ed Denes > > CONTACT INFO: > > Edward J Denes > 510 Allyndale Drive > Stratford, CT 06614-4308 > > cathy1 at optonline.net > > (203) 378-3111 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From peterwawood at gmail.com Sun Apr 17 01:13:44 2011 From: peterwawood at gmail.com (Peter W A Wood) Date: Sun, 17 Apr 2011 13:13:44 +0800 Subject: take by a LiveCode developer I suspect... In-Reply-To: <8CDCA6C3A1B91B7-FA8-25C4E@Webmail-m123.sysops.aol.com> References: <9D968A95-0549-4900-8B05-B3755F54B753@verizon.net> <8CDCA6C3A1B91B7-FA8-25C4E@Webmail-m123.sysops.aol.com> Message-ID: <2229698E-7890-460E-B0AF-672C1F65483A@gmail.com> On 17 Apr 2011, at 00:41, dunbarx at aol.com wrote: > Margarine, not butter on that muffin? Oh dear, Craig. Have you never stepped foot in Scotland? It is clearly a scone. Cheers Peter From maarten.koopmans at gmail.com Sun Apr 17 01:45:50 2011 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Sun, 17 Apr 2011 07:45:50 +0200 Subject: text field in modal allows no input In-Reply-To: References: Message-ID: Thanks, I will test. The advantage of livecode being that you can redesign your UI flow so fast, i came up witha flow without modals tha people seems to like more (modals can be a bit intrusive). But I'll test anyway.... See if this trick helps for future ference :-) --Maarten On Saturday, April 16, 2011, Mike Bonner wrote: > No longer have a mac, but I seem to remember this same thing happening in > non-lc applications also, and intermittently in the lc dictionary(I think > there were several threads about the dictionary annoyance here). ?The fix > being to click outside the field then refocus the field. > > As a workaround, if its fast enough maybe you can use click and click a > blank spot on the card, then focus back on the field object. Or more simply, > have an obscured button or field (put it behind something opaque) and then > > focus on field "mycheaterfield" > wait 10 milliseconds > focus on field "fieldIreallywantfocused" > > don't know if it will work, can't test, but its a thought. > > On Sat, Apr 16, 2011 at 11:23 AM, Maarten Koopmans < > maarten.koopmans at gmail.com> wrote: > >> Mac bug. Same stack on windows work fine with text input on a modal in a >> dragDrop. I'll see if I can file a bug. >> >> If you ?know of a work around (except redesigning the UI.....), I'd be very >> thankful. >> >> --Maarten >> >> On Sat, Apr 16, 2011 at 5:26 PM, Maarten Koopmans < >> maarten.koopmans at gmail.com> wrote: >> >> > Hi >> > >> > I have a main stack that accepts a drag-drop for files like this on a >> > hidden field the size of the card: >> > >> > *on* dragDrop >> > >> > ? ?*if* the dragData["files"] is not empty *then* >> > >> > ? ? ? *modal* stack ?"AddMetaData" >> > >> > ? ? ? addFiles(dragData["files"]) >> > >> > ? ?*end* *if* >> > >> > ? ?*set* the dragAction to link >> > >> > ? ?*pass* dragDrop >> > >> > *end* dragDrop >> > >> > >> > The addFiles command just copies the files. >> > >> > >> > AddMetaData is a substack with just one text field and an "OK" button, >> > >> > >> > *on* mouseUp >> > >> > ? ?*global* gNewTags >> > >> > ? ?*put the text of field MetaData into gNewMetaData* >> > >> > ? ?*close* this stack >> > >> > *end* mouseUp >> > >> > >> > The problem: the text field has focus, but I can't type in it! >> > >> > >> > I tried to mimick it with a simple mainstack/substack where the mainstack >> > has a button"Go modal", and the moda stack is the same, and there.... it >> > works. So I must be missings omething with te message path/drag >> drop/..... >> > >> > >> > Any clues? I have thought about a more wizard like behaviour, but nce I >> > start hiding/closing stacks and using go to things are indeed editable, >> but >> > highly unpredictable. >> > >> > >> > --Maarten >> > >> > >> > ** Just to be the clear, my use case is quite simple: >> > 1- user drags file on stack >> > 2- user adds some mandatory info about the files >> > 3- files get copied >> > >> > (2) is causing the problems, probably because I don't have my head >> wrapped >> > around LC completely (though I do feel more comfortable more and more) >> > >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From maarten.koopmans at gmail.com Sun Apr 17 02:42:28 2011 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Sun, 17 Apr 2011 08:42:28 +0200 Subject: Check for first run Message-ID: Hi, Is there a best practice for checking if the application is on a first run for a standalone(especially one that will go to an App store eventually)? I simply need to ask the user a few questions on first run (and set up a sqlite db). Best, Maarten From gerry.orkin at gmail.com Sun Apr 17 04:26:36 2011 From: gerry.orkin at gmail.com (Gerry) Date: Sun, 17 Apr 2011 18:26:36 +1000 Subject: Check for first run In-Reply-To: References: Message-ID: <19DE150D560E4729994311D5705116FF@gmail.com> Check for a local file - if it isn't there you can be sure that it is the first time the app has been launched. After you ask your user your questions, write the file. On subsequent launches when you check for the file...it's there, so skip the questions. So on openstack do: put specialfolderpath ("documents") & "/" &"firstlaunch.txt" into pathToLaunchFile if there is not a file pathToLaunchFile then askYouQuestions set the defaultFolder to specialFolderPath("Documents") put "1" into URL (("file:firstlaunch.txt")) else doSomethingElse end if Gerry -- photos: http://gerryorkin.com On Sunday, 17 April 2011 at 4:42 PM, Maarten Koopmans wrote: > Hi, > > Is there a best practice for checking if the application is on a > first run for a standalone(especially one that will go to an App store > eventually)? > > I simply need to ask the user a few questions on first run (and set up > a sqlite db). > > Best, Maarten > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pmbrig at gmail.com Sun Apr 17 07:09:02 2011 From: pmbrig at gmail.com (Peter Brigham MD) Date: Sun, 17 Apr 2011 07:09:02 -0400 Subject: Rev/Livecode project and GPL Licenses In-Reply-To: <4DA852D0.4030200@fourthworld.com> References: <4DA852D0.4030200@fourthworld.com> Message-ID: <3E47FE8F-7BE5-47E4-A2AE-B499FB89B40F@gmail.com> On Apr 15, 2011, at 10:14 AM, Richard Gaskin wrote: > Scott McDonald wrote: > >> Thanks Mark for clarifying that. >> >> Where I was getting it mixed up, was that I was equating selling >> commercially with not making the source code available. >> >> But of course, they are not the same thing. > > Not exactly the same, but how many people pay for milk when they can get the cow for free? Many, many people. If it means they don't have to milk the cow themselves, and feed it, and stable it, and call the vet when it's ill.... There's value added by the coder who puts something useful together and maintains it, even if the product is open license and could be hacked at will. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From klaus at major.on-rev.com Sun Apr 17 07:15:15 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sun, 17 Apr 2011 13:15:15 +0200 Subject: Rev/Livecode project and GPL Licenses In-Reply-To: <3E47FE8F-7BE5-47E4-A2AE-B499FB89B40F@gmail.com> References: <4DA852D0.4030200@fourthworld.com> <3E47FE8F-7BE5-47E4-A2AE-B499FB89B40F@gmail.com> Message-ID: <4B533AD4-43D8-4945-91EE-3A04124D709D@major.on-rev.com> Hi all, > On Apr 15, 2011, at 10:14 AM, Richard Gaskin wrote: >> Scott McDonald wrote: >>> Thanks Mark for clarifying that. >>> Where I was getting it mixed up, was that I was equating selling >>> commercially with not making the source code available. >>> But of course, they are not the same thing. >> Not exactly the same, but how many people pay for milk when they can get the cow for free? > Many, many people. If it means they don't have to milk the cow themselves, and feed it, and stable it, and call the vet when it's ill.... There's value added by the coder who puts something useful together and maintains it, even if the product is open license and could be hacked at will. Be careful guys! Cow -> Milk -> ? The next step might be the baneful CHEESE! :-D > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From klaus at major.on-rev.com Sun Apr 17 07:38:33 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sun, 17 Apr 2011 13:38:33 +0200 Subject: Resizing a datagrid form Message-ID: Hi friends, is it possible to resize the content of a datagrid form when the stack resizes? I mean the CONTENTS of the datagrid form, not only the groups rect! Know what I mean? Any hint very welcome :-) Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From wow at together.net Sun Apr 17 12:08:29 2011 From: wow at together.net (Richard Miller) Date: Sun, 17 Apr 2011 12:08:29 -0400 Subject: iphone/ipad 2 app -- can this work? In-Reply-To: References: Message-ID: <4DAB107D.6030801@together.net> Having spent no time yet with the iphone/ipad side of LiveCode, I have a few basic questions that apply to an app I'd like to build. 1. Is the built-in camera readily accessible through LC to control capturing video? 2. Could a bluetooth keypad be used to activate, perhaps, 8-10 different functions I would build through LC... functions that could be activated just the same by pressing screen buttons in the LC app? I want to allow the user to be able to control my app without having to hold the iphone/ipad 2 in hand. 3. Does LC provide frame-by-frame playback control of a video on these devices? Thanks. Richard Miller From effendi at wanadoo.fr Sun Apr 17 12:17:09 2011 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Sun, 17 Apr 2011 18:17:09 +0200 Subject: weekdaynames Message-ID: Hi from Beautiful Brittany, Klaus, This won't help you at all, but it will explain why Sunday is considered as the first day of the week, http://www.cjvlang.com/Dow/SunMon.html although there appears to be a recent swing to Monday instead of Sunday. Because Monday is now the official choice (ISO standard), maybe LiveCode should be modified. http://en.wikipedia.org/wiki/ISO_8601 Anybody want to vote on this ? Best Regards -Francis "Nothing should ever be done for the first time !" From rene.micout at numericable.com Sun Apr 17 12:28:35 2011 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Sun, 17 Apr 2011 18:28:35 +0200 Subject: weekdaynames In-Reply-To: References: Message-ID: Very good !! Tr?s int?ressant !! Rene(?) Le 17 avr. 2011 ? 18:17, Francis Nugent Dixon a ?crit : > Hi from Beautiful Brittany, > > Klaus, > > This won't help you at all, but it will explain why > Sunday is considered as the first day of the week, > > http://www.cjvlang.com/Dow/SunMon.html > > although there appears to be a recent swing to Monday > instead of Sunday. > > Because Monday is now the official choice (ISO standard), > maybe LiveCode should be modified. > > http://en.wikipedia.org/wiki/ISO_8601 > > Anybody want to vote on this ? > > Best Regards > > -Francis > > "Nothing should ever be done for the first time !" > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dan at clearvisiontech.com Sun Apr 17 13:11:53 2011 From: dan at clearvisiontech.com (Dan Friedman) Date: Sun, 17 Apr 2011 10:11:53 -0700 Subject: Android Phone In-Reply-To: References: Message-ID: <74847E20-E344-4AA7-975D-DCBAD1C47964@clearvisiontech.com> Gentlemen, I know nothing about the Android. I am a iPhone user. As I am about to embark on writing for the Android, I thought I should have one to test on. A friend of a friend got a new phone and has offered me his old Android phone for $40. It is a T-Mobile Android G1. It's white and says "with Google" on the back. It looks exactly like this: http://www.g1googlephone.com/images/tmobile_g1_google_phone_white.jpg Does anyone know if this is a good phone for testing apps built with LC? Is it to old? I don't want to use it as an actual phone, just for app testing. ANY thoughts or advice would be appreciated. Thank you in advance, -Dan From dunbarx at aol.com Sun Apr 17 13:56:51 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 17 Apr 2011 13:56:51 -0400 Subject: Check for first run In-Reply-To: References: Message-ID: <8CDCB3FF71CA91E-1684-363C9@webmail-m093.sysops.aol.com> Hi. Couldn't you set a custom property that is initially set to "unopened", and then set to "mature" after your questions? The app checks the property each time it opens, and, of course, it mostly finds "mature". -----Original Message----- From: Maarten Koopmans To: use-livecode at lists.runrev.com Sent: Sun, Apr 17, 2011 2:42 am Subject: Check for first run Hi, Is there a best practice for checking if the application is on a first run for a standalone(especially one that will go to an App store eventually)? I simply need to ask the user a few questions on first run (and set up a sqlite db). Best, Maarten _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Sun Apr 17 14:11:24 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 17 Apr 2011 14:11:24 -0400 Subject: Data-Entry in a LiveCode form using the tab key In-Reply-To: <18450074.892739.1302995774212.JavaMail.cathy1@mail.srv.brptct.cv.net> References: <18450074.892739.1302995774212.JavaMail.cathy1@mail.srv.brptct.cv.net> Message-ID: <8CDCB41FF43D51E-1684-365D8@webmail-m093.sysops.aol.com> Mike is correct of course. Sometimes though, it is either inconvenient or counterproductive to re-order the fields. You can always trap the tabKey message and explicitly select the text of the field you want: on tabKey select the text of fld "yourNextField" end tabKey Put this in all the fields in your tab order and designate the one to follow. Craig Newman -----Original Message----- From: EDWARD DENES To: use-livecode at lists.runrev.com Sent: Sat, Apr 16, 2011 7:16 pm Subject: Data-Entry in a LiveCode form using the tab key I have constructed a form in LiveCode; I want to complete the data entry in each field by using the tab key. Is there a way to reconfigure the "tab sequence" of fields so that as one tabs and then types in the data, one progresses through each field sequentially throughout the form? Thanks, Ed Denes CONTACT INFO: Edward J Denes 510 Allyndale Drive Stratford, CT 06614-4308 cathy1 at optonline.net (203) 378-3111 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sun Apr 17 14:13:21 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 17 Apr 2011 13:13:21 -0500 Subject: Check for first run In-Reply-To: <8CDCB3FF71CA91E-1684-363C9@webmail-m093.sysops.aol.com> References: <8CDCB3FF71CA91E-1684-363C9@webmail-m093.sysops.aol.com> Message-ID: <4DAB2DC1.8040008@hyperactivesw.com> On 4/17/11 12:56 PM, dunbarx at aol.com wrote: > Hi. > > > Couldn't you set a custom property that is initially set to > "unopened", and then set to "mature" after your questions? The app > checks the property each time it opens, and, of course, it mostly > finds "mature". A standalone can't save changes to itself, so the property wouldn't ever change unless it was attached to a separate stack. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From roger.e.eller at sealedair.com Sun Apr 17 14:17:41 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 17 Apr 2011 14:17:41 -0400 Subject: Android Phone In-Reply-To: <74847E20-E344-4AA7-975D-DCBAD1C47964@clearvisiontech.com> References: <74847E20-E344-4AA7-975D-DCBAD1C47964@clearvisiontech.com> Message-ID: The G1 is a good phone, but if I remember correctly, it only has android 1.5, and RunRev will support 2.2 and higher. If the G1 can be updated, it may work, but I don't think it can be. -Roger On Apr 17, 2011 10:13 AM, "Dan Friedman" wrote: > Gentlemen, > > I know nothing about the Android. I am a iPhone user. As I am about to embark on writing for the Android, I thought I should have one to test on. A friend of a friend got a new phone and has offered me his old Android phone for $40. It is a T-Mobile Android G1. It's white and says "with Google" on the back. It looks exactly like this: > > http://www.g1googlephone.com/images/tmobile_g1_google_phone_white.jpg > > Does anyone know if this is a good phone for testing apps built with LC? Is it to old? I don't want to use it as an actual phone, just for app testing. > > ANY thoughts or advice would be appreciated. > > Thank you in advance, > -Dan > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Sun Apr 17 14:33:15 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 17 Apr 2011 14:33:15 -0400 Subject: Check for first run In-Reply-To: <4DAB2DC1.8040008@hyperactivesw.com> References: <8CDCB3FF71CA91E-1684-363C9@webmail-m093.sysops.aol.com> <4DAB2DC1.8040008@hyperactivesw.com> Message-ID: <8CDCB450C6C914E-1684-368E7@webmail-m093.sysops.aol.com> Jacques. There was to be a connection to an sql database, so I assumed that the stack in question was not the executable. Craig -----Original Message----- From: J. Landman Gay To: How to use LiveCode Sent: Sun, Apr 17, 2011 2:13 pm Subject: Re: Check for first run On 4/17/11 12:56 PM, dunbarx at aol.com wrote: > Hi. > > > Couldn't you set a custom property that is initially set to > "unopened", and then set to "mature" after your questions? The app > checks the property each time it opens, and, of course, it mostly > finds "mature". A standalone can't save changes to itself, so the property wouldn't ever change unless it was attached to a separate stack. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jimaultwins at yahoo.com Sun Apr 17 15:59:27 2011 From: jimaultwins at yahoo.com (Jim Ault) Date: Sun, 17 Apr 2011 12:59:27 -0700 Subject: Data-Entry in a LiveCode form using the tab key In-Reply-To: <8CDCB41FF43D51E-1684-365D8@webmail-m093.sysops.aol.com> References: <18450074.892739.1302995774212.JavaMail.cathy1@mail.srv.brptct.cv.net> <8CDCB41FF43D51E-1684-365D8@webmail-m093.sysops.aol.com> Message-ID: <24E8AD6F-4223-46ED-947B-054B1B82D47D@yahoo.com> On Apr 17, 2011, at 11:11 AM, dunbarx at aol.com wrote: > on tabKey > select the text of fld "yourNextField" > end tabKey > > Put this in all the fields in your tab order and designate the one > to follow. > > Craig Newman and using Craig's technique, you can go to a 'next field' based on the user input in the current field, or any other field, or preferences chosen by the user. ... thus you will have smart tabbing. There are some trickier ways of programming this, but simpler is usually better. Jim Ault Las Vegas > -----Original Message----- > From: EDWARD DENES > To: use-livecode at lists.runrev.com > Sent: Sat, Apr 16, 2011 7:16 pm > Subject: Data-Entry in a LiveCode form using the tab key > > > I have constructed a form in LiveCode; I want to complete > the data entry in each field by using the tab key. Is there a way > to reconfigure the "tab sequence" of fields so that as one tabs and > then types in the data, one progresses through each field > sequentially throughout the form? From andre at andregarzia.com Sun Apr 17 16:37:29 2011 From: andre at andregarzia.com (Andre Garzia) Date: Sun, 17 Apr 2011 17:37:29 -0300 Subject: Android Phone In-Reply-To: <74847E20-E344-4AA7-975D-DCBAD1C47964@clearvisiontech.com> References: <74847E20-E344-4AA7-975D-DCBAD1C47964@clearvisiontech.com> Message-ID: check the nexus s, it is a better phone or the nexus one, the G1 is terribly underpowered by current standards. On Sun, Apr 17, 2011 at 2:11 PM, Dan Friedman wrote: > Gentlemen, > > I know nothing about the Android. I am a iPhone user. As I am about to > embark on writing for the Android, I thought I should have one to test on. > A friend of a friend got a new phone and has offered me his old Android > phone for $40. It is a T-Mobile Android G1. It's white and says "with > Google" on the back. It looks exactly like this: > > http://www.g1googlephone.com/images/tmobile_g1_google_phone_white.jpg > > Does anyone know if this is a good phone for testing apps built with LC? > Is it to old? I don't want to use it as an actual phone, just for app > testing. > > ANY thoughts or advice would be appreciated. > > Thank you in advance, > -Dan > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From warren at warrensweb.us Sun Apr 17 16:38:05 2011 From: warren at warrensweb.us (Warren Samples) Date: Sun, 17 Apr 2011 15:38:05 -0500 Subject: Check for first run In-Reply-To: References: Message-ID: <201104171538.05240.warren@warrensweb.us> On Sunday, April 17, 2011 01:42:28 AM Maarten Koopmans wrote: > Hi, > > Is there a best practice for checking if the application is on a > first run for a standalone(especially one that will go to an App store > eventually)? > > I simply need to ask the user a few questions on first run (and set up > a sqlite db). > > Best, Maarten Why don't you check for the existence of the db file? If it exists, your app has been run, no? If it doesn't exist, then you'll have to go through setup, even if it has run before but the file has been deleted. Warren From pete at mollysrevenge.com Sun Apr 17 17:55:48 2011 From: pete at mollysrevenge.com (Pete) Date: Sun, 17 Apr 2011 14:55:48 -0700 Subject: Check for first run In-Reply-To: <201104171538.05240.warren@warrensweb.us> References: <201104171538.05240.warren@warrensweb.us> Message-ID: Even if the db does exist, just set a value into a column in in to indicate initialisation has occurred. Pete Molly's Revenge On Sun, Apr 17, 2011 at 1:38 PM, Warren Samples wrote: > On Sunday, April 17, 2011 01:42:28 AM Maarten Koopmans wrote: > > Hi, > > > > Is there a best practice for checking if the application is on a > > first run for a standalone(especially one that will go to an App store > > eventually)? > > > > I simply need to ask the user a few questions on first run (and set up > > a sqlite db). > > > > Best, Maarten > > > Why don't you check for the existence of the db file? If it exists, your > app has been run, no? If it doesn't > exist, then you'll have to go through setup, even if it has run before but > the file has been deleted. > > 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 pete at mollysrevenge.com Sun Apr 17 17:56:55 2011 From: pete at mollysrevenge.com (Pete) Date: Sun, 17 Apr 2011 14:56:55 -0700 Subject: Data-Entry in a LiveCode form using the tab key In-Reply-To: <8CDCB41FF43D51E-1684-365D8@webmail-m093.sysops.aol.com> References: <18450074.892739.1302995774212.JavaMail.cathy1@mail.srv.brptct.cv.net> <8CDCB41FF43D51E-1684-365D8@webmail-m093.sysops.aol.com> Message-ID: I like that! Might even be good to have a custom property that defines the next field? Pete Molly's Revenge On Sun, Apr 17, 2011 at 11:11 AM, wrote: > Mike is correct of course. Sometimes though, it is either inconvenient or > counterproductive to re-order the fields. You can always trap the tabKey > message and explicitly select the text of the field you want: > > > on tabKey > select the text of fld "yourNextField" > end tabKey > > > Put this in all the fields in your tab order and designate the one to > follow. > > > Craig Newman > > > > > > > -----Original Message----- > From: EDWARD DENES > To: use-livecode at lists.runrev.com > Sent: Sat, Apr 16, 2011 7:16 pm > Subject: Data-Entry in a LiveCode form using the tab key > > > I have constructed a form in LiveCode; I want to complete the data > entry in each field by using the tab key. Is there a way to reconfigure the > "tab sequence" of fields so that as one tabs and then types in the data, one > progresses through each field sequentially throughout the form? > Thanks, > Ed Denes > > CONTACT INFO: > > Edward J Denes > 510 Allyndale Drive > Stratford, CT 06614-4308 > > cathy1 at optonline.net > > (203) 378-3111 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From ambassador at fourthworld.com Sun Apr 17 19:15:31 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 17 Apr 2011 16:15:31 -0700 Subject: Rev/Livecode project and GPL Licenses In-Reply-To: <3E47FE8F-7BE5-47E4-A2AE-B499FB89B40F@gmail.com> References: <3E47FE8F-7BE5-47E4-A2AE-B499FB89B40F@gmail.com> Message-ID: <4DAB7493.1000908@fourthworld.com> Peter Brigham wrote: > On Apr 15, 2011, at 10:14 AM, Richard Gaskin wrote: > >> Scott McDonald wrote: >>> Where I was getting it mixed up, was that I was equating selling >>> commercially with not making the source code available. >>> >>> But of course, they are not the same thing. >> >> Not exactly the same, but how many people pay for milk when they can get the cow for free? > > Many, many people. If it means they don't have to milk the cow themselves, and feed it, and stable it, and call the vet when it's ill.... There's value added by the coder who puts something useful together and maintains it, even if the product is open license and could be hacked at will. Can you think of three examples of software governed by the GPL has its development expenses met by sales of the software itself? It seems most of the FOSS world is doing something very different.... -- 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 sarah.reichelt at gmail.com Sun Apr 17 19:28:55 2011 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 18 Apr 2011 09:28:55 +1000 Subject: This Connection is Untrusted In-Reply-To: <74214234-83EC-44BE-AF7C-FD641FD3D9BB@pacifier.com> References: <74214234-83EC-44BE-AF7C-FD641FD3D9BB@pacifier.com> Message-ID: On Fri, Apr 15, 2011 at 9:37 PM, -=>JB <=- wrote: > I just tried to connect to my On-Rev cPanel and received > the message, > > This Connection is Untrusted > > What is going on? ?It also states someone might be trying > to impersonate my sight or something like that. This is due to your site being hosted on a virtual server. If you have your own domain name, the browser sees that you are connecting to www.yourdomain.com, but this is getting to yourdomain.on-rev.com So this is seen as a potential hijacking of your link or site. When you get this warning, you should get the ability to inspect the certificate - so long as it says RunRev or On-Rev or something familiar, then you know it is OK. Cheers, Sarah From dunbarx at aol.com Sun Apr 17 20:26:34 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 17 Apr 2011 20:26:34 -0400 Subject: Data-Entry in a LiveCode form using the tab key In-Reply-To: References: <18450074.892739.1302995774212.JavaMail.cathy1@mail.srv.brptct.cv.net><8CDCB41FF43D51E-1684-365D8@webmail-m093.sysops.aol.com> Message-ID: <8CDCB766875AE47-B6C-34C90@webmail-d077.sysops.aol.com> Now you're cooking. If you do this you can have a single handler at the card or stack level instead of millions of local handlers. Just check the property, and where it is directing towards: on tabKey if the tabGizmo is not "" then select the text of the tabGizmo end tabKey This property can contain the name or id of the next target, or leave it empty if that field is not in the custom order. Craig Newman -----Original Message----- From: Pete To: How to use LiveCode Sent: Sun, Apr 17, 2011 5:56 pm Subject: Re: Data-Entry in a LiveCode form using the tab key I like that! Might even be good to have a custom property that defines the next field? Pete Molly's Revenge On Sun, Apr 17, 2011 at 11:11 AM, wrote: > Mike is correct of course. Sometimes though, it is either inconvenient or > counterproductive to re-order the fields. You can always trap the tabKey > message and explicitly select the text of the field you want: > > > on tabKey > select the text of fld "yourNextField" > end tabKey > > > Put this in all the fields in your tab order and designate the one to > follow. > > > Craig Newman > > > > > > > -----Original Message----- > From: EDWARD DENES > To: use-livecode at lists.runrev.com > Sent: Sat, Apr 16, 2011 7:16 pm > Subject: Data-Entry in a LiveCode form using the tab key > > > I have constructed a form in LiveCode; I want to complete the data > entry in each field by using the tab key. Is there a way to reconfigure the > "tab sequence" of fields so that as one tabs and then types in the data, one > progresses through each field sequentially throughout the form? > Thanks, > Ed Denes > > CONTACT INFO: > > Edward J Denes > 510 Allyndale Drive > Stratford, CT 06614-4308 > > cathy1 at optonline.net > > (203) 378-3111 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Sun Apr 17 21:04:42 2011 From: pete at mollysrevenge.com (Pete) Date: Sun, 17 Apr 2011 18:04:42 -0700 Subject: Palette question Message-ID: I must be missing something obvious but how do you prevent a palette window from being resized? When I open a stack in palette mode, it still has the little resize icon at the bottom right but I see the LC tools palette doesn;t have that. Thanks, Pete Molly's Revenge From bonnmike at gmail.com Sun Apr 17 22:18:04 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 17 Apr 2011 20:18:04 -0600 Subject: Palette question In-Reply-To: References: Message-ID: To do it in code, set the resizable of stack "stack" to false or can do it in the inspector. On Sun, Apr 17, 2011 at 7:04 PM, Pete wrote: > I must be missing something obvious but how do you prevent a palette window > from being resized? When I open a stack in palette mode, it still has the > little resize icon at the bottom right but I see the LC tools palette > doesn;t have that. > > Thanks, > > > 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 sundown at pacifier.com Sun Apr 17 22:31:29 2011 From: sundown at pacifier.com (-=>JB<=-) Date: Sun, 17 Apr 2011 19:31:29 -0700 Subject: This Connection is Untrusted In-Reply-To: References: <74214234-83EC-44BE-AF7C-FD641FD3D9BB@pacifier.com> Message-ID: <9651E963-FEE4-4097-8DD7-4B6B8EED8950@pacifier.com> Thanks for the info, Sarah. -=>JB<=- On Apr 17, 2011, at 4:28 PM, Sarah Reichelt wrote: > On Fri, Apr 15, 2011 at 9:37 PM, -=>JB <=- wrote: >> I just tried to connect to my On-Rev cPanel and received >> the message, >> >> This Connection is Untrusted >> >> What is going on? It also states someone might be trying >> to impersonate my sight or something like that. > > > This is due to your site being hosted on a virtual server. > If you have your own domain name, the browser sees that you are connecting to > www.yourdomain.com, but this is getting to yourdomain.on-rev.com > > So this is seen as a potential hijacking of your link or site. > > When you get this warning, you should get the ability to inspect the > certificate - so long as it says RunRev or On-Rev or something > familiar, then you know it is OK. > > Cheers, > Sarah > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From maarten.koopmans at gmail.com Mon Apr 18 02:34:25 2011 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Mon, 18 Apr 2011 08:34:25 +0200 Subject: text field in modal allows no input In-Reply-To: References: Message-ID: I added this to openCard, but alas, still didn't work :-( --Maarten On Sun, Apr 17, 2011 at 7:45 AM, Maarten Koopmans < maarten.koopmans at gmail.com> wrote: > Thanks, I will test. The advantage of livecode being that you can > redesign your UI flow so fast, i came up witha flow without modals tha > people seems to like more (modals can be a bit intrusive). But I'll > test anyway.... See if this trick helps for future ference :-) > > --Maarten > > On Saturday, April 16, 2011, Mike Bonner wrote: > > No longer have a mac, but I seem to remember this same thing happening in > > non-lc applications also, and intermittently in the lc dictionary(I think > > there were several threads about the dictionary annoyance here). The fix > > being to click outside the field then refocus the field. > > > > As a workaround, if its fast enough maybe you can use click and click a > > blank spot on the card, then focus back on the field object. Or more > simply, > > have an obscured button or field (put it behind something opaque) and > then > > > > focus on field "mycheaterfield" > > wait 10 milliseconds > > focus on field "fieldIreallywantfocused" > > > > don't know if it will work, can't test, but its a thought. > > > > On Sat, Apr 16, 2011 at 11:23 AM, Maarten Koopmans < > > maarten.koopmans at gmail.com> wrote: > > > >> Mac bug. Same stack on windows work fine with text input on a modal in a > >> dragDrop. I'll see if I can file a bug. > >> > >> If you know of a work around (except redesigning the UI.....), I'd be > very > >> thankful. > >> > >> --Maarten > >> > >> On Sat, Apr 16, 2011 at 5:26 PM, Maarten Koopmans < > >> maarten.koopmans at gmail.com> wrote: > >> > >> > Hi > >> > > >> > I have a main stack that accepts a drag-drop for files like this on a > >> > hidden field the size of the card: > >> > > >> > *on* dragDrop > >> > > >> > *if* the dragData["files"] is not empty *then* > >> > > >> > *modal* stack "AddMetaData" > >> > > >> > addFiles(dragData["files"]) > >> > > >> > *end* *if* > >> > > >> > *set* the dragAction to link > >> > > >> > *pass* dragDrop > >> > > >> > *end* dragDrop > >> > > >> > > >> > The addFiles command just copies the files. > >> > > >> > > >> > AddMetaData is a substack with just one text field and an "OK" button, > >> > > >> > > >> > *on* mouseUp > >> > > >> > *global* gNewTags > >> > > >> > *put the text of field MetaData into gNewMetaData* > >> > > >> > *close* this stack > >> > > >> > *end* mouseUp > >> > > >> > > >> > The problem: the text field has focus, but I can't type in it! > >> > > >> > > >> > I tried to mimick it with a simple mainstack/substack where the > mainstack > >> > has a button"Go modal", and the moda stack is the same, and there.... > it > >> > works. So I must be missings omething with te message path/drag > >> drop/..... > >> > > >> > > >> > Any clues? I have thought about a more wizard like behaviour, but nce > I > >> > start hiding/closing stacks and using go to things are indeed > editable, > >> but > >> > highly unpredictable. > >> > > >> > > >> > --Maarten > >> > > >> > > >> > ** Just to be the clear, my use case is quite simple: > >> > 1- user drags file on stack > >> > 2- user adds some mandatory info about the files > >> > 3- files get copied > >> > > >> > (2) is causing the problems, probably because I don't have my head > >> wrapped > >> > around LC completely (though I do feel more comfortable more and more) > >> > > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > From maarten.koopmans at gmail.com Mon Apr 18 02:36:07 2011 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Mon, 18 Apr 2011 08:36:07 +0200 Subject: Check for first run In-Reply-To: References: <201104171538.05240.warren@warrensweb.us> Message-ID: Yes, I was thinking along those lines but... Iw ant the user to point to a root folder, where (among others) the db file will be stored :-) But I should be able to take it from here. --Maarten On Sun, Apr 17, 2011 at 11:55 PM, Pete wrote: > Even if the db does exist, just set a value into a column in in to indicate > initialisation has occurred. > > Pete > Molly's Revenge > > > > > On Sun, Apr 17, 2011 at 1:38 PM, Warren Samples >wrote: > > > On Sunday, April 17, 2011 01:42:28 AM Maarten Koopmans wrote: > > > Hi, > > > > > > Is there a best practice for checking if the application is on a > > > first run for a standalone(especially one that will go to an App store > > > eventually)? > > > > > > I simply need to ask the user a few questions on first run (and set up > > > a sqlite db). > > > > > > Best, Maarten > > > > > > Why don't you check for the existence of the db file? If it exists, your > > app has been run, no? If it doesn't > > exist, then you'll have to go through setup, even if it has run before > but > > the file has been deleted. > > > > 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 kevin at runrev.com Mon Apr 18 06:36:14 2011 From: kevin at runrev.com (Kevin Miller) Date: Mon, 18 Apr 2011 11:36:14 +0100 Subject: Android Phone In-Reply-To: <74847E20-E344-4AA7-975D-DCBAD1C47964@clearvisiontech.com> Message-ID: On 17/04/2011 18:11, "Dan Friedman" wrote: > I know nothing about the Android. I am a iPhone user. As I am about to > embark on writing for the Android, I thought I should have one to test on. A > friend of a friend got a new phone and has offered me his old Android phone > for $40. It is a T-Mobile Android G1. It's white and says "with Google" on > the back. It looks exactly like this: > > http://www.g1googlephone.com/images/tmobile_g1_google_phone_white.jpg > > Does anyone know if this is a good phone for testing apps built with LC? Is > it to old? I don't want to use it as an actual phone, just for app testing. > > ANY thoughts or advice would be appreciated. Make sure it runs Android 2.2 or later. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ LiveCode: Compile-free coding, the faster path to better apps From lists at mangomultimedia.com Mon Apr 18 07:12:12 2011 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 18 Apr 2011 07:12:12 -0400 Subject: Resizing a datagrid form In-Reply-To: References: Message-ID: On Sun, Apr 17, 2011 at 7:38 AM, Klaus on-rev wrote: > > > is it possible to resize the content of a datagrid form when the stack > resizes? > I mean the CONTENTS of the datagrid form, not only the groups rect! > Know what I mean? > > Any hint very welcome :-) > set the rect of group "Data Grid" to myNewRect The data grid processes the resizeControl message which is sent to the group when the rect changes. The contents of the data grid will receive the LayoutControl message and everything will resize accordingly. -- Trevor DeVore Blue Mango Learning Systems LiveCode Resources for Developers: http://livecode.bluemangolearning.com Get SQL Yoga as part of the Omegabundle for LiveCode 2011: Save 85% on essential tools for LiveCode development - omegabundle.com. From lists at mangomultimedia.com Mon Apr 18 07:22:04 2011 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 18 Apr 2011 07:22:04 -0400 Subject: text field in modal allows no input In-Reply-To: References: Message-ID: On Sat, Apr 16, 2011 at 11:26 AM, Maarten Koopmans < maarten.koopmans at gmail.com> wrote: > I have a main stack that accepts a drag-drop for files like this on a > hidden > field the size of the card: > > *on* dragDrop > > *if* the dragData["files"] is not empty *then* > > *modal* stack "AddMetaData" > > addFiles(dragData["files"]) > > *end* *if* > > *set* the dragAction to link > > *pass* dragDrop > > *end* dragDrop' > You might try processing the files outside of the drag event. Change: modal stack "AddMetaData" addFiles(dragData["files"]) To: put the dragData["files"] into theFiles send "ProcessDrop theFiles" to me in 0 milliseconds And add: on ProcessDrop pFiles modal stack "AddMetaData" addFiles pFiles end ProcessDrop One thing to note is that it is possible for dragData["files"] to disappear after a drag and drop operation. I have seen graphics applications that make a file available during drag and drop but then delete it when the drag and drop operation is complete. In this scenario you need to copy the files to a new location in dragDrop and then process the copies outside of the drag and drop operation. This scenario is probably rare though. Even if this solves the problem I would recommend filing a bug report so the issue can possibly be fixed in the future. -- Trevor DeVore Blue Mango Learning Systems LiveCode Resources for Developers: http://livecode.bluemangolearning.com Get SQL Yoga as part of the Omegabundle for LiveCode 2011: Save 85% on essential tools for LiveCode development - omegabundle.com. From lists at mangomultimedia.com Mon Apr 18 07:24:04 2011 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 18 Apr 2011 07:24:04 -0400 Subject: Check for first run In-Reply-To: References: Message-ID: On Sun, Apr 17, 2011 at 2:42 AM, Maarten Koopmans < maarten.koopmans at gmail.com> wrote: > Is there a best practice for checking if the application is on a > first run for a standalone(especially one that will go to an App store > eventually)? > > I simply need to ask the user a few questions on first run (and set up > a sqlite db). > Does your application create a preference file? If so you could check whether or not the pref file exists yet. If it doesn't then consider it a first run. -- Trevor DeVore Blue Mango Learning Systems LiveCode Resources for Developers: http://livecode.bluemangolearning.com Get SQL Yoga as part of the Omegabundle for LiveCode 2011: Save 85% on essential tools for LiveCode development - omegabundle.com. From gbojsza at gmail.com Mon Apr 18 07:25:49 2011 From: gbojsza at gmail.com (Glen Bojsza) Date: Mon, 18 Apr 2011 05:25:49 -0600 Subject: Source code for QT external Message-ID: Hello, I am looking to see if the source code that was used for the QT external is available and if so, where can it be downloaded. This is for the actual source code not the external itself. regards, Glen From klaus at major.on-rev.com Mon Apr 18 07:30:55 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Mon, 18 Apr 2011 13:30:55 +0200 Subject: Resizing a datagrid form In-Reply-To: References: Message-ID: <0DDBCE01-7D48-4F30-A921-153506D3C25E@major.on-rev.com> Hi Trevor, > On Sun, Apr 17, 2011 at 7:38 AM, Klaus on-rev wrote: >> >> is it possible to resize the content of a datagrid form when the stack >> resizes? >> I mean the CONTENTS of the datagrid form, not only the groups rect! >> Know what I mean? >> Any hint very welcome :-) > set the rect of group "Data Grid" to myNewRect > > The data grid processes the resizeControl message which is sent to the group > when the rect changes. The contents of the data grid will receive the > LayoutControl message and everything will resize accordingly. ah "layoutcontrol", that's what I was missing! Thanks a lot! > -- > Trevor DeVore > Blue Mango Learning Systems Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From livfoss at mac.com Mon Apr 18 09:28:13 2011 From: livfoss at mac.com (Graham Samuel) Date: Mon, 18 Apr 2011 15:28:13 +0200 Subject: Export snapshot to an image? Message-ID: I've been extracting bits of images using 'export snapshot', and this goes fine if the export is to a file. However, I have now tried to do an export to an image and nothing seems to happen. The command has the form export snapshot from rect a,b,c,d of img "LargeBitmap" of cd "BitMapStore" of stack "FullSizeBitMap" to img "TestImage" of cd 1 of stack "Test" All the objects and quantities in this script fragment have been tested as being of correct value and existence, and indeed the same 'from' values can export a valid file. The docs seem to say that what I'm trying to do is legit - what am I doing wrong? TIA Graham PS If anyone knows any other way of non-destructively copying a part of an image without munging the clipboard, I'd be more than happy to use it. From klaus at major.on-rev.com Mon Apr 18 09:46:44 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Mon, 18 Apr 2011 15:46:44 +0200 Subject: Export snapshot to an image? In-Reply-To: References: Message-ID: Hi Graham, > I've been extracting bits of images using 'export snapshot', and this goes fine if the export is to a file. However, I have now tried to do an export to an image and nothing seems to happen. The command has the form > > export snapshot from rect a,b,c,d of img "LargeBitmap" of cd "BitMapStore" of stack "FullSizeBitMap" to img "TestImage" of cd 1 of stack "Test" > > All the objects and quantities in this script fragment have been tested as being of correct value and existence, and indeed the same 'from' values can export a valid file. > > The docs seem to say that what I'm trying to do is legit - what am I doing wrong? this is what LiveCode does not like: ... from rect a,b,c,d... Try this: ... put a & "," & b & "," & c & "," & d into tRect export snapshot from rect tRect of img "LargeBitmap" of cd "BitMapStore" of stack "FullSizeBitMap" to img "TestImage" of cd 1 of stack "Test" ... > TIA > > Graham > > PS If anyone knows any other way of non-destructively copying a part of an image without munging the clipboard, I'd be more than happy to use it. That's what I would like to know, too, as long as fiddling with "imagedata" is not involved ;-) Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From keith.clarke at clarkeandclarke.co.uk Mon Apr 18 09:57:22 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Mon, 18 Apr 2011 14:57:22 +0100 Subject: Export snapshot to an image? In-Reply-To: References: Message-ID: <0C146EA9-856F-43E7-9C46-9BC85A69AE01@clarkeandclarke.co.uk> Hi Graham, You might want to try something along the lines of import snapshot from rectangle 0,0,1024,768 of card "target" set the name of the last image to "The image name I want" ...which worked for me - and I think it bypasses the clipboard. Best, Keith.. On 18 Apr 2011, at 14:46, Klaus on-rev wrote: > Hi Graham, > >> I've been extracting bits of images using 'export snapshot', and this goes fine if the export is to a file. However, I have now tried to do an export to an image and nothing seems to happen. The command has the form >> >> export snapshot from rect a,b,c,d of img "LargeBitmap" of cd "BitMapStore" of stack "FullSizeBitMap" to img "TestImage" of cd 1 of stack "Test" >> >> All the objects and quantities in this script fragment have been tested as being of correct value and existence, and indeed the same 'from' values can export a valid file. >> >> The docs seem to say that what I'm trying to do is legit - what am I doing wrong? > > this is what LiveCode does not like: > ... from rect a,b,c,d... > > Try this: > ... > put a & "," & b & "," & c & "," & d into tRect > export snapshot from rect tRect of img "LargeBitmap" of cd "BitMapStore" of stack "FullSizeBitMap" to img "TestImage" of cd 1 of stack "Test" > ... > >> TIA >> >> Graham >> >> PS If anyone knows any other way of non-destructively copying a part of an image without munging the clipboard, I'd be more than happy to use it. > > That's what I would like to know, too, as long as fiddling with "imagedata" is not involved ;-) > > > Best > > Klaus From maarten.koopmans at gmail.com Mon Apr 18 11:06:37 2011 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Mon, 18 Apr 2011 17:06:37 +0200 Subject: text field in modal allows no input In-Reply-To: References: Message-ID: Thanks Trevor, that does the trick, also with a sheet, which gave the same problem! Sadly, I don't have acess to the QCC anymore sine the new "paid supoort list" thing. Thanks a lot for your help though! --Maarten On Mon, Apr 18, 2011 at 1:22 PM, Trevor DeVore wrote: > On Sat, Apr 16, 2011 at 11:26 AM, Maarten Koopmans < > maarten.koopmans at gmail.com> wrote: > > > I have a main stack that accepts a drag-drop for files like this on a > > hidden > > field the size of the card: > > > > *on* dragDrop > > > > *if* the dragData["files"] is not empty *then* > > > > *modal* stack "AddMetaData" > > > > addFiles(dragData["files"]) > > > > *end* *if* > > > > *set* the dragAction to link > > > > *pass* dragDrop > > > > *end* dragDrop' > > > > You might try processing the files outside of the drag event. > > Change: > modal stack "AddMetaData" > addFiles(dragData["files"]) > > To: > put the dragData["files"] into theFiles > send "ProcessDrop theFiles" to me in 0 milliseconds > > And add: > on ProcessDrop pFiles > modal stack "AddMetaData" > addFiles pFiles > end ProcessDrop > > One thing to note is that it is possible for dragData["files"] to disappear > after a drag and drop operation. I have seen graphics applications that > make > a file available during drag and drop but then delete it when the drag and > drop operation is complete. In this scenario you need to copy the files to > a > new location in dragDrop and then process the copies outside of the drag > and > drop operation. This scenario is probably rare though. > > Even if this solves the problem I would recommend filing a bug report so > the > issue can possibly be fixed in the future. > > -- > Trevor DeVore > Blue Mango Learning Systems > > LiveCode Resources for Developers: http://livecode.bluemangolearning.com > > Get SQL Yoga as part of the Omegabundle for LiveCode 2011: Save 85% on > essential tools for LiveCode development - omegabundle.com. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From lists at mangomultimedia.com Mon Apr 18 11:29:57 2011 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 18 Apr 2011 11:29:57 -0400 Subject: text field in modal allows no input In-Reply-To: References: Message-ID: On Mon, Apr 18, 2011 at 11:06 AM, Maarten Koopmans < maarten.koopmans at gmail.com> wrote: > Thanks Trevor, that does the trick, also with a sheet, which gave the same > problem! Sadly, I don't have acess to the QCC anymore sine the new "paid > supoort list" thing. > Just send a report to support at runrev.com. > Thanks a lot for your help though! > You're welcome. -- Trevor DeVore Blue Mango Learning Systems LiveCode Resources for Developers: http://livecode.bluemangolearning.com Get SQL Yoga as part of the Omegabundle for LiveCode 2011: Save 85% on essential tools for LiveCode development - omegabundle.com. From livfoss at mac.com Mon Apr 18 11:45:43 2011 From: livfoss at mac.com (Graham Samuel) Date: Mon, 18 Apr 2011 17:45:43 +0200 Subject: Export snapshot to an image? Message-ID: <98E981FF-9B4C-4B8E-9301-8655DF7F8DCE@mac.com> Thanks Gentlemen, both ideas are a lot better than mine. FWIW, while I was waiting for a reply (I didn't expect it to be so quick!) I thought of another method, which is to clone the image I want to take my extract from and crop the clone - then I can simply put the cropped image into the image I want. You have to fiddle with the location, as LC moves the clone 32 pixels in both dimensions. It does work, but it is clunky compared with your methods. Thanks again Graham On Mon, 18 Apr 2011 15:46:44 +0200, Klaus on-rev wrote > Content-Type: text/plain; charset=us-ascii > > Hi Graham, > >> I've been extracting bits of images using 'export snapshot', and this goes fine if the export is to a file. However, I have now tried to do an export to an image and nothing seems to happen. The command has the form >> >> export snapshot from rect a,b,c,d of img "LargeBitmap" of cd "BitMapStore" of stack "FullSizeBitMap" to img "TestImage" of cd 1 of stack "Test" >> >> All the objects and quantities in this script fragment have been tested as being of correct value and existence, and indeed the same 'from' values can export a valid file. >> >> The docs seem to say that what I'm trying to do is legit - what am I doing wrong? > > this is what LiveCode does not like: > ... from rect a,b,c,d... > > Try this: > ... > put a & "," & b & "," & c & "," & d into tRect > export snapshot from rect tRect of img "LargeBitmap" of cd "BitMapStore" of stack "FullSizeBitMap" to img "TestImage" of cd 1 of stack "Test" > ... > >> TIA >> >> Graham >> >> PS If anyone knows any other way of non-destructively copying a part of an image without munging the clipboard, I'd be more than happy to use it. > > That's what I would like to know, too, as long as fiddling with "imagedata" is not involved ;-) > and Keith Clarke wrote > Hi Graham, > You might want to try something along the lines of > > import snapshot from rectangle 0,0,1024,768 of card "target" > set the name of the last image to "The image name I want" > > ...which worked for me - and I think it bypasses the clipboard. > Best, > Keith.. > From maarten.koopmans at gmail.com Mon Apr 18 11:49:16 2011 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Mon, 18 Apr 2011 17:49:16 +0200 Subject: menu icon in OS X Message-ID: Hi, I Googled a lot, but I haven't found it... I'd like to have a little menu icon to the right on closing my app in the Mac menu bar, is that possible at all. And when a user clicks the icon a menu appears. If you've ever seen the dropbox menu icon, you know what I mean. Any small snippet (as usual ;-) highly appreciated. --Maarten From pete at mollysrevenge.com Mon Apr 18 12:19:04 2011 From: pete at mollysrevenge.com (Pete) Date: Mon, 18 Apr 2011 09:19:04 -0700 Subject: Palette question In-Reply-To: References: Message-ID: Thanks. Like I said, I knew I was missing something obvious! As a side note, I also found that setting the stack window decorations to None gets rid of the resize icon. Pete Molly's Revenge On Sun, Apr 17, 2011 at 7:18 PM, Mike Bonner wrote: > To do it in code, > set the resizable of stack "stack" to false > or can do it in the inspector. > > On Sun, Apr 17, 2011 at 7:04 PM, Pete wrote: > > > I must be missing something obvious but how do you prevent a palette > window > > from being resized? When I open a stack in palette mode, it still has > the > > little resize icon at the bottom right but I see the LC tools palette > > doesn;t have that. > > > > Thanks, > > > > > > 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 bobs at twft.com Mon Apr 18 12:23:10 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 18 Apr 2011 09:23:10 -0700 Subject: iOS reliability of reachability on WIFI networks In-Reply-To: References: Message-ID: <49365CA3-4273-4D1B-BF48-F9EE6C5F0C4B@twft.com> Maybe retry 3 times? A weak connection may not be there one minute and then be there the next. If any of the 3 times fails, report to the user that the connection is weak. But if you are getting this with strong signals then it's obviously something else. Bob On Apr 15, 2011, at 4:51 PM, Jim Lambert wrote: > I have noticed a quirk with the experimental reachability function which makes the function untrustworthy in some WIFI situations. > > reachabilityChanged will sometimes return an empty reachabilityInfo. This is supposed to indicate no internet connection at all. > However, other apps are able to connect! > > Has anyone else experienced this? > > This only happens intermittently (don't you hate that word?!) and unfortunately I have no recipe to force it to happen. > Although sometimes moving a device into the range a different WIFI network will sometimes cause the problem. > > I have found that sometimes the problem can sometimes be corrected by turning on and then off airplane mode or shutting on or off the device's wifi setting. > > Needless to say, as it stands, this experimental function isn't 100% reliable yet. Even though it is a lower priority function, Apple does require apps to properly notify users when an internet connection is no longer viable - such as when one travels outside a WIFI network's range. So, we really do need this to work reliably. > > Thanks, > Jim Lambert > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Apr 18 12:29:30 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 18 Apr 2011 09:29:30 -0700 Subject: take by a LiveCode developer I suspect... In-Reply-To: <9D968A95-0549-4900-8B05-B3755F54B753@verizon.net> References: <9D968A95-0549-4900-8B05-B3755F54B753@verizon.net> Message-ID: <087A14C7-92FD-40E0-8C1B-8647E8744247@twft.com> Actually, here is the error message: This XML file does not appear to have any style information associated with it. The document tree is shown below. Bob On Apr 16, 2011, at 9:20 AM, Colin Holgate wrote: > I was looking over some of the tutorials online, and saw this picture: > > http://tinyurl.com/3gytlko > > My guess is that it was taken at the desk of one of the developers. Can you see what in the picture gives me that clue? > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Mon Apr 18 12:30:56 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 18 Apr 2011 09:30:56 -0700 Subject: Palette question In-Reply-To: Message-ID: Recently, Pete wrote: > As a side > note, I also found that setting the stack window decorations to None gets > rid of the resize icon. If you're just trying to enable or disable resizing, you can set the "resizable" property of your stack to true or false. Regards, Scott Rossi Creative Director Tactile Media, UX Design From bobs at twft.com Mon Apr 18 12:31:26 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 18 Apr 2011 09:31:26 -0700 Subject: weekdaynames In-Reply-To: References: Message-ID: I vote no, since anybody can code this with a little imagination. Instead, I vote for a way to query the system for date/time data that is meaningful. Bob On Apr 17, 2011, at 9:17 AM, Francis Nugent Dixon wrote: > Hi from Beautiful Brittany, > > Klaus, > > This won't help you at all, but it will explain why > Sunday is considered as the first day of the week, > > http://www.cjvlang.com/Dow/SunMon.html > > although there appears to be a recent swing to Monday > instead of Sunday. > > Because Monday is now the official choice (ISO standard), > maybe LiveCode should be modified. > > http://en.wikipedia.org/wiki/ISO_8601 > > Anybody want to vote on this ? > > Best Regards > > -Francis > > "Nothing should ever be done for the first time !" > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Apr 18 12:28:54 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 18 Apr 2011 09:28:54 -0700 Subject: take by a LiveCode developer I suspect... In-Reply-To: <9D968A95-0549-4900-8B05-B3755F54B753@verizon.net> References: <9D968A95-0549-4900-8B05-B3755F54B753@verizon.net> Message-ID: I get: AccessDeniedRequest has expired5E9FF482889D839C2011-04-17T12:19:44Zxs9mYQn8na1fWfuxF2TmS+g6VD3xdj/Fz4TZfhfs+ESpo+7ZEtJrXXKRLeLoIFD42011-04-18T16:28:07Z with Firefox 4. Bob On Apr 16, 2011, at 9:20 AM, Colin Holgate wrote: > I was looking over some of the tutorials online, and saw this picture: > > http://tinyurl.com/3gytlko > > My guess is that it was taken at the desk of one of the developers. Can you see what in the picture gives me that clue? > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From olivierdussutour at gmail.com Mon Apr 18 12:42:51 2011 From: olivierdussutour at gmail.com (Olivier Dussutour) Date: Mon, 18 Apr 2011 18:42:51 +0200 Subject: revWeb revlets broken in Firefox 4.0? References: <4D8CCEC9.6070802@ucsd.edu> <179283214437.20110325190824@ahsoftware.net> Message-ID: <20010DCB7BAD418F8CFC695D4066C007@portablefip> Hello, there has exactly the same problem on IE9!?! Does anyone know if it is provided a new version of the plugin? Cordialement, Olivier Dussutour olivierdussutour at gmail.com ----- Original Message ----- From: "Mark Wieder" To: "How to use LiveCode" Sent: Saturday, March 26, 2011 4:08 AM Subject: Re: revWeb revlets broken in Firefox 4.0? > Rich- > > Friday, March 25, 2011, 10:20:09 AM, you wrote: > >> Are revWeb revlets broken in Firefox 4.0? Just upgraded to Firefox 4.0 >> on Mac 10.5.8. Get error message when going to a revlet: "There was an >> error loading the revlet - failed to stream revlet." Works OK with >> Safari 5.0.4 and worked OK with earlier Firefox on same Mac. > > I had Firefox 4.0 on my system for all of about 30 seconds. Almost > none of my plugins were compatible, so I went back to 3.6.16. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Apr 18 12:43:37 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 18 Apr 2011 09:43:37 -0700 Subject: Data-Entry in a LiveCode form using the tab key In-Reply-To: References: <18450074.892739.1302995774212.JavaMail.cathy1@mail.srv.brptct.cv.net> <8CDCB41FF43D51E-1684-365D8@webmail-m093.sysops.aol.com> Message-ID: <8D99B9BF-AFB0-445A-86D1-FFB2D48E5C96@twft.com> Or you can get a list of fields whose focusable is true and locktext is false (because you don't want to tab to labels now do you) and then present the developer with an interface where they can click sequentially on the fields in the order that they want to tab through, then save that list in a property of the card. Your tab through function can then get the short name of the current target, find it in the property list, check to see if it's the last one, get the first item if so, the next item if not, and then focus on that field. The advantage to this approach is that it will work universally for any card. Ideally you would want to copy every editable field on the card to a new one, along with a Cancel and Save button, and then save the list of fields in a property of the original card. It's a bit of work to start with, but if you make a lot of forms, this is definitely a good function to have. One of my apps has this, but I will have to go dig back through them to find it. Bob On Apr 17, 2011, at 2:56 PM, Pete wrote: > I like that! Might even be good to have a custom property that defines the > next field? > Pete > Molly's Revenge > > > > > On Sun, Apr 17, 2011 at 11:11 AM, wrote: > >> Mike is correct of course. Sometimes though, it is either inconvenient or >> counterproductive to re-order the fields. You can always trap the tabKey >> message and explicitly select the text of the field you want: >> >> >> on tabKey >> select the text of fld "yourNextField" >> end tabKey >> >> >> Put this in all the fields in your tab order and designate the one to >> follow. >> >> >> Craig Newman >> >> >> >> >> >> >> -----Original Message----- >> From: EDWARD DENES >> To: use-livecode at lists.runrev.com >> Sent: Sat, Apr 16, 2011 7:16 pm >> Subject: Data-Entry in a LiveCode form using the tab key >> >> >> I have constructed a form in LiveCode; I want to complete the data >> entry in each field by using the tab key. Is there a way to reconfigure the >> "tab sequence" of fields so that as one tabs and then types in the data, one >> progresses through each field sequentially throughout the form? >> Thanks, >> Ed Denes >> >> CONTACT INFO: >> >> Edward J Denes >> 510 Allyndale Drive >> Stratford, CT 06614-4308 >> >> cathy1 at optonline.net >> >> (203) 378-3111 >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 18 12:51:17 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 18 Apr 2011 09:51:17 -0700 Subject: Check for first run In-Reply-To: References: Message-ID: <47FBBC60-B412-407D-B349-A1D448B51830@twft.com> Trouble with the prefs approach is that sometimes prefs will get "corrupted" whatever that means, and a user will delete it expecting that the app will create another one with the default settings. Making them go through the setup procedure can actually cause more problems, if the setup has information critical to the connection and operation of the app. If the user points to another location for the database for instance, they will think they "lost" their data, because they will create a new database. I like the idea of checking for the existence of the database itself. I wouldn't let the user choose where to save that, unless you want the user to be able to pick from multiple databases. In that case a token file in a place with read write access that is not the preferences file would be the way to go. For Windows, you would probably want to set a registry value. Bob On Apr 18, 2011, at 4:24 AM, Trevor DeVore wrote: > On Sun, Apr 17, 2011 at 2:42 AM, Maarten Koopmans < > maarten.koopmans at gmail.com> wrote: > >> Is there a best practice for checking if the application is on a >> first run for a standalone(especially one that will go to an App store >> eventually)? >> >> I simply need to ask the user a few questions on first run (and set up >> a sqlite db). >> > > Does your application create a preference file? If so you could check > whether or not the pref file exists yet. If it doesn't then consider it a > first run. > > -- > > Trevor DeVore > > Blue Mango Learning Systems > > > LiveCode Resources for Developers: http://livecode.bluemangolearning.com > > > Get SQL Yoga as part of the Omegabundle for LiveCode 2011: Save 85% on > essential tools for LiveCode development - omegabundle.com. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major.on-rev.com Mon Apr 18 12:51:01 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Mon, 18 Apr 2011 18:51:01 +0200 Subject: Palette question In-Reply-To: References: Message-ID: Hi Scott, > Recently, Pete wrote: > >> As a side >> note, I also found that setting the stack window decorations to None gets >> rid of the resize icon. > > If you're just trying to enable or disable resizing, you can set the > "resizable" property of your stack to true or false. yes, but THAT does not hinder the system to resize your stack when you click the green button in the title bar (OS X), just tested! Big fun :-/ I consider this a bug: "not resizable" should be "not resizeable"! If you set the width/height, min width/height and max width/height of your stack to the same value, then THAT will finally make the stack really "not resizable"! > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From pmbrig at gmail.com Mon Apr 18 12:53:23 2011 From: pmbrig at gmail.com (Peter Brigham MD) Date: Mon, 18 Apr 2011 12:53:23 -0400 Subject: Rev/Livecode project and GPL Licenses In-Reply-To: <4DAB7493.1000908@fourthworld.com> References: <3E47FE8F-7BE5-47E4-A2AE-B499FB89B40F@gmail.com> <4DAB7493.1000908@fourthworld.com> Message-ID: On Apr 17, 2011, at 7:15 PM, Richard Gaskin wrote: > Peter Brigham wrote: > >> On Apr 15, 2011, at 10:14 AM, Richard Gaskin wrote: >> >>> Scott McDonald wrote: >>>> Where I was getting it mixed up, was that I was equating selling >>>> commercially with not making the source code available. >>>> >>>> But of course, they are not the same thing. >>> >>> Not exactly the same, but how many people pay for milk when they can get the cow for free? >> >> Many, many people. If it means they don't have to milk the cow themselves, and feed it, and stable it, and call the vet when it's ill.... There's value added by the coder who puts something useful together and maintains it, even if the product is open license and could be hacked at will. > > Can you think of three examples of software governed by the GPL has its > development expenses met by sales of the software itself? > > It seems most of the FOSS world is doing something very different.... I expect that you are right, and I actually don't know all the ins and outs of the licensing schemes, much less have any experience with choosing any of them. I guess I was just responding to the general point. How it plays out in practice I'll defer to you and others who know more. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig "In theory, theory and practice are the same. In practice, they're different." -- Yogi Berra From scott at tactilemedia.com Mon Apr 18 12:58:37 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 18 Apr 2011 09:58:37 -0700 Subject: Palette question In-Reply-To: Message-ID: Recently, Klaus on-rev wrote: >> If you're just trying to enable or disable resizing, you can set the >> "resizable" property of your stack to true or false. > > yes, but THAT does not hinder the system to resize your stack when you > click the green button in the title bar (OS X), just tested! Big fun :-/ > I consider this a bug: "not resizable" should be "not resizeable"! > > If you set the width/height, min width/height and max width/height of your > stack > to the same value, then THAT will finally make the stack really "not > resizable"! Even better: quit LiveCode and your stack will be COMPLETELY "not resizable" :-) Regards, Scott Rossi Creative Director Tactile Media, UX Design From stephenREVOLUTION2 at barncard.com Mon Apr 18 13:06:27 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 18 Apr 2011 10:06:27 -0700 Subject: Source code for QT external In-Reply-To: References: Message-ID: you should contact Trevor Devore at Blue Mango. It's his code. He's also on one of these lists. On 18 April 2011 04:25, Glen Bojsza wrote: > Hello, > > I am looking to see if the source code that was used for the QT external is > available and if so, where can it be downloaded. > > This is for the actual source code not the external itself. > > regards, > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From coiin at verizon.net Mon Apr 18 13:06:36 2011 From: coiin at verizon.net (Colin Holgate) Date: Mon, 18 Apr 2011 13:06:36 -0400 Subject: take by a LiveCode developer I suspect... In-Reply-To: References: <9D968A95-0549-4900-8B05-B3755F54B753@verizon.net> Message-ID: <28819E73-4B0D-4876-B335-F99CFE4E56CE@verizon.net> Not sure how session stuff got into there. Here's the non-tinyurl version: http://s3.amazonaws.com/screensteps_live/step_images/runrev/29252/media_1300882578420_display.png From pete at mollysrevenge.com Mon Apr 18 13:08:55 2011 From: pete at mollysrevenge.com (Pete) Date: Mon, 18 Apr 2011 10:08:55 -0700 Subject: Palette question In-Reply-To: References: Message-ID: Good point. I'm opening my stack as a palette so I don't have that problem, but I agree resizable should mean just that. Pete Molly's Revenge On Mon, Apr 18, 2011 at 9:51 AM, Klaus on-rev wrote: > Hi Scott, > > > Recently, Pete wrote: > > > >> As a side > >> note, I also found that setting the stack window decorations to None > gets > >> rid of the resize icon. > > > > If you're just trying to enable or disable resizing, you can set the > > "resizable" property of your stack to true or false. > > yes, but THAT does not hinder the system to resize your stack when you > click the green button in the title bar (OS X), just tested! Big fun :-/ > I consider this a bug: "not resizable" should be "not resizeable"! > > If you set the width/height, min width/height and max width/height of your > stack > to the same value, then THAT will finally make the stack really "not > resizable"! > > > Regards, > > > > Scott Rossi > > Creative Director > > Tactile Media, UX Design > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From klaus at major.on-rev.com Mon Apr 18 13:10:19 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Mon, 18 Apr 2011 19:10:19 +0200 Subject: Palette question In-Reply-To: References: Message-ID: <0626D328-9404-43B8-99B0-89CCFF1B1922@major.on-rev.com> Hi Scott, > Recently, Klaus on-rev wrote: > >>> If you're just trying to enable or disable resizing, you can set the >>> "resizable" property of your stack to true or false. >> >> yes, but THAT does not hinder the system to resize your stack when you >> click the green button in the title bar (OS X), just tested! Big fun :-/ >> I consider this a bug: "not resizable" should be "not resizeable"! >> >> If you set the width/height, min width/height and max width/height of your >> stack >> to the same value, then THAT will finally make the stack really "not >> resizable"! > > Even better: quit LiveCode and your stack will be COMPLETELY "not resizable" > :-) true, but maybe just too "hardcore" for most of us ;-) > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From pete at mollysrevenge.com Mon Apr 18 13:21:07 2011 From: pete at mollysrevenge.com (Pete) Date: Mon, 18 Apr 2011 10:21:07 -0700 Subject: Palette question In-Reply-To: References: Message-ID: That would also fix all those pesky bugs that keep coming up! Pete Molly's Revenge On Mon, Apr 18, 2011 at 9:58 AM, Scott Rossi wrote: > Recently, Klaus on-rev wrote: > > >> If you're just trying to enable or disable resizing, you can set the > >> "resizable" property of your stack to true or false. > > > > yes, but THAT does not hinder the system to resize your stack when you > > click the green button in the title bar (OS X), just tested! Big fun :-/ > > I consider this a bug: "not resizable" should be "not resizeable"! > > > > If you set the width/height, min width/height and max width/height of > your > > stack > > to the same value, then THAT will finally make the stack really "not > > resizable"! > > Even better: quit LiveCode and your stack will be COMPLETELY "not > resizable" > :-) > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From bobs at twft.com Mon Apr 18 13:36:33 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 18 Apr 2011 10:36:33 -0700 Subject: take by a LiveCode developer I suspect... In-Reply-To: <28819E73-4B0D-4876-B335-F99CFE4E56CE@verizon.net> References: <9D968A95-0549-4900-8B05-B3755F54B753@verizon.net> <28819E73-4B0D-4876-B335-F99CFE4E56CE@verizon.net> Message-ID: <5045433C-2261-4325-8540-4830A7736F1B@twft.com> Fascinating! How did you get the iMac to produce real food and drink? This is a monumental breakthrough in quantum physics!! Bob On Apr 18, 2011, at 10:06 AM, Colin Holgate wrote: > Not sure how session stuff got into there. Here's the non-tinyurl version: > > http://s3.amazonaws.com/screensteps_live/step_images/runrev/29252/media_1300882578420_display.png > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lfredricks at proactive-intl.com Mon Apr 18 13:42:37 2011 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Mon, 18 Apr 2011 10:42:37 -0700 Subject: Omegabundle 2011 for LiveCode - Very Limited Time Bundle of LiveCode and Extensions Message-ID: <043B0B3E15D5407ABF75BBC11BE63F3E@GATEWAY> Hello all, Runtime Revolution has thrown in their support to the Omegabundle 2011 for LiveCode offers! >> check it out: http://www.omegabundle.com/ Omegabundle 2011 for LiveCode (new user) includes LiveCode Pro/Commercial (your choice of desktop + one mobile platform) plus the following: *A $500 discount coupon towards RunRevLive.11 Developer Conference, held April 26-29 2011 in San Jose, California. RunRevLive.11 has over 40 sessions of valuable presentations and lessons. * Animation Engine 4. Powerful LiveCode library for rendering animation through Livecode apps built for the desktop and for iPhone. Sold separately for $79.00. * SQL Yoga. Makes developing data-driven solutions easy by tranforming database complexities into common LiveCode processes. Sold separately for $199. * Flexible Learning ChartMaker. A fully featured cross-platform library solution designed to create professional charts in your own work. Sold separately for $79.00. * ASG DataGrid Helper. A complete set of tools for rapidly creating professional business layouts and data grids for the desktop and for iPhone. Sold separately for $49. * .com Solutions FmPro Migrator Platinum Edition. Migrates FileMaker and Access to MySQL, Oracle, Access, SQL Server, Sybase, DB2, OpenBase, PostgreSQL, FrontBase, SQLite and Valentina and Convert interfaces to LiveCode. Sold separately for $600. * tm tools. Tactile Media pro interface building tools for LiveCode, including tm color, tm gradient, tm audio, tm guage, tm numeric, tm align. Sold separately for $226. * Aspen Icon Set. 80 professionally designed, cross platform compatible icons for your applications. Sold separately for $179.00. * Valentina Office Server Unlimited. Advanced database and reports server based on the ultra fast columnar database engine Valentina. Sold separately for $1499. * Franklin 3D Game Engine. Multi-platform cross-platform 3D engine for games, simulations and 3D apps. Sold Separately for $299. * Flexible Learning Scripter's Scrapbook. A knowledge rich resource for collecting code resources and accessing years of shared resources of LiveCode professional developers. Sold separately for $79.00. * Valentina ADK+ for LiveCode. Embedded local ultra fast analytical database for LiveCode on Windows, Mac OS X and Linux. Sold separately for $399.00. You can get this bundle WITH LiveCode Pro for $499, or without LiveCode for $399. This makes it a great option if you already have LiveCode! 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 Mon Apr 18 15:17:44 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 18 Apr 2011 21:17:44 +0200 Subject: Rev/Livecode project and GPL Licenses In-Reply-To: References: <3E47FE8F-7BE5-47E4-A2AE-B499FB89B40F@gmail.com> <4DAB7493.1000908@fourthworld.com> Message-ID: <38EED140-88CF-4226-A344-C3F7F693F5C5@economy-x-talk.com> Hi, The trick is to provide a quality of services that's worth paying for, including compiled binaries, while at the same time keeping the open-source community at a big distance away from your commercial product. You could also try to focus your open-source project on Unix flavours while focusing your commercial project on Windows. An example is Parallels, which seems to be commercially feasible, even though it is an open-source project. Although OpenVZ and Parallels are basically the same (as are VirtualBox and VMWare), it is really difficult to discover where to find the source code. Parallels has an obligation to offer (or contribute to) the source code, but that doesn't mean that they have to do so on Parallels' own website. At least, I can't find such an obligation in the GPL. Nor can I find an obligation to offer the source code under the same name as your commercial product. There is just one thing I'm wondering about. If your licensing system is part of an open-source project, wouldn't you have to make your licensing system public too? I wonder how Parallels solved that. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 18 apr 2011, at 18:53, Peter Brigham MD wrote: >> > > I expect that you are right, and I actually don't know all the ins and outs of the licensing schemes, much less have any experience with choosing any of them. I guess I was just responding to the general point. How it plays out in practice I'll defer to you and others who know more. > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > "In theory, theory and practice are the same. In practice, they're > different." > -- Yogi Berra From ambassador at fourthworld.com Mon Apr 18 15:47:56 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 18 Apr 2011 12:47:56 -0700 Subject: Rev/Livecode project and GPL Licenses In-Reply-To: <38EED140-88CF-4226-A344-C3F7F693F5C5@economy-x-talk.com> References: <38EED140-88CF-4226-A344-C3F7F693F5C5@economy-x-talk.com> Message-ID: <4DAC956C.6000402@fourthworld.com> Mark Schonewille wrote: > The trick is to provide a quality of services that's worth paying > for, including compiled binaries, while at the same time keeping > the open-source community at a big distance away from your commercial > product. You could also try to focus your open-source project on Unix > flavours while focusing your commercial project on Windows. > > An example is Parallels, which seems to be commercially feasible, > even though it is an open-source project. My copy of the "End User License Agreement For Parallels (R) Desktop" included with v6.0 reads like a standard proprietary license and the word "GNU" doesn't appear anywhere in it. Are you sure it's GPL? Always eager for a bargain and comfortable with make files, I searched Google for "Parallels open source", and was able to turn up only a reference to an APS cloud service and this row from 2007: Parallels annoys open-source faithful over code release Parallels Inc. has released the source code for the Wine software used by Parallels Desktop 3.0 on Monday -- but only after weeks of prodding by Wine developers and negative publicity on the Slashdot and Digg IT forums. As far as I can tell, it's only a relatively small part of the Parallels product that's open source, a derivative of WINE used for graphics acceleration, which is covered under the LGPL so it's a bit more lenient than GPL (though not so lenient that it avoided annoying the FOSS community when the mods weren't made available ). Even though I do most of my VM work with VirtualBox these days, I'd love to be wrong on this. If you have anything showing Parallels switching to GPL it would be very good to know. -- 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 jiml at netrin.com Mon Apr 18 15:49:02 2011 From: jiml at netrin.com (Jim Lambert) Date: Mon, 18 Apr 2011 12:49:02 -0700 Subject: iOS reliability of reachability on WIFI networks In-Reply-To: References: Message-ID: <1C75A6D1-26E5-4AEC-937B-CFCE2CF92EF1@netrin.com> BobS wrote: > Maybe retry 3 times? A weak connection may not be there one minute and then be there the next. If any of the 3 times fails, report to the user that the connection is weak. But if you are getting this with strong signals then it's obviously something else. Thanks, Bob. In all cases there is actually a connection and the app is able to easily access URLs. The problem lies in the incorrect result reported by the reachability function. 'reachabilityInfo' returns empty (meaning no Internet connection) even though the Internet is quite accessible by both this app and other applications. Toggling Airplane mode or WIFI, itself, jogs the function into reporting truthfully. Once you do that then everything is fine afterwards. But it should be correct from the get-go. Jim Lambert From bill at bluewatermaritime.com Mon Apr 18 15:55:23 2011 From: bill at bluewatermaritime.com (william humphrey) Date: Mon, 18 Apr 2011 15:55:23 -0400 Subject: How to copy a card you can't open Message-ID: I have a stack with three cards. I pulled this stack out of many that was in my application. If I go to the last card in this stack LiveCode crashes every time. How can I figure out what is in this card which is causing LiveCode to crash and delete whatever it is? From ambassador at fourthworld.com Mon Apr 18 15:59:23 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 18 Apr 2011 12:59:23 -0700 Subject: How to copy a card you can't open In-Reply-To: References: Message-ID: <4DAC981B.1060401@fourthworld.com> william humphrey wrote: > I have a stack with three cards. I pulled this stack out of many that was in > my application. If I go to the last card in this stack LiveCode crashes > every time. How can I figure out what is in this card which is causing > LiveCode to crash and delete whatever it is? Are there any images on that card? The only cases I've seen like this involved images, somewhat understandable given the wide variety of image formats and the potential for oddities to creep into them. If there are images there, try deleting them while on another card and then see if you can open that card: delete img 1 of last cd -- 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 Mon Apr 18 16:00:35 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 18 Apr 2011 22:00:35 +0200 Subject: Rev/Livecode project and GPL Licenses In-Reply-To: <4DAC956C.6000402@fourthworld.com> References: <38EED140-88CF-4226-A344-C3F7F693F5C5@economy-x-talk.com> <4DAC956C.6000402@fourthworld.com> Message-ID: <3529C4C9-6FEE-4930-8C56-88B38D5F80DB@economy-x-talk.com> Richard: OpenVZ is free open source software, available under GNU GPL. OpenVZ is the basis of Parallels Virtuozzo Containers, a commercial virtualization solution offered by Parallels. OpenVZ project is supported by Parallels. http://wiki.openvz.org/Main_Page I'm not sure that this is the entire answer, but I do think it is very relevant. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 18 apr 2011, at 21:47, Richard Gaskin wrote: > Mark Schonewille wrote: > > > The trick is to provide a quality of services that's worth paying > > for, including compiled binaries, while at the same time keeping > > the open-source community at a big distance away from your commercial > > product. You could also try to focus your open-source project on Unix > > flavours while focusing your commercial project on Windows. > > > > An example is Parallels, which seems to be commercially feasible, > > even though it is an open-source project. > > My copy of the "End User License Agreement For Parallels (R) Desktop" included with v6.0 reads like a standard proprietary license and the word "GNU" doesn't appear anywhere in it. > > Are you sure it's GPL? > > Always eager for a bargain and comfortable with make files, I searched Google for "Parallels open source", and was able to turn up only a reference to an APS cloud service and this row from 2007: > > > Parallels annoys open-source faithful over code release > > Parallels Inc. has released the source code for the Wine software > used by Parallels Desktop 3.0 on Monday -- but only after weeks of > prodding by Wine developers and negative publicity on the Slashdot > and Digg IT forums. > > > > > As far as I can tell, it's only a relatively small part of the Parallels product that's open source, a derivative of WINE used for graphics acceleration, which is covered under the LGPL so it's a bit more lenient than GPL (though not so lenient that it avoided annoying the FOSS community when the mods weren't made available ). > > Even though I do most of my VM work with VirtualBox these days, I'd love to be wrong on this. If you have anything showing Parallels switching to GPL it would be very good to know. > > -- > 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 Mon Apr 18 16:07:16 2011 From: bill at bluewatermaritime.com (william humphrey) Date: Mon, 18 Apr 2011 16:07:16 -0400 Subject: How to copy a card you can't open In-Reply-To: <4DAC981B.1060401@fourthworld.com> References: <4DAC981B.1060401@fourthworld.com> Message-ID: Thanks. In the application browser I made everything on that card invisible and it still couldn't be opened without crashing. On Mon, Apr 18, 2011 at 3:59 PM, Richard Gaskin wrote: > william humphrey wrote: > > I have a stack with three cards. I pulled this stack out of many that was >> in >> my application. If I go to the last card in this stack LiveCode crashes >> every time. How can I figure out what is in this card which is causing >> LiveCode to crash and delete whatever it is? >> > > Are there any images on that card? > > The only cases I've seen like this involved images, somewhat understandable > given the wide variety of image formats and the potential for oddities to > creep into them. > > If there are images there, try deleting them while on another card and then > see if you can open that card: > > delete img 1 of last cd > > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.bluewatermaritime.com From bill at bluewatermaritime.com Mon Apr 18 16:08:34 2011 From: bill at bluewatermaritime.com (william humphrey) Date: Mon, 18 Apr 2011 16:08:34 -0400 Subject: How to copy a card you can't open In-Reply-To: <4DAC981B.1060401@fourthworld.com> References: <4DAC981B.1060401@fourthworld.com> Message-ID: Richard I also deleted the only image on that card and it still crashes instantly when you try to open it. From bill at bluewatermaritime.com Mon Apr 18 16:10:39 2011 From: bill at bluewatermaritime.com (william humphrey) Date: Mon, 18 Apr 2011 16:10:39 -0400 Subject: How to copy a card you can't open In-Reply-To: <4DAC981B.1060401@fourthworld.com> References: <4DAC981B.1060401@fourthworld.com> Message-ID: But I found out that deleted the main fld which contained, I thought, only text has made it possible to open the card. So this means that there was text in that field which LiveCode couldn't deal with. From bill at bluewatermaritime.com Mon Apr 18 16:19:28 2011 From: bill at bluewatermaritime.com (william humphrey) Date: Mon, 18 Apr 2011 16:19:28 -0400 Subject: How to copy a card you can't open In-Reply-To: <4DAC981B.1060401@fourthworld.com> References: <4DAC981B.1060401@fourthworld.com> Message-ID: Thanks for your help. It wasn't the text in the field. It was the field itself. A basic table field with some tab stops set. Interesting flaw in LiveCode. If I knew where to send the stack to for a bug report I would. On Mon, Apr 18, 2011 at 3:59 PM, Richard Gaskin wrote: > william humphrey wrote: > > I have a stack with three cards. I pulled this stack out of many that was >> in >> my application. If I go to the last card in this stack LiveCode crashes >> every time. How can I figure out what is in this card which is causing >> LiveCode to crash and delete whatever it is? >> > > Are there any images on that card? > > The only cases I've seen like this involved images, somewhat understandable > given the wide variety of image formats and the potential for oddities to > creep into them. > > If there are images there, try deleting them while on another card and then > see if you can open that card: > > delete img 1 of last cd > > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.bluewatermaritime.com From ambassador at fourthworld.com Mon Apr 18 16:27:49 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 18 Apr 2011 13:27:49 -0700 Subject: Rev/Livecode project and GPL Licenses In-Reply-To: <3529C4C9-6FEE-4930-8C56-88B38D5F80DB@economy-x-talk.com> References: <3529C4C9-6FEE-4930-8C56-88B38D5F80DB@economy-x-talk.com> Message-ID: <4DAC9EC5.9000908@fourthworld.com> Mark Schonewille wrote: > OpenVZ is free open source software, available under GNU GPL. > > OpenVZ is the basis of Parallels Virtuozzo Containers, a commercial virtualization solution offered by Parallels. OpenVZ project is supported by Parallels. http://wiki.openvz.org/Main_Page > > I'm not sure that this is the entire answer, but I do think it is very relevant. Yes, I would agree: while most of the money Parallels makes is from the sale of proprietary software, their "Parallels Virtuozzo Containers" isn't characterized by the company as a for-sale product per se, sold under "Support and Services": This is consistent with what I see with most GPL-governed software: the vendor has no expectations of meeting development costs through sales of the compiled object code, but instead sells support and other services to meet those expenses, as you noted in an earlier email. With an IT-focused offering like Virtuozzo Containers that can work well. In fact, Red Hat is well on its way to bringing in more than US$1 billion this year - not bad for free software. :) While this often works well for enterprise packages, it can be more challenging to find an attractive mix of services priced high enough to support the expense of developing a consumer product yet low enough to get consumers to actually pay 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 ambassador at fourthworld.com Mon Apr 18 16:32:03 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 18 Apr 2011 13:32:03 -0700 Subject: How to copy a card you can't open In-Reply-To: References: Message-ID: <4DAC9FC3.7010706@fourthworld.com> william humphrey wrote: > Thanks for your help. It wasn't the text in the field. It was the field > itself. A basic table field with some tab stops set. Interesting flaw in > LiveCode. If I knew where to send the stack to for a bug report I would. Glad you got that sorted out. Interesting problem, though. Do you recall what those tab stops were set to? Any chance you had unusually long lines of text in that field (>64k)? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From pmbrig at gmail.com Mon Apr 18 17:02:37 2011 From: pmbrig at gmail.com (Peter Brigham MD) Date: Mon, 18 Apr 2011 17:02:37 -0400 Subject: Data-Entry in a LiveCode form using the tab key In-Reply-To: <8D99B9BF-AFB0-445A-86D1-FFB2D48E5C96@twft.com> References: <18450074.892739.1302995774212.JavaMail.cathy1@mail.srv.brptct.cv.net> <8CDCB41FF43D51E-1684-365D8@webmail-m093.sysops.aol.com> <8D99B9BF-AFB0-445A-86D1-FFB2D48E5C96@twft.com> Message-ID: On Apr 18, 2011, at 12:43 PM, Bob Sneidar wrote: > Or you can get a list of fields whose focusable is true and locktext is false (because you don't want to tab to labels now do you) and then present the developer with an interface where they can click sequentially on the fields in the order that they want to tab through, then save that list in a property of the card. Your tab through function can then get the short name of the current target, find it in the property list, check to see if it's the last one, get the first item if so, the next item if not, and then focus on that field. > > The advantage to this approach is that it will work universally for any card. Ideally you would want to copy every editable field on the card to a new one, along with a Cancel and Save button, and then save the list of fields in a property of the original card. You wouldn't have to make a whole new card, just a menuitem which launches something like (not tested): on doFieldOrder answer "Click on the fields in the order you want. When done, press the commandkey." repeat if the commandkey is down then exit repeat wait until the mouseclick put word 2 of the clickfield into cf -- fld nbr if cf = empty then -- not a field answer "You must click on a field!" next repeat end if select the text of fld cf -- user feedback wait 5 select empty put the short id of fld cf & cr after fldList end repeat delete char -1 of fldList set the tabOrderList of this card to fldList beep -- user feelback end doFieldOrder then use the customprop to find the id of the next field in the list when the user tabs out of the field. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From pmbrig at gmail.com Mon Apr 18 17:04:57 2011 From: pmbrig at gmail.com (Peter Brigham MD) Date: Mon, 18 Apr 2011 17:04:57 -0400 Subject: Palette question In-Reply-To: References: Message-ID: <85E55C45-4AA7-43B7-B373-04AC36EEB536@gmail.com> On Apr 18, 2011, at 12:58 PM, Scott Rossi wrote: > Even better: quit LiveCode and your stack will be COMPLETELY "not resizable" Quit LiveCode??? You can do that???? -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From bill at bluewatermaritime.com Mon Apr 18 17:10:12 2011 From: bill at bluewatermaritime.com (william humphrey) Date: Mon, 18 Apr 2011 17:10:12 -0400 Subject: How to copy a card you can't open In-Reply-To: <4DAC9FC3.7010706@fourthworld.com> References: <4DAC9FC3.7010706@fourthworld.com> Message-ID: No. The table field had nine stops. Set like 45,150,300,345,390,595,646,705 and text Helvetica 9 point. I just re-built it. On Mon, Apr 18, 2011 at 4:32 PM, Richard Gaskin wrote: > william humphrey wrote: > > Thanks for your help. It wasn't the text in the field. It was the field >> itself. A basic table field with some tab stops set. Interesting flaw in >> LiveCode. If I knew where to send the stack to for a bug report I would. >> > > Glad you got that sorted out. > > Interesting problem, though. Do you recall what those tab stops were set > to? > > Any chance you had unusually long lines of text in that field (>64k)? > > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.bluewatermaritime.com From bobs at twft.com Mon Apr 18 17:44:31 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 18 Apr 2011 14:44:31 -0700 Subject: Palette question In-Reply-To: <85E55C45-4AA7-43B7-B373-04AC36EEB536@gmail.com> References: <85E55C45-4AA7-43B7-B373-04AC36EEB536@gmail.com> Message-ID: <3A932DAC-8D9F-4E4C-8B5E-3390163F89C1@twft.com> Not really. It's like Hotel California. You can check out anytime you like... Bob On Apr 18, 2011, at 2:04 PM, Peter Brigham MD wrote: > > On Apr 18, 2011, at 12:58 PM, Scott Rossi wrote: > >> Even better: quit LiveCode and your stack will be COMPLETELY "not resizable" > > Quit LiveCode??? You can do that???? > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Apr 18 17:48:03 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 18 Apr 2011 14:48:03 -0700 Subject: How to copy a card you can't open In-Reply-To: References: <4DAC9FC3.7010706@fourthworld.com> Message-ID: <9464BF0E-0740-477F-A6DA-F98DA1E24467@twft.com> I was going to say, Suppress Messages and Suppress Errors before opening the stack/card, but it looks like you have things figured out. Jacque has said in the past that a corrupted stack is virtually unheard of in Livecode, so if you have a copy of the old one that was crashing, I would sure like to see it. Maybe I can sus out what is wrong. Bob On Apr 18, 2011, at 2:10 PM, william humphrey wrote: > No. The table field had nine stops. Set like 45,150,300,345,390,595,646,705 > and text Helvetica 9 point. I just re-built it. > > On Mon, Apr 18, 2011 at 4:32 PM, Richard Gaskin > wrote: > >> william humphrey wrote: >> >> Thanks for your help. It wasn't the text in the field. It was the field >>> itself. A basic table field with some tab stops set. Interesting flaw in >>> LiveCode. If I knew where to send the stack to for a bug report I would. >>> >> >> Glad you got that sorted out. >> >> Interesting problem, though. Do you recall what those tab stops were set >> to? >> >> Any chance you had unusually long lines of text in that field (>64k)? >> >> >> -- >> Richard Gaskin >> Fourth World >> LiveCode training and consulting: http://www.fourthworld.com >> Webzine for LiveCode developers: http://www.LiveCodeJournal.com >> LiveCode Journal blog: http://LiveCodejournal.com/blog.irv >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > http://www.bluewatermaritime.com > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 18 17:48:08 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 18 Apr 2011 16:48:08 -0500 Subject: menu icon in OS X In-Reply-To: References: Message-ID: <4DACB198.9010105@hyperactivesw.com> On 4/18/11 10:49 AM, Maarten Koopmans wrote: > Hi, > > I Googled a lot, but I haven't found it... > > I'd like to have a little menu icon to the right on closing my app in the > Mac menu bar, is that possible at all. And when a user clicks the icon a > menu appears. If you've ever seen the dropbox menu icon, you know what I > mean. Any small snippet (as usual ;-) highly appreciated. Check the "Status icon support (4.5 ? experimental)" section of the Release Notes. You can open the Release Notes from the Help menu in the IDE. This is a relatively new feature that allows you to put a status icon in the Mac menu bar (or system tray on Windows.) It is experimental for now, which means it may have bugs or irregularities. I don't think the icon will remain if you quit your app. You'll need to just hide your stack instead of quitting. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Apr 18 18:00:25 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 18 Apr 2011 17:00:25 -0500 Subject: How to copy a card you can't open In-Reply-To: <9464BF0E-0740-477F-A6DA-F98DA1E24467@twft.com> References: <4DAC9FC3.7010706@fourthworld.com> <9464BF0E-0740-477F-A6DA-F98DA1E24467@twft.com> Message-ID: <4DACB479.8090705@hyperactivesw.com> On 4/18/11 4:48 PM, Bob Sneidar wrote: > I was going to say, Suppress Messages and Suppress Errors before > opening the stack/card, but it looks like you have things figured > out. Jacque has said in the past that a corrupted stack is virtually > unheard of in Livecode, so if you have a copy of the old one that was > crashing, I would sure like to see it. Maybe I can sus out what is > wrong. I've seen crashes like that with text fields before. The instance I saw wasn't a corrupted stack, it was that text had been pasted into the field from another app that used some nonstandard characters or something. I can't remember exactly what, but it may have been nulls. Removing the text and replacing it with non-binary text fixed it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Mon Apr 18 18:34:05 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 18 Apr 2011 15:34:05 -0700 Subject: Data-Entry in a LiveCode form using the tab key In-Reply-To: References: <18450074.892739.1302995774212.JavaMail.cathy1@mail.srv.brptct.cv.net> <8CDCB41FF43D51E-1684-365D8@webmail-m093.sysops.aol.com> <8D99B9BF-AFB0-445A-86D1-FFB2D48E5C96@twft.com> Message-ID: <74AC5288-63AD-4845-9158-B2220C20A2D3@twft.com> That may work too, only a couple things might happen. The user may start clicking on the fields without dismissing the Answer Dialog, which of course won't work. The user might also get distracted and forget he was in the "Set Field Order" mode unless you supplied some distinct visual feedback. The user might click on a Label Field. You would need to check for that. For a developer function this would work fine, but if you were giving end users this ability it would need a bit more in the way of feedback. Also to test this I made a simple stack with this in the card script and a button that calls it: on doFieldOrder put empty into theFieldList repeat if the commandkey is down then exit doFieldOrder wait until the mouseclick put the clickfield & cr after theFieldList wait 1 second select empty end repeat put theFieldList end doFieldOrder I have to command click to get out of it, not just hold the command key down. Changing my wait to: wait until the mouseclick or the commandKey is down and putting the check for the commandKey right after that works. Also, I get nothing in theFieldList, having to do I think with this from the Livecode Dictionary: "If the field is unlocked, mouseDown and mouseUp messages are not sent when the user clicks in the field (unless the user right-clicks or holds down the Control key while clicking). Use the clickField function within a selectionChanged handler to determine what field the user is editing." However, even with right-clicks, the clickField returns empty. Not sure why. Or it may be that this function only works within mouseDown, mouseUp or selectionChanged:"Use the clickField function within a mouseDown, mouseUp, or selectionChanged handler to determine which field the user clicked, in order to provide hypertext (clickable text) or take some action based on the click." Bob On Apr 18, 2011, at 2:02 PM, Peter Brigham MD wrote: > You wouldn't have to make a whole new card, just a menuitem which launches something like (not tested): > > on doFieldOrder > answer "Click on the fields in the order you want. When done, press the commandkey." > repeat > if the commandkey is down then exit repeat > wait until the mouseclick > put word 2 of the clickfield into cf -- fld nbr > if cf = empty then -- not a field > answer "You must click on a field!" > next repeat > end if > select the text of fld cf -- user feedback > wait 5 > select empty > put the short id of fld cf & cr after fldList > end repeat > delete char -1 of fldList > set the tabOrderList of this card to fldList > beep -- user feelback > end doFieldOrder > > then use the customprop to find the id of the next field in the list when the user tabs out of the field. > > -- Peter From bobs at twft.com Mon Apr 18 18:39:42 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 18 Apr 2011 15:39:42 -0700 Subject: Data-Entry in a LiveCode form using the tab key In-Reply-To: References: <18450074.892739.1302995774212.JavaMail.cathy1@mail.srv.brptct.cv.net> <8CDCB41FF43D51E-1684-365D8@webmail-m093.sysops.aol.com> <8D99B9BF-AFB0-445A-86D1-FFB2D48E5C96@twft.com> Message-ID: <68429B92-957D-442B-91EB-0E401083329F@twft.com> >> > Also to test this I made a simple stack with this in the card script and a button that calls it: > > on doFieldOrder > put empty into theFieldList > > repeat > if the commandkey is down then exit doFieldOrder > wait until the mouseclick > put the clickfield & cr after theFieldList > wait 1 second > select empty > end repeat > put theFieldList > end doFieldOrder WHOOPS! Should be: > if the commandkey is down then exit REPEAT But theFieldList still returns empty, even after I put this into a mouseUp handler. Also, I noticed that the selection did not change. Apparently, mouseUp messages are not getting sent to the object I am clicking on because I am within a mouseUp message already I guess?? Doesn't sound right though. Bob From paul.foraker at gmail.com Mon Apr 18 18:39:31 2011 From: paul.foraker at gmail.com (Paul Foraker) Date: Mon, 18 Apr 2011 15:39:31 -0700 Subject: Apps stop launching Message-ID: Over the past several days, I've noticed that my standalone apps will no longer launch. They try to launch and then quit before getting to the first card. These are simple apps that aren't doing anything interesting on launch. I have to go back to the original stack and build a new standalone. Anyone know what's up with that? -- Paul From tsj at unimelb.edu.au Mon Apr 18 19:12:32 2011 From: tsj at unimelb.edu.au (Terry Judd) Date: Tue, 19 Apr 2011 09:12:32 +1000 Subject: Apps stop launching In-Reply-To: Message-ID: Paul - you're not trying to launch these apps out of a Dropbox folder by any chance are you? Terry... On 19/04/2011 08:39 AM, "Paul Foraker" wrote: > Over the past several days, I've noticed that my standalone apps will no > longer launch. They try to launch and then quit before getting to the first > card. These are simple apps that aren't doing anything interesting on > launch. I have to go back to the original stack and build a new standalone. > Anyone know what's up with that? > > -- Paul > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne From jacque at hyperactivesw.com Mon Apr 18 19:21:42 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 18 Apr 2011 18:21:42 -0500 Subject: Apps stop launching In-Reply-To: References: Message-ID: <4DACC786.4090406@hyperactivesw.com> On 4/18/11 5:39 PM, Paul Foraker wrote: > Over the past several days, I've noticed that my standalone apps will no > longer launch. They try to launch and then quit before getting to the first > card. These are simple apps that aren't doing anything interesting on > launch. I have to go back to the original stack and build a new standalone. > Anyone know what's up with that? It sometimes means the executable bit got unset. Are you moving the app to another OS and back? Both Linux and Windows can lose the executable bit on Mac apps. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bill at bluewatermaritime.com Mon Apr 18 21:25:01 2011 From: bill at bluewatermaritime.com (william humphrey) Date: Mon, 18 Apr 2011 21:25:01 -0400 Subject: How to copy a card you can't open In-Reply-To: <4DACB479.8090705@hyperactivesw.com> References: <4DAC9FC3.7010706@fourthworld.com> <9464BF0E-0740-477F-A6DA-F98DA1E24467@twft.com> <4DACB479.8090705@hyperactivesw.com> Message-ID: I tried deleting the text in the field and that didn't stop the crashes. I had to delete the whole field. Even weirder, I went to a back-up that was nearly a year old and found the same problem. Deleting the field and then re-creating it fixed the error I have no back-up to look at to check but I remember that I had done something to the table field so that two of the columns which had numbers in them were right justified while the others were left justified. I don't remember how I did it. On Mon, Apr 18, 2011 at 6:00 PM, J. Landman Gay wrote: > On 4/18/11 4:48 PM, Bob Sneidar wrote: > >> I was going to say, Suppress Messages and Suppress Errors before >> opening the stack/card, but it looks like you have things figured >> out. Jacque has said in the past that a corrupted stack is virtually >> unheard of in Livecode, so if you have a copy of the old one that was >> crashing, I would sure like to see it. Maybe I can sus out what is >> wrong. >> > > I've seen crashes like that with text fields before. The instance I saw > wasn't a corrupted stack, it was that text had been pasted into the field > from another app that used some nonstandard characters or something. I can't > remember exactly what, but it may have been nulls. Removing the text and > replacing it with non-binary text fixed it. > > -- > 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://www.bluewatermaritime.com From stephenREVOLUTION2 at barncard.com Mon Apr 18 21:58:02 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 18 Apr 2011 18:58:02 -0700 Subject: How to copy a card you can't open In-Reply-To: References: <4DAC9FC3.7010706@fourthworld.com> <9464BF0E-0740-477F-A6DA-F98DA1E24467@twft.com> <4DACB479.8090705@hyperactivesw.com> Message-ID: we'd all like to know how you did it. The engine can't do that yet. On 18 April 2011 18:25, william humphrey wrote: > I tried deleting the text in the field and that didn't stop the crashes. I > had to delete the whole field. Even weirder, I went to a back-up that was > nearly a year old and found the same problem. Deleting the field and then > re-creating it fixed the error I have no back-up to look at to check but I > remember that I had done something to the table field so that two of the > columns which had numbers in them were right justified while the others > were > left justified. I don't remember how I did it. > > On Mon, Apr 18, 2011 at 6:00 PM, J. Landman Gay >wrote: > > > On 4/18/11 4:48 PM, Bob Sneidar wrote: > > > >> I was going to say, Suppress Messages and Suppress Errors before > >> opening the stack/card, but it looks like you have things figured > >> out. Jacque has said in the past that a corrupted stack is virtually > >> unheard of in Livecode, so if you have a copy of the old one that was > >> crashing, I would sure like to see it. Maybe I can sus out what is > >> wrong. > >> > > > > I've seen crashes like that with text fields before. The instance I saw > > wasn't a corrupted stack, it was that text had been pasted into the field > > from another app that used some nonstandard characters or something. I > can't > > remember exactly what, but it may have been nulls. Removing the text and > > replacing it with non-binary text fixed it. > > > > -- > > 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://www.bluewatermaritime.com > _______________________________________________ > use-livecode mailing list > use-livecode 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 niconiko at gmail.com Tue Apr 19 00:46:17 2011 From: niconiko at gmail.com (Nicolas Cueto) Date: Tue, 19 Apr 2011 13:46:17 +0900 Subject: controller bar not responding Message-ID: <0EAD345E-5CAC-4C9F-8DF9-C1E1EFFC1443@gmail.com> A player object's controller bar works on a standalone but not on a revlet. The video can play, but nothing happens when clicking the controller bar and any of its functions. Any ideas? Thanks. -- Nicolas Cueto From andre at andregarzia.com Tue Apr 19 01:29:09 2011 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 19 Apr 2011 02:29:09 -0300 Subject: Yay! Victory RevServer runs on FreeBSD with Linux Compat installed. In-Reply-To: References: <11EEB653-F61D-45D0-9D73-07DC4B68226E@free.fr> Message-ID: Folks, For anyone following this, I was unable to connect with MySQL or SQLite database using linux compatibility in FreeBSD. I believe that RevDB External and the Database Drivers need some uninstalled shared libraries but since they are no in ELF Format, I can't use ldd to find out whos missing. I really wish RunRev would release RevServer for FreeBSD. To build this would probably take half an hour and build straight from the linux sources depending on how their build script is built. Most Linux source code build in FreeBSD with no fuss. It is my belief that FreeBSD is a better platform to build small servers because it is stable and all the system is built by a single community where a strong emphasis is placed on documentation and making sure packages work with each other. It takes less time to setup a FreeBSD server from the scratch and actually understand what is going on than building a linux one, specially once you start mixing repos and packages from other groups. For anyone that want to know more, I recommend the book "Building a Server with FreeBSD" from No Starch Press. It is a really quick book that is easy to read and in the end you have your own server full of nice stuff. Once you setup your first FreeBSD server, you will never want to go back to Linux or Windows... RevServer engine runs fine with the Linux binary emulator thing but the database external does not which kills half the usefulness of RevServer in such systems. Once we had engines for other unixes such as HP-UX and FreeBSD. I think building RevServer for at least FreeBSD would be a GREAT addition but I know that the mothership has enough platforms to worry so far. Heck, even if they built a RevServer for FreeBSD once a year and left it with no update until the next year, it would be GREAT! Anyway... will install CentOS here, need MySQL to work with RevServer, it is a pitty, my FreeBSD box looked and felt really GOOD! PS: Anyone following building a server with freebsd book can try it out on virtualbox... building servers is fun (a masochistic kind of fun but once it is working it is really good, at least until it breaks...) Cheers Andre "Nostalgia for BSD" Garzia On Wed, Apr 13, 2011 at 6:08 PM, Andre Garzia wrote: > give me a couple days, I will install pg here and try it out... I have > mysql installed but so far no testing done because I can't believe it will > actually work and am afraid that my beliefs will again be shattered (I > thought that linux compat would never work) > > > On Wed, Apr 13, 2011 at 5:58 PM, Pierre Sahores wrote: > >> RevServer works OK under OpenSuse. It's the revdb.so and/or revPG.so whose >> don't. >> >> > I think I got it running on OpenSuse 11.0 or something like that but if >> I >> > rememeber correctly it involved installing some libraries by hand. >> >> -- >> Pierre Sahores >> mobile : (33) 6 03 95 77 70 >> >> www.woooooooords.com >> www.sahores-conseil.com >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > -- http://www.andregarzia.com All We Do Is Code. From admin at FlexibleLearning.com Tue Apr 19 03:33:26 2011 From: admin at FlexibleLearning.com (FlexibleLearning) Date: Tue, 19 Apr 2011 08:33:26 +0100 Subject: Omegabundle 2011 for LiveCode In-Reply-To: Message-ID: This is a great bundle deal with a range of the most popular LiveCode products included. I am delighted that RunRev is supporting it! Hugh Senior FLCo OmegaBundle for LiveCode 2011 at www.omegabundle.com On Mon, 18 Apr 2011, Lynn Fredricks wrote... Hello all, Runtime Revolution has thrown in their support to the Omegabundle 2011 for LiveCode offers! >> check it out: http://www.omegabundle.com/ Omegabundle 2011 for LiveCode (new user) includes LiveCode Pro/Commercial (your choice of desktop + one mobile platform) plus the following: *A $500 discount coupon towards RunRevLive.11 Developer Conference, held April 26-29 2011 in San Jose, California. RunRevLive.11 has over 40 sessions of valuable presentations and lessons. * Animation Engine 4. Powerful LiveCode library for rendering animation through Livecode apps built for the desktop and for iPhone. Sold separately for $79.00. * SQL Yoga. Makes developing data-driven solutions easy by tranforming database complexities into common LiveCode processes. Sold separately for $199. * Flexible Learning ChartMaker. A fully featured cross-platform library solution designed to create professional charts in your own work. Sold separately for $79.00. * ASG DataGrid Helper. A complete set of tools for rapidly creating professional business layouts and data grids for the desktop and for iPhone. Sold separately for $49. * .com Solutions FmPro Migrator Platinum Edition. Migrates FileMaker and Access to MySQL, Oracle, Access, SQL Server, Sybase, DB2, OpenBase, PostgreSQL, FrontBase, SQLite and Valentina and Convert interfaces to LiveCode. Sold separately for $600. * tm tools. Tactile Media pro interface building tools for LiveCode, including tm color, tm gradient, tm audio, tm guage, tm numeric, tm align. Sold separately for $226. * Aspen Icon Set. 80 professionally designed, cross platform compatible icons for your applications. Sold separately for $179.00. * Valentina Office Server Unlimited. Advanced database and reports server based on the ultra fast columnar database engine Valentina. Sold separately for $1499. * Franklin 3D Game Engine. Multi-platform cross-platform 3D engine for games, simulations and 3D apps. Sold Separately for $299. * Flexible Learning Scripter's Scrapbook. A knowledge rich resource for collecting code resources and accessing years of shared resources of LiveCode professional developers. Sold separately for $79.00. * Valentina ADK+ for LiveCode. Embedded local ultra fast analytical database for LiveCode on Windows, Mac OS X and Linux. Sold separately for $399.00. You can get this bundle WITH LiveCode Pro for $499, or without LiveCode for $399. This makes it a great option if you already have LiveCode! Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From pmbrig at gmail.com Tue Apr 19 08:14:09 2011 From: pmbrig at gmail.com (Peter Brigham MD) Date: Tue, 19 Apr 2011 08:14:09 -0400 Subject: Data-Entry in a LiveCode form using the tab key In-Reply-To: <68429B92-957D-442B-91EB-0E401083329F@twft.com> References: <18450074.892739.1302995774212.JavaMail.cathy1@mail.srv.brptct.cv.net> <8CDCB41FF43D51E-1684-365D8@webmail-m093.sysops.aol.com> <8D99B9BF-AFB0-445A-86D1-FFB2D48E5C96@twft.com> <68429B92-957D-442B-91EB-0E401083329F@twft.com> Message-ID: <94D39856-8253-4878-B88C-13DFF4E9BB88@gmail.com> Solved one part of the problem -- there has to be a "wait with messages" after the mouseclick. Without this the mousecontrol always returns empty. I have no idea why. I haven't yet figured out how to change the cursor to ensure the user knows s/he is still in the doFieldOrder mode -- it doesn't stick after the first click. If you will be actually using this technique then I can investigate further to find a fix for that. The following works except for the cursor problem. Right clicking ensures that the mouseclick is sent even with unlocked fields. on doFieldOrder answer "RIght-click on the fields in the order you want." \ && "When done, press the commandkey." as sheet repeat set the defaultcursor to hand -- why does this only work the first time?? wait until (the mouseclick or the commandkey is down) if the commandkey is down then exit repeat wait 1 tick with messages put word 2 of the mousecontrol into mc put the long id of control mc into fID if not (fID begins with "field") then -- not a field answer "You must click on a field!" set the defaultcursor to hand -- try again next repeat end if select the text of fID -- user feedback wait 5 select empty put word 3 of fID & cr after fldList -- short id set the defaultcursor to hand -- try again end repeat delete char -1 of fldList put fldList -- set the tabOrderList of this card to fldList set the defaultcursor to empty beep -- user feedback end doFieldOrder -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Apr 18, 2011, at 6:39 PM, Bob Sneidar wrote: >>> >> Also to test this I made a simple stack with this in the card script and a button that calls it: >> >> on doFieldOrder >> put empty into theFieldList >> >> repeat >> if the commandkey is down then exit doFieldOrder >> wait until the mouseclick >> put the clickfield & cr after theFieldList >> wait 1 second >> select empty >> end repeat >> put theFieldList >> end doFieldOrder > > WHOOPS! Should be: >> if the commandkey is down then exit REPEAT > > But theFieldList still returns empty, even after I put this into a mouseUp handler. Also, I noticed that the selection did not change. Apparently, mouseUp messages are not getting sent to the object I am clicking on because I am within a mouseUp message already I guess?? Doesn't sound right though. > > 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 klaus at major.on-rev.com Tue Apr 19 08:48:26 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Tue, 19 Apr 2011 14:48:26 +0200 Subject: setting bordercolor of images in group Message-ID: <192F65A6-66D1-4412-90A4-3EB2432D9ACB@major.on-rev.com> Hi all, I am sure I am missing somehting, but don't know waht!? 1. I have some grouped images with showborder = true 2. I set the bordercolor of the group to grey. Setting the bodercolor of the images themselves does not work!!!??? 3. Now I wanted to change the bordercolor "on dragenter" 4. Can't get this to work :-/ I tried: on dragenter ... set the bordercolor of the target to 255,255,102 end dragenter Which should work, I think, but doesn't!? And: on dragleave ... set the bordercolor of the target to empty end dragleave But the bordercolor does not change. No back/front or whatever scripts involved Clueless, what am I missing? Thanks in advance! Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From klaus at major.on-rev.com Tue Apr 19 09:08:59 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Tue, 19 Apr 2011 15:08:59 +0200 Subject: setting bordercolor of images in group In-Reply-To: <192F65A6-66D1-4412-90A4-3EB2432D9ACB@major.on-rev.com> References: <192F65A6-66D1-4412-90A4-3EB2432D9ACB@major.on-rev.com> Message-ID: Hi all, Am 19.04.2011 um 14:48 schrieb Klaus on-rev: > Hi all, > > I am sure I am missing somehting, but don't know waht!? > > 1. I have some grouped images with showborder = true > 2. I set the bordercolor of the group to grey. > Setting the bodercolor of the images themselves does not work!!!??? > 3. Now I wanted to change the bordercolor "on dragenter" > 4. Can't get this to work :-/ > > I tried: > on dragenter > ... > set the bordercolor of the target to 255,255,102 > end dragenter > > Which should work, I think, but doesn't!? just found this in the docs: ... To set the color of an image's border, set the borderColor of the card, stack, or group that owns the image. ... So it looks like one cannot set the bordercolor of an image directly? Big fun! Hm, what the egg? Seems not logical to me. Anyway, time for another workaround, sigh... Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From gwolfgang at gaich.de Tue Apr 19 10:11:27 2011 From: gwolfgang at gaich.de (G. Wolfgang Gaich) Date: Tue, 19 Apr 2011 16:11:27 +0200 Subject: setting bordercolor of images in group In-Reply-To: References: <192F65A6-66D1-4412-90A4-3EB2432D9ACB@major.on-rev.com> Message-ID: <4DAD980F.5000301@gaich.de> Hallo Klaus, a workaround may be: on dragenter ... if the short name of the owner of the target is not "g1" then do "group" && the long id of the target set the name of the owner of the target to "g1" end if set the bordercolor of the owner of the target to 255,255,102 end dragenter Beste Gr??e Wolfgang Am 19.04.2011 15:08, schrieb Klaus on-rev: > on dragenter > > ... > > set the bordercolor of the target to 255,255,102 > > end dragenter From ambassador at fourthworld.com Tue Apr 19 10:15:23 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 19 Apr 2011 07:15:23 -0700 Subject: setting bordercolor of images in group In-Reply-To: <192F65A6-66D1-4412-90A4-3EB2432D9ACB@major.on-rev.com> References: <192F65A6-66D1-4412-90A4-3EB2432D9ACB@major.on-rev.com> Message-ID: <4DAD98FB.8000500@fourthworld.com> Bug #3158: borderColor property has no affect for images, yet setting the borderColor of a card containing an image results in colored image border -- 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 klaus at major.on-rev.com Tue Apr 19 10:19:00 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Tue, 19 Apr 2011 16:19:00 +0200 Subject: setting bordercolor of images in group In-Reply-To: <4DAD980F.5000301@gaich.de> References: <192F65A6-66D1-4412-90A4-3EB2432D9ACB@major.on-rev.com> <4DAD980F.5000301@gaich.de> Message-ID: <5FB229D7-D92D-4B16-B406-D0E9DF0FC233@major.on-rev.com> Hi Wolfgang, > Hallo Klaus, > > a workaround may be: > on dragenter > ... > if the short name of the owner of the target is not "g1" then > do "group" && the long id of the target > set the name of the owner of the target to "g1" > end if > set the bordercolor of the owner of the target to 255,255,102 > end dragenter well, nice idea, but then I need to ungroup everything "on dragleave". Seems to be overkill for the 100 images in that group ;-) I created a graphic and show and set its rect accordingly instead. > Beste Gr??e > Wolfgang Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From klaus at major.on-rev.com Tue Apr 19 10:23:55 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Tue, 19 Apr 2011 16:23:55 +0200 Subject: setting bordercolor of images in group In-Reply-To: <4DAD98FB.8000500@fourthworld.com> References: <192F65A6-66D1-4412-90A4-3EB2432D9ACB@major.on-rev.com> <4DAD98FB.8000500@fourthworld.com> Message-ID: <51627674-1DA8-403F-A240-6288A541CFF9@major.on-rev.com> Hi Richard, > Bug #3158: > > borderColor property has no affect for images, yet setting the borderColor of a card containing an image results in colored image border > Yep, found it and added a comment. That limitation does not make any sense :-) > Richard Gaskin Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From zryip.theslug at gmail.com Tue Apr 19 10:31:54 2011 From: zryip.theslug at gmail.com (zryip theSlug) Date: Tue, 19 Apr 2011 16:31:54 +0200 Subject: [ANN] Data Grid Helper 1.3.4 Selects your columns Message-ID: Dear List, After a break, we are pleased to be back with a new version of our Data Grid Helper plugin. What we have for you in this version? Add New ready to use script available, for column selection. Column selection makes the datagrid behave like any spreadsheet when one click on column header. Note: To have the script working properly, you must comment or delete the dgHilite property and the mouseUp handler of the standard header behavior script. Fix Fix a bug with the sort by column local menu. The menu was not properly working. Change The DGH's data substack is renamed DGH_Data to insure compatibility with possible existing project. If you have not already tested DGH, a trial version free for 30 days is available here: http://www.aslugontheroad.co.cc/index.php?option=com_phocadownload&view=category&download=17:data-grid-helper-plugin&id=12:trial&Itemid=63 We have also a quick start guide, downloadable here: http://www.aslugontheroad.co.cc/index.php?option=com_phocadownload&view=category&download=13:data-grid-helper-quick-start-guide&id=12:trial&Itemid=63 You can purchase DGH directly on our partner store: http://www.runrev.com/store/product/data-grid-helper-1-2-0/ We are also part in a limited time Omegabundle offer: http://www.omegabundle.com/ The opportunity to acquire a LiveCode license for Mobile or Desktop and a great tools package for an attractive price, or to make a gift to a friend. Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.com From ambassador at fourthworld.com Tue Apr 19 10:39:37 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 19 Apr 2011 07:39:37 -0700 Subject: setting bordercolor of images in group In-Reply-To: <51627674-1DA8-403F-A240-6288A541CFF9@major.on-rev.com> References: <51627674-1DA8-403F-A240-6288A541CFF9@major.on-rev.com> Message-ID: <4DAD9EA9.9060907@fourthworld.com> Klaus wrote: >> Bug #3158: >> >> borderColor property has no affect for images, yet setting the borderColor of a card containing an image results in colored image border >> > > Yep, found it and added a comment. > That limitation does not make any sense :-) I believe Raney once told me that some object properties were compactly expressed in the internal object record as specific bits within a byte or word, which was great for saving space but made it difficult to later add new properties without changing the file format. Also, some types of objects use specific bits for one purpose while another object type will use those same bits for a different property. Given the scope of properties for images, I'd guess that what happened here is that Raney needed the border bit for some other image property and he probably thought, "Why would anyone need to set the border of an image anyway?" This is just a hunch, but if it's true and the current file format doesn' allow internal properties to be added more easily, don't be surprised if this seemingly-simple fix has to wait until the next file format change. -- 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 klaus at major.on-rev.com Tue Apr 19 10:45:15 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Tue, 19 Apr 2011 16:45:15 +0200 Subject: setting bordercolor of images in group In-Reply-To: <4DAD9EA9.9060907@fourthworld.com> References: <51627674-1DA8-403F-A240-6288A541CFF9@major.on-rev.com> <4DAD9EA9.9060907@fourthworld.com> Message-ID: <15133BEB-71A1-4B81-8B90-D87E04BE4009@major.on-rev.com> Hi Richard > Klaus wrote: >>> Bug #3158: >>> borderColor property has no affect for images, yet setting the borderColor of a card containing an image results in colored image border >>> >> Yep, found it and added a comment. >> That limitation does not make any sense :-) > I believe Raney once told me that some object properties were compactly expressed in the internal object record as specific bits within a byte or word, which was great for saving space but made it difficult to later add new properties without changing the file format. > Also, some types of objects use specific bits for one purpose while another object type will use those same bits for a different property. > Given the scope of properties for images, I'd guess that what happened here is that Raney needed the border bit for some other image property and he probably thought, "Why would anyone need to set the border of an image anyway?" > This is just a hunch, but if it's true and the current file format doesn' allow internal properties to be added more easily, > don't be surprised if this seemingly-simple fix has to wait until the next file format change. which is right around the corner and coming with LiveCode 5.x ;-) > -- > 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 Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From kee at kagi.com Tue Apr 19 12:13:08 2011 From: kee at kagi.com (Kee Nethery) Date: Tue, 19 Apr 2011 09:13:08 -0700 Subject: Yay! Victory RevServer runs on FreeBSD with Linux Compat installed. In-Reply-To: References: <11EEB653-F61D-45D0-9D73-07DC4B68226E@free.fr> Message-ID: <22932093-EA49-4AB0-ACE1-4D380D7D4A7E@kagi.com> I've not used FreeBSD but two data points. A guy in the building where I live runs an online business that gets lots of hack attacks and he long ago switched to FreeBSD for his servers because in his experience it is way more secure than any of the Linux distros. Secondly, a friend of mine who has held high level behind the scenes technical networking positions for a very large company (to say he knows his stuff is an understatement) has been involved with FreeBSD for years because he appreciates the security reviews and completeness of the code that gets submitted into FreeBSD. It's what he runs for his personal servers. I have no idea how big the market is for FreeBSD installations of LiveCode, but the OS has an excellent reputation as a server. Kee Nethery From bill at bluewatermaritime.com Tue Apr 19 12:23:27 2011 From: bill at bluewatermaritime.com (william humphrey) Date: Tue, 19 Apr 2011 12:23:27 -0400 Subject: How to copy a card you can't open In-Reply-To: References: <4DAC9FC3.7010706@fourthworld.com> <9464BF0E-0740-477F-A6DA-F98DA1E24467@twft.com> <4DACB479.8090705@hyperactivesw.com> Message-ID: Seems like that would be a pretty essential character of table fields. Too bad. I must have put in leading spaces or something. The purpose of the card is only to format text for printing. Thanks for letting me know about that lack. How long before that feature is available for table fields? From andre at andregarzia.com Tue Apr 19 12:43:01 2011 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 19 Apr 2011 13:43:01 -0300 Subject: Yay! Victory RevServer runs on FreeBSD with Linux Compat installed. In-Reply-To: <22932093-EA49-4AB0-ACE1-4D380D7D4A7E@kagi.com> References: <11EEB653-F61D-45D0-9D73-07DC4B68226E@free.fr> <22932093-EA49-4AB0-ACE1-4D380D7D4A7E@kagi.com> Message-ID: Kee, The three big BSDs (FreeBSD, NetBSD and OpenBSD) are all great. In 1999, I worked with NetBSD servers, this year, I went on to build myself a FreeBSD server and my knowledge from 1999 was instantly transferable. Things are where they should be. It is very easy to configure and secure a FreeBSD server. I think it will take me one or two hours to put a complete server up and this includes building all software from source packages. I will try to talk to people at RunRev during the conference and see if I can get them interested in an experimental build for FreeBSD. It can be unsupported, all I want is an engine that runs. If you check on the netcraft reports for the top 3 most stable hosting companies in the world, you will see that they are all running FreeBSD (they might be running FreeBSD and providing Linux virtualized for their clients with Xen or something like that but the host OS still FreeBSD) Cheers andre On Tue, Apr 19, 2011 at 1:13 PM, Kee Nethery wrote: > I've not used FreeBSD but two data points. > > A guy in the building where I live runs an online business that gets lots > of hack attacks and he long ago switched to FreeBSD for his servers because > in his experience it is way more secure than any of the Linux distros. > > Secondly, a friend of mine who has held high level behind the scenes > technical networking positions for a very large company (to say he knows his > stuff is an understatement) has been involved with FreeBSD for years because > he appreciates the security reviews and completeness of the code that gets > submitted into FreeBSD. It's what he runs for his personal servers. > > I have no idea how big the market is for FreeBSD installations of LiveCode, > but the OS has an excellent reputation as a server. > > Kee Nethery > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From bobs at twft.com Tue Apr 19 12:58:47 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 19 Apr 2011 09:58:47 -0700 Subject: Yay! Victory RevServer runs on FreeBSD with Linux Compat installed. In-Reply-To: References: <11EEB653-F61D-45D0-9D73-07DC4B68226E@free.fr> <22932093-EA49-4AB0-ACE1-4D380D7D4A7E@kagi.com> Message-ID: <3139C505-0E36-4F67-B7F7-CE26841C5F7E@twft.com> My take on FreeBSD was that it was a very promising non-mainstream OS but never caught on large scale. There was talk, if I am remembering right, about Sun suing anyone who made anything that looked like Unix for a while there. I think that scared a lot of people off. I'm glad it still lives. Bob On Apr 19, 2011, at 9:43 AM, Andre Garzia wrote: > Kee, > > The three big BSDs (FreeBSD, NetBSD and OpenBSD) are all great. In 1999, I > worked with NetBSD servers, this year, I went on to build myself a FreeBSD > server and my knowledge from 1999 was instantly transferable. Things are > where they should be. It is very easy to configure and secure a FreeBSD > server. I think it will take me one or two hours to put a complete server up > and this includes building all software from source packages. > > I will try to talk to people at RunRev during the conference and see if I > can get them interested in an experimental build for FreeBSD. It can be > unsupported, all I want is an engine that runs. > > If you check on the netcraft reports for the top 3 most stable hosting > companies in the world, you will see that they are all running FreeBSD (they > might be running FreeBSD and providing Linux virtualized for their clients > with Xen or something like that but the host OS still FreeBSD) > > Cheers > andre > > On Tue, Apr 19, 2011 at 1:13 PM, Kee Nethery wrote: > >> I've not used FreeBSD but two data points. >> >> A guy in the building where I live runs an online business that gets lots >> of hack attacks and he long ago switched to FreeBSD for his servers because >> in his experience it is way more secure than any of the Linux distros. >> >> Secondly, a friend of mine who has held high level behind the scenes >> technical networking positions for a very large company (to say he knows his >> stuff is an understatement) has been involved with FreeBSD for years because >> he appreciates the security reviews and completeness of the code that gets >> submitted into FreeBSD. It's what he runs for his personal servers. >> >> I have no idea how big the market is for FreeBSD installations of LiveCode, >> but the OS has an excellent reputation as a server. >> >> Kee Nethery >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Tue Apr 19 14:33:25 2011 From: livfoss at mac.com (Graham Samuel) Date: Tue, 19 Apr 2011 20:33:25 +0200 Subject: Parallels on a Mac - apparent LC anomalies Message-ID: I no longer have a PC but I'm trying to test an app intended for PC use. I'm using Parallels 6 to emulate an XP machine on my Mac. Mostly this works, but the LiveCode functions that retrieve the machine, processor, OS type and (most importantly) the screenrect(s) just give you the Mac equivalents. I hardly expect Parallels to change things for me, but does anyone know how LC gets this kind of data and whether there is any workaround for people in my position? TIA Graham PS I think I found one more anomaly - I have a stack that I don't want the user to see. I put it at 10000,10000 - this works fine on the Mac, but on the "PC", its loc seems to change back to the screenloc. The only solution I could find was to hide the stack. Anyone else seen this? From bobs at twft.com Tue Apr 19 14:53:13 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 19 Apr 2011 11:53:13 -0700 Subject: Parallels on a Mac - apparent LC anomalies In-Reply-To: References: Message-ID: Hmmm. Are you using Coherence or Crystal mode? In this case, I suspect that you might be running into Application Sharing weirdness. Try switching to Windowed mode and disabling all the sharing and see what you get. Bob On Apr 19, 2011, at 11:33 AM, Graham Samuel wrote: > I no longer have a PC but I'm trying to test an app intended for PC use. I'm using Parallels 6 to emulate an XP machine on my Mac. Mostly this works, but the LiveCode functions that retrieve the machine, processor, OS type and (most importantly) the screenrect(s) just give you the Mac equivalents. > > I hardly expect Parallels to change things for me, but does anyone know how LC gets this kind of data and whether there is any workaround for people in my position? > > TIA > > Graham > > PS I think I found one more anomaly - I have a stack that I don't want the user to see. I put it at 10000,10000 - this works fine on the Mac, but on the "PC", its loc seems to change back to the screenloc. The only solution I could find was to hide the stack. Anyone else seen this? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Tue Apr 19 15:45:08 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 19 Apr 2011 15:45:08 -0400 Subject: Submenus in the menuBar In-Reply-To: References: Message-ID: <8CDCCE16BEFE2C0-1444-55310@webmail-m081.sysops.aol.com> I have no problem making submenus with ordinary buttons (cascade, pullDown, etc.). But I cannot see how to do this in the menuBuilder. Returns and tabs are not supported in that tool, so that the menuItems are formatted as they are in the contents of an ordinary popUp, say. What am I missing? Do I have to edit the actual button contents in the menu group? Thanks, Craig Newman From jacque at hyperactivesw.com Tue Apr 19 15:50:24 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 19 Apr 2011 14:50:24 -0500 Subject: setting bordercolor of images in group In-Reply-To: <51627674-1DA8-403F-A240-6288A541CFF9@major.on-rev.com> References: <192F65A6-66D1-4412-90A4-3EB2432D9ACB@major.on-rev.com> <4DAD98FB.8000500@fourthworld.com> <51627674-1DA8-403F-A240-6288A541CFF9@major.on-rev.com> Message-ID: <4DADE780.8090006@hyperactivesw.com> On 4/19/11 9:23 AM, Klaus on-rev wrote: > Hi Richard, > >> Bug #3158: >> >> borderColor property has no affect for images, yet setting the >> borderColor of a card containing an image results in colored image >> border > > Yep, found it and added a comment. That limitation does not make any > sense :-) Scott Raney explained it to me. Images are drawn using their own color palette. That includes their border. If the color you want doesn't match a color that is already in the color palette, it can't be drawn. At least, that's how it was ten years ago. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From livfoss at mac.com Tue Apr 19 15:52:38 2011 From: livfoss at mac.com (Graham Samuel) Date: Tue, 19 Apr 2011 21:52:38 +0200 Subject: Approach to integrating LC and non-LC apps Message-ID: <955A516F-F4B9-4BC1-B40F-B961DB77C615@mac.com> I'm writing an app that allows its users access to a variety of bit-mapped images and manipulates them in particular ways. I have found it easy with formats PNG, JPG, BMP that LC reads natively, but I also have to deal with PDF and TIF files. I have asked questions before about reading PDFs and other graphic formats (I'm only interested in bitmapped graphics) that LC can't read natively. What I am planning to do, thanks to advice from this list, is to get another program, ImageMagick, to do the reading for me. I want my users to have the simplest possible experience, so I want them to be unaware that two programs are involved. I imagine, for example, that I could use my LC app to select say a PDF file, pass it silently to ImageMagick for conversion to say PNG, and then acquire the output in my own app so that from the users' point of view there is just one program to deal with. My initial question is, is this feasible? I have read section 12.1 of the LC Manual ('Communicating with other process and applications'), but the trouble is, I'm too inexperienced to know which way to go. If anyone has any experience of this at all, perhaps they could give me some pointers - it might save a great deal of wheel-inventing. TIA Graham From andre.bisseret at wanadoo.fr Tue Apr 19 16:27:42 2011 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Tue, 19 Apr 2011 22:27:42 +0200 Subject: Submenus in the menuBar In-Reply-To: <8CDCCE16BEFE2C0-1444-55310@webmail-m081.sysops.aol.com> References: <8CDCCE16BEFE2C0-1444-55310@webmail-m081.sysops.aol.com> Message-ID: <5E844563-54FF-414B-A4DE-0BEC1CF233E7@wanadoo.fr> Le 19 avr. 2011 ? 21:45, dunbarx at aol.com a ?crit : > > > I have no problem making submenus with ordinary buttons (cascade, pullDown, etc.). > > > But I cannot see how to do this in the menuBuilder. Returns and tabs are not supported in that tool, so that the menuItems > are formatted as they are in the contents of an ordinary popUp, say. > What am I missing? Do I have to edit the actual button contents in the menu group? > Bonjour, In the Menu Buider 1 - do "New Menu" then 2 - do "New Item" (item 1) 3 - do "New item" again (item 2) while this second item is selected click on the little button with a green arrow pointing to the right with a blue rectangle as a background then this second item becomes a sub item of item 1 (it slides to the right ) HTH Best regards from Grenoble Andr? From m.schonewille at economy-x-talk.com Tue Apr 19 16:27:49 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 19 Apr 2011 22:27:49 +0200 Subject: Parallels on a Mac - apparent LC anomalies In-Reply-To: References: Message-ID: <68F3A876-AE1C-4A4C-9EBC-3D2B59B65691@economy-x-talk.com> Hi Graham, I use VirtualBox. Changing the windows also changes the value returned by LC's screenrect function. I would expect it to change in Parallels too. Interestingly, the machine function returns Unknown in Mac OS X but x86 in Windows, while both are running on a MacBook :-) It is not very useful to set the location of a stack to a distant point, because a user might decide to set the location of a secondary or tertiary monitor to that point. If you want to hide a stack, use the hide command. If you need the stack to be visible for some reason, then make it look like visual feedback that's meant to be. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 19 apr 2011, at 20:33, Graham Samuel wrote: > I no longer have a PC but I'm trying to test an app intended for PC use. I'm using Parallels 6 to emulate an XP machine on my Mac. Mostly this works, but the LiveCode functions that retrieve the machine, processor, OS type and (most importantly) the screenrect(s) just give you the Mac equivalents. > > I hardly expect Parallels to change things for me, but does anyone know how LC gets this kind of data and whether there is any workaround for people in my position? > > TIA > > Graham > > PS I think I found one more anomaly - I have a stack that I don't want the user to see. I put it at 10000,10000 - this works fine on the Mac, but on the "PC", its loc seems to change back to the screenloc. The only solution I could find was to hide the stack. Anyone else seen this? > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 19 16:47:29 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 19 Apr 2011 22:47:29 +0200 Subject: Approach to integrating LC and non-LC apps In-Reply-To: <955A516F-F4B9-4BC1-B40F-B961DB77C615@mac.com> References: <955A516F-F4B9-4BC1-B40F-B961DB77C615@mac.com> Message-ID: <6159E626-DBA8-488D-9E0B-3862BDFC01A9@economy-x-talk.com> Graham, Yes, this is technically feasible. IM is great stuff. Call it from the shell function. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 19 apr 2011, at 21:52, Graham Samuel wrote: > I'm writing an app that allows its users access to a variety of bit-mapped images and manipulates them in particular ways. I have found it easy with formats PNG, JPG, BMP that LC reads natively, but I also have to deal with PDF and TIF files. > > I have asked questions before about reading PDFs and other graphic formats (I'm only interested in bitmapped graphics) that LC can't read natively. What I am planning to do, thanks to advice from this list, is to get another program, ImageMagick, to do the reading for me. I want my users to have the simplest possible experience, so I want them to be unaware that two programs are involved. I imagine, for example, that I could use my LC app to select say a PDF file, pass it silently to ImageMagick for conversion to say PNG, and then acquire the output in my own app so that from the users' point of view there is just one program to deal with. > > My initial question is, is this feasible? I have read section 12.1 of the LC Manual ('Communicating with other process and applications'), but the trouble is, I'm too inexperienced to know which way to go. > > If anyone has any experience of this at all, perhaps they could give me some pointers - it might save a great deal of wheel-inventing. > > TIA > > Graham > From pete at mollysrevenge.com Tue Apr 19 16:52:15 2011 From: pete at mollysrevenge.com (Pete) Date: Tue, 19 Apr 2011 13:52:15 -0700 Subject: Palette question In-Reply-To: References: Message-ID: Well I thought I was done with this but now I have a stack with resizable set to false, but the resize icon is still there in the bottom right and I can resize it. Setting resizable to false worked great in a couple of other stacks - is there some other property of a stack that affects this? Pete Molly's Revenge On Mon, Apr 18, 2011 at 9:30 AM, Scott Rossi wrote: > Recently, Pete wrote: > > > As a side > > note, I also found that setting the stack window decorations to None gets > > rid of the resize icon. > > If you're just trying to enable or disable resizing, you can set the > "resizable" property of your stack to true or false. > > 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 dunbarx at aol.com Tue Apr 19 17:33:39 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 19 Apr 2011 17:33:39 -0400 Subject: Submenus in the menuBar In-Reply-To: <5E844563-54FF-414B-A4DE-0BEC1CF233E7@wanadoo.fr> References: <8CDCCE16BEFE2C0-1444-55310@webmail-m081.sysops.aol.com> <5E844563-54FF-414B-A4DE-0BEC1CF233E7@wanadoo.fr> Message-ID: <8CDCCF094827185-1444-56A5D@webmail-m081.sysops.aol.com> Andre. Thanks. I thought there must be a fun and simple way to do this. Craig -----Original Message----- From: Andr? Bisseret To: How to use LiveCode Sent: Tue, Apr 19, 2011 4:27 pm Subject: Re: Submenus in the menuBar Le 19 avr. 2011 ? 21:45, dunbarx at aol.com a ?crit : > > > I have no problem making submenus with ordinary buttons (cascade, pullDown, etc.). > > > But I cannot see how to do this in the menuBuilder. Returns and tabs are not supported in that tool, so that the menuItems > are formatted as they are in the contents of an ordinary popUp, say. > What am I missing? Do I have to edit the actual button contents in the menu group? > Bonjour, In the Menu Buider 1 - do "New Menu" then 2 - do "New Item" (item 1) 3 - do "New item" again (item 2) while this second item is selected click on the little button with a green arrow pointing to the right with a blue rectangle as a background then this second item becomes a sub item of item 1 (it slides to the right ) HTH Best regards from Grenoble Andr? _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Tue Apr 19 18:19:05 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 19 Apr 2011 15:19:05 -0700 Subject: Submenus in the menuBar In-Reply-To: <8CDCCF094827185-1444-56A5D@webmail-m081.sysops.aol.com> References: <8CDCCF094827185-1444-56A5D@webmail-m081.sysops.aol.com> Message-ID: <4DAE0A59.2090305@fourthworld.com> dunbarx wrote: > I thought there must be a fun and simple way to do this. There is: use the Menu Builder only to make the buttons, then use the Inspector to add the items. :) I find the freedom of being able to type openly much easier than all the clicking I need to do in the Menu Builder. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From bvg at mac.com Tue Apr 19 19:29:27 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 20 Apr 2011 01:29:27 +0200 Subject: Live LiveCode code event #19 Wrapup In-Reply-To: <061D9182-B34B-4ABB-A7D6-9C2D09DA8755@mac.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> Message-ID: <73F84954-890B-4627-859A-702C8054F13B@mac.com> The event was a blast, as always. Andre showed his REST framework, check it out if you use LiveCode with websites, on the internet or url with http: Part 1: http://www.ustream.tv/recorded/14071481 Part 2: http://www.ustream.tv/recorded/14072381 Andreas presented us how far he is on the road to have a complete toolset for native looking iPhone controls. It's going to be free to use, but still needs some polishing before release. Andreas promised to do a follow up as soon as he is more satisfied with it. If you are using the iPhone at all, check it out: http://www.ustream.tv/recorded/14072681 I hope to see you all next weekend Bj?rnke Note: we do always need presenters, this time for the week after this one. Please contact Mark or me if you are not a lazy cope out. On 15 Apr 2011, at 16:35, Bj?rnke von Gierke wrote: > damn! Funny thing is that my times _are_ from that site... Probably some summertime problem. > > Corrected times: > > Zurich 20:00 > New York 14:00 > San Francisco: 11:00 > Melbourne: 04:00 (Sun) > > On 15 Apr 2011, at 05:46, Colin Holgate wrote: > >> >> On Apr 14, 2011, at 7:29 PM, Bj?rnke von Gierke wrote: >> >>> Join the event on ChatRev at these times, this Saturday: >>> Brussels 20:00 >>> New York 15:00 >>> Los Angeles 12:00 >>> Melbourne 06:00 (Sun) >> >> >> If your time is correct for Brussels, it's wrong for all of the others. Look at this handy page: >> >> http://www.timeanddate.com/worldclock/fixedtime.html?msg=Live+LiveCode+code+event+%2319&iso=20110416T20&p1=48 >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gerry.orkin at gmail.com Tue Apr 19 21:19:32 2011 From: gerry.orkin at gmail.com (Gerry) Date: Wed, 20 Apr 2011 11:19:32 +1000 Subject: Copy files location in iOS Message-ID: I've read the release notes but I still can't work out how to refer to files I've included with the app in the Copy Files pane of the standalone settings. I think they are in the app's "library" folder, but I can't refer to them using e.g.: specialfolderpath ("library") & "/myfile.mp3") Help! Gerry -- photos: http://gerryorkin.com From lvhdgc7 at gmail.com Tue Apr 19 22:24:09 2011 From: lvhdgc7 at gmail.com (tbodine) Date: Tue, 19 Apr 2011 19:24:09 -0700 (PDT) Subject: Free LiveCode eBook In-Reply-To: <1302843558603-3451256.post@n4.nabble.com> References: <1302843558603-3451256.post@n4.nabble.com> Message-ID: <1303266249829-3461974.post@n4.nabble.com> Thanks Scott! -- Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Free-LiveCode-eBook-tp3451256p3461974.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Tue Apr 19 22:42:35 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 19 Apr 2011 21:42:35 -0500 Subject: Copy files location in iOS In-Reply-To: References: Message-ID: <4DAE481B.6030100@hyperactivesw.com> On 4/19/11 8:19 PM, Gerry wrote: > I've read the release notes but I still can't work out how to refer > to files I've included with the app in the Copy Files pane of the > standalone settings. I think they are in the app's "library" folder, > but I can't refer to them using e.g.: > > specialfolderpath ("library")& "/myfile.mp3") They're placed right next to the engine. In this case, you could just refer to it as "myfile.mp3", since it will be in the same folder. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Apr 19 22:43:56 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 19 Apr 2011 21:43:56 -0500 Subject: Palette question In-Reply-To: References: Message-ID: <4DAE486C.5020207@hyperactivesw.com> On 4/19/11 3:52 PM, Pete wrote: > Well I thought I was done with this but now I have a stack with resizable > set to false, but the resize icon is still there in the bottom right and I > can resize it. Setting resizable to false worked great in a couple of other > stacks - is there some other property of a stack that affects this? No, that should do it. Make sure you don't have a script that's also setting the property. Or try toggling it on and off in the inspector if you need to. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From lvhdgc7 at gmail.com Tue Apr 19 23:11:29 2011 From: lvhdgc7 at gmail.com (tbodine) Date: Tue, 19 Apr 2011 20:11:29 -0700 (PDT) Subject: Can LiveCode Dictionary text be enlarged? Message-ID: <1303269089759-3462035.post@n4.nabble.com> Is there a way to increase the type size of the LiveCode Dictionary? The details of the dictionary entries are usually where all the rich details lurk, but that type is way too small for my middle-aged eyes. Suggestions? Thx, Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Can-LiveCode-Dictionary-text-be-enlarged-tp3462035p3462035.html Sent from the Revolution - User mailing list archive at Nabble.com. From pete at mollysrevenge.com Wed Apr 20 01:25:29 2011 From: pete at mollysrevenge.com (Pete) Date: Tue, 19 Apr 2011 22:25:29 -0700 Subject: Palette question In-Reply-To: <4DAE486C.5020207@hyperactivesw.com> References: <4DAE486C.5020207@hyperactivesw.com> Message-ID: Yep, tried all that, Even used the message box to put the resizable property of the stack after it was opened and it shows false. Weird. Pete Molly's Revenge On Tue, Apr 19, 2011 at 7:43 PM, J. Landman Gay wrote: > On 4/19/11 3:52 PM, Pete wrote: > >> Well I thought I was done with this but now I have a stack with resizable >> set to false, but the resize icon is still there in the bottom right and I >> can resize it. Setting resizable to false worked great in a couple of >> other >> stacks - is there some other property of a stack that affects this? >> > > No, that should do it. Make sure you don't have a script that's also > setting the property. Or try toggling it on and off in the inspector if you > need to. > > -- > 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 maarten.koopmans at gmail.com Wed Apr 20 02:11:03 2011 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Wed, 20 Apr 2011 08:11:03 +0200 Subject: The overwhelming data grid Message-ID: Hi, I have a use case for the data grid, but the component feels a bit overwhelming. Really simple: I have rows for the grid in 3 columns, I want to style each column diferently, and attach different actions to every column type (cell). Some cells may have an icon instead of a text, or both. Text may have fonts, color, .... There are quite some tutorials, and ways to get started- and lost for a few says. Datagrid looks very powerful, but with a steep learning curve..... Any pointers appreciated! --Maarten From mazzapaolo at libero.it Wed Apr 20 03:57:30 2011 From: mazzapaolo at libero.it (paolo mazza) Date: Wed, 20 Apr 2011 09:57:30 +0200 Subject: Free LiveCode eBook In-Reply-To: <1303266249829-3461974.post@n4.nabble.com> References: <1302843558603-3451256.post@n4.nabble.com> <1303266249829-3461974.post@n4.nabble.com> Message-ID: Thanks Scott, your e-book is great! Ciao Paolo From maarten.koopmans at gmail.com Wed Apr 20 05:24:26 2011 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Wed, 20 Apr 2011 11:24:26 +0200 Subject: The overwhelming data grid In-Reply-To: References: Message-ID: Nevermind, I just found the excellent lessons at: http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/ Should be included in the manual though! On Wed, Apr 20, 2011 at 8:11 AM, Maarten Koopmans < maarten.koopmans at gmail.com> wrote: > Hi, > > I have a use case for the data grid, but the component feels a bit > overwhelming. Really simple: I have rows for the grid in 3 columns, I > want to style each column diferently, and attach different actions to > every column type (cell). Some cells may have an icon instead of a > text, or both. Text may have fonts, color, .... > > There are quite some tutorials, and ways to get started- and lost for > a few says. Datagrid looks very powerful, but with a steep learning > curve..... Any pointers appreciated! > > > --Maarten > From giulio at cantoberon.it Wed Apr 20 06:02:19 2011 From: giulio at cantoberon.it (Giulio Mastrosanti) Date: Wed, 20 Apr 2011 12:02:19 +0200 Subject: iOS: UIScrollView and scrollable Data Grid In-Reply-To: References: Message-ID: Hi ll, I'm starting to play with iOS development, my first need for my project is to have a scrollable Data Grid, scrolling it on a 'native' way and avoiding to have its custom scrollbars visible. and indeed i have almost reached the point, following some steps of the Scroller Example.( it shows how to scroll a group containing images ) for my first test I did the following: 1) I created a group containing the Data Grid and another invisible ( a line ) control; 2) I prefilled the Datagrid with a list of text lines; 3) I set the height of the datagrid to show all its content; 4) I created from code a new scroller, set its rect to match the visible scrolling area, and its contentRect to to match the measures of the Data Grid. it works fine! I have a scrolling iOS native looking list, with the vIndicator and bouncing and all the stuff... The next steps for having a dynamic filled Data Grid would be: 1) fill the Data Grid from code; 2) set its height to make visible all its content; 3) set the contentRect of the created scroller to match the height of the content of the Data Grid. but now I'm wondering, before approaching the next steps, maybe I'm accomplishing the thing on a comp'licated way? maybe there's a simples way to a have get the goal, or ( better ) some example out there? thanks for your attention, Giulio From gerry.orkin at gmail.com Wed Apr 20 10:10:21 2011 From: gerry.orkin at gmail.com (Gerry) Date: Thu, 21 Apr 2011 00:10:21 +1000 Subject: iOS: UIScrollView and scrollable Data Grid In-Reply-To: References: Message-ID: No, that all sounds fine. But you are about to suffer frustration and disappointment :) Data grids are VERY slow to populate with text under iOS. For example, I have less than 50 lines of text to put into a data grid and it takes 3-4 seconds. Useless :) Cheers Gerry -- photos: http://gerryorkin.com On Wednesday, 20 April 2011 at 8:02 PM, Giulio Mastrosanti wrote: > but now I'm wondering, before approaching the next steps, maybe I'm accomplishing the thing on a comp'licated way? > maybe there's a simples way to a have get the goal, or ( better ) some example out there? > > thanks for your attention, > > Giulio > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mazzapaolo at libero.it Wed Apr 20 10:49:15 2011 From: mazzapaolo at libero.it (paolo mazza) Date: Wed, 20 Apr 2011 16:49:15 +0200 Subject: keyword "in" missing in the LC documentation ? Message-ID: Looking for the keyword "in" in the documentation of LiveCode 4.6 I found only: keyword "in" = Designates the string that contains a chunk expression. ( i.e. the number of items in the hilitedLines of me) What about the keyword "in" setting the time for pending messages ( i.e. send beep to me in 5 sec)? I can not find it in the documentation. All the best Paolo Mazza From mazzapaoloitaly at gmail.com Wed Apr 20 11:19:57 2011 From: mazzapaoloitaly at gmail.com (paolo mazza) Date: Wed, 20 Apr 2011 17:19:57 +0200 Subject: Documentation: keyword "in" is missing Message-ID: Looking for the keyword "in" in the documentation of LiveCode 4.6 I found only: keyword "in" = Designates the string that contains a chunk expression. ( i.e. the number of items in the hilitedLines of me) What about the keyword "in" setting the time for pending messages (i.e. send beep to me in 5 sec)? I can not find it in the documentation. All the best Paolo Mazza From richmondmathewson at gmail.com Wed Apr 20 11:49:19 2011 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 20 Apr 2011 18:49:19 +0300 Subject: How's your Sanskrit? Message-ID: <4DAF007F.30308@gmail.com> New 30-day fully-functional versions (incuding a new Linux version) of Devawriter Pro here: http://andregarzia.on-rev.com/richmond/dwriterpro.html see how Richmond spends his spare time . . . :) From pete at mollysrevenge.com Wed Apr 20 12:15:28 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 20 Apr 2011 09:15:28 -0700 Subject: Free LiveCode eBook In-Reply-To: References: <1302843558603-3451256.post@n4.nabble.com> <1303266249829-3461974.post@n4.nabble.com> Message-ID: I agree, learned how to avoid several gotchas! The book has a section on naming conventions for variables and that's been discussed several time on the list, but does anyone use naming conventions for their commands/functions? I'm thinking specifically of handlers that aren't local to the script that is calling them, eg a handler in a control calls a function that isn't in that control's script - could be in a related group, at the card level for the control, in the main stack, in a front script, etc. I haven't used any naming conventions for those situations and I've run into some situations where it's taken me a while to track down handlers. Pete Molly's Revenge On Wed, Apr 20, 2011 at 12:57 AM, paolo mazza wrote: > Thanks Scott, your e-book is great! > > Ciao > Paolo > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From dunbarx at aol.com Wed Apr 20 12:27:49 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 20 Apr 2011 12:27:49 -0400 Subject: Documentation: keyword "in" is missing In-Reply-To: References: Message-ID: <8CDCD8F06106318-F94-398A7@webmail-d015.sysops.aol.com> Small words sometimes get short shrift. Check out "of", basically a synonym; it cover more of the extent of usage. Craig Newman -----Original Message----- From: paolo mazza To: How to use Revolution Sent: Wed, Apr 20, 2011 11:19 am Subject: Documentation: keyword "in" is missing Looking for the keyword "in" in the documentation of LiveCode 4.6 I found only: keyword "in" = Designates the string that contains a chunk expression. ( i.e. the number of items in the hilitedLines of me) What about the keyword "in" setting the time for pending messages (i.e. send beep to me in 5 sec)? I can not find it in the documentation. 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 jacque at hyperactivesw.com Wed Apr 20 12:40:49 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 20 Apr 2011 11:40:49 -0500 Subject: Palette question In-Reply-To: References: <4DAE486C.5020207@hyperactivesw.com> Message-ID: <4DAF0C91.7020104@hyperactivesw.com> On 4/20/11 12:25 AM, Pete wrote: > Yep, tried all that, Even used the message box to put the resizable property > of the stack after it was opened and it shows false. Weird. Yes, very weird. I've never seen that happen. You have gremlins. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mikekann at yahoo.com Wed Apr 20 13:00:04 2011 From: mikekann at yahoo.com (Michael Kann) Date: Wed, 20 Apr 2011 10:00:04 -0700 (PDT) Subject: iPhone Functionality Message-ID: <416818.27354.qm@web161609.mail.bf1.yahoo.com> http://www.guardian.co.uk/technology/2011/apr/20/iphone-tracking-prompts-privacy-fears From bobs at twft.com Wed Apr 20 13:19:39 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 20 Apr 2011 10:19:39 -0700 Subject: keyword "in" missing in the LC documentation ? In-Reply-To: References: Message-ID: <17EE2BFA-5EE5-44C0-AB6C-26BEB4B389BA@twft.com> I think because if the keyword "in" was "in" the livecode dictionary stack it would have created and endless loop and locked up the program. The only reason this email didn't lock up is because I supressed messages before I typed it. Bob On Apr 20, 2011, at 7:49 AM, paolo mazza wrote: > Looking for the keyword "in" in the documentation of LiveCode 4.6 I found only: > > keyword "in" = Designates the string that contains a chunk > expression. ( i.e. the number of items in the hilitedLines of me) > > What about the keyword "in" setting the time for pending messages ( > i.e. send beep to me in 5 sec)? > > I can not find it in the documentation. > > 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 bobs at twft.com Wed Apr 20 14:00:21 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 20 Apr 2011 11:00:21 -0700 Subject: The overwhelming data grid In-Reply-To: References: Message-ID: <3167D17E-AC83-4FD1-9E40-C0B76FE6F510@twft.com> I felt the exact same way! Looks like you need form not table. I haven't gotten into forms much, but you can pretty much do just about anything. It may help to think of a datagrid as a premade framework in it's own right. Everything already works out of the box, but you can go into the innards if you will, and make it work the way you like, if you know how. You can also break it, so backups, good! Time Machine has saved my bacon more than once. Bob On Apr 19, 2011, at 11:11 PM, Maarten Koopmans wrote: > Hi, > > I have a use case for the data grid, but the component feels a bit > overwhelming. Really simple: I have rows for the grid in 3 columns, I > want to style each column diferently, and attach different actions to > every column type (cell). Some cells may have an icon instead of a > text, or both. Text may have fonts, color, .... > > There are quite some tutorials, and ways to get started- and lost for > a few says. Datagrid looks very powerful, but with a steep learning > curve..... Any pointers appreciated! > > > --Maarten > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 20 14:05:10 2011 From: admin at FlexibleLearning.com (FlexibleLearning) Date: Wed, 20 Apr 2011 19:05:10 +0100 Subject: Free LiveCode eBook and The Scripter's Scrapbook In-Reply-To: Message-ID: A great contribution. Well done, Scott! For a way to store these pearls of wisdom, add the full content, the file or a link to it use The Scripter's Scrapbook... It's free to try out and contains a starter-kit of over 270 examples of code, links, web resources, tutorials, gotchas and how-to's that you can keep, modify, delete, add to and organize to best suit you. http://www.FlexibleLearning.com/ssbk or http://www.runrev.com/store/product/scripters-scrapbook-1-0-0/ An article is also available at http://livecodejournal.com/features/scripters-scrapbook.html Hugh Senior FLCo From bobs at twft.com Wed Apr 20 14:05:01 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 20 Apr 2011 11:05:01 -0700 Subject: Free LiveCode eBook In-Reply-To: References: <1302843558603-3451256.post@n4.nabble.com> <1303266249829-3461974.post@n4.nabble.com> Message-ID: <1DF8BDC4-CA67-4F8D-BC61-61EE4DEA7BC7@twft.com> Oh heck yeah, especially if you use a scripting utility that allows you to sort handlers. For instance, all my commands and functions for opening, closing, and idling databases start with db. All my functions that take parameters and return a value start with get. The big thing is to use names that are descriptive. They may be harder to type, but readability in a large app becomes paramount, especially if you have a memory like mine that flushes all unused information over a month old. Bob On Apr 20, 2011, at 9:15 AM, Pete wrote: > I agree, learned how to avoid several gotchas! > > The book has a section on naming conventions for variables and that's been > discussed several time on the list, but does anyone use naming conventions > for their commands/functions? From bobs at twft.com Wed Apr 20 14:32:44 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 20 Apr 2011 11:32:44 -0700 Subject: iPhone Functionality In-Reply-To: <416818.27354.qm@web161609.mail.bf1.yahoo.com> References: <416818.27354.qm@web161609.mail.bf1.yahoo.com> Message-ID: Criminy! Well I have nothing to hide, so I'd like to see detailed information. Presently the open source app you can download to show this information reduces the detail and accuracy of the information so that someone malicious can't use the app against someone else. But they assure us that the data is detailed, to the second. I did notice however that there were a lot of gaps in the data, which would seem to indicate that the tracking only takes place while the iPhone is on and not sleeping. Bob On Apr 20, 2011, at 10:00 AM, Michael Kann wrote: > http://www.guardian.co.uk/technology/2011/apr/20/iphone-tracking-prompts-privacy-fears > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From kee at kagi.com Wed Apr 20 14:51:38 2011 From: kee at kagi.com (Kee Nethery) Date: Wed, 20 Apr 2011 11:51:38 -0700 Subject: revWeb supported browsers? In-Reply-To: <1DF8BDC4-CA67-4F8D-BC61-61EE4DEA7BC7@twft.com> References: <1302843558603-3451256.post@n4.nabble.com> <1303266249829-3461974.post@n4.nabble.com> <1DF8BDC4-CA67-4F8D-BC61-61EE4DEA7BC7@twft.com> Message-ID: Can someone point me to the list of browsers/versions that support revWeb on Windows? I'm guessing there has to be a way of knowing whether revWeb is going to be deployable in an environment before just asking the corporation to "trust me, just run this installer on one of your machines and see if it works (or doesn't), it won't hurt you a bit" in order to see if it works or not. Kee Nethery From andre at andregarzia.com Wed Apr 20 15:03:38 2011 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 20 Apr 2011 16:03:38 -0300 Subject: Omegabundle 2011 for LiveCode In-Reply-To: References: Message-ID: Hey Lynn , The Valentina ADK+ blurb on the website talks about REAL Studio and not LC.... I think you might want to correct that. On Tue, Apr 19, 2011 at 4:33 AM, FlexibleLearning < admin at flexiblelearning.com> wrote: > > This is a great bundle deal with a range of the most popular LiveCode > products included. I am delighted that RunRev is supporting it! > > Hugh Senior > FLCo > OmegaBundle for LiveCode 2011 at www.omegabundle.com > > > > On Mon, 18 Apr 2011, Lynn Fredricks wrote... > > > Hello all, > > Runtime Revolution has thrown in their support to the Omegabundle 2011 for > LiveCode offers! > > >> check it out: http://www.omegabundle.com/ > > Omegabundle 2011 for LiveCode (new user) includes LiveCode Pro/Commercial > (your choice of desktop + one mobile platform) plus the following: > > *A $500 discount coupon towards RunRevLive.11 Developer Conference, held > April 26-29 2011 in San Jose, California. RunRevLive.11 has over 40 > sessions > of valuable presentations and lessons. > > * Animation Engine 4. Powerful LiveCode library for rendering animation > through Livecode apps built for the desktop and for iPhone. Sold separately > for $79.00. > * SQL Yoga. Makes developing data-driven solutions easy by tranforming > database complexities into common LiveCode processes. Sold separately for > $199. > * Flexible Learning ChartMaker. A fully featured cross-platform library > solution designed to create professional charts in your own work. Sold > separately for $79.00. > * ASG DataGrid Helper. A complete set of tools for rapidly creating > professional business layouts and data grids for the desktop and for > iPhone. > Sold separately for $49. > * .com Solutions FmPro Migrator Platinum Edition. Migrates FileMaker and > Access to MySQL, Oracle, Access, SQL Server, Sybase, DB2, OpenBase, > PostgreSQL, FrontBase, SQLite and Valentina and Convert interfaces to > LiveCode. Sold separately for $600. > * tm tools. Tactile Media pro interface building tools for LiveCode, > including tm color, tm gradient, tm audio, tm guage, tm numeric, tm align. > Sold separately for $226. > * Aspen Icon Set. 80 professionally designed, cross platform compatible > icons for your applications. Sold separately for $179.00. > * Valentina Office Server Unlimited. Advanced database and reports server > based on the ultra fast columnar database engine Valentina. Sold separately > for $1499. > * Franklin 3D Game Engine. Multi-platform cross-platform 3D engine for > games, simulations and 3D apps. Sold Separately for $299. > * Flexible Learning Scripter's Scrapbook. A knowledge rich resource for > collecting code resources and accessing years of shared resources of > LiveCode professional developers. Sold separately for $79.00. > * Valentina ADK+ for LiveCode. Embedded local ultra fast analytical > database > for LiveCode on Windows, Mac OS X and Linux. Sold separately for $399.00. > > You can get this bundle WITH LiveCode Pro for $499, or without LiveCode for > $399. This makes it a great option if you already have LiveCode! > > 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 > -- http://www.andregarzia.com All We Do Is Code. From pete at mollysrevenge.com Wed Apr 20 15:04:50 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 20 Apr 2011 12:04:50 -0700 Subject: Free LiveCode eBook In-Reply-To: <1DF8BDC4-CA67-4F8D-BC61-61EE4DEA7BC7@twft.com> References: <1302843558603-3451256.post@n4.nabble.com> <1303266249829-3461974.post@n4.nabble.com> <1DF8BDC4-CA67-4F8D-BC61-61EE4DEA7BC7@twft.com> Message-ID: Yep, I'm doing just about all those things. What I didn't do is use a naming convention that indicates where in the message path the called handler is. So if I call dbDoit from a control, where does dbDoit reside? In the control script, on the card/stack that the control is in, on the mainstack for the app, in some library totally outside the main stack that's been inserted as a front/back script, stuff like that. Pete Molly's Revenge On Wed, Apr 20, 2011 at 11:05 AM, Bob Sneidar wrote: > Oh heck yeah, especially if you use a scripting utility that allows you to > sort handlers. For instance, all my commands and functions for opening, > closing, and idling databases start with db. All my functions that take > parameters and return a value start with get. The big thing is to use names > that are descriptive. They may be harder to type, but readability in a large > app becomes paramount, especially if you have a memory like mine that > flushes all unused information over a month old. > > Bob > > > On Apr 20, 2011, at 9:15 AM, Pete wrote: > > > I agree, learned how to avoid several gotchas! > > > > The book has a section on naming conventions for variables and that's > been > > discussed several time on the list, but does anyone use naming > conventions > > for their commands/functions? > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From lfredricks at proactive-intl.com Wed Apr 20 15:17:26 2011 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Wed, 20 Apr 2011 12:17:26 -0700 Subject: Omegabundle 2011 for LiveCode In-Reply-To: References: Message-ID: <6A1BA3443AF64C7C9F4598F8E889B22B@GATEWAY> > The Valentina ADK+ blurb on the website talks about REAL > Studio and not LC.... I think you might want to correct that. Had the wrong page hooked up. Also, found a woogly link. By chance, are you coming to San Jose, Andre? Already there? Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From pete at mollysrevenge.com Wed Apr 20 15:29:54 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 20 Apr 2011 12:29:54 -0700 Subject: Palette question In-Reply-To: <4DAF0C91.7020104@hyperactivesw.com> References: <4DAE486C.5020207@hyperactivesw.com> <4DAF0C91.7020104@hyperactivesw.com> Message-ID: Gremlins gone! I copied the card in question to a new substack, deleted the original one, se the resizable of the new substack to false and all is OK. Must have been some corruption in the old substack I guess. Pete Molly's Revenge On Wed, Apr 20, 2011 at 9:40 AM, J. Landman Gay wrote: > On 4/20/11 12:25 AM, Pete wrote: > >> Yep, tried all that, Even used the message box to put the resizable >> property >> of the stack after it was opened and it shows false. Weird. >> > > Yes, very weird. I've never seen that happen. You have gremlins. > > > -- > 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 lfredricks at proactive-intl.com Wed Apr 20 16:03:32 2011 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Wed, 20 Apr 2011 13:03:32 -0700 Subject: Omegabundle - If You Can't go to San Jose, Save on the Simulcast Message-ID: Next week, a lot of us are gathering for RunRev's RunRevLive in San Jose, California. The Omegabundle 2011 for LiveCode bundle includes a savings coupon for this event, but what if you cannot attend? Runtime is offering a simulcast option for people who cannot attend for $349. Instead of the RunRevLive.11 attendance coupon, you can get a $120 discount off the simulcast instead! http://www.runrev.com/store/product/runrevlive_11_simulcast/ When you place your order for the Omegabundle, make sure you email runrev support that you want to cash in your ticket for a discount on the simulcast. If you missed our Omegabundle deal - please see below... Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server ============================================= >> check it out: http://www.omegabundle.com/ Omegabundle 2011 for LiveCode (new user) includes LiveCode Pro/Commercial (your choice of desktop + one mobile platform) plus the following: *A $500 discount coupon towards RunRevLive.11 Developer Conference, held April 26-29 2011 in San Jose, California. RunRevLive.11 has over 40 sessions of valuable presentations and lessons. * Animation Engine 4. Powerful LiveCode library for rendering animation through Livecode apps built for the desktop and for iPhone. Sold separately for $79.00. * SQL Yoga. Makes developing data-driven solutions easy by tranforming database complexities into common LiveCode processes. Sold separately for $199. * Flexible Learning ChartMaker. A fully featured cross-platform library solution designed to create professional charts in your own work. Sold separately for $79.00. * ASG DataGrid Helper. A complete set of tools for rapidly creating professional business layouts and data grids for the desktop and for iPhone. Sold separately for $49. * .com Solutions FmPro Migrator Platinum Edition. Migrates FileMaker and Access to MySQL, Oracle, Access, SQL Server, Sybase, DB2, OpenBase, PostgreSQL, FrontBase, SQLite and Valentina and Convert interfaces to LiveCode. Sold separately for $600. * tm tools. Tactile Media pro interface building tools for LiveCode, including tm color, tm gradient, tm audio, tm guage, tm numeric, tm align. Sold separately for $226. * Aspen Icon Set. 80 professionally designed, cross platform compatible icons for your applications. Sold separately for $179.00. * Valentina Office Server Unlimited. Advanced database and reports server based on the ultra fast columnar database engine Valentina. Sold separately for $1499. * Franklin 3D Game Engine. Multi-platform cross-platform 3D engine for games, simulations and 3D apps. Sold Separately for $299. * Flexible Learning Scripter's Scrapbook. A knowledge rich resource for collecting code resources and accessing years of shared resources of LiveCode professional developers. Sold separately for $79.00. * Valentina ADK+ for LiveCode. Embedded local ultra fast analytical database for LiveCode on Windows, Mac OS X and Linux. Sold separately for $399.00. You can get this bundle WITH LiveCode Pro for $499, or without LiveCode for $399. This makes it a great option if you already have LiveCode! From bobs at twft.com Wed Apr 20 16:19:19 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 20 Apr 2011 13:19:19 -0700 Subject: Free LiveCode eBook In-Reply-To: References: <1302843558603-3451256.post@n4.nabble.com> <1303266249829-3461974.post@n4.nabble.com> <1DF8BDC4-CA67-4F8D-BC61-61EE4DEA7BC7@twft.com> Message-ID: <015CC0E5-6949-4DE2-B85E-6278E955E785@twft.com> Both Remo and GLX2 have script editors that turn a called handler into a link you can click on and go to the command or function. U should give them a try. Remo is current. GLX2 is legacy and no longer supported. Remo uses a method of breakpoints that are evaluated at runtime and stored, but it does not step through the code. GLX2 has a code stepper, but there can be some problems with that. A few commands will lock up the stepper it seems. Both were written by Jerry Daniels and friends. Bob On Apr 20, 2011, at 12:04 PM, Pete wrote: > Yep, I'm doing just about all those things. What I didn't do is use a > naming convention that indicates where in the message path the called > handler is. So if I call dbDoit from a control, where does dbDoit reside? > In the control script, on the card/stack that the control is in, on the > mainstack for the app, in some library totally outside the main stack that's > been inserted as a front/back script, stuff like that. > > Pete > Molly's Revenge From davidocoker at gmail.com Wed Apr 20 16:45:55 2011 From: davidocoker at gmail.com (David C.) Date: Wed, 20 Apr 2011 15:45:55 -0500 Subject: Can LiveCode Dictionary text be enlarged? In-Reply-To: <1303269089759-3462035.post@n4.nabble.com> References: <1303269089759-3462035.post@n4.nabble.com> Message-ID: On Tue, Apr 19, 2011 at 10:11 PM, tbodine wrote: > Is there a way to increase the type size of the LiveCode Dictionary? The > details of the dictionary entries are usually where all the rich details > lurk, but that type is way too small for my middle-aged eyes. Suggestions? While someone may chime in with a different solution, you can use Bjoernke's excellent BvG-Docu plugin, which does allow you to adjust fonts and sizing. It can be found through Rev-Online, or here's a direct link: http://revonline2.runrev.com/stack/273/BvG-Docu Works extremely well! Best regards, David C. From pete at mollysrevenge.com Wed Apr 20 17:40:01 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 20 Apr 2011 14:40:01 -0700 Subject: Free LiveCode eBook In-Reply-To: <015CC0E5-6949-4DE2-B85E-6278E955E785@twft.com> References: <1302843558603-3451256.post@n4.nabble.com> <1303266249829-3461974.post@n4.nabble.com> <1DF8BDC4-CA67-4F8D-BC61-61EE4DEA7BC7@twft.com> <015CC0E5-6949-4DE2-B85E-6278E955E785@twft.com> Message-ID: Forgot about those tools. I did try a demo of Remo at one point, don;t remember why I didn't buy it. Pete Molly's Revenge On Wed, Apr 20, 2011 at 1:19 PM, Bob Sneidar wrote: > Both Remo and GLX2 have script editors that turn a called handler into a > link you can click on and go to the command or function. U should give them > a try. Remo is current. GLX2 is legacy and no longer supported. Remo uses a > method of breakpoints that are evaluated at runtime and stored, but it does > not step through the code. GLX2 has a code stepper, but there can be some > problems with that. A few commands will lock up the stepper it seems. Both > were written by Jerry Daniels and friends. > > Bob > > > On Apr 20, 2011, at 12:04 PM, Pete wrote: > > > Yep, I'm doing just about all those things. What I didn't do is use a > > naming convention that indicates where in the message path the called > > handler is. So if I call dbDoit from a control, where does dbDoit > reside? > > In the control script, on the card/stack that the control is in, on the > > mainstack for the app, in some library totally outside the main stack > that's > > been inserted as a front/back script, stuff like that. > > > > 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 rene.micout at numericable.com Wed Apr 20 19:03:07 2011 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Thu, 21 Apr 2011 01:03:07 +0200 Subject: Free LiveCode eBook In-Reply-To: References: <1302843558603-3451256.post@n4.nabble.com> <1303266249829-3461974.post@n4.nabble.com> <1DF8BDC4-CA67-4F8D-BC61-61EE4DEA7BC7@twft.com> Message-ID: <3F107FB3-B0F3-4E68-8074-9F483774B87E@numericable.com> This is my "system" (some french words : sorry) : -- PR?FIXES (types des objets) : -- ---- ku = constante (unitaire) ---- kt = constante (tableau) > utiliser plut?t une custom property -- ---- vg = variable globale [stack] ---- vt = variable globale (tableau) [stack] ---- vl = variable locale [script] ---- vx = variable temporaire [handler] ---- vp = param?tre [fonctions] ---- vd = variable provisoire servant au debugage -- ---- cp = custom property -- ---- hm = handler main stack (handler situ? dans le stack principal) ---- hs = handler stack (handler situ? dans le script du stack) ---- hc = handler card (handler situ? dans le script de la carte) ---- hg = handler group (handler situ? dans le script du groupe) ---- ho = handler objet (handler situ? dans le script de l'objet) -- ---- fm = function main stack (fonction situ?e dans le stack principal) ---- fs = function stack (fonction situ?e dans le script du stack) ---- fc = function card (fonction situ?e dans le script de la carte) ---- fg = function group (fonction situ?e dans le script du groupe) ---- fo = function objet (fonction situ?e dans le script de l'objet) ---- db = fonction ou commande servant au debugage -- ---- btn = bouton ---- fld = field ---- grp = groupe ---- sld = slider ---- lbl = label ---- img = image ---- grc = graphic Le 20 avr. 2011 ? 21:04, Pete a ?crit : > Yep, I'm doing just about all those things. What I didn't do is use a > naming convention that indicates where in the message path the called > handler is. So if I call dbDoit from a control, where does dbDoit reside? > In the control script, on the card/stack that the control is in, on the > mainstack for the app, in some library totally outside the main stack that's > been inserted as a front/back script, stuff like that. > > Pete > Molly's Revenge > > > > > On Wed, Apr 20, 2011 at 11:05 AM, Bob Sneidar wrote: > >> Oh heck yeah, especially if you use a scripting utility that allows you to >> sort handlers. For instance, all my commands and functions for opening, >> closing, and idling databases start with db. All my functions that take >> parameters and return a value start with get. The big thing is to use names >> that are descriptive. They may be harder to type, but readability in a large >> app becomes paramount, especially if you have a memory like mine that >> flushes all unused information over a month old. >> >> Bob >> >> >> On Apr 20, 2011, at 9:15 AM, Pete wrote: >> >>> I agree, learned how to avoid several gotchas! >>> >>> The book has a section on naming conventions for variables and that's >> been >>> discussed several time on the list, but does anyone use naming >> conventions >>> for their commands/functions? >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 20 19:12:49 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 20 Apr 2011 16:12:49 -0700 Subject: Free LiveCode eBook In-Reply-To: <3F107FB3-B0F3-4E68-8074-9F483774B87E@numericable.com> References: <1302843558603-3451256.post@n4.nabble.com> <1303266249829-3461974.post@n4.nabble.com> <1DF8BDC4-CA67-4F8D-BC61-61EE4DEA7BC7@twft.com> <3F107FB3-B0F3-4E68-8074-9F483774B87E@numericable.com> Message-ID: <3AAC917D-A759-479D-A05C-3A489AE3D846@twft.com> I'm half French, so I'm only half sorry. ;-P Bob On Apr 20, 2011, at 4:03 PM, Ren? Micout wrote: > This is my "system" (some french words : sorry) : From pete at mollysrevenge.com Wed Apr 20 19:45:20 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 20 Apr 2011 16:45:20 -0700 Subject: Free LiveCode eBook In-Reply-To: <3F107FB3-B0F3-4E68-8074-9F483774B87E@numericable.com> References: <1302843558603-3451256.post@n4.nabble.com> <1303266249829-3461974.post@n4.nabble.com> <1DF8BDC4-CA67-4F8D-BC61-61EE4DEA7BC7@twft.com> <3F107FB3-B0F3-4E68-8074-9F483774B87E@numericable.com> Message-ID: That's great Rene, thank you. Pete Molly's Revenge On Wed, Apr 20, 2011 at 4:03 PM, Ren? Micout wrote: > This is my "system" (some french words : sorry) : > > -- PR?FIXES (types des objets) : > -- > ---- ku = constante (unitaire) > ---- kt = constante (tableau) > utiliser plut?t une custom property > -- > ---- vg = variable globale [stack] > ---- vt = variable globale (tableau) [stack] > ---- vl = variable locale [script] > ---- vx = variable temporaire [handler] > ---- vp = param?tre [fonctions] > ---- vd = variable provisoire servant au debugage > -- > ---- cp = custom property > -- > ---- hm = handler main stack (handler situ? dans le stack principal) > ---- hs = handler stack (handler situ? dans le script du stack) > ---- hc = handler card (handler situ? dans le script de la carte) > ---- hg = handler group (handler situ? dans le script du groupe) > ---- ho = handler objet (handler situ? dans le script de l'objet) > -- > ---- fm = function main stack (fonction situ?e dans le stack principal) > ---- fs = function stack (fonction situ?e dans le script du stack) > ---- fc = function card (fonction situ?e dans le script de la carte) > ---- fg = function group (fonction situ?e dans le script du groupe) > ---- fo = function objet (fonction situ?e dans le script de l'objet) > ---- db = fonction ou commande servant au debugage > -- > ---- btn = bouton > ---- fld = field > ---- grp = groupe > ---- sld = slider > ---- lbl = label > ---- img = image > ---- grc = graphic > > Le 20 avr. 2011 ? 21:04, Pete a ?crit : > > > Yep, I'm doing just about all those things. What I didn't do is use a > > naming convention that indicates where in the message path the called > > handler is. So if I call dbDoit from a control, where does dbDoit > reside? > > In the control script, on the card/stack that the control is in, on the > > mainstack for the app, in some library totally outside the main stack > that's > > been inserted as a front/back script, stuff like that. > > > > Pete > > Molly's Revenge > > > > > > > > > > On Wed, Apr 20, 2011 at 11:05 AM, Bob Sneidar wrote: > > > >> Oh heck yeah, especially if you use a scripting utility that allows you > to > >> sort handlers. For instance, all my commands and functions for opening, > >> closing, and idling databases start with db. All my functions that take > >> parameters and return a value start with get. The big thing is to use > names > >> that are descriptive. They may be harder to type, but readability in a > large > >> app becomes paramount, especially if you have a memory like mine that > >> flushes all unused information over a month old. > >> > >> Bob > >> > >> > >> On Apr 20, 2011, at 9:15 AM, Pete wrote: > >> > >>> I agree, learned how to avoid several gotchas! > >>> > >>> The book has a section on naming conventions for variables and that's > >> been > >>> discussed several time on the list, but does anyone use naming > >> conventions > >>> for their commands/functions? > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From lvhdgc7 at gmail.com Thu Apr 21 00:04:24 2011 From: lvhdgc7 at gmail.com (tbodine) Date: Wed, 20 Apr 2011 21:04:24 -0700 (PDT) Subject: Can LiveCode Dictionary text be enlarged? In-Reply-To: References: <1303269089759-3462035.post@n4.nabble.com> Message-ID: <1303358664193-3465031.post@n4.nabble.com> Thanks David! -- Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Can-LiveCode-Dictionary-text-be-enlarged-tp3462035p3465031.html Sent from the Revolution - User mailing list archive at Nabble.com. From martyknapp at comcast.net Thu Apr 21 00:19:24 2011 From: martyknapp at comcast.net (Marty Knapp) Date: Wed, 20 Apr 2011 21:19:24 -0700 Subject: Popup menu & menuhistory Message-ID: <4DAFB04C.8000005@comcast.net> I have a field that I've configured to display a popup menu using a hidden popup menu button. If a user starts to type into this field, I use a type-ahead routine that grabs its guess from the menu items in the button. Is there a way to set this up so that if they type something, then click for the popup menu, for the menu to pop up at the line where this text is found (like in an option menu)? Setting the menuhistory doesn't seem to work. Thanks for any help, Marty Knapp From dunbarx at aol.com Thu Apr 21 10:24:55 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 21 Apr 2011 10:24:55 -0400 Subject: Popup menu & menuhistory & VERY ODD In-Reply-To: <4DAFB04C.8000005@comcast.net> References: <4DAFB04C.8000005@comcast.net> Message-ID: <8CDCE47053556FB-EF0-1F3A@webmail-d015.sysops.aol.com> It seems like there should be an easy way to do this, but I cannot find it. I made an ugly workaround with a two buttons. I'm sure you can modify it to make your data entry field do the same thing. With a popup button ("yourPopUpButton") and an action button, try this in the action button script: on mousedown popup btn "yourPopUpButton" end mousedown on mouseup set the screenmouseLoc to (item 1 of the loc of me + 125 & "," & item 1 of the loc of me + 195) end mouseup Note that the screenMouseLoc is a property, whereas the mouseLoc is a function. You will have to modify this in your own stack to account for relative placement of the objects in question. Play around with the coordinates. I don't know why there isn't a property for this in local window terms, as opposed to a function. I hear that setting the loc of the cursor is considered dicey in UI terms. Anyway, if you set the numbers up correctly, you can see that when clicking on the action button, a menuItem from the popup will be selected. Now for the weird stuff. THE MOUSE NEED NOT BE RELEASED for this to work. The mouseUp message should never be sent. So how do it know? If the mouseUp handler is commented out, the location of the cursor is not set, Jacques, I need an aspirin. Anyone? This baffles me, even though it works fine. Craig Newman -----Original Message----- From: Marty Knapp To: How to use LiveCode Sent: Thu, Apr 21, 2011 12:19 am Subject: Popup menu & menuhistory I have a field that I've configured to display a popup menu using a hidden popup menu button. If a user starts to type into this field, I use a type-ahead routine that grabs its guess from the menu items in the button. Is there a way to set this up so that if they type something, then click for the popup menu, for the menu to pop up at the line where this text is found (like in an option menu)? Setting the menuhistory doesn't seem to work. Thanks for any help, Marty Knapp _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From andre at andregarzia.com Thu Apr 21 11:11:04 2011 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 21 Apr 2011 12:11:04 -0300 Subject: Omegabundle 2011 for LiveCode In-Reply-To: <6A1BA3443AF64C7C9F4598F8E889B22B@GATEWAY> References: <6A1BA3443AF64C7C9F4598F8E889B22B@GATEWAY> Message-ID: Lynn, Will arrive on sunday morning! :-D Cheers andre On Wed, Apr 20, 2011 at 4:17 PM, Lynn Fredricks < lfredricks at proactive-intl.com> wrote: > > The Valentina ADK+ blurb on the website talks about REAL > > Studio and not LC.... I think you might want to correct that. > > Had the wrong page hooked up. Also, found a woogly link. > > By chance, are you coming to San Jose, Andre? Already there? > > 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 > -- http://www.andregarzia.com All We Do Is Code. From olivierdussutour at gmail.com Thu Apr 21 11:27:44 2011 From: olivierdussutour at gmail.com (Olivier Dussutour) Date: Thu, 21 Apr 2011 17:27:44 +0200 Subject: revWeb supported browsers? References: <1302843558603-3451256.post@n4.nabble.com><1303266249829-3461974.post@n4.nabble.com><1DF8BDC4-CA67-4F8D-BC61-61EE4DEA7BC7@twft.com> Message-ID: On my windows, the plugin revweb works under: - safari 5.0.5 - firefox 3.6.13 - IE 8 doesn't work under: - chrome 10.0.648.205 - firefox 4.0 - IE 9 - op?ra 11.10 Cordialement, Olivier Dussutour olivierdussutour at gmail.com ----- Original Message ----- From: "Kee Nethery" To: "How to use LiveCode" Sent: Wednesday, April 20, 2011 8:51 PM Subject: revWeb supported browsers? > Can someone point me to the list of browsers/versions that support revWeb > on Windows? I'm guessing there has to be a way of knowing whether revWeb > is going to be deployable in an environment before just asking the > corporation to "trust me, just run this installer on one of your machines > and see if it works (or doesn't), it won't hurt you a bit" in order to see > if it works or not. > > Kee Nethery > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Thu Apr 21 13:26:30 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 21 Apr 2011 10:26:30 -0700 Subject: QR code algo in LC? Message-ID: <4DB068C6.7070508@fourthworld.com> Anyone here made a LiveCode library to make or read QR codes? I know there are many sites that do this, and my phone does it too, but it might be fun to have some LC source to play with.... -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From david at vaudevillecourt.tv Thu Apr 21 13:26:58 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Thu, 21 Apr 2011 18:26:58 +0100 Subject: SheevaPlug Message-ID: Is it possible to run LiveCode on a Sheevaplug- which runs Ubuntu 9.04 - but an ARM build? From richmondmathewson at gmail.com Thu Apr 21 13:39:21 2011 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 21 Apr 2011 20:39:21 +0300 Subject: [OT] Win & Lin equivalents of MacUpdate? Message-ID: <4DB06BC9.2070504@gmail.com> Does anybody know of software submission sites like MacUpdate for Linux and Windows? From rene.micout at numericable.com Thu Apr 21 13:41:56 2011 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Thu, 21 Apr 2011 19:41:56 +0200 Subject: QR code algo in LC? In-Reply-To: <4DB068C6.7070508@fourthworld.com> References: <4DB068C6.7070508@fourthworld.com> Message-ID: <0BDFF3C7-57E5-4CFF-A2AC-C85C2DB5AF9F@numericable.com> Hello Richard, Have you see that ? http://runtime-revolution.278305.n4.nabble.com/Live-LiveCode-Code-Event-9-td3258119.html Bon souvenir de Paris Ren? Le 21 avr. 2011 ? 19:26, Richard Gaskin a ?crit : > Anyone here made a LiveCode library to make or read QR codes? > > I know there are many sites that do this, and my phone does it too, but it might be fun to have some LC source to play with.... > > -- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rene.micout at numericable.com Thu Apr 21 13:45:14 2011 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Thu, 21 Apr 2011 19:45:14 +0200 Subject: QR code algo in LC? In-Reply-To: <0BDFF3C7-57E5-4CFF-A2AC-C85C2DB5AF9F@numericable.com> References: <4DB068C6.7070508@fourthworld.com> <0BDFF3C7-57E5-4CFF-A2AC-C85C2DB5AF9F@numericable.com> Message-ID: <1AA0849E-D7C3-47DF-BF7B-D527FCC5A21A@numericable.com> Precisions : http://www.ustream.tv/recorded/12650934 http://www.ustream.tv/recorded/12651036 Ren? Le 21 avr. 2011 ? 19:41, Ren? Micout a ?crit : > Hello Richard, > Have you see that ? > http://runtime-revolution.278305.n4.nabble.com/Live-LiveCode-Code-Event-9-td3258119.html > Bon souvenir de Paris > Ren? > > Le 21 avr. 2011 ? 19:26, Richard Gaskin a ?crit : > >> Anyone here made a LiveCode library to make or read QR codes? >> >> I know there are many sites that do this, and my phone does it too, but it might be fun to have some LC source to play with.... >> >> -- >> Richard Gaskin >> Fourth World Media Corporation >> ___________________________________________________________ >> Ambassador at FourthWorld.com http://www.FourthWorld.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 21 13:47:38 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 21 Apr 2011 19:47:38 +0200 Subject: [OT] Win & Lin equivalents of MacUpdate? In-Reply-To: <4DB06BC9.2070504@gmail.com> References: <4DB06BC9.2070504@gmail.com> Message-ID: <2ABAF28A-9B1E-4D96-BF4C-48D08D047F94@economy-x-talk.com> Hi Richmond, Check out http://www.quickestpublisher.com . If yoiu submityour software, I'll have another incentive to improve it :-) Let me know what you think of the site so far. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 21 apr 2011, at 19:39, Richmond wrote: > Does anybody know of software submission sites like MacUpdate for > Linux and Windows? From ambassador at fourthworld.com Thu Apr 21 13:47:49 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 21 Apr 2011 10:47:49 -0700 Subject: QR code algo in LC? In-Reply-To: <0BDFF3C7-57E5-4CFF-A2AC-C85C2DB5AF9F@numericable.com> References: <0BDFF3C7-57E5-4CFF-A2AC-C85C2DB5AF9F@numericable.com> Message-ID: <4DB06DC5.4050103@fourthworld.com> Ren? Micout wrote: > Le 21 avr. 2011 ? 19:26, Richard Gaskin a ?crit : > >> Anyone here made a LiveCode library to make or read QR codes? >> >> I know there are many sites that do this, and my phone does it too, >> but it might be fun to have some LC source to play with.... > > > Hello Richard, > Have you see that ? > http://runtime-revolution.278305.n4.nabble.com/Live-LiveCode-Code-Event-9-td3258119.html Thanks. Yes, I had seen that, and there are many great web APIs for this, but I was hoping to turn up some native LC source to create QR codes directly without relying on an external API. -- 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 Thu Apr 21 13:52:57 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 21 Apr 2011 10:52:57 -0700 Subject: QR code algo in LC? In-Reply-To: <4DB06DC5.4050103@fourthworld.com> References: <4DB06DC5.4050103@fourthworld.com> Message-ID: <4DB06EF9.5000601@fourthworld.com> If anyone has time on their hands the QT generation algo is described well here: With LC's binaryEncode function and a little patience it looks like less than a day's work to make a QR encoder in LC. -- 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 Thu Apr 21 14:02:45 2011 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 21 Apr 2011 21:02:45 +0300 Subject: [OT] Win & Lin equivalents of MacUpdate? In-Reply-To: <2ABAF28A-9B1E-4D96-BF4C-48D08D047F94@economy-x-talk.com> References: <4DB06BC9.2070504@gmail.com> <2ABAF28A-9B1E-4D96-BF4C-48D08D047F94@economy-x-talk.com> Message-ID: <4DB07145.4030007@gmail.com> On 04/21/2011 08:47 PM, Mark Schonewille wrote: > Hi Richmond, > > Check out http://www.quickestpublisher.com . If yoiu submityour software, I'll have another incentive to improve it :-) Let me know what you think of the site so far. > > -- > Best regards, > > Mark Schonewille > Thank you very much. From rene.micout at numericable.com Thu Apr 21 14:42:43 2011 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Thu, 21 Apr 2011 20:42:43 +0200 Subject: [ANN] HUD Panel Factory Message-ID: Hello, I have uploaded "HUD Panel Factory" on RevOnline. This is a little tool to create HUD Panel Mac OS X. In French and in English ? En fran?ais et en anglais. Free and free of charge... My second contribution to the LiveCode community. Ren? From janschenkel at yahoo.com Thu Apr 21 15:18:10 2011 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 21 Apr 2011 12:18:10 -0700 (PDT) Subject: [ANN] Quartam PDF Library goes open source Message-ID: <106206.5429.qm@web65406.mail.ac4.yahoo.com> Quartam PDF Library goes open source Today, April 21st 2011, Quartam Software is proud to announce the release of Quartam PDF Library for LiveCode version 1.1, as open source under a dual license. Quartam PDF Library library allows LiveCode developers to go beyond 'print to pdf file' as it offers pin-point control, extensive graphics support and much more. ## Where does Quartam PDF Library come from? Back in December 2005, I started Quartam PDF Library as a research project for adding PDF export to Quartam Reports. It was spun off as a separate commercial product and used in a wide variety of LiveCode-based projects, such as BlueMango's ScreenSteps . Although I had kept working on new features, more pressing matters (like my day-job) kept me from pushing ahead and wrapping up a new release. The advent of 'print to pdf' features in LiveCode 4.5 triggered a soul search and eventually led to the decision to release the new version as open source. The end result: nearly 7300 lines of production quality code, ready for you to use in your LiveCode projects. ## So what is new in version 1.1? The code got a good cleanup, complies with the rules of variable checking, and replaces most string literals with constants to prevent bugs. Plus, the following features were added: - Transformations (scale, translate, rotate, skew, mirror) - Transparency and blendmodes - Gradients - Clipping - Text box fitting - Inserting pages (ideal for building a table of contents with bookmarks) - Compression - Experimental support for including EPS files (Emulated PostScript) And for the first time, we offer support for generating PDF documents in LiveCode Server scripts, including On-Rev! Quartam PDF Library now requires Revolution 3.0 or later, with LiveCode 4.6 highly recommended. ## How do you mean: open source under a dual license? Although Quartam PDF Library is a free/open source software (F/OSS) project, giving you a lot of freedom and flexibility as to how you use it in your own projects, this doesn't mean you're free to do anything you want with it: you have to respect the GNU Affero General Public License (AGPL) . You can be released from the requirements of the AGPL license by purchasing a commercial license from Quartam Software. Buying such a license is mandatory as soon as you develop commercial activities involving Quartam PDF Library without disclosing the source code of your own applications. These activities include: offering paid services to customers as an ASP, serving PDF documents generated dynamically in a web application, shipping Quartam PDF Library with a closed source product. Such a commercial license releases you from the requirements of the copyleft AGPL license, which include: distribution of all source code, including your own product; licensing of your own product under the AGPL license; prominent mention of the Quartam copyright and the AGPL license; and disclosure of modifications to the library. In addition, the commercial license releases you from the requirement not to change the PDF Producer line in the generated PDF document properties. ## What about my previous commercial license for Quartam PDF Library version 1.0? Of course you can keep using the closed source version 1.0 in your projects. And if your project is open source, you can use version 1.1 without an additional charge. However, if you want to use version 1.1 in a commercial activity, you have to purchase an upgrade for USD 49 from the Quartam Software Online Store: And if you never bought a copy of Quartam PDF Library, you can purchase the commercial license for USD 149 from the Quartam Software Online Store or the LiveCode Marketplace. ## How can I contribute to the Quartam PDF Library project? I'm glad you asked - the plan is to build a community around Quartam PDF Library in order to streamline the development of newer versions. If you can help with squashing bugs, researching new features, improving documentation, or any other way, you're more than welcome to join us. All you need to do is download, sign and email back the Quartam Open Source Contributor Agreement so that your contributions can be incorporated into the project. Quartam Software has the role of project custodian, taking care of versioning and distribution. One such contribution was made by John Craig (Splash21) to add compression support to the library, which is included in Quartam PDF Library version 1.1 - another contribution was made by Trevor DeVore (BlueMango) who offered code for writing LiveCode htmlText to a PDF document, which I have yet to integrate but looks really promising. And I have some experimental code that I'd love to share and put into the project after review - so any reports of this library's death were greatly exaggerated. So roll up your sleeves, download the new version and get stuck in! 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 mcgrath3 at mac.com Thu Apr 21 15:18:01 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 21 Apr 2011 15:18:01 -0400 Subject: [ANN] HUD Panel Factory In-Reply-To: References: Message-ID: Very nice. Now we could use one for iOS too. Thank you, -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Apr 21, 2011, at 2:42 PM, Ren? Micout wrote: > Hello, > I have uploaded "HUD Panel Factory" on RevOnline. > This is a little tool to create HUD Panel Mac OS X. > In French and in English ? En fran?ais et en anglais. > Free and free of charge... > My second contribution to the LiveCode community. > 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 andre at andregarzia.com Thu Apr 21 16:29:32 2011 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 21 Apr 2011 17:29:32 -0300 Subject: SheevaPlug In-Reply-To: References: Message-ID: David, No it is not possible. I have a sheevaplug as well. It should be easy to port RevServer to it though (depending on how platform independent the engine source is). If you need a similar solution, check out Soekris, they make small x86 bases routers/appliances. It should be possible to run LiveCode in a 5501 or 6501 if you use Linux as the OS in them. Andre On Thu, Apr 21, 2011 at 2:26 PM, David Bovill wrote: > Is it possible to run LiveCode on a > Sheevaplug- which runs Ubuntu > 9.04 - but an ARM build? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From ambassador at fourthworld.com Thu Apr 21 16:55:02 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 21 Apr 2011 13:55:02 -0700 Subject: SheevaPlug In-Reply-To: References: Message-ID: <4DB099A6.7090403@fourthworld.com> David Bovill wrote: > Is it possible to run LiveCode on a > Sheevaplug- which runs Ubuntu > 9.04 - but an ARM build? For almost the same price and a little larger form factor you can get a nettop with an x86 that'll run LC well. Last year I found a Lenovo Q110 on Ebay for under US$150, and I set it up with Ubuntu 10.04 and it's doing quite well - 212 days up-time and counting. There's one on Ebay now with a current bid price of $56. Most of the nettops use Atom processors which provide reasonably good performance with low power consumption, so you not only pay relatively little to get the computer but the ongoing operating costs are low too. For always-on systems like file servers they can be a good option if you need to run LiveCode on it. Not quite as small as a ShivaPlug, but pretty small and many models to choose from. -- 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 Apr 21 18:03:03 2011 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 21 Apr 2011 19:03:03 -0300 Subject: SheevaPlug In-Reply-To: <4DB099A6.7090403@fourthworld.com> References: <4DB099A6.7090403@fourthworld.com> Message-ID: oh I liked that Lenovo Q110.... cool find Richard! :-D On Thu, Apr 21, 2011 at 5:55 PM, Richard Gaskin wrote: > David Bovill wrote: > > Is it possible to run LiveCode on a >> Sheevaplug- which runs Ubuntu >> 9.04 - but an ARM build? >> > > For almost the same price and a little larger form factor you can get a > nettop with an x86 that'll run LC well. > > Last year I found a Lenovo Q110 on Ebay for under US$150, and I set it up > with Ubuntu 10.04 and it's doing quite well - 212 days up-time and counting. > There's one on Ebay now with a current bid price of $56. > > Most of the nettops use Atom processors which provide reasonably good > performance with low power consumption, so you not only pay relatively > little to get the computer but the ongoing operating costs are low too. > > For always-on systems like file servers they can be a good option if you > need to run LiveCode on it. Not quite as small as a ShivaPlug, but pretty > small and many models to choose from. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From dunbarx at aol.com Thu Apr 21 18:14:20 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 21 Apr 2011 18:14:20 -0400 Subject: LC Summer Academy In-Reply-To: References: <4DB099A6.7090403@fourthworld.com> Message-ID: <8CDCE8898FE3AFB-EF0-86AB@webmail-d015.sysops.aol.com> Everyone see this? Looks like it might be just what the newbies (and others?) are clamoring for. Is it only open to those without a license? Craig From coiin at verizon.net Thu Apr 21 18:48:19 2011 From: coiin at verizon.net (Colin Holgate) Date: Thu, 21 Apr 2011 18:48:19 -0400 Subject: LC Summer Academy In-Reply-To: <8CDCE8898FE3AFB-EF0-86AB@webmail-d015.sysops.aol.com> References: <4DB099A6.7090403@fourthworld.com> <8CDCE8898FE3AFB-EF0-86AB@webmail-d015.sysops.aol.com> Message-ID: On Apr 21, 2011, at 6:14 PM, DunbarX at aol.com wrote: > Everyone see this? Looks like it might be just what the newbies (and others?) are clamoring for. Is it only open to those without a license? Kevin replied elsewhere that they are looking into ways that existing customers can take advantage of that. From bobs at twft.com Thu Apr 21 18:51:59 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 21 Apr 2011 15:51:59 -0700 Subject: LC Summer Academy In-Reply-To: References: <4DB099A6.7090403@fourthworld.com> <8CDCE8898FE3AFB-EF0-86AB@webmail-d015.sysops.aol.com> Message-ID: <48002F50-AB4D-499C-A5AF-2BC50D2C1F54@twft.com> Oh so this is just for people who make new purchases of livecode? Bob On Apr 21, 2011, at 3:48 PM, Colin Holgate wrote: > > On Apr 21, 2011, at 6:14 PM, DunbarX at aol.com wrote: > >> Everyone see this? Looks like it might be just what the newbies (and others?) are clamoring for. Is it only open to those without a license? > > > Kevin replied elsewhere that they are looking into ways that existing customers can take advantage of that. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rjb at robelko.com Thu Apr 21 19:03:14 2011 From: rjb at robelko.com (Robert Brenstein) Date: Fri, 22 Apr 2011 01:03:14 +0200 Subject: iPhone Functionality In-Reply-To: References: <416818.27354.qm@web161609.mail.bf1.yahoo.com> Message-ID: On 20.04.11 at 11:32 -0700 Bob Sneidar apparently wrote: >Criminy! Well I have nothing to hide, so I'd like to see detailed >information. Presently the open source app you can download to show >this information reduces the detail and accuracy of the information >so that someone malicious can't use the app against someone else. >But they assure us that the data is detailed, to the second. Criminy? Not really. Rather hysterical writing by 'pundits' who are stirring the pot in their own interest. Apple has no idea where you've been. The file exists only on your phone (an in your backups of your phone). The data is not transmitted back to Apple. Furthermore, this is not GPS data, it is tower triangulation data. AT&T on the other hand, has always! known where you are. Same for every mobile network provider. See also http://daringfireball.net/linked/2011/04/21/andy-ihnatko-location-log Robert From andre at andregarzia.com Thu Apr 21 19:36:37 2011 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 21 Apr 2011 20:36:37 -0300 Subject: LC Summer Academy In-Reply-To: <48002F50-AB4D-499C-A5AF-2BC50D2C1F54@twft.com> References: <4DB099A6.7090403@fourthworld.com> <8CDCE8898FE3AFB-EF0-86AB@webmail-d015.sysops.aol.com> <48002F50-AB4D-499C-A5AF-2BC50D2C1F54@twft.com> Message-ID: I don't know what we're talking about, anyone can provide a link? Cheers andre On Thu, Apr 21, 2011 at 7:51 PM, Bob Sneidar wrote: > Oh so this is just for people who make new purchases of livecode? > > Bob > > > On Apr 21, 2011, at 3:48 PM, Colin Holgate wrote: > > > > > On Apr 21, 2011, at 6:14 PM, DunbarX at aol.com wrote: > > > >> Everyone see this? Looks like it might be just what the newbies (and > others?) are clamoring for. Is it only open to those without a license? > > > > > > Kevin replied elsewhere that they are looking into ways that existing > customers can take advantage of that. > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From bobs at twft.com Thu Apr 21 19:40:58 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 21 Apr 2011 16:40:58 -0700 Subject: iPhone Functionality In-Reply-To: References: <416818.27354.qm@web161609.mail.bf1.yahoo.com> Message-ID: <44F37D34-6F97-417A-8948-ACD3E3EAED7C@twft.com> Yes the article said all that, except for the GPS vs. the cell triangulation. That is a good thing to know btw, because in viewing the map I got the same impression, since I recently went on a trip and had that data to compare with. I also noticed that there was a long stretch of highway which had no data points. Since I was using my iPad to keep track of where I was that stretch and not my iPhone, my guess is that it only records that data when you wake up your phone and connect to the cellular network. All the other stuff I was already aware of. Again, their point is that it stored the data on a computer where it could be easily accessed and in an unencrypted form. While I think that the Homeland Security act at the time was necessary, it would not surprise me to find that in that act there was authorization to require GPS enabled cell phone manufacturers to make their phones trackable, just in case. I don't see the article as hysterical though. Excited, overly concerned, maybe. Bob On Apr 21, 2011, at 4:03 PM, Robert Brenstein wrote: > On 20.04.11 at 11:32 -0700 Bob Sneidar apparently wrote: >> Criminy! Well I have nothing to hide, so I'd like to see detailed information. Presently the open source app you can download to show this information reduces the detail and accuracy of the information so that someone malicious can't use the app against someone else. But they assure us that the data is detailed, to the second. > > Criminy? Not really. Rather hysterical writing by 'pundits' who are stirring the pot in their own interest. > > Apple has no idea where you've been. The file exists only on your phone (an in your backups of your phone). The data is not transmitted back to Apple. Furthermore, this is not GPS data, it is tower triangulation data. > > AT&T on the other hand, has always! known where you are. Same for every mobile network provider. > > See also > http://daringfireball.net/linked/2011/04/21/andy-ihnatko-location-log > > 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 Thu Apr 21 20:12:23 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 22 Apr 2011 02:12:23 +0200 Subject: Live LiveCode code event #20 In-Reply-To: <73F84954-890B-4627-859A-702C8054F13B@mac.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> Message-ID: Hello dearest friends It has come to my attention that you have inherited a fortune from the prime minister of absurdistan, who recently succumbed to his heavy case of head lice. Please make contact with me and my colleagues on this saturday, where we can talk about how to transfer the following information to you: As part of his presentation about using image data a few weeks ago, Colin showed a simple paint application. Since then, he has improved the performance a lot, to the point that it works well on the iPad. In this presentation he will show what changes needed to be made in order for it to work that well. http://livecode.tv/colin/ Also presenting will be Rolland, who uses LC in his tasks as educator at a university. He will give you an overview about a few of his LC solutions, including polling, student management, chatting and creating video comments. http://livecode.tv/rolland/ Please make the contact at these times: Kathmandu Sat 23:45 Oslo Sat 20:00 Boston Sat 14:00 Seattle Sat 11:00 Perth Sun 02:00 To get the valuables, simply transfer to ChatRev. Get it here: http://bjoernke.com/chatrev/ or enter in the message box: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" For recordings of past events, visit the blog: http://livecode.tv/ Cheers Bj?rnke -- official ChatRev page: http://bjoernke.com/chatrev Chat with other RunRev developers: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" From rjb at robelko.com Thu Apr 21 20:10:20 2011 From: rjb at robelko.com (Robert Brenstein) Date: Fri, 22 Apr 2011 02:10:20 +0200 Subject: iPhone Functionality In-Reply-To: <44F37D34-6F97-417A-8948-ACD3E3EAED7C@twft.com> References: <416818.27354.qm@web161609.mail.bf1.yahoo.com> <44F37D34-6F97-417A-8948-ACD3E3EAED7C@twft.com> Message-ID: On 21.04.11 at 16:40 -0700 Bob Sneidar apparently wrote: >All the other stuff I was already aware of. Again, their point is >that it stored the data on a computer where it could be easily >accessed and in an unencrypted form. Sure, someone could get into your computer and grab the file, but as David Pogue points out, "If your computer is that accessible, you've got much bigger problems." >I don't see the article as hysterical though. Excited, overly >concerned, maybe. I did not refer to that specific article. Robert From coiin at verizon.net Thu Apr 21 20:19:48 2011 From: coiin at verizon.net (Colin Holgate) Date: Thu, 21 Apr 2011 20:19:48 -0400 Subject: LC Summer Academy In-Reply-To: References: <4DB099A6.7090403@fourthworld.com> <8CDCE8898FE3AFB-EF0-86AB@webmail-d015.sysops.aol.com> <48002F50-AB4D-499C-A5AF-2BC50D2C1F54@twft.com> Message-ID: <5BF66A2B-7911-441E-A49D-1BC3E7713A25@verizon.net> On Apr 21, 2011, at 7:36 PM, Andre Garzia wrote: > I don't know what we're talking about, anyone can provide a link? http://www.runrev.com/newsletter/april/issue109/newsletter1.php From jeff at siphonophore.com Thu Apr 21 21:58:33 2011 From: jeff at siphonophore.com (Jeff Reynolds) Date: Thu, 21 Apr 2011 18:58:33 -0700 Subject: playing ipad videos on the video output In-Reply-To: References: Message-ID: <068A0D3F-9F67-424B-A926-8403C69D6818@siphonophore.com> Has anyone been able to have a rev ios application that has its control interface running on the ipad play a video file on the ipad out through the video out cable support? i have a client that wants to control videos that are played for presentations from an ipad and then have the videos played out thru the video out cable. i have seen the netfliks app do something like this where the video is played out the video file is played on the video out cable while their control interface is on the ipad. i am thinking this would require some pretty specific and down and dirty drivers added to rev to control externally played videos. thanks jeff From revdev at pdslabs.net Thu Apr 21 23:11:30 2011 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 21 Apr 2011 20:11:30 -0700 Subject: playing ipad videos on the video output In-Reply-To: <068A0D3F-9F67-424B-A926-8403C69D6818@siphonophore.com> References: <068A0D3F-9F67-424B-A926-8403C69D6818@siphonophore.com> Message-ID: <4DB0F1E2.2010204@pdslabs.net> Different but related: I wanted to use an Optoma DLP projector to demo an app on my iPhone, but learned from a Mac genius that only the iPad2 has the built-in capability to show all that happens on your screen. On all other iOS devices, video content can be sent to output only under the control of an app in the way you're thinking. Phil Davis On 4/21/11 6:58 PM, Jeff Reynolds wrote: > Has anyone been able to have a rev ios application that has its control > interface running on the ipad play a video file on the ipad out through the > video out cable support? > > i have a client that wants to control videos that are played for presentations > from an ipad and then have the videos played out thru the video out cable. i > have seen the netfliks app do something like this where the video is played > out the video file is played on the video out cable while their control > interface is on the ipad. > > i am thinking this would require some pretty specific and down and dirty > drivers added to rev to control externally played videos. > > thanks > > jeff > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From scott at tactilemedia.com Thu Apr 21 23:38:57 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 21 Apr 2011 20:38:57 -0700 Subject: playing ipad videos on the video output In-Reply-To: <4DB0F1E2.2010204@pdslabs.net> Message-ID: Recently, Phil Davis wrote: > On all other iOS devices, video content can be sent > to output only under the control of an app in the way you're thinking. Plan B -- jailbreak the device. There are options to enable video out on all devices (I believe). Regards, Scott Rossi Creative Director Tactile Media, UX Design From dunbarx at aol.com Fri Apr 22 02:00:59 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 22 Apr 2011 02:00:59 -0400 Subject: LC Summer Academy In-Reply-To: References: <4DB099A6.7090403@fourthworld.com><8CDCE8898FE3AFB-EF0-86AB@webmail-d015.sysops.aol.com><48002F50-AB4D-499C-A5AF-2BC50D2C1F54@twft.com> Message-ID: <8CDCEC9C9625E4F-2908-15F9B@webmail-d129.sysops.aol.com> Andre. I got an email from Scotland. It must be on the website. Craig -----Original Message----- From: Andre Garzia To: How to use LiveCode Sent: Thu, Apr 21, 2011 7:36 pm Subject: Re: LC Summer Academy I don't know what we're talking about, anyone can provide a link? Cheers andre On Thu, Apr 21, 2011 at 7:51 PM, Bob Sneidar wrote: > Oh so this is just for people who make new purchases of livecode? > > Bob > > > On Apr 21, 2011, at 3:48 PM, Colin Holgate wrote: > > > > > On Apr 21, 2011, at 6:14 PM, DunbarX at aol.com wrote: > > > >> Everyone see this? Looks like it might be just what the newbies (and > others?) are clamoring for. Is it only open to those without a license? > > > > > > Kevin replied elsewhere that they are looking into ways that existing > customers can take advantage of that. > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Fri Apr 22 04:43:07 2011 From: livfoss at mac.com (Graham Samuel) Date: Fri, 22 Apr 2011 10:43:07 +0200 Subject: Startup message anomaly? Message-ID: <5355BBC4-D4F4-437B-BF6C-F58D4E243B7A@mac.com> I've been taking the following description of the 'startup' message in the LS dictionary literally: > Sent to the first stack opened when the application starts up. Well AFAIK the real case is that this is true for a Mac standalone but not in a Windows standalone. In the latter case, the message is sent to the first CARD of the first stack and not to the stack itself. If you put the startup handler in the stack script of the mainstack, nothing happens! OTOH a startup handler in the stack script of a Mac standalone seems to work OK. Just in case I'm going crazy, can anyone else confirm this anomaly? If so, I'll report it. BTW, I seem to remember that in earlier versions of LC/RunRev, it 'startup' was always sent to the card. TIA Graham From palcibiades-first at yahoo.co.uk Fri Apr 22 05:25:50 2011 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Fri, 22 Apr 2011 02:25:50 -0700 (PDT) Subject: SheevaPlug In-Reply-To: References: Message-ID: <1303464350792-3467672.post@n4.nabble.com> We use Bubba2 which runs headless Debian. Picked because of reliability concerns about the plug systems. https://www.excito.com/bubba/buy/shop.html They are on offer now because a new model is coming out. For another use we are going to put together an intel dual core atom board in a fanless mini itx enclosure with a 2.5 sata drive, total cost about the same as the Bubba, but with monitor output. A sort of cost effective version of a Mac Mini. Well, less performance certainly because of the processor, but similar form factor roughly, and an awful lot cheaper. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/SheevaPlug-tp3466473p3467672.html Sent from the Revolution - User mailing list archive at Nabble.com. From roger.e.eller at sealedair.com Fri Apr 22 07:57:05 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 22 Apr 2011 07:57:05 -0400 Subject: Android Phone In-Reply-To: <74847E20-E344-4AA7-975D-DCBAD1C47964@clearvisiontech.com> References: <74847E20-E344-4AA7-975D-DCBAD1C47964@clearvisiontech.com> Message-ID: On Sun, Apr 17, 2011 at 1:11 PM, Dan Friedman wrote: > Gentlemen, > > I know nothing about the Android. ?I am a iPhone user. ?As I am about to embark on writing for the Android, I thought I should have one to test on. ?A friend of a friend got a new phone and has offered me his old Android phone for $40. ?It is a T-Mobile Android G1. ?It's white and says "with Google" on the back. ?It looks exactly like this: > > http://www.g1googlephone.com/images/tmobile_g1_google_phone_white.jpg > > Does anyone know if this is a good phone for testing apps built with LC? ?Is it to old? ?I don't want to use it as an actual phone, just for app testing. > > ANY thoughts or advice would be appreciated. > > Thank you in advance, > -Dan I just noticed this article: It may be helpful. http://www.gadgetvenue.com/tmobile-g1-android-22-update-unofficially-07122213/ ~Roger From rene.micout at numericable.com Fri Apr 22 09:11:07 2011 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Fri, 22 Apr 2011 15:11:07 +0200 Subject: [ANN] HUD Panel Factory Message-ID: <906364F0-9B12-4E9A-8223-34575287571F@numericable.com> Hello everybody, I have uploaded [Rev Online] version 1.1 of the HUD Panel Factory for Mac OS X ans iOS (Hello Thomas !). After use for my own project > some modifications : - Changing the threshold of minimum dimensions: minimum dimensions (width, height) = 40 pixels, minimum dimensions with arrow (width, height) = 102 pixels - Add "Initialize" button - News interface details > direct shematic visualisation... Bon souvenir de Paris Ren? From dixonja at hotmail.co.uk Fri Apr 22 09:48:23 2011 From: dixonja at hotmail.co.uk (John Dixon) Date: Fri, 22 Apr 2011 14:48:23 +0100 Subject: [ANN] HUD Panel Factory In-Reply-To: <906364F0-9B12-4E9A-8223-34575287571F@numericable.com> References: <906364F0-9B12-4E9A-8223-34575287571F@numericable.com> Message-ID: Ren? Really nice... Well done ! John Dixon > From: rene.micout at numericable.com > Subject: [ANN] HUD Panel Factory > Date: Fri, 22 Apr 2011 15:11:07 +0200 > To: use-livecode at lists.runrev.com > > Hello everybody, > I have uploaded [Rev Online] version 1.1 of the HUD Panel Factory for Mac OS X ans iOS (Hello Thomas !). > After use for my own project > some modifications : > - Changing the threshold of minimum dimensions: minimum dimensions (width, height) = 40 pixels, minimum dimensions with arrow > (width, height) = 102 pixels > - Add "Initialize" button > - News interface details > direct shematic visualisation... > 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 Fri Apr 22 10:06:51 2011 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Fri, 22 Apr 2011 16:06:51 +0200 Subject: [ANN] HUD Panel Factory In-Reply-To: References: <906364F0-9B12-4E9A-8223-34575287571F@numericable.com> Message-ID: <39A0D696-1376-46F3-ABF2-53D1CF697FEA@numericable.com> You are welcome John ! Le 22 avr. 2011 ? 15:48, John Dixon a ?crit : > > Ren? > > Really nice... Well done ! > > John Dixon > >> From: rene.micout at numericable.com >> Subject: [ANN] HUD Panel Factory >> Date: Fri, 22 Apr 2011 15:11:07 +0200 >> To: use-livecode at lists.runrev.com >> >> Hello everybody, >> I have uploaded [Rev Online] version 1.1 of the HUD Panel Factory for Mac OS X ans iOS (Hello Thomas !). >> After use for my own project > some modifications : >> - Changing the threshold of minimum dimensions: minimum dimensions (width, height) = 40 pixels, minimum dimensions with arrow >> (width, height) = 102 pixels >> - Add "Initialize" button >> - News interface details > direct shematic visualisation... >> 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 david at vaudevillecourt.tv Fri Apr 22 10:40:39 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Fri, 22 Apr 2011 15:40:39 +0100 Subject: SheevaPlug In-Reply-To: <1303464350792-3467672.post@n4.nabble.com> References: <1303464350792-3467672.post@n4.nabble.com> Message-ID: Like the look of the Bubba2 - can't easily find a link to any specs / exactly what it comes with (ie media streaming) etc On 22 April 2011 10:25, Peter Alcibiades wrote: > We use Bubba2 which runs headless Debian. Picked because of reliability > concerns about the plug systems. > > https://www.excito.com/bubba/buy/shop.html > > They are on offer now because a new model is coming out. For another use > we > are going to put together an intel dual core atom board in a fanless mini > itx enclosure with a 2.5 sata drive, total cost about the same as the > Bubba, > but with monitor output. A sort of cost effective version of a Mac Mini. > Well, less performance certainly because of the processor, but similar form > factor roughly, and an awful lot cheaper. > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/SheevaPlug-tp3466473p3467672.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 Fri Apr 22 11:12:52 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 22 Apr 2011 10:12:52 -0500 Subject: Startup message anomaly? In-Reply-To: <5355BBC4-D4F4-437B-BF6C-F58D4E243B7A@mac.com> References: <5355BBC4-D4F4-437B-BF6C-F58D4E243B7A@mac.com> Message-ID: <4DB19AF4.4080200@hyperactivesw.com> On 4/22/11 3:43 AM, Graham Samuel wrote: > I've been taking the following description of the 'startup' message > in the LS dictionary literally: > >> Sent to the first stack opened when the application starts up. > > Well AFAIK the real case is that this is true for a Mac standalone > but not in a Windows standalone. In the latter case, the message is > sent to the first CARD of the first stack and not to the stack > itself. If you put the startup handler in the stack script of the > mainstack, nothing happens! OTOH a startup handler in the stack > script of a Mac standalone seems to work OK. > > Just in case I'm going crazy, can anyone else confirm this anomaly? > If so, I'll report it. BTW, I seem to remember that in earlier > versions of LC/RunRev, it 'startup' was always sent to the card. As far as I know, all system messages are always sent to the current card, including startup, on every OS. It's pretty common to place handlers in the card script of the first card if you only want them to run on startup. Startup should be passed from the card to the stack normally on any platform as long as you don't have a blocking handler in the card that stops it. I think the docs are misleading about where the message is sent. That said, I've seen some anomalies lately with the message path that I can't quite pin down or get a recipe for. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From Mark_Smith at cpe.umanitoba.ca Fri Apr 22 11:28:12 2011 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Fri, 22 Apr 2011 10:28:12 -0500 Subject: Live LiveCode event #16 (Wrapup) In-Reply-To: <7AFB0877-BF50-4E83-A0AF-3391DCA07F61@yahoo.com> References: <6B865405-BBC0-491C-AD25-BFB1C85A2D58@mac.com> <7EC6A85B-DD6B-41 38-A597-512A194F4453@mac.com> <4D925879.8070304@hyperactivesw.com><4D9264DF.5020800@hyperacti vesw.com>,<7AFB0877-BF50-4E83-A0AF-3391DCA07F61@yahoo.com> Message-ID: <3F95480D5F0DA64EA0785711087864DEAA47E700FF@exch01.mchpe.cpe.umanitoba.ca> Hi Jim, great video. Are there more of these sessions archived online? Thanks -- Mark ________________________________________ From: use-livecode-bounces at lists.runrev.com [use-livecode-bounces at lists.runrev.com] On Behalf Of Jim Ault [jimaultwins at yahoo.com] Sent: Tuesday, March 29, 2011 6:56 PM To: How to use LiveCode Subject: Re: Live LiveCode event #16 (Wrapup) On Mar 29, 2011, at 4:01 PM, J. Landman Gay wrote: > On 3/29/11 5:40 PM, Mark Schonewille wrote: >> Hi Jacque, >> >> AFAIK, all you need is Flash (which you, understandably, might not >> have installed). I have it installed and the movies play fine. > > I have Flash installed. I tried with both Firefox and Safari with > the same results. I'll try again later. Do these work for your setup? http://www.ustream.tv/recorded/13430477 Same video, different page (the clip is in the Videos area below the broadcast default) http://www.ustream.tv/channel/jimaultlivecode This video has a better chance of working since I have a softer Midwest accent. Jim Ault Las Vegas _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Fri Apr 22 11:37:01 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 22 Apr 2011 17:37:01 +0200 Subject: Live LiveCode event #16 (Wrapup) In-Reply-To: <3F95480D5F0DA64EA0785711087864DEAA47E700FF@exch01.mchpe.cpe.umanitoba.ca> References: <6B865405-BBC0-491C-AD25-BFB1C85A2D58@mac.com> <7EC6A85B-DD6B-41 38-A597-512A194F4453@mac.com> <4D925879.8070304@hyperactivesw.com><4D9264DF.5020800@hyperacti vesw.com>, <7AFB0877-BF50-4E83-A0AF-3391DCA07F61@yahoo.com> <3F95480D5F0DA64EA0785711087864DEAA47E700FF@exch01.mchpe.cpe.umanitoba.ca> Message-ID: <6461D9CE-DB86-4F60-B1B9-EA2AD4FE11AC@economy-x-talk.com> Hi Mark, Check the wrap-up posts at 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 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 22 apr 2011, at 17:28, Mark Smith wrote: > Hi Jim, great video. Are there more of these sessions archived online? > > Thanks > > -- Mark From mcgrath3 at mac.com Fri Apr 22 12:12:36 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Fri, 22 Apr 2011 12:12:36 -0400 Subject: [ANN] HUD Panel Factory In-Reply-To: <39A0D696-1376-46F3-ABF2-53D1CF697FEA@numericable.com> References: <906364F0-9B12-4E9A-8223-34575287571F@numericable.com> <39A0D696-1376-46F3-ABF2-53D1CF697FEA@numericable.com> Message-ID: Thanks, This is very nice. Awesome -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Apr 22, 2011, at 10:06 AM, Ren? Micout wrote: > You are welcome John ! > > Le 22 avr. 2011 ? 15:48, John Dixon a ?crit : > >> >> Ren? >> >> Really nice... Well done ! >> >> John Dixon >> >>> From: rene.micout at numericable.com >>> Subject: [ANN] HUD Panel Factory >>> Date: Fri, 22 Apr 2011 15:11:07 +0200 >>> To: use-livecode at lists.runrev.com >>> >>> Hello everybody, >>> I have uploaded [Rev Online] version 1.1 of the HUD Panel Factory for Mac OS X ans iOS (Hello Thomas !). >>> After use for my own project > some modifications : >>> - Changing the threshold of minimum dimensions: minimum dimensions (width, height) = 40 pixels, minimum dimensions with arrow >>> (width, height) = 102 pixels >>> - Add "Initialize" button >>> - News interface details > direct shematic visualisation... >>> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Fri Apr 22 12:19:00 2011 From: irog at mac.com (Roger Guay) Date: Fri, 22 Apr 2011 09:19:00 -0700 Subject: Subject: [ANN] HUD Panel Factory In-Reply-To: References: Message-ID: <7EEA15AD-B7E4-45D4-B78A-D14BA83AACB9@mac.com> Very nice and very useful. Thanks Ren? Roger Guay On Apr 22, 2011, at 6:48 AM, use-livecode-request at lists.runrev.com wrote: > Message: 32 > Date: Fri, 22 Apr 2011 15:11:07 +0200 > From: Ren? Micout > To: How to use LiveCode > Subject: [ANN] HUD Panel Factory > Message-ID: <906364F0-9B12-4E9A-8223-34575287571F at numericable.com> > Content-Type: text/plain; charset=iso-8859-1 > > Hello everybody, > I have uploaded [Rev Online] version 1.1 of the HUD Panel Factory for Mac OS X ans iOS (Hello Thomas !). > After use for my own project > some modifications : > - Changing the threshold of minimum dimensions: minimum dimensions (width, height) = 40 pixels, minimum dimensions with arrow > (width, height) = 102 pixels > - Add "Initialize" button > - News interface details > direct shematic visualisation... > Bon souvenir de Paris > Ren? From martyknapp at comcast.net Fri Apr 22 12:44:22 2011 From: martyknapp at comcast.net (Marty Knapp) Date: Fri, 22 Apr 2011 09:44:22 -0700 Subject: Popup menu & menuhistory In-Reply-To: <8CDCE47053556FB-EF0-1F3A@webmail-d015.sysops.aol.com> References: <4DAFB04C.8000005@comcast.net> <8CDCE47053556FB-EF0-1F3A@webmail-d015.sysops.aol.com> Message-ID: <4DB1B066.307@comcast.net> Thanks for the suggestion Craig. I did tinker with this some more: So in my test field I have this script: on mousedown whichButton if whichButton is not 3 then exit mousedown put the mouseLoc into ML get lineOffset(the text of me,btn "myPopUpButton") if it is not 0 then --For the X coordinate: move the menu over to the left a bit so it's under the cursor subtract 8 from item 1 of ML --For the Y coordinate: take the line number and multiply by apparent line --height of menu text and adjust so the menu pops up at the correct line subtract (it*19)-10 from item 2 of ML end if popup btn "myPopUpButton" at ML end mousedown Then in my hidden test popup menu, I have numbers 1 through 35. This works until I type in a number that causes the popup menu to hit the top of the screen. Unlike an option menu, it does not truncate itself with a scroll arrow - it just stops at the top of the screen with the first menu item at the top. Interesting, it will truncate with a scroll arrow if it hits the bottom of the screen. Any thoughts or suggestions? Thanks, Marty Knapp > It seems like there should be an easy way to do this, but I cannot find it. I made an ugly workaround with a two buttons. I'm sure you can modify it to make your data entry field do the same thing. With a popup button ("yourPopUpButton") and an action button, try this in the action button script: > > > > on mousedown > popup btn "yourPopUpButton" > end mousedown > > > on mouseup > set the screenmouseLoc to (item 1 of the loc of me + 125& ","& item 1 of the loc of me + 195) > end mouseup > > > > Note that the screenMouseLoc is a property, whereas the mouseLoc is a function. You will have to modify this in your own stack to account for relative placement of the objects in question. Play around with the coordinates. > > > I don't know why there isn't a property for this in local window terms, as opposed to a function. I hear that setting the loc of the cursor is considered dicey in UI terms. > > > Anyway, if you set the numbers up correctly, you can see that when clicking on the action button, a menuItem from the popup will be selected. > > > Now for the weird stuff. THE MOUSE NEED NOT BE RELEASED for this to work. The mouseUp message should never be sent. So how do it know? If the mouseUp handler is commented out, the location of the cursor is not set, Jacques, I need an aspirin. > > > Anyone? This baffles me, even though it works fine. > > > Craig Newman > > > > > -----Original Message----- > From: Marty Knapp > To: How to use LiveCode > Sent: Thu, Apr 21, 2011 12:19 am > Subject: Popup menu& menuhistory > > > I have a field that I've configured to display a popup menu using a hidden popup menu button. If a user starts to type into this field, I use a type-ahead routine that grabs its guess from the menu items in the button. Is there a way to set this up so that if they type something, then click for the popup menu, for the menu to pop up at the line where this text is found (like in an option menu)? Setting the menuhistory doesn't seem to work. > > Thanks for any help, > Marty Knapp From jimaultwins at yahoo.com Fri Apr 22 12:48:02 2011 From: jimaultwins at yahoo.com (Jim Ault) Date: Fri, 22 Apr 2011 09:48:02 -0700 Subject: Live LiveCode event #16 (Wrapup) In-Reply-To: <3F95480D5F0DA64EA0785711087864DEAA47E700FF@exch01.mchpe.cpe.umanitoba.ca> References: <6B865405-BBC0-491C-AD25-BFB1C85A2D58@mac.com> <7EC6A85B-DD6B-41 38-A597-512A194F4453@mac.com> <4D925879.8070304@hyperactivesw.com><4D9264DF.5020800@hyperacti vesw.com>, <7AFB0877-BF50-4E83-A0AF-3391DCA07F61@yahoo.com> <3F95480D5F0DA64EA0785711087864DEAA47E700FF@exch01.mchpe.cpe.umanitoba.ca> Message-ID: <5F22FE76-84BD-487F-B950-8041A7089450@yahoo.com> The short answer is yes, and I replied off list, so you should have it by now. On Apr 22, 2011, at 8:28 AM, Mark Smith wrote: > Hi Jim, great video. Are there more of these sessions archived online? > > Thanks > > -- Mark Jim Ault Las Vegas From palcibiades-first at yahoo.co.uk Fri Apr 22 13:09:20 2011 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Fri, 22 Apr 2011 10:09:20 -0700 (PDT) Subject: SheevaPlug In-Reply-To: References: <1303464350792-3467672.post@n4.nabble.com> Message-ID: <1303492160418-3468324.post@n4.nabble.com> http://www.excito.com/bubba/support/download.html has the documentation links. There are reviews, and here is one where the guy did streaming. We don't do that. http://www.ghacks.net/2009/05/03/connecting-linux-to-a-bubba-2/ It is not terribly intuitive, the setup. I am still not quite sure what we did to make ftp uploading work after some initial difficulties. But once it works, its tiny, quiet, runs cool, and the stuff is all built in. It uses Apache for the web. You can install anything from the Debian repositories. You can even run wordpress on it. It has some kind of built in picture gallery, which we are also not using, but instead are generating web pages of the albums with jalbum. Could do a lot worse. The installation manual encourages you to use it as a gateway and print server as well as a file and web server. We just use it as web server for the LAN, in house. Peter -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/SheevaPlug-tp3466473p3468324.html Sent from the Revolution - User mailing list archive at Nabble.com. From jimaultwins at yahoo.com Fri Apr 22 13:36:52 2011 From: jimaultwins at yahoo.com (Jim Ault) Date: Fri, 22 Apr 2011 10:36:52 -0700 Subject: [ANN] HUD Panel Factory In-Reply-To: <906364F0-9B12-4E9A-8223-34575287571F@numericable.com> References: <906364F0-9B12-4E9A-8223-34575287571F@numericable.com> Message-ID: <221769DB-4EA1-4734-B6F9-6A98BF8F2E80@yahoo.com> Thanks for sharing this. Great work. On Apr 22, 2011, at 6:11 AM, Ren? Micout wrote: > Hello everybody, > I have uploaded [Rev Online] version 1.1 of the HUD Panel Factory > for Mac OS X ans iOS (Hello Thomas !). > Jim Ault Las Vegas From pmbrig at gmail.com Fri Apr 22 14:13:02 2011 From: pmbrig at gmail.com (Peter Brigham MD) Date: Fri, 22 Apr 2011 14:13:02 -0400 Subject: Popup menu & menuhistory In-Reply-To: <4DB1B066.307@comcast.net> References: <4DAFB04C.8000005@comcast.net> <8CDCE47053556FB-EF0-1F3A@webmail-d015.sysops.aol.com> <4DB1B066.307@comcast.net> Message-ID: <8828B9B0-B819-4296-8271-322CD0C10D79@gmail.com> On Apr 22, 2011, at 12:44 PM, Marty Knapp wrote: > Thanks for the suggestion Craig. I did tinker with this some more: > > So in my test field I have this script: > > on mousedown whichButton > if whichButton is not 3 then exit mousedown > put the mouseLoc into ML > get lineOffset(the text of me,btn "myPopUpButton") > if it is not 0 then > --For the X coordinate: move the menu over to the left a bit so it's under the cursor > subtract 8 from item 1 of ML > > --For the Y coordinate: take the line number and multiply by apparent line > --height of menu text and adjust so the menu pops up at the correct line > subtract (it*19)-10 from item 2 of ML > end if > popup btn "myPopUpButton" at ML > end mousedown > > > Then in my hidden test popup menu, I have numbers 1 through 35. This works until I type in a number that causes the popup menu to hit the top of the screen. Unlike an option menu, it does not truncate itself with a scroll arrow - it just stops at the top of the screen with the first menu item at the top. Interesting, it will truncate with a scroll arrow if it hits the bottom of the screen. > > Any thoughts or suggestions? The formattedrect function will give you the location (relative to the window) of a chunk of text. Don't know if that would help. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From david_beck at rotundasoftware.com Fri Apr 22 15:00:23 2011 From: david_beck at rotundasoftware.com (David Beck) Date: Fri, 22 Apr 2011 12:00:23 -0700 Subject: libURL hangs after getting response with keep-alive header Message-ID: <4DB1D047.4090107@rotundasoftware.com> Before I report this as a bug, maybe somebody can shine some light on what is going on here. It looks like libURL hangs after getting a response with a "Connection: keep-alive" in it. It pretty much freeze up the entire IDE, except for the message box, which you can use to unfreeze everything in most cases by issuing the "resetall" command. Shouldn't it just treat it as a "Connection: close" header, if it does not support keeping connections alive? Also, it sounds like in HTTP1.1, the default is that all connections are kept alive, unless a "Connection: close" header is sent with the request. Therefore, shouldn't libURL be sending that "Connection: close" header, since it doesn't support keep-alive? Thanks in advance, David Beck From dave.cragg at lacscentre.co.uk Fri Apr 22 15:11:43 2011 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Fri, 22 Apr 2011 20:11:43 +0100 Subject: libURL hangs after getting response with keep-alive header In-Reply-To: <4DB1D047.4090107@rotundasoftware.com> References: <4DB1D047.4090107@rotundasoftware.com> Message-ID: <847FA9CC-0FBD-4B90-A367-D5E3087C48D3@lacscentre.co.uk> David Unless something has changed in the recent versions of libUrl (and I can't find anything obvious), libUrl will ignore any "Connection: keep-alive" header in the response. By default, it will keep connections open unless there was a "Connection: close" header in the response. Could there be something else going on that is causing the problem? Cheers Dave On 22 Apr 2011, at 20:00, David Beck wrote: > > Before I report this as a bug, maybe somebody can shine some light on what is going on here. > > It looks like libURL hangs after getting a response with a "Connection: keep-alive" in it. It pretty much freeze up the entire IDE, except for the message box, which you can use to unfreeze everything in most cases by issuing the "resetall" command. > > Shouldn't it just treat it as a "Connection: close" header, if it does not support keeping connections alive? > > Also, it sounds like in HTTP1.1, the default is that all connections are kept alive, unless a "Connection: close" header is sent with the request. Therefore, shouldn't libURL be sending that "Connection: close" header, since it doesn't support keep-alive? > > Thanks in advance, > > David Beck > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dave.cragg at lacscentre.co.uk Fri Apr 22 15:15:52 2011 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Fri, 22 Apr 2011 20:15:52 +0100 Subject: libURL hangs after getting response with keep-alive header In-Reply-To: <4DB1D047.4090107@rotundasoftware.com> References: <4DB1D047.4090107@rotundasoftware.com> Message-ID: <7CDF3B9D-EEF9-4A6E-BBB5-0F77EB14CCF2@lacscentre.co.uk> David As an after thought.. Does it help if you set the httpHeaders to "Connection: close"? Dave On 22 Apr 2011, at 20:00, David Beck wrote: > > Before I report this as a bug, maybe somebody can shine some light on what is going on here. > > It looks like libURL hangs after getting a response with a "Connection: keep-alive" in it. It pretty much freeze up the entire IDE, except for the message box, which you can use to unfreeze everything in most cases by issuing the "resetall" command. > > Shouldn't it just treat it as a "Connection: close" header, if it does not support keeping connections alive? > > Also, it sounds like in HTTP1.1, the default is that all connections are kept alive, unless a "Connection: close" header is sent with the request. Therefore, shouldn't libURL be sending that "Connection: close" header, since it doesn't support keep-alive? > > Thanks in advance, > > David Beck > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andre at andregarzia.com Fri Apr 22 16:25:22 2011 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 22 Apr 2011 17:25:22 -0300 Subject: [NASTY BUG] many commands are maked on the docs as working on RevServer but they do not Message-ID: Folks, Can anyone comment if libURLSetCustomHTTPHeaders and the HTTPHeaders work well with RevServer. On the docs, it says it work on the server deployment but testing on on-rev, I see it not working. In the case of libURLSetCustomHTTPHeaders it throws an error. Andre -- http://www.andregarzia.com All We Do Is Code. From katir at hindu.org Fri Apr 22 16:39:18 2011 From: katir at hindu.org (Web Admin Himalayan Academy) Date: Fri, 22 Apr 2011 10:39:18 -1000 Subject: libURL hangs after getting response with keep-alive header In-Reply-To: <7CDF3B9D-EEF9-4A6E-BBB5-0F77EB14CCF2@lacscentre.co.uk> References: <4DB1D047.4090107@rotundasoftware.com> <7CDF3B9D-EEF9-4A6E-BBB5-0F77EB14CCF2@lacscentre.co.uk> Message-ID: <4DB1E776.9010402@hindu.org> FYI: Not sure if this relates: I recently set Keep Alive on (300 connections) in the core httpd.conf on our web server... (recommended for performance) and I'm not having any difficulty with any of my desktop stacks or handlers that talk to our server (I have a dozen or these, 2 or 3 of which are in production and used every day...) the handlers do HTTP gets, HTTP POST, FTP Up and down, and talk to MySQL from the desktop... all working fine here in the IDE. On 4/22/11 9:15 AM, Dave Cragg wrote: > David > > As an after thought.. > > Does it help if you set the httpHeaders to "Connection: close"? > > Dave > From bonnmike at gmail.com Fri Apr 22 18:19:56 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 22 Apr 2011 16:19:56 -0600 Subject: [NASTY BUG] many commands are maked on the docs as working on RevServer but they do not In-Reply-To: References: Message-ID: Looks like the docs have server listed for lots of things that aren't there yet. Think you still have to stick with put header, and put new header. Using library stacks also shows server as a supported platform. I assume this is still not the case? E On Fri, Apr 22, 2011 at 2:25 PM, Andre Garzia wrote: > Folks, > > Can anyone comment if libURLSetCustomHTTPHeaders and the HTTPHeaders work > well with RevServer. On the docs, it says it work on the server deployment > but testing on on-rev, I see it not working. In the case > of libURLSetCustomHTTPHeaders it throws an error. > > Andre > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From capellan2000 at gmail.com Fri Apr 22 22:18:55 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 22 Apr 2011 22:18:55 -0400 Subject: Save screenshots from every card in a stack Message-ID: Hi all, This small piece of code allows to save a screenshot from every card in a stack. To use this code in your stack, you should provide a valid filepath in your platform of choice and use the actual name of your stack. -- To save screenshots as PNG -- --------------------------------------------------------- repeat with i = 1 to the number of cards of this stack if i < 10 then put "C:/myFile_00" & i & ".png" into tFile else put "C:/myFile_0" & i & ".png" into tFile end if go to card i export snapshot from this cd of stack "myStack" to file tFile as PNG end repeat -- To save screenshots as JPEG -- --------------------------------------------------------- set the JPEGQuality to 90 repeat with i = 1 to the number of cards of this stack if i < 10 then put "C:/myFile_00" & i & ".jpg" into tFile else put "C:/myFile_0" & i & ".jpg" into tFile end if go to card i export snapshot from this cd of stack "myStack" to file tFile as JPEG end repeat From livfoss at mac.com Sat Apr 23 05:48:59 2011 From: livfoss at mac.com (Graham Samuel) Date: Sat, 23 Apr 2011 11:48:59 +0200 Subject: Startup message anomaly? Message-ID: <7905C8A8-CD04-4B54-90C5-D800DE31E606@mac.com> Thanks Jacque, I have now written a little app to test on both platforms, and you're right (of course). 'startUp' is sent initially to the first card, and if there's no handler there, or one which passes the message, it then reaches the stack. So the docs are wrong, and I will raise this. However like you I have recently experienced some strange things with the message path - the origin of my idea that things could be different on different platforms - and because of this (it may be made worse by my using Windows under Parallels on my Mac, tho I don't see why) I have written a startup routine for the app I'm working on which is in fact an 'OpenCard' handler, with a custom prop that is used as a switch to prevent it being invoked more than once when the app is run. Pity, because 'startup' always worked for me before. I am also having some other difficulties with making standalones for Mac and Windows simultaneously, where the Windows version seems perhaps to to be using a script from an earlier iteration (cached?) but I have not been able to track it down. Might be another message path issue, but who knows? Graham On Fri, 22 Apr 2011 10:12:52 -0500, "J. Landman Gay" wrote > > On 4/22/11 3:43 AM, Graham Samuel wrote: >> I've been taking the following description of the 'startup' message >> in the LS dictionary literally: >> >>> Sent to the first stack opened when the application starts up. >> >> Well AFAIK the real case is that this is true for a Mac standalone >> but not in a Windows standalone. In the latter case, the message is >> sent to the first CARD of the first stack and not to the stack >> itself. If you put the startup handler in the stack script of the >> mainstack, nothing happens! OTOH a startup handler in the stack >> script of a Mac standalone seems to work OK. >> >> Just in case I'm going crazy, can anyone else confirm this anomaly? >> If so, I'll report it. BTW, I seem to remember that in earlier >> versions of LC/RunRev, it 'startup' was always sent to the card. > > As far as I know, all system messages are always sent to the current > card, including startup, on every OS. It's pretty common to place > handlers in the card script of the first card if you only want them to > run on startup. > > Startup should be passed from the card to the stack normally on any > platform as long as you don't have a blocking handler in the card that > stops it. I think the docs are misleading about where the message is sent. > > That said, I've seen some anomalies lately with the message path that I > can't quite pin down or get a recipe for. From andre at andregarzia.com Sat Apr 23 09:18:48 2011 From: andre at andregarzia.com (Andre Garzia) Date: Sat, 23 Apr 2011 10:18:48 -0300 Subject: [NASTY BUG] many commands are maked on the docs as working on RevServer but they do not In-Reply-To: References: Message-ID: The problem with put headers is that they wont work with url calls. If your script is trying to pull data from elsewhere and process it before displaying it to the user and you need to send custom http headers for this url call, then, right now, the only way is thru shell() and cURL. as for librarystacks with RevServer... well... that would require a new engine. Cheers andre On Fri, Apr 22, 2011 at 7:19 PM, Mike Bonner wrote: > Looks like the docs have server listed for lots of things that aren't there > yet. Think you still have to stick with put header, and put new header. > > Using library stacks also shows server as a supported platform. I assume > this is still not the case? > > E > On Fri, Apr 22, 2011 at 2:25 PM, Andre Garzia > wrote: > > > Folks, > > > > Can anyone comment if libURLSetCustomHTTPHeaders and the HTTPHeaders work > > well with RevServer. On the docs, it says it work on the server > deployment > > but testing on on-rev, I see it not working. In the case > > of libURLSetCustomHTTPHeaders it throws an error. > > > > Andre > > > > -- > > http://www.andregarzia.com All We Do Is Code. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From bill at bluewatermaritime.com Sat Apr 23 09:41:59 2011 From: bill at bluewatermaritime.com (william humphrey) Date: Sat, 23 Apr 2011 09:41:59 -0400 Subject: How to copy a card you can't open - corrupted fonts Message-ID: I just found out why LiveCode would crash whenever I tried to open one of the cards in the stack. It turns out there was a corrupted font being used in the suspect card. Solution (Mac OS): 1. Open Font Suitcase in your app folder. 2. Select all fonts 3. Run the validate fonts command 4. Check off each of the damaged fonts that it finds (write down list if you want to replace them) 5. Delete them This solution also solves a microsoft excel and word crash problem. I don't know how the fonts get corrupted but I found the problem on three separate macs. Each mac had a new version of "Mail Plane" - excellent program but it uses, without crashing, a couple of the suspect fonts. From psahores at free.fr Sat Apr 23 10:19:01 2011 From: psahores at free.fr (Pierre Sahores) Date: Sat, 23 Apr 2011 16:19:01 +0200 Subject: [NASTY BUG] many commands are maked on the docs as working on RevServer but they do not In-Reply-To: References: Message-ID: <846EE2DB-2711-4222-BCD8-69A2F02CA882@free.fr> Andre and all, AFAIK, revServer is, for yet, a great but, still very, very difficult to market, server-side engine. Two things would really help us to help RunRev to promote it : 1.- to see the current revserver cgi-engine be marketed as the final GM1 realize of a BSD2 licensed LC cgi way to code "n-tier" apps. 2.- to see the final revserver application's server engine get out of the RunRev's factory AS SOON AS POSSIBLE as the final GM1 realize as the commercial version of the LC way to code "n-tier" apps in using password protected stack's libraries. Option 1 would greatly help us to defend LC as a credible alternative to Java and PHP in the open-source community and more (universities, our customers,...). Option 2 would greatly help us to protect, in a clean and elegant way, our developments in high-concurency and commercial business environments. I know how hard the team is always working and giving it's best to protect its developer's basis interests. I'm not sure, it's always aware that its leak of a clear visibility and/or strategy about the revserver product commercialization and support timeline is really the best response some of us can rely on, after two years of long waiting for the next to come revserver news. I really hope that announcements and clarifications are planed for the San Jose conference. Other subject still focused to revServer development : one of the best books i found around to learn how to integrate revServer and JQuery can be found there : https://github.com/rmurphey/jqfundamentals Have a nice time, San Jose's traveller's : Kind regards, Pierre > as for librarystacks with RevServer... well... that would require a new > engine. > > Cheers > andre > > On Fri, Apr 22, 2011 at 7:19 PM, Mike Bonner wrote: > >> Looks like the docs have server listed for lots of things that aren't there >> yet. Think you still have to stick with put header, and put new header. >> >> Using library stacks also shows server as a supported platform. I assume >> this is still not the case? > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From bonnmike at gmail.com Sat Apr 23 11:06:30 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 23 Apr 2011 09:06:30 -0600 Subject: [NASTY BUG] many commands are maked on the docs as working on RevServer but they do not In-Reply-To: References: Message-ID: Could probably set up a php script that you pass the desired url, headers and data to and have it make the request, but at that point you might as well just use curl as you have been. * * *The problem with put headers is that they wont work with url calls. If your script is trying to pull data from elsewhere and process it before displaying it to the user and you need to send custom http headers for this url call, then, right now, the only way is thru shell() and cURL.* * * As for a new engine, got my fingers crossed and its been long enough, i'm not sure they'll ever uncross. From gbojsza at gmail.com Sat Apr 23 11:12:44 2011 From: gbojsza at gmail.com (Glen Bojsza) Date: Sat, 23 Apr 2011 09:12:44 -0600 Subject: How to sync multiple functions / routines in parallel Message-ID: Hello, I have a database which I have created several queries for doing archival reports. Now I would like to have all the queries update the reports automatically every 10 seconds. >From what I determined I will need to keep the database connections open while the application is running but I cannot do sequential queuing of the queries because by the time the last query runs it will be out of sync with the earliest query. So, what is the best method to have all queries update every 10 seconds in parallel? Each query will have it's own database connection that is open. For anyone not doing databases this could be a similar problem in nature where one needs to have multiple events for gaming occur in parallel... I have not tried programming any games or anything else surrounding this type of parallism. thanks, Glen From andre at andregarzia.com Sat Apr 23 11:18:21 2011 From: andre at andregarzia.com (Andre Garzia) Date: Sat, 23 Apr 2011 12:18:21 -0300 Subject: Folks, help me test Twitter integration Message-ID: Folks, I am testing part of my RunRevLive session, those of you that have a twitter account could please try to open: http://andregarzia.on-rev.com/runrevlive/session1/ This page will quickly redirect to twitter requesting an authorization to post, if you authorize, it will post to your timeline a message with a programming quote and redirect to twitter.com I am testing an OAuth 1.0 bare bones implementation for RevServer. OAuth 1.0 is really tricky and I think I've reached the point where authorization and posting mostly works but I'd like to test it with other accounts. Nothing is saved. The posting authorization token is not saved on the server and at anytime you can log into twitter and revoke the authorization. Cheers andre PS: This is really pre-alpha stuff right now, so if it explodes, please tell me. -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Sat Apr 23 11:20:31 2011 From: andre at andregarzia.com (Andre Garzia) Date: Sat, 23 Apr 2011 12:20:31 -0300 Subject: Folks, help me test Twitter integration In-Reply-To: References: Message-ID: AAAAARRRGGGGHHHH!!!! damn FTP overwrote the files... it is broken... On Sat, Apr 23, 2011 at 12:18 PM, Andre Garzia wrote: > Folks, > > I am testing part of my RunRevLive session, those of you that have a > twitter account could please try to open: > > http://andregarzia.on-rev.com/runrevlive/session1/ > > This page will quickly redirect to twitter requesting an authorization to > post, if you authorize, it will post to your timeline a message with a > programming quote and redirect to twitter.com > > I am testing an OAuth 1.0 bare bones implementation for RevServer. OAuth > 1.0 is really tricky and I think I've reached the point where authorization > and posting mostly works but I'd like to test it with other accounts. > Nothing is saved. The posting authorization token is not saved on the server > and at anytime you can log into twitter and revoke the authorization. > > Cheers > andre > PS: This is really pre-alpha stuff right now, so if it explodes, please > tell me. > > -- > http://www.andregarzia.com All We Do Is Code. > -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Sat Apr 23 11:31:39 2011 From: andre at andregarzia.com (Andre Garzia) Date: Sat, 23 Apr 2011 12:31:39 -0300 Subject: Folks, help me test Twitter integration In-Reply-To: References: Message-ID: ok, I think it is back online... can someone make a test please? cheers andre On Sat, Apr 23, 2011 at 12:20 PM, Andre Garzia wrote: > AAAAARRRGGGGHHHH!!!! > > damn FTP overwrote the files... > > it is broken... > > > On Sat, Apr 23, 2011 at 12:18 PM, Andre Garzia wrote: > >> Folks, >> >> I am testing part of my RunRevLive session, those of you that have a >> twitter account could please try to open: >> >> http://andregarzia.on-rev.com/runrevlive/session1/ >> >> This page will quickly redirect to twitter requesting an authorization to >> post, if you authorize, it will post to your timeline a message with a >> programming quote and redirect to twitter.com >> >> I am testing an OAuth 1.0 bare bones implementation for RevServer. OAuth >> 1.0 is really tricky and I think I've reached the point where authorization >> and posting mostly works but I'd like to test it with other accounts. >> Nothing is saved. The posting authorization token is not saved on the server >> and at anytime you can log into twitter and revoke the authorization. >> >> Cheers >> andre >> PS: This is really pre-alpha stuff right now, so if it explodes, please >> tell me. >> >> -- >> http://www.andregarzia.com All We Do Is Code. >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Sat Apr 23 11:36:22 2011 From: andre at andregarzia.com (Andre Garzia) Date: Sat, 23 Apr 2011 12:36:22 -0300 Subject: How to sync multiple functions / routines in parallel In-Reply-To: References: Message-ID: Glen, Doing parallel queries will not work from LiveCode since RevExecuteSQL and friends are blocking I think. Your first query will block the engine until it returns right? Andre On Sat, Apr 23, 2011 at 12:12 PM, Glen Bojsza wrote: > Hello, > > I have a database which I have created several queries for doing archival > reports. > > Now I would like to have all the queries update the reports automatically > every 10 seconds. > > From what I determined I will need to keep the database connections open > while the application is running but I cannot do sequential queuing of the > queries because by the time the last query runs it will be out of sync with > the earliest query. > > So, what is the best method to have all queries update every 10 seconds in > parallel? Each query will have it's own database connection that is open. > > For anyone not doing databases this could be a similar problem in nature > where one needs to have multiple events for gaming occur in parallel... I > have not tried programming any games or anything else surrounding this type > of parallism. > > thanks, > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From stephenREVOLUTION2 at barncard.com Sat Apr 23 11:37:37 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 23 Apr 2011 08:37:37 -0700 Subject: Folks, help me test Twitter integration In-Reply-To: References: Message-ID: Andre, I got "{"request":"\/1\/statuses\/update.json","error":"Incorrect signature"} sqb On 23 April 2011 08:18, Andre Garzia wrote: > Folks, > > I am testing part of my RunRevLive session, those of you that have a > twitter > account could please try to open: > > http://andregarzia.on-rev.com/runrevlive/session1/ > > This page will quickly redirect to twitter requesting an authorization to > post, if you authorize, it will post to your timeline a message with a > programming quote and redirect to twitter.com > > I am testing an OAuth 1.0 bare bones implementation for RevServer. OAuth > 1.0 > is really tricky and I think I've reached the point where authorization and > posting mostly works but I'd like to test it with other accounts. Nothing > is > saved. The posting authorization token is not saved on the server and at > anytime you can log into twitter and revoke the authorization. > > Cheers > andre > PS: This is really pre-alpha stuff right now, so if it explodes, please > tell > me. > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From roger.e.eller at sealedair.com Sat Apr 23 11:42:52 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 23 Apr 2011 11:42:52 -0400 Subject: Folks, help me test Twitter integration In-Reply-To: References: Message-ID: On Sat, Apr 23, 2011 at 11:31 AM, Andre Garzia wrote: > ok, I think it is back online... can someone make a test please? > > cheers > andre > It worked for "Amigatech" (my alias). ~Roger From andre at andregarzia.com Sat Apr 23 11:45:23 2011 From: andre at andregarzia.com (Andre Garzia) Date: Sat, 23 Apr 2011 12:45:23 -0300 Subject: Folks, help me test Twitter integration In-Reply-To: References: Message-ID: oops... could you try again please... On Sat, Apr 23, 2011 at 12:37 PM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > Andre, I got "{"request":"\/1\/statuses\/update.json","error":"Incorrect > signature"} > > sqb > > On 23 April 2011 08:18, Andre Garzia wrote: > > > Folks, > > > > I am testing part of my RunRevLive session, those of you that have a > > twitter > > account could please try to open: > > > > http://andregarzia.on-rev.com/runrevlive/session1/ > > > > This page will quickly redirect to twitter requesting an authorization to > > post, if you authorize, it will post to your timeline a message with a > > programming quote and redirect to twitter.com > > > > I am testing an OAuth 1.0 bare bones implementation for RevServer. OAuth > > 1.0 > > is really tricky and I think I've reached the point where authorization > and > > posting mostly works but I'd like to test it with other accounts. Nothing > > is > > saved. The posting authorization token is not saved on the server and at > > anytime you can log into twitter and revoke the authorization. > > > > Cheers > > andre > > PS: This is really pre-alpha stuff right now, so if it explodes, please > > tell > > me. > > > > -- > > http://www.andregarzia.com All We Do Is Code. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > > > > 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.andregarzia.com All We Do Is Code. From sims at ezpzapps.com Sat Apr 23 11:53:32 2011 From: sims at ezpzapps.com (Jim Sims) Date: Sat, 23 Apr 2011 17:53:32 +0200 Subject: Folks, help me test Twitter integration In-Reply-To: References: Message-ID: <772AF4B8-3166-4F99-BAE5-F1A88D6825C7@ezpzapps.com> Andre, I got: {"request":"\/1\/statuses\/update.json","error":"Invalid \/ expired Token"} sims From andre at andregarzia.com Sat Apr 23 12:09:56 2011 From: andre at andregarzia.com (Andre Garzia) Date: Sat, 23 Apr 2011 13:09:56 -0300 Subject: Folks, help me test Twitter integration In-Reply-To: References: Message-ID: Roger, Great!!!! Thanks!!!! Amigatech... I worked with an A4000 in the university and almost bought an A520 couple years ago.... :-D On Sat, Apr 23, 2011 at 12:42 PM, Roger Eller wrote: > On Sat, Apr 23, 2011 at 11:31 AM, Andre Garzia wrote: > > ok, I think it is back online... can someone make a test please? > > > > cheers > > andre > > > > It worked for "Amigatech" (my alias). > > ~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. From andre at andregarzia.com Sat Apr 23 12:10:16 2011 From: andre at andregarzia.com (Andre Garzia) Date: Sat, 23 Apr 2011 13:10:16 -0300 Subject: Folks, help me test Twitter integration In-Reply-To: <772AF4B8-3166-4F99-BAE5-F1A88D6825C7@ezpzapps.com> References: <772AF4B8-3166-4F99-BAE5-F1A88D6825C7@ezpzapps.com> Message-ID: Oops!!! Can you try again sims? Thanks On Sat, Apr 23, 2011 at 12:53 PM, Jim Sims wrote: > Andre, I got: > > > {"request":"\/1\/statuses\/update.json","error":"Invalid \/ expired Token"} > > > sims > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From gbojsza at gmail.com Sat Apr 23 12:18:45 2011 From: gbojsza at gmail.com (gbojsza at gmail.com) Date: Sat, 23 Apr 2011 16:18:45 +0000 Subject: How to sync multiple functions / routines in parallel In-Reply-To: References: Message-ID: <781092895-1303575485-cardhu_decombobulator_blackberry.rim.net-1735130463-@bda647.bisx.prod.on.blackberry> I don't know if this is true or not...any database or rev support people out there? -----Original Message----- From: Andre Garzia Sender: use-livecode-bounces at lists.runrev.com Date: Sat, 23 Apr 2011 12:36:22 To: How to use LiveCode Reply-To: How to use LiveCode Subject: Re: How to sync multiple functions / routines in parallel Glen, Doing parallel queries will not work from LiveCode since RevExecuteSQL and friends are blocking I think. Your first query will block the engine until it returns right? Andre On Sat, Apr 23, 2011 at 12:12 PM, Glen Bojsza wrote: > Hello, > > I have a database which I have created several queries for doing archival > reports. > > Now I would like to have all the queries update the reports automatically > every 10 seconds. > > From what I determined I will need to keep the database connections open > while the application is running but I cannot do sequential queuing of the > queries because by the time the last query runs it will be out of sync with > the earliest query. > > So, what is the best method to have all queries update every 10 seconds in > parallel? Each query will have it's own database connection that is open. > > For anyone not doing databases this could be a similar problem in nature > where one needs to have multiple events for gaming occur in parallel... I > have not tried programming any games or anything else surrounding this type > of parallism. > > thanks, > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Sat Apr 23 12:38:50 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 23 Apr 2011 09:38:50 -0700 Subject: Folks, help me test Twitter integration In-Reply-To: References: <772AF4B8-3166-4F99-BAE5-F1A88D6825C7@ezpzapps.com> Message-ID: still getting {"request":"\/1\/statuses\/update.json","error":"Incorrect signature"} From sims at ezpzapps.com Sat Apr 23 12:45:01 2011 From: sims at ezpzapps.com (Jim Sims) Date: Sat, 23 Apr 2011 18:45:01 +0200 Subject: Folks, help me test Twitter integration In-Reply-To: References: <772AF4B8-3166-4F99-BAE5-F1A88D6825C7@ezpzapps.com> Message-ID: On Apr 23, 2011, at 6:38 PM, stephen barncard wrote: > still getting > > {"request":"\/1\/statuses\/update.json","error":"Incorrect signature"} Same here. sims From psahores at free.fr Sat Apr 23 12:46:41 2011 From: psahores at free.fr (Pierre Sahores) Date: Sat, 23 Apr 2011 18:46:41 +0200 Subject: Folks, help me test Twitter integration In-Reply-To: References: Message-ID: Andre, When i autorize your app, i'm redirected to the following url : http://andregarzia.on-rev.com/runrevlive/session1/twitter/test and the page contains : {"request":"\/1\/statuses\/update.json","error":"Incorrect signature"} Best, Pierre Le 23 avr. 2011 ? 17:18, Andre Garzia a ?crit : > Folks, > > I am testing part of my RunRevLive session, those of you that have a twitter > account could please try to open: > > http://andregarzia.on-rev.com/runrevlive/session1/ > > This page will quickly redirect to twitter requesting an authorization to > post, if you authorize, it will post to your timeline a message with a > programming quote and redirect to twitter.com > > I am testing an OAuth 1.0 bare bones implementation for RevServer. OAuth 1.0 > is really tricky and I think I've reached the point where authorization and > posting mostly works but I'd like to test it with other accounts. Nothing is > saved. The posting authorization token is not saved on the server and at > anytime you can log into twitter and revoke the authorization. > > Cheers > andre > PS: This is really pre-alpha stuff right now, so if it explodes, please tell > me. > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From roger.e.eller at sealedair.com Sat Apr 23 13:14:09 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 23 Apr 2011 13:14:09 -0400 Subject: Folks, help me test Twitter integration In-Reply-To: References: Message-ID: On Sat, Apr 23, 2011 at 12:09 PM, Andre Garzia wrote: > Roger, > > Great!!!! Thanks!!!! > > Amigatech... I worked with an A4000 in the university and almost bought an > A520 couple years ago.... :-D > > On Sat, Apr 23, 2011 at 12:42 PM, Roger Eller > wrote: > >> On Sat, Apr 23, 2011 at 11:31 AM, Andre Garzia wrote: >> > ok, I think it is back online... can someone make a test please? >> > >> > cheers >> > andre >> > >> >> It worked for "Amigatech" (my alias). >> >> ~Roger Still works! ... as I blindly trust your code, you tweeted this to me: ?The trouble with programmers is that you can never tell what a programmer is doing until it?s too late.? (Seymour Cray) ... and I still trust you Andre. I would trust you more if you had bought the Amiga though. ;-) I still have my A4000 with the "Emplant" card which allowed hardware emulation of a Mac Quadra back in its day. ~Roger From bonnmike at gmail.com Sat Apr 23 13:15:25 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 23 Apr 2011 11:15:25 -0600 Subject: How to sync multiple functions / routines in parallel In-Reply-To: <781092895-1303575485-cardhu_decombobulator_blackberry.rim.net-1735130463-@bda647.bisx.prod.on.blackberry> References: <781092895-1303575485-cardhu_decombobulator_blackberry.rim.net-1735130463-@bda647.bisx.prod.on.blackberry> Message-ID: Might be able to do this with a cgi. Use load with callback to send all your requests, when the load is complete, process the results, unload, and resend. Another thought.. if the database is local (maybe even it its not local), might be able to use open process, and use a command line client to process your database queries. Finally, while probably a bad idea, if you're using revdatafromquery, I just tried "SELECT * FROM apps; SELECT * FROM users" sending 2 queries with 1 call and it returned the data from both correctly, and of course in the order they were listed. Still sequential, but sequential handled by the db engine, not rev. Depending on size of datasets and complexity of query, might be something to look at. Another potential problem with this method is the results will all be strung together so you'll have to be able to sort them out yourself. Only tried it on super simple sqlite db so mileage may vary lots On Sat, Apr 23, 2011 at 10:18 AM, wrote: > I don't know if this is true or not...any database or rev support people > out there? > -----Original Message----- > From: Andre Garzia > Sender: use-livecode-bounces at lists.runrev.com > Date: Sat, 23 Apr 2011 12:36:22 > To: How to use LiveCode > Reply-To: How to use LiveCode > Subject: Re: How to sync multiple functions / routines in parallel > > Glen, > > Doing parallel queries will not work from LiveCode since RevExecuteSQL and > friends are blocking I think. Your first query will block the engine until > it returns right? > > Andre > > On Sat, Apr 23, 2011 at 12:12 PM, Glen Bojsza wrote: > > > Hello, > > > > I have a database which I have created several queries for doing archival > > reports. > > > > Now I would like to have all the queries update the reports automatically > > every 10 seconds. > > > > From what I determined I will need to keep the database connections open > > while the application is running but I cannot do sequential queuing of > the > > queries because by the time the last query runs it will be out of sync > with > > the earliest query. > > > > So, what is the best method to have all queries update every 10 seconds > in > > parallel? Each query will have it's own database connection that is open. > > > > For anyone not doing databases this could be a similar problem in nature > > where one needs to have multiple events for gaming occur in parallel... I > > have not tried programming any games or anything else surrounding this > type > > of parallism. > > > > thanks, > > > > Glen > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Sat Apr 23 13:18:16 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 23 Apr 2011 11:18:16 -0600 Subject: Folks, help me test Twitter integration In-Reply-To: References: Message-ID: This, but checked, the connection was established. {"request":"\/1\/statuses\/update.json","error":"Incorrect signature"} On Sat, Apr 23, 2011 at 11:14 AM, Roger Eller wrote: > On Sat, Apr 23, 2011 at 12:09 PM, Andre Garzia wrote: > > Roger, > > > > Great!!!! Thanks!!!! > > > > Amigatech... I worked with an A4000 in the university and almost bought > an > > A520 couple years ago.... :-D > > > > On Sat, Apr 23, 2011 at 12:42 PM, Roger Eller > > wrote: > > > >> On Sat, Apr 23, 2011 at 11:31 AM, Andre Garzia wrote: > >> > ok, I think it is back online... can someone make a test please? > >> > > >> > cheers > >> > andre > >> > > >> > >> It worked for "Amigatech" (my alias). > >> > >> ~Roger > > Still works! ... as I blindly trust your code, you tweeted this to me: > ?The trouble with programmers is that you can never tell what a > programmer is doing until it?s too late.? (Seymour Cray) > > ... and I still trust you Andre. I would trust you more if you had > bought the Amiga though. ;-) > I still have my A4000 with the "Emplant" card which allowed hardware > emulation of a Mac Quadra back in its day. > > ~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 bvg at mac.com Sat Apr 23 13:25:53 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat, 23 Apr 2011 19:25:53 +0200 Subject: Live LiveCode code event #20 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> Message-ID: Half an hour to go! On 22 Apr 2011, at 02:12, Bj?rnke von Gierke wrote: > Hello dearest friends > > It has come to my attention that you have inherited a fortune from the prime minister of absurdistan, who recently succumbed to his heavy case of head lice. Please make contact with me and my colleagues on this saturday, where we can talk about how to transfer the following information to you: > > As part of his presentation about using image data a few weeks ago, Colin showed a simple paint application. Since then, he has improved the performance a lot, to the point that it works well on the iPad. In this presentation he will show what changes needed to be made in order for it to work that well. > http://livecode.tv/colin/ > > Also presenting will be Rolland, who uses LC in his tasks as educator at a university. He will give you an overview about a few of his LC solutions, including polling, student management, chatting and creating video comments. > http://livecode.tv/rolland/ > > Please make the contact at these times: > Kathmandu Sat 23:45 > Oslo Sat 20:00 > Boston Sat 14:00 > Seattle Sat 11:00 > Perth Sun 02:00 > > To get the valuables, simply transfer to ChatRev. Get it here: > http://bjoernke.com/chatrev/ > or enter in the message box: > go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" > > For recordings of past events, visit the blog: > http://livecode.tv/ > > Cheers > Bj?rnke > > -- > > official ChatRev page: > http://bjoernke.com/chatrev > > > Chat with other RunRev developers: > go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gbojsza at gmail.com Sat Apr 23 13:32:03 2011 From: gbojsza at gmail.com (Glen Bojsza) Date: Sat, 23 Apr 2011 11:32:03 -0600 Subject: How to sync multiple functions / routines in parallel In-Reply-To: References: <781092895-1303575485-cardhu_decombobulator_blackberry.rim.net-1735130463-@bda647.bisx.prod.on.blackberry> Message-ID: The database and application are on the same system so this is a plus. I like the idea of sending 2 queries because for several queries the results will be a know number returned (ie I want the top 5 or top 10 results) so this can possibly solve 50% of the queries. When using revdatafromquery you identify the connectionID so I guess if I open 5 separate database connections and send queries to all of them at the same time I know that the database can handle multiple simultaneous queries through multiple connections so the remaining question is: is there some form of limitation by rev / livecode with this approach? On Sat, Apr 23, 2011 at 11:15 AM, Mike Bonner wrote: > Might be able to do this with a cgi. Use load with callback to send all > your > requests, when the load is complete, process the results, unload, and > resend. > > Another thought.. if the database is local (maybe even it its not local), > might be able to use open process, and use a command line client to process > your database queries. > > Finally, while probably a bad idea, if you're using revdatafromquery, I > just > tried "SELECT * FROM apps; SELECT * FROM users" sending 2 queries with 1 > call and it returned the data from both correctly, and of course in the > order they were listed. Still sequential, but sequential handled by the db > engine, not rev. Depending on size of datasets and complexity of query, > might be something to look at. Another potential problem with this method > is > the results will all be strung together so you'll have to be able to sort > them out yourself. Only tried it on super simple sqlite db so mileage may > vary lots > > On Sat, Apr 23, 2011 at 10:18 AM, wrote: > > > I don't know if this is true or not...any database or rev support people > > out there? > > -----Original Message----- > > From: Andre Garzia > > Sender: use-livecode-bounces at lists.runrev.com > > Date: Sat, 23 Apr 2011 12:36:22 > > To: How to use LiveCode > > Reply-To: How to use LiveCode > > Subject: Re: How to sync multiple functions / routines in parallel > > > > Glen, > > > > Doing parallel queries will not work from LiveCode since RevExecuteSQL > and > > friends are blocking I think. Your first query will block the engine > until > > it returns right? > > > > Andre > > > > On Sat, Apr 23, 2011 at 12:12 PM, Glen Bojsza wrote: > > > > > Hello, > > > > > > I have a database which I have created several queries for doing > archival > > > reports. > > > > > > Now I would like to have all the queries update the reports > automatically > > > every 10 seconds. > > > > > > From what I determined I will need to keep the database connections > open > > > while the application is running but I cannot do sequential queuing of > > the > > > queries because by the time the last query runs it will be out of sync > > with > > > the earliest query. > > > > > > So, what is the best method to have all queries update every 10 seconds > > in > > > parallel? Each query will have it's own database connection that is > open. > > > > > > For anyone not doing databases this could be a similar problem in > nature > > > where one needs to have multiple events for gaming occur in parallel... > I > > > have not tried programming any games or anything else surrounding this > > type > > > of parallism. > > > > > > thanks, > > > > > > Glen > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > > > -- > > http://www.andregarzia.com All We Do Is Code. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From roger.e.eller at sealedair.com Sat Apr 23 14:02:28 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 23 Apr 2011 14:02:28 -0400 Subject: [OT] Commodore 64 with Ubuntu 10.04 Message-ID: Check out this Modern-Retro all-in-one computer: http://www.commodoreusa.net/CUSA_C64.aspx ~Roger From mcgrath3 at mac.com Sat Apr 23 14:08:40 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sat, 23 Apr 2011 14:08:40 -0400 Subject: Folks, help me test Twitter integration In-Reply-To: References: Message-ID: <971519B4-CEAA-4FA1-89AD-AAAA200C03EB@mac.com> {"request":"\/1\/statuses\/update.json","error":"Incorrect signature"} -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Apr 23, 2011, at 11:18 AM, Andre Garzia wrote: > Folks, > > I am testing part of my RunRevLive session, those of you that have a twitter > account could please try to open: > > http://andregarzia.on-rev.com/runrevlive/session1/ > > This page will quickly redirect to twitter requesting an authorization to > post, if you authorize, it will post to your timeline a message with a > programming quote and redirect to twitter.com > > I am testing an OAuth 1.0 bare bones implementation for RevServer. OAuth 1.0 > is really tricky and I think I've reached the point where authorization and > posting mostly works but I'd like to test it with other accounts. Nothing is > saved. The posting authorization token is not saved on the server and at > anytime you can log into twitter and revoke the authorization. > > Cheers > andre > PS: This is really pre-alpha stuff right now, so if it explodes, please tell > me. > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sat Apr 23 14:28:32 2011 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 23 Apr 2011 21:28:32 +0300 Subject: [OT] Commodore 64 with Ubuntu 10.04 In-Reply-To: References: Message-ID: <4DB31A50.1040705@gmail.com> On 04/23/2011 09:02 PM, Roger Eller wrote: > Check out this Modern-Retro all-in-one computer: > > http://www.commodoreusa.net/CUSA_C64.aspx > > ~Roger Very tempting, if a bit expensive. From davidocoker at gmail.com Sat Apr 23 14:34:36 2011 From: davidocoker at gmail.com (David C.) Date: Sat, 23 Apr 2011 13:34:36 -0500 Subject: [OT] Commodore 64 with Ubuntu 10.04 In-Reply-To: References: Message-ID: On Sat, Apr 23, 2011 at 1:02 PM, Roger Eller wrote: > Check out this Modern-Retro all-in-one computer: > > http://www.commodoreusa.net/CUSA_C64.aspx > > ~Roger Hi Roger, I ran across the new Commodore's a few months ago and signed up to be emailed once they are officially released. I started computing with a Vic20, then graduated up to the C64, which I used all the way up into the 90's. Since I am also a Linux fan, that could be the perfect setup for me... and I've been drooling ever since I ran across the new models. :) Unfortunately, i had a bout with heart surgery a few weeks ago that has taken it's toll financially, so I really doubt that I'll ever get to own one. :( If anyone on the list gets one, I'd love to here your hands on descriptions!! Best regards, David C. From bonnmike at gmail.com Sat Apr 23 15:26:36 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 23 Apr 2011 13:26:36 -0600 Subject: How to sync multiple functions / routines in parallel In-Reply-To: References: <781092895-1303575485-cardhu_decombobulator_blackberry.rim.net-1735130463-@bda647.bisx.prod.on.blackberry> Message-ID: There is probably a way to do what you want directly with a single select but i'm a beginner to middlin of all trades, master of none. Have another silly idea at the bottom, but heres more on the current questions. I think as long as you put a semicolon between queries, and don't put a trailing semicolon, you might be able to send all 10 at once. I don't know if it would be any faster this way, would require testing. Pretty sure revdatafromquery is blocking. So to test you might time 10 individual revdatafromqueries in a row, vs 1 with 10 requests inclusive. see if theres a gain. The responses are still going to be sequential in this case. Starting to sound to me like the issue is that a) you need to grab all the data, fast, and process all of it within your 10 second time frame. And you can't be processing while you're grabbing a query, so any query time is basically lost processing time. If this is the case, and you MUST hit that 10 second mark or less, you may need to benchmark your parts and then see which you can optimize the most. My guess is the queries themselves are very very fast, so there might be some gain to be had elsewhere. If you're not using the internal sqlite driver, the open process option might work best for this. Have never really did much with process control though, so not much help. The silly idea (that is way beyond me) is this. If as you say, you have 10 queries to run, create a query engine who's job it is to only perform a single query. It will need some way of interprocess communication so it can talk to the controller. If network, looking at chatrev might give some ideas on this. Build this app. Build a controller whose job it is to process the data of the query engines. Set up its communcation stuff so it can receive data from the query agents. To launch a query agent, copy the agent itself to a temp location with a unique name name designating the query to perform. (could use the filename or the seconds or whatever you wish in the query agent to determine agent id) My vision is this Controller is started. It starts, and logs in 10 unique agents, agents are then told to start querying, each completed query is sent back to the controller for processing. This way, each agent runs in its own sandbox (can't just be substacks, must be fully built standalones) each process can be doing its own thing, with the controller processing. Since these are only selects, it should be safe to do this with sqlite i think. If using a dbserver that can be accessed from a web server, its easier. just the controller needs to be created, plus simple queries from a local web server that can access the database. untested, but hopefully you get the idea. controller starts --sends the requests command sendrequests global numOfRequests,requestCount -- globals to see if a request segment is complete put 10 into numOfrequests -- set this to how many query requests there will be put 1 into requestCount -- set counter to first query load URL "http://yourfirst.unique.query.url" with "loadcomplete" -- start loading queries load URL "http://yournext.unique.query.url" with "loadcomplete" -- however many queries you need. end sendrequests command loadComplete turl global numOfRequests,requestCount -- same globals put URL tUrl into tData -- t url is set by the engine during the callback procesyourdatahere -- of course, this is where you process unload tUrl -- need to unload the unique url so that it will reload fresh data the next time if requestCount = numOfRequests then-- check of all current loop of queries are complete sendrequests -- if all queries are complete, start a new batch put 1 into requestCount -- reset the counter else add 1 to requestCount -- if more need to complete, increment the counter end if end loadComplete Untried, needs cleanup, but its an option. And webservers are really good at multiple requests. Be aware, if you're accessing large amounts of data, each cached page takes up memory, when you pull the data from the cached url, that takes up memory too. Its possible to bring a machine to a grinding halt of you're not careful. As long as you aren't storing cumulative data in your stack (Ie, processing it and writing to a file) then probably are fine. If however, you um. don't *cough* the server will most likely be happy and fine, but the app and system go boom. Not that I've done this. From todd at geistinteractive.com Sat Apr 23 16:39:25 2011 From: todd at geistinteractive.com (Todd Geist) Date: Sat, 23 Apr 2011 13:39:25 -0700 Subject: iOS Services Message-ID: Hello, I was wondering if iOS services are supported with Live Code. I am not sure if "services" are the right word, but what I am looking for is the ability to send a message to my iOS app from another app. For Example FileMaker Go allows you to use what is called the FMPScript protocol to call a FileMaker script in a FileMaker Go file.. You simply use a special URL to call the script. Can you register a specific protocol with your iOS device? Thanks Todd Todd Geist ------------------------------ geist interactve 805-419-9382 From gbojsza at gmail.com Sat Apr 23 17:11:51 2011 From: gbojsza at gmail.com (Glen Bojsza) Date: Sat, 23 Apr 2011 15:11:51 -0600 Subject: How to sync multiple functions / routines in parallel In-Reply-To: References: <781092895-1303575485-cardhu_decombobulator_blackberry.rim.net-1735130463-@bda647.bisx.prod.on.blackberry> Message-ID: Good thoughts on approaches... I am starting down the rabbit hole! thanks On Sat, Apr 23, 2011 at 1:26 PM, Mike Bonner wrote: > There is probably a way to do what you want directly with a single select > but i'm a beginner to middlin of all trades, master of none. Have another > silly idea at the bottom, but heres more on the current questions. > > I think as long as you put a semicolon between queries, and don't put a > trailing semicolon, you might be able to send all 10 at once. I don't know > if it would be any faster this way, would require testing. > > Pretty sure revdatafromquery is blocking. So to test you might time 10 > individual revdatafromqueries in a row, vs 1 with 10 requests inclusive. > see if theres a gain. The responses are still going to be sequential in > this case. > > Starting to sound to me like the issue is that a) you need to grab all the > data, fast, and process all of it within your 10 second time frame. And you > can't be processing while you're grabbing a query, so any query time is > basically lost processing time. > > If this is the case, and you MUST hit that 10 second mark or less, you may > need to benchmark your parts and then see which you can optimize the most. > My guess is the queries themselves are very very fast, so there might be > some gain to be had elsewhere. > > If you're not using the internal sqlite driver, the open process option > might work best for this. Have never really did much with process control > though, so not much help. > > > The silly idea (that is way beyond me) is this. If as you say, you have 10 > queries to run, create a query engine who's job it is to only perform a > single query. It will need some way of interprocess communication so it > can > talk to the controller. If network, looking at chatrev might give some > ideas > on this. Build this app. > > Build a controller whose job it is to process the data of the query > engines. > Set up its communcation stuff so it can receive data from the query agents. > To launch a query agent, copy the agent itself to a temp location with a > unique name name designating the query to perform. (could use the filename > or the seconds or whatever you wish in the query agent to determine agent > id) > > My vision is this > Controller is started. It starts, and logs in 10 unique agents, agents are > then told to start querying, each completed query is sent back to the > controller for processing. This way, each agent runs in its own sandbox > (can't just be substacks, must be fully built standalones) each process can > be doing its own thing, with the controller processing. Since these are > only > selects, it should be safe to do this with sqlite i think. > > If using a dbserver that can be accessed from a web server, its easier. > just > the controller needs to be created, plus simple queries from a local web > server that can access the database. untested, but hopefully you get the > idea. > > controller starts > > --sends the requests > command sendrequests > global numOfRequests,requestCount -- globals to see if a request segment is > complete > put 10 into numOfrequests -- set this to how many query requests there will > be > put 1 into requestCount -- set counter to first query > load URL "http://yourfirst.unique.query.url" with "loadcomplete" -- start > loading queries > load URL "http://yournext.unique.query.url" with "loadcomplete" -- however > many queries you need. > end sendrequests > > command loadComplete turl > global numOfRequests,requestCount -- same globals > put URL tUrl into tData -- t url is set by the engine during the callback > procesyourdatahere -- of course, this is where you process > unload tUrl -- need to unload the unique url so that it will reload fresh > data the next time > if requestCount = numOfRequests then-- check of all current loop of queries > are complete > sendrequests -- if all queries are complete, start a new batch > put 1 into requestCount -- reset the counter > else > add 1 to requestCount -- if more need to complete, increment the counter > end if > end loadComplete > > Untried, needs cleanup, but its an option. And webservers are really good > at > multiple requests. > > Be aware, if you're accessing large amounts of data, each cached page takes > up memory, when you pull the data from the cached url, that takes up memory > too. Its possible to bring a machine to a grinding halt of you're not > careful. As long as you aren't storing cumulative data in your stack (Ie, > processing it and writing to a file) then probably are fine. If however, > you > um. don't *cough* the server will most likely be happy and fine, but the > app > and system go boom. Not that I've done this. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Apr 23 18:30:04 2011 From: andre at andregarzia.com (andre at andregarzia.com) Date: Sat, 23 Apr 2011 19:30:04 -0300 Subject: At the airport, NeXT stop usa Message-ID: <8CFE2F5D-33F7-4F48-8212-BD36DCA4EEE6@andregarzia.com> Hey Folks, I am at Rio de Janeiro International Airport waiting for boarding. See you all soon!!! Ps: this airport is horrible... Enviado via iPhone From ambassador at fourthworld.com Sat Apr 23 18:34:29 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 23 Apr 2011 15:34:29 -0700 Subject: At the airport, NeXT stop usa In-Reply-To: <8CFE2F5D-33F7-4F48-8212-BD36DCA4EEE6@andregarzia.com> References: <8CFE2F5D-33F7-4F48-8212-BD36DCA4EEE6@andregarzia.com> Message-ID: <4DB353F5.60208@fourthworld.com> andre wrote: > Hey Folks, > > I am at Rio de Janeiro International Airport waiting for boarding. > > See you all soon!!! Safe travels, and I hope you brushed up on your Spanish. ;) -- 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 Sat Apr 23 18:45:31 2011 From: andre at andregarzia.com (andre at andregarzia.com) Date: Sat, 23 Apr 2011 19:45:31 -0300 Subject: At the airport, NeXT stop usa In-Reply-To: <4DB353F5.60208@fourthworld.com> References: <8CFE2F5D-33F7-4F48-8212-BD36DCA4EEE6@andregarzia.com> <4DB353F5.60208@fourthworld.com> Message-ID: <3282A8E3-2F5D-47C6-8C88-AFB2BD53128D@andregarzia.com> I am entering via Miami, it will be spanish sitcom all over again Me: "am from Brasil..." Officer: "ustedes habla espanhol?" And then I start crying... Enviado via iPhone Em 23/04/2011, ?s 19:34, Richard Gaskin escreveu: > andre wrote: > >> Hey Folks, >> >> I am at Rio de Janeiro International Airport waiting for boarding. >> >> See you all soon!!! > > Safe travels, and I hope you brushed up on your Spanish. ;) > > -- > 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 jimaultwins at yahoo.com Sat Apr 23 18:47:15 2011 From: jimaultwins at yahoo.com (Jim Ault) Date: Sat, 23 Apr 2011 15:47:15 -0700 Subject: At the airport, NeXT stop usa In-Reply-To: <4DB353F5.60208@fourthworld.com> References: <8CFE2F5D-33F7-4F48-8212-BD36DCA4EEE6@andregarzia.com> <4DB353F5.60208@fourthworld.com> Message-ID: On Apr 23, 2011, at 3:34 PM, Richard Gaskin wrote: > andre wrote: > >> Hey Folks, >> >> I am at Rio de Janeiro International Airport waiting for boarding. >> >> See you all soon!!! > > Safe travels, and I hope you brushed up on your Spanish. ;) > > -- > Richard Gaskin Yes, like pronouncing San Jose. Jim Ault Las Vegas From gbojsza at gmail.com Sat Apr 23 20:09:00 2011 From: gbojsza at gmail.com (Glen Bojsza) Date: Sat, 23 Apr 2011 18:09:00 -0600 Subject: List Magic doesn't register Message-ID: Hello, I am trying to use List Magic but when I enter my registration code I get the message that List Magic is unlocked and should show registered version in the title bar... it doesn't even after repeated attempts. There is an excution error message generated referring to stack SSSLMLib. It would be nice to get this working as it was included with the Livecode bundle... thanks, Glen From jhj at jhj.com Sat Apr 23 20:12:35 2011 From: jhj at jhj.com (Jerry J) Date: Sat, 23 Apr 2011 17:12:35 -0700 Subject: At the airport, NeXT stop usa In-Reply-To: <4DB353F5.60208@fourthworld.com> References: <8CFE2F5D-33F7-4F48-8212-BD36DCA4EEE6@andregarzia.com> <4DB353F5.60208@fourthworld.com> Message-ID: <3D9D73D7-B345-4EAA-88F7-7235F43C61AB@jhj.com> On Apr 23, 2011, at 3:34 PM, Richard Gaskin wrote: > andre wrote: > >> Hey Folks, >> >> I am at Rio de Janeiro International Airport waiting for boarding. >> >> See you all soon!!! > > Safe travels, and I hope you brushed up on your Spanish. ;) And that you don't have to go to Chicago again! --Jerry Jensen From coiin at verizon.net Sat Apr 23 20:33:12 2011 From: coiin at verizon.net (Colin Holgate) Date: Sat, 23 Apr 2011 20:33:12 -0400 Subject: At the airport, NeXT stop usa In-Reply-To: <3D9D73D7-B345-4EAA-88F7-7235F43C61AB@jhj.com> References: <8CFE2F5D-33F7-4F48-8212-BD36DCA4EEE6@andregarzia.com> <4DB353F5.60208@fourthworld.com> <3D9D73D7-B345-4EAA-88F7-7235F43C61AB@jhj.com> Message-ID: On Apr 23, 2011, at 8:12 PM, Jerry J wrote: > And that you don't have to go to Chicago again! Speaking of which, is anyone here going to be on the American Airlines flight 827 that goes from Chicago to San Jose at 7:10pm on Monday? From bonnmike at gmail.com Sat Apr 23 20:52:55 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 23 Apr 2011 18:52:55 -0600 Subject: List Magic doesn't register In-Reply-To: References: Message-ID: I think this is the right address for list magic support. support at SoSmartSoftware.com Or this one jim at visitrieve.com According to a post on the forums, Jim Bulfalini is the support person to contact for list magic. Just tried it here too (versions 1.1.3 and 1.1.4) same thing. If it phones home to register, wondering if something needs a reset on the other end. On Sat, Apr 23, 2011 at 6:09 PM, Glen Bojsza wrote: > Hello, > > I am trying to use List Magic but when I enter my registration code I get > the message that List Magic is unlocked and should show registered version > in the title bar... it doesn't even after repeated attempts. > > There is an excution error message generated referring to stack SSSLMLib. > > It would be nice to get this working as it was included with the Livecode > bundle... > > thanks, > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From gbojsza at gmail.com Sat Apr 23 21:11:50 2011 From: gbojsza at gmail.com (Glen Bojsza) Date: Sat, 23 Apr 2011 19:11:50 -0600 Subject: List Magic doesn't register In-Reply-To: References: Message-ID: I've tried both a while ago without any response. If it is being sold by Runrev off their site maybe will support it or know who to contact? On Sat, Apr 23, 2011 at 6:52 PM, Mike Bonner wrote: > I think this is the right address for list magic support. > support at SoSmartSoftware.com > Or this one jim at visitrieve.com According to a post on the forums, Jim > Bulfalini is the support person to contact for list magic. > > Just tried it here too (versions 1.1.3 and 1.1.4) same thing. If it phones > home to register, wondering if something needs a reset on the other end. > > On Sat, Apr 23, 2011 at 6:09 PM, Glen Bojsza wrote: > > > Hello, > > > > I am trying to use List Magic but when I enter my registration code I get > > the message that List Magic is unlocked and should show registered > version > > in the title bar... it doesn't even after repeated attempts. > > > > There is an excution error message generated referring to stack SSSLMLib. > > > > It would be nice to get this working as it was included with the Livecode > > bundle... > > > > thanks, > > > > Glen > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dick.kriesel at mail.com Sat Apr 23 21:23:36 2011 From: dick.kriesel at mail.com (Dick Kriesel) Date: Sat, 23 Apr 2011 18:23:36 -0700 Subject: How to sync multiple functions / routines in parallel In-Reply-To: Message-ID: On 4/23/11 2:11 PM, "Glen Bojsza" wrote: > Good thoughts on approaches... I am starting down the rabbit hole! > > thanks Once down in the hole, you can run a second database, feed it the transaction stream ten seconds delayed, pause the stream while you execute queries with time-consistent results, then let it catch back up to the ten second delay. Say Hi to the Mad Hatter for me. -- Dick From bonnmike at gmail.com Sat Apr 23 22:17:44 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 23 Apr 2011 20:17:44 -0600 Subject: List Magic doesn't register In-Reply-To: References: Message-ID: Yeah, probably the best option to check. Thinking maybe if this is a phone home registration, maybe something went poof. On Sat, Apr 23, 2011 at 7:11 PM, Glen Bojsza wrote: > I've tried both a while ago without any response. > > If it is being sold by Runrev off their site maybe will support it or know > who to contact? > > > > On Sat, Apr 23, 2011 at 6:52 PM, Mike Bonner wrote: > > > I think this is the right address for list magic support. > > support at SoSmartSoftware.com > > Or this one jim at visitrieve.com According to a post on the forums, Jim > > Bulfalini is the support person to contact for list magic. > > > > Just tried it here too (versions 1.1.3 and 1.1.4) same thing. If it > phones > > home to register, wondering if something needs a reset on the other end. > > > > On Sat, Apr 23, 2011 at 6:09 PM, Glen Bojsza wrote: > > > > > Hello, > > > > > > I am trying to use List Magic but when I enter my registration code I > get > > > the message that List Magic is unlocked and should show registered > > version > > > in the title bar... it doesn't even after repeated attempts. > > > > > > There is an excution error message generated referring to stack > SSSLMLib. > > > > > > It would be nice to get this working as it was included with the > Livecode > > > bundle... > > > > > > thanks, > > > > > > Glen > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 23 22:47:28 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 23 Apr 2011 19:47:28 -0700 (PDT) Subject: [ANN] Quartam PDF Library goes open source In-Reply-To: <106206.5429.qm@web65406.mail.ac4.yahoo.com> References: <106206.5429.qm@web65406.mail.ac4.yahoo.com> Message-ID: <1303613248717-3471000.post@n4.nabble.com> Hi Jan, Your release of Quartam PDF Library as open source is a landmarking decision that clears and opens a whole new path for applications created in this platform. Clearly, I interpret your decision as a leap of faith. Faith in your fellow developers. In the name of all of them, I say Thanks. :-) Hopefully, every developer in this platform will take the necessary time to download and study in detail your library. You should feel reassured that this time would be well spend learning to use one of the finest libraries released in this platform. These weblinks contains additional material that will encourage a better understanding and use of the PDF publishing platform, as defined in ISO 32000-1 standard (based upon PDF 1.7) http://www.adobe.com/devnet/pdf/pdf_reference.html http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/pdf/pdfs/PDF32000_2008.pdf http://es.scribd.com/doc/15490725/PDF-Hacks-by-OReilly-Media Thanks again! Keep Up this landmarking work! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-Quartam-PDF-Library-goes-open-source-tp3466681p3471000.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Sat Apr 23 22:57:28 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 23 Apr 2011 19:57:28 -0700 (PDT) Subject: How to copy a card you can't open - corrupted fonts In-Reply-To: References: Message-ID: <1303613848489-3471013.post@n4.nabble.com> Hi William, Do you remember the font names? Ideally, instead of deleting the fonts the fonts creators should receive a copy of these fonts. In this way, they could fix the font problems and verify exactly the origin of these errors. This is really important. Could you recover these deleted fonts? Have a nice weekend! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Re-How-to-copy-a-card-you-can-t-open-corrupted-fonts-tp3469978p3471013.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Sat Apr 23 22:59:15 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 23 Apr 2011 19:59:15 -0700 (PDT) Subject: How to copy a card you can't open - corrupted fonts In-Reply-To: References: Message-ID: <1303613955923-3471018.post@n4.nabble.com> Hi William, Do you remember the font names? Ideally, instead of deleting the fonts the fonts creators should receive a copy of these fonts. In this way, they could fix the font problems and verify exactly the origin of these errors. This is really important. Could you recover these deleted fonts? Have a nice weekend! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Re-How-to-copy-a-card-you-can-t-open-corrupted-fonts-tp3469978p3471018.html Sent from the Revolution - User mailing list archive at Nabble.com. From janschenkel at yahoo.com Sun Apr 24 04:16:02 2011 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun, 24 Apr 2011 01:16:02 -0700 (PDT) Subject: At the airport, NeXT stop usa In-Reply-To: Message-ID: <614800.93227.qm@web65412.mail.ac4.yahoo.com> --- On Sat, 4/23/11, Colin Holgate wrote: > > On Apr 23, 2011, at 8:12 PM, Jerry J wrote: > > > And that you don't have to go to Chicago again! > > > Speaking of which, is anyone here going to be on the > American Airlines flight 827 that goes from Chicago to San > Jose at 7:10pm on Monday? > Hi Colin, I'll be on that flight - after flying the Atlantic Pond arriving in Chicago O'Hare around 1PM, so we could meet up way before the flight :) Cheers, Jan. 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 scott at elementarysoftware.com Sun Apr 24 05:52:45 2011 From: scott at elementarysoftware.com (Scott Morrow) Date: Sun, 24 Apr 2011 02:52:45 -0700 Subject: At the airport, NeXT stop usa In-Reply-To: <8CFE2F5D-33F7-4F48-8212-BD36DCA4EEE6@andregarzia.com> References: <8CFE2F5D-33F7-4F48-8212-BD36DCA4EEE6@andregarzia.com> Message-ID: <01EFDCE5-763A-4B9C-A36F-06095658D92A@elementarysoftware.com> Where are you sending your luggage? : ) On Apr 23, 2011, at 3:30 PM, andre at andregarzia.com wrote: > Hey Folks, > > I am at Rio de Janeiro International Airport waiting for boarding. > > See you all soon!!! > > Ps: this airport is horrible... > > Enviado via iPhone > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Sun Apr 24 07:47:49 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 24 Apr 2011 04:47:49 -0700 (PDT) Subject: Folks, help me test Twitter integration In-Reply-To: References: Message-ID: <1303645669201-3471353.post@n4.nabble.com> Hi Andre, Andre Garzia-3 wrote: > > Amigatech... I worked with an A4000 in the university and almost bought an > A520 couple years ago.... :-D > Nice coincidence! My first computer almost was an Amiga 1000. But they were impossible to found, even on backorder. Finally, I had to settle for a Macintosh were I first meet HyperCard, then MetaCard and our actual place in Runtime Revolution. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Folks-help-me-test-Twitter-integration-tp3470148p3471353.html Sent from the Revolution - User mailing list archive at Nabble.com. From roger.e.eller at sealedair.com Sun Apr 24 08:14:00 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 24 Apr 2011 08:14:00 -0400 Subject: Folks, help me test Twitter integration In-Reply-To: <1303645669201-3471353.post@n4.nabble.com> References: <1303645669201-3471353.post@n4.nabble.com> Message-ID: On Sun, Apr 24, 2011 at 7:47 AM, Alejandro Tejada wrote: > > Hi Andre, > > > Andre Garzia-3 wrote: > > > > Amigatech... I worked with an A4000 in the university and almost bought an > > A520 couple years ago.... :-D > > > > Nice coincidence! My first computer almost was an Amiga 1000. > But they were impossible to found, even on backorder. > Finally, I had to settle for a Macintosh were I first meet HyperCard, > then MetaCard and our actual place in Runtime Revolution. > > Al > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Folks-help-me-test-Twitter-integration-tp3470148p3471353.html Believe it or not, you 'might' have still found the path which leads to LiveCode anyway. I remember messing around with HyperCard on a Mac at work, then on my Amiga at home was an authoring software called "Foundation". There was no import from HC, but I could save my scripts in a text file on the Mac, and "Foundation" would use those scripts with no modification in many cases. I haven't seen that dev environment since then, and the name is so generalized, I can't find any online references to it either. It was very cool though. ~Roger From andre at andregarzia.com Sun Apr 24 09:39:50 2011 From: andre at andregarzia.com (Andre Garzia) Date: Sun, 24 Apr 2011 10:39:50 -0300 Subject: At the airport, NeXT stop usa In-Reply-To: <01EFDCE5-763A-4B9C-A36F-06095658D92A@elementarysoftware.com> References: <8CFE2F5D-33F7-4F48-8212-BD36DCA4EEE6@andregarzia.com> <01EFDCE5-763A-4B9C-A36F-06095658D92A@elementarysoftware.com> Message-ID: Finally got internet at some airport, right now I am at Dallas FTW waiting for AA1347 that should take me to san jose. My luggage has free will and might end up somewhere else, one day my luggage will go to a totally different conference and be a speaker there. :-D Anyone arriving on SJC in about 4 hours? On Sun, Apr 24, 2011 at 6:52 AM, Scott Morrow wrote: > Where are you sending your luggage? : ) > > On Apr 23, 2011, at 3:30 PM, andre at andregarzia.com wrote: > > > Hey Folks, > > > > I am at Rio de Janeiro International Airport waiting for boarding. > > > > See you all soon!!! > > > > Ps: this airport is horrible... > > > > Enviado via iPhone > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From mcgrath3 at mac.com Sun Apr 24 10:36:21 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sun, 24 Apr 2011 10:36:21 -0400 Subject: At the airport, NeXT stop usa In-Reply-To: References: <8CFE2F5D-33F7-4F48-8212-BD36DCA4EEE6@andregarzia.com> <01EFDCE5-763A-4B9C-A36F-06095658D92A@elementarysoftware.com> Message-ID: <0980F81F-7AC3-495D-A5AF-60A7833CD2C9@mac.com> I wish I was there Andre.... Will be on the simulcast asking questions.... -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Apr 24, 2011, at 9:39 AM, Andre Garzia wrote: > Finally got internet at some airport, right now I am at Dallas FTW waiting > for AA1347 that should take me to san jose. > > My luggage has free will and might end up somewhere else, one day my luggage > will go to a totally different conference and be a speaker there. > > :-D > > Anyone arriving on SJC in about 4 hours? > > On Sun, Apr 24, 2011 at 6:52 AM, Scott Morrow > wrote: > >> Where are you sending your luggage? : ) >> >> On Apr 23, 2011, at 3:30 PM, andre at andregarzia.com wrote: >> >>> Hey Folks, >>> >>> I am at Rio de Janeiro International Airport waiting for boarding. >>> >>> See you all soon!!! >>> >>> Ps: this airport is horrible... >>> >>> Enviado via iPhone >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andre at andregarzia.com Sun Apr 24 11:32:44 2011 From: andre at andregarzia.com (Andre Garzia) Date: Sun, 24 Apr 2011 12:32:44 -0300 Subject: At the airport, NeXT stop usa In-Reply-To: <0980F81F-7AC3-495D-A5AF-60A7833CD2C9@mac.com> References: <8CFE2F5D-33F7-4F48-8212-BD36DCA4EEE6@andregarzia.com> <01EFDCE5-763A-4B9C-A36F-06095658D92A@elementarysoftware.com> <0980F81F-7AC3-495D-A5AF-60A7833CD2C9@mac.com> Message-ID: I hope that you direct only the easy questions to me.... Hey, Inflight internet... wifi with wings... On Sun, Apr 24, 2011 at 11:36 AM, Thomas McGrath III wrote: > I wish I was there Andre.... > > Will be on the simulcast asking questions.... > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > > On Apr 24, 2011, at 9:39 AM, Andre Garzia wrote: > > > Finally got internet at some airport, right now I am at Dallas FTW > waiting > > for AA1347 that should take me to san jose. > > > > My luggage has free will and might end up somewhere else, one day my > luggage > > will go to a totally different conference and be a speaker there. > > > > :-D > > > > Anyone arriving on SJC in about 4 hours? > > > > On Sun, Apr 24, 2011 at 6:52 AM, Scott Morrow > > wrote: > > > >> Where are you sending your luggage? : ) > >> > >> On Apr 23, 2011, at 3:30 PM, andre at andregarzia.com wrote: > >> > >>> Hey Folks, > >>> > >>> I am at Rio de Janeiro International Airport waiting for boarding. > >>> > >>> See you all soon!!! > >>> > >>> Ps: this airport is horrible... > >>> > >>> Enviado via iPhone > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > > > > -- > > http://www.andregarzia.com All We Do Is Code. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From warrenkuhl at gmail.com Sun Apr 24 12:55:46 2011 From: warrenkuhl at gmail.com (Warren Kuhl) Date: Sun, 24 Apr 2011 11:55:46 -0500 Subject: RunRev Application Message-ID: Is there a way to prevent multiple occurrences of a RunRev application to open? Thanks, Warren From admin at FlexibleLearning.com Sun Apr 24 13:13:57 2011 From: admin at FlexibleLearning.com (FlexibleLearning) Date: Sun, 24 Apr 2011 18:13:57 +0100 Subject: RunRev Application In-Reply-To: Message-ID: Hi Warren, This is for Windows, but the same principle should work on a Mac also. >From The Scripter's Scrapbook (www.ssbk.co.uk): Detecting a second instance of an application under Windows. You create a 'known' file on the system disk somewhere and open it with a lock - if the file isn't there or isn't locked, it means the engine isn't currently running. "The lock is owned by the currently running instance of the engine and is there just in case the running instance 'goes away' without deleting the file. On Windows, locks are always cleaned up when an application quits - so a second instance of an engine can always detect if there is already an instance running by first checking for existence and then trying to delete the file if present - if the delete succeeds it means the owning instance has indeed 'gone away'. "IIRC, at present the lock is just implemented via keeping an open file handle with a given share-mode - although, just keeping the file open would probably suffice now that I come to think of it (all files opened by an application are also implicitly closed on exit). "Anyway, the idea behind the 'lock' idea is that it ensures you can (without fail) detect if there is a running instance - even if a previous instance has left its identifying file behind by mistake." ------------------ Sample by FLCo for Revolution... on startUp local dummy put specialFolderPath(35) &"/myAppDummy" into dummy if there is a file dummy then delete file dummy if the result is not empty then answer "2nd Instance" with "QUIT" quit end if end if open file dummy end startUp on closeStack local dummy put specialFolderPath(35) &"/myAppDummy" into dummy delete file dummy end closeStack ------------------------------ On Sun, 24 Apr 2011 11:55:46 Warren Kuhl wrote: Is there a way to prevent multiple occurrences of a RunRev application to open? Thanks, Warren From klaus at major.on-rev.com Sun Apr 24 13:15:52 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sun, 24 Apr 2011 19:15:52 +0200 Subject: RunRev Application In-Reply-To: References: Message-ID: Hi Warren. > Is there a way to prevent multiple occurrences of a RunRev application to > open? Yep! :-) Add this handler to your mainstack/standalone: on relaunch ## NADA end relaunch Not passing "realunch" will cause the other instance to be terminated! Check the docs for more info. Happy easter :-) > Thanks, > Warren Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From david_beck at rotundasoftware.com Sun Apr 24 13:19:21 2011 From: david_beck at rotundasoftware.com (David Beck) Date: Sun, 24 Apr 2011 10:19:21 -0700 Subject: libURL hangs after getting response with keep-alive, header In-Reply-To: References: Message-ID: <4DB45B99.9060600@rotundasoftware.com> Hi Dave, Thanks for you help. If I send a "Connection: close" with the httpHeaders, everything works as expected with no hang. In this case, by using using the logging feature in libURL, I could see that the response header have "connection: close" instead of "connection: keep-alive". It looks like there are several places were libURL tests for the "Connection: close" header in the response, but I don't see it testing for a "keep-alive" header anywhere. Should I log this as a bug? Thanks! David use-livecode-request at lists.runrev.com wrote: > Message: 6 > Date: Fri, 22 Apr 2011 20:15:52 +0100 > From: Dave Cragg > To: How to use LiveCode > Subject: Re: libURL hangs after getting response with keep-alive > header > Message-ID:<7CDF3B9D-EEF9-4A6E-BBB5-0F77EB14CCF2 at lacscentre.co.uk> > Content-Type: text/plain; charset=us-ascii > > David > > As an after thought.. > > Does it help if you set the httpHeaders to "Connection: close"? > > Dave > > > On 22 Apr 2011, at 20:00, David Beck wrote: > >> > >> > Before I report this as a bug, maybe somebody can shine some light on what is going on here. >> > >> > It looks like libURL hangs after getting a response with a "Connection: keep-alive" in it. It pretty much freeze up the entire IDE, except for the message box, which you can use to unfreeze everything in most cases by issuing the "resetall" command. >> > >> > Shouldn't it just treat it as a "Connection: close" header, if it does not support keeping connections alive? >> > >> > Also, it sounds like in HTTP1.1, the default is that all connections are kept alive, unless a "Connection: close" header is sent with the request. Therefore, shouldn't libURL be sending that "Connection: close" header, since it doesn't support keep-alive? >> > >> > Thanks in advance, >> > >> > David Beck >> > From ambassador at fourthworld.com Sun Apr 24 13:19:40 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 24 Apr 2011 10:19:40 -0700 Subject: RunRev Application In-Reply-To: References: Message-ID: <4DB45BAC.9030304@fourthworld.com> Warren Kuhl wrote: > Is there a way to prevent multiple occurrences of a RunRev application to > open? See the relaunch message in the Dictionary. -- 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 todd at geistinteractive.com Sun Apr 24 13:51:57 2011 From: todd at geistinteractive.com (Todd Geist) Date: Sun, 24 Apr 2011 10:51:57 -0700 Subject: lopping through controls in a group Message-ID: Hello, I am looking for a way to loop through controls in a group. This seems like this should be easy to do but I can't find anything in the docs. Can somebody point me at somer examples or perhaps post a snippet of code? Thanks Todd Todd Geist ------------------------------ geist interactive 805-419-9382 From dixonja at hotmail.co.uk Sun Apr 24 14:02:37 2011 From: dixonja at hotmail.co.uk (John Dixon) Date: Sun, 24 Apr 2011 19:02:37 +0100 Subject: lopping through controls in a group In-Reply-To: References: Message-ID: Hi Todd... put the number of controls of group X into whatever repeat with count = 1 to the number of controls of group X do whatever end repeat Be well > From: todd at geistinteractive.com > Hello, > > I am looking for a way to loop through controls in a group. This seems like > this should be easy to do but I can't find anything in the docs. Can > somebody point me at somer examples or perhaps post a snippet of code? From jimaultwins at yahoo.com Sun Apr 24 14:03:29 2011 From: jimaultwins at yahoo.com (Jim Ault) Date: Sun, 24 Apr 2011 11:03:29 -0700 Subject: lopping through controls in a group In-Reply-To: References: Message-ID: <9194661D-4EDE-47A3-B7F3-8024AE9AD476@yahoo.com> On Apr 24, 2011, at 10:51 AM, Todd Geist wrote: > I am looking for a way to loop through controls in a group. This > seems like > this should be easy to do but I can't find anything in the docs. Can > somebody point me at somer examples or perhaps post a snippet of code? > Do a Google for "the number of controls" livecode and you will see several hits on runrev.com and for older info "the number of controls" revolution and you will get email list archives ..and be sure to include the quotes in order to look for the whole string Jim Ault Las Vegas From pete at mollysrevenge.com Sun Apr 24 14:07:55 2011 From: pete at mollysrevenge.com (Pete) Date: Sun, 24 Apr 2011 11:07:55 -0700 Subject: lopping through controls in a group In-Reply-To: References: Message-ID: repeat with count=1 to the number of controls in group --do stuff with control count of group end repeat Might be more efficient o put the count of controls in the group into a variable then reference the variable in the repeat statement Pete Molly's Revenge On Sun, Apr 24, 2011 at 10:51 AM, Todd Geist wrote: > Hello, > > I am looking for a way to loop through controls in a group. This seems like > this should be easy to do but I can't find anything in the docs. Can > somebody point me at somer examples or perhaps post a snippet of code? > > 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 > > From todd at geistinteractive.com Sun Apr 24 14:33:26 2011 From: todd at geistinteractive.com (Todd Geist) Date: Sun, 24 Apr 2011 11:33:26 -0700 Subject: lopping through controls in a group In-Reply-To: References: Message-ID: Thanks everyone, I had tried several variations on "the count of controls" but it never "the number" I knew it had to be easy. Thanks Todd On Sun, Apr 24, 2011 at 11:02 AM, John Dixon wrote: > > Hi Todd... > > put the number of controls of group X into whatever > > repeat with count = 1 to the number of controls of group X > do whatever > end repeat > > Be well > > > From: todd at geistinteractive.com > > Hello, > > > > I am looking for a way to loop through controls in a group. This seems > like > > this should be easy to do but I can't find anything in the docs. Can > > somebody point me at somer examples or perhaps post a snippet of code? > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > Todd Geist ------------------------------ geist interactive 805-419-9382 From stephenREVOLUTION2 at barncard.com Sun Apr 24 14:36:40 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 24 Apr 2011 11:36:40 -0700 Subject: At the airport, NeXT stop usa In-Reply-To: References: <8CFE2F5D-33F7-4F48-8212-BD36DCA4EEE6@andregarzia.com> <01EFDCE5-763A-4B9C-A36F-06095658D92A@elementarysoftware.com> <0980F81F-7AC3-495D-A5AF-60A7833CD2C9@mac.com> Message-ID: Welcome back to sunny California! On 24 April 2011 08:32, Andre Garzia wrote: > I hope that you direct only the easy questions to me.... > > Hey, Inflight internet... wifi with wings... > > On Sun, Apr 24, 2011 at 11:36 AM, Thomas McGrath III >wrote: > > > I wish I was there Andre.... > > > > Will be on the simulcast asking questions.... > > > > -- Tom McGrath III > > http://lazyriver.on-rev.com > > 3mcgrath at comcast.net > > > Stephen Barncard San Francisco Ca. USA more about sqb From capellan2000 at gmail.com Sun Apr 24 14:49:27 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 24 Apr 2011 11:49:27 -0700 (PDT) Subject: Folks, help me test Twitter integration In-Reply-To: References: <1303645669201-3471353.post@n4.nabble.com> Message-ID: <1303670967374-3471905.post@n4.nabble.com> Hi Roger, Roger Eller wrote: > > Believe it or not, you 'might' have still found the path which leads > to LiveCode anyway. I remember messing around with HyperCard on a Mac > at work, then on my Amiga at home was an authoring software called > "Foundation". There was no import from HC, but I could save my > scripts in a text file on the Mac, and "Foundation" would use those > scripts with no modification in many cases. I haven't seen that dev > environment since then, and the name is so generalized, I can't find > any online references to it either. It was very cool though. > It's the first time that I read about this software. After searching a lot, I found: Foundation (authoring system) $50.00 in this page: http://www.commodorecomputercenter.com/amigasw.htm ;-) Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Folks-help-me-test-Twitter-integration-tp3470148p3471905.html Sent from the Revolution - User mailing list archive at Nabble.com. From dave.cragg at lacscentre.co.uk Sun Apr 24 15:16:10 2011 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Sun, 24 Apr 2011 20:16:10 +0100 Subject: libURL hangs after getting response with keep-alive, header In-Reply-To: <4DB45B99.9060600@rotundasoftware.com> References: <4DB45B99.9060600@rotundasoftware.com> Message-ID: <90DA0FEC-BFE3-48B7-AB1C-370AF94A23B4@lacscentre.co.uk> On 24 Apr 2011, at 18:19, David Beck wrote: > If I send a "Connection: close" with the httpHeaders, everything works as expected with no hang. In this case, by using using the logging feature in libURL, I could see that the response header have "connection: close" instead of "connection: keep-alive". This is at it should be. Under HTTP 1.1, both sides of the connection must respect the "Connection: close" header. So if the server receives a "Connection: close" header, it is required to close the connection after completing the request, and send Connection: close in its response. > It looks like there are several places were libURL tests for the "Connection: close" header in the response, but I don't see it testing for a "keep-alive" header anywhere. > > Should I log this as a bug? I don't think so, at least not specifically with regard to the keep-alive thing. There is no requirement to check for "keep-alive" headers, and as libUrl will try to re-use connections by default (following the HTTP 1.1 spec) it would serve no purpose. The reason I suggested trying the "Connection: close" header in your request is that there appears to be a bug (in past versions of the engine anyway) that affects the way the openSockets list is maintained. I filed a bug report in the past about a reproducible bug affecting Windows where closed sockets are not always removed from the openSockets list. It is a little complicated to reproduce, and at the time I only saw it on Windows. But I guess it's possible that there may be circumstances where it occurs on other platforms. (I can't access the bug database right now to check the status.) In this case, the problem would occur when your application, after receiving a response from the server, does some intensive activity in a repeat loop, and during that activity, the server closes the connection. On a subsequent request to the server, the connection may still be listed in the openSockets and libUrl will try to use it. I've heard of some other cases where using Connection: close helps, but I was never able to reproduce the problem. It may be that libUrl is remiss in the way it handles these situations. But my memory is that it is difficult for libUrl to immediately detect an error when writing to a socket that the engine believes is open. If it works, using "Connection: close" is probably an acceptable solution for most cases. I think that many virtual servers these days close the connection after each request anyway. I guess someone has calculated the trade-off between having to open a new connection each time and keeping connections open but unused. Cheers Dave From andre at andregarzia.com Sun Apr 24 16:45:39 2011 From: andre at andregarzia.com (Andre Garzia) Date: Sun, 24 Apr 2011 17:45:39 -0300 Subject: arrived at the conference hotel Message-ID: Folks, I am here at the conference hotel, if anyone else is already here, I will be walking around trying to keep warm because this is too chilly for my taste! :-D -- http://www.andregarzia.com All We Do Is Code. From stephenREVOLUTION2 at barncard.com Sun Apr 24 17:02:25 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 24 Apr 2011 14:02:25 -0700 Subject: arrived at the conference hotel In-Reply-To: References: Message-ID: And you didn't bring a coat? This is NORTHERN California, dude! On 24 April 2011 13:45, Andre Garzia wrote: > Folks, > > I am here at the conference hotel, if anyone else is already here, I will > be > walking around trying to keep warm because this is too chilly for my taste! > > :-D > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From johnny at southshore.com Sun Apr 24 17:02:58 2011 From: johnny at southshore.com (Johnny Harris) Date: Sun, 24 Apr 2011 16:02:58 -0500 Subject: List Magic doesn't register In-Reply-To: References: Message-ID: <2583FEFB7D544D5180302A5F31D89513@johnnys7> Hello, Glad I read this. I wasn't even aware of the list control. I bought the bundle a couple of months ago. I just installed List Magic with no problems on Windows 7. JHarris -----Original Message----- From: Glen Bojsza Sent: Saturday, April 23, 2011 7:09 PM To: How to use LiveCode Subject: List Magic doesn't register Hello, I am trying to use List Magic but when I enter my registration code I get the message that List Magic is unlocked and should show registered version in the title bar... it doesn't even after repeated attempts. There is an excution error message generated referring to stack SSSLMLib. It would be nice to get this working as it was included with the Livecode bundle... thanks, Glen _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From gbojsza at gmail.com Sun Apr 24 17:52:00 2011 From: gbojsza at gmail.com (Glen Bojsza) Date: Sun, 24 Apr 2011 15:52:00 -0600 Subject: List Magic doesn't register In-Reply-To: <2583FEFB7D544D5180302A5F31D89513@johnnys7> References: <2583FEFB7D544D5180302A5F31D89513@johnnys7> Message-ID: Were you able to register it... paste your serial number into List Magic and have it recognize it (the title bar changes to "Registered Version"). I have discovered that by using an old version of Rev (4.0) that List Magic Registers but not when I try it under Livecode 4.6. On Sun, Apr 24, 2011 at 3:02 PM, Johnny Harris wrote: > Hello, > > Glad I read this. I wasn't even aware of the list control. I bought the > bundle a couple of months ago. > I just installed List Magic with no problems on Windows 7. > > JHarris > > -----Original Message----- From: Glen Bojsza > Sent: Saturday, April 23, 2011 7:09 PM > > To: How to use LiveCode > Subject: List Magic doesn't register > > > Hello, > > I am trying to use List Magic but when I enter my registration code I get > the message that List Magic is unlocked and should show registered version > in the title bar... it doesn't even after repeated attempts. > > There is an excution error message generated referring to stack SSSLMLib. > > It would be nice to get this working as it was included with the Livecode > bundle... > > thanks, > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Apr 24 18:16:05 2011 From: bill at bluewatermaritime.com (william humphrey) Date: Sun, 24 Apr 2011 18:16:05 -0400 Subject: How to copy a card you can't open - corrupted fonts In-Reply-To: <1303613955923-3471018.post@n4.nabble.com> References: <1303613955923-3471018.post@n4.nabble.com> Message-ID: I deleted every font that was corrupted and then went ahead and used stuff fine. There was only one font that I missed and that was "Arial Regular" and I re-installed that from another computer. There were about six damaged fonts. I didn't even consider there might be a font creator out there somewhere that would be interested. They were True type fonts so I think that's Apple in some kind of deal with Microsoft. On Sat, Apr 23, 2011 at 10:59 PM, Alejandro Tejada wrote: > Hi William, > > Do you remember the font names? > > Ideally, instead of deleting the fonts > the fonts creators should receive a > copy of these fonts. > > In this way, they could fix the > font problems and verify exactly > the origin of these errors. > > This is really important. > Could you recover these deleted fonts? > > Have a nice weekend! > > Al > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Re-How-to-copy-a-card-you-can-t-open-corrupted-fonts-tp3469978p3471018.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.bluewatermaritime.com From mpetrides at earthlink.net Sun Apr 24 19:23:39 2011 From: mpetrides at earthlink.net (Petrides, M.D. Marian) Date: Sun, 24 Apr 2011 18:23:39 -0500 Subject: arrived at the conference hotel In-Reply-To: References: Message-ID: Welcome back to the USA, Andre. If it's any consolation, this weather is too chilly for just about everyone. It's been a wretched winter throughout the US and now it just won't take the hint and go away already. :-) On Apr 24, 2011, at 3:45 PM, Andre Garzia wrote: > Folks, > > I am here at the conference hotel, if anyone else is already here, I will be > walking around trying to keep warm because this is too chilly for my taste! > > :-D > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From johnny at southshore.com Sun Apr 24 19:27:23 2011 From: johnny at southshore.com (Johnny Harris) Date: Sun, 24 Apr 2011 18:27:23 -0500 Subject: List Magic doesn't register In-Reply-To: References: <2583FEFB7D544D5180302A5F31D89513@johnnys7> Message-ID: I am using LiveCode 4.6 and List Magic 1.1.4. I've closed and opened LiveCode and List Magic several times now and it always comes up registered in the title bar - (ListMagic 1.1.4 - Registered Version). I just started LiveCode 4.5.3 and opened ListMagic; it shows registered, as it should. jharris -----Original Message----- From: Glen Bojsza Sent: Sunday, April 24, 2011 4:52 PM To: How to use LiveCode Subject: Re: List Magic doesn't register Were you able to register it... paste your serial number into List Magic and have it recognize it (the title bar changes to "Registered Version"). I have discovered that by using an old version of Rev (4.0) that List Magic Registers but not when I try it under Livecode 4.6. On Sun, Apr 24, 2011 at 3:02 PM, Johnny Harris wrote: > Hello, > > Glad I read this. I wasn't even aware of the list control. I bought the > bundle a couple of months ago. > I just installed List Magic with no problems on Windows 7. > > JHarris > > -----Original Message----- From: Glen Bojsza > Sent: Saturday, April 23, 2011 7:09 PM > > To: How to use LiveCode > Subject: List Magic doesn't register > > > Hello, > > I am trying to use List Magic but when I enter my registration code I get > the message that List Magic is unlocked and should show registered version > in the title bar... it doesn't even after repeated attempts. > > There is an excution error message generated referring to stack SSSLMLib. > > It would be nice to get this working as it was included with the Livecode > bundle... > > thanks, > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Sun Apr 24 20:01:53 2011 From: coiin at verizon.net (Colin Holgate) Date: Sun, 24 Apr 2011 20:01:53 -0400 Subject: arrived at the conference hotel In-Reply-To: References: Message-ID: <530F2BBC-6786-4C11-AE7D-EC09DBC9E4FF@verizon.net> On Apr 24, 2011, at 7:23 PM, Petrides, M.D. Marian wrote: > Welcome back to the USA, Andre. If it's any consolation, this weather is too chilly for just about everyone. It's been a wretched winter throughout the US and now it just won't take the hint and go away already. :-) It was up to 79 degrees in NYC today, and the whole week is due to be pleasant enough, both here and in San Jose. The range for the week in San Jose is 64-70 degrees. From pete at mollysrevenge.com Sun Apr 24 20:08:02 2011 From: pete at mollysrevenge.com (Pete) Date: Sun, 24 Apr 2011 17:08:02 -0700 Subject: Linked List Code Message-ID: By chance, does anyone have an LC script for handling a linked list (navigating, inserting, deleting)? Pete Molly's Revenge From mpetrides at earthlink.net Sun Apr 24 20:08:14 2011 From: mpetrides at earthlink.net (Petrides, M.D. Marian) Date: Sun, 24 Apr 2011 19:08:14 -0500 Subject: arrived at the conference hotel In-Reply-To: <530F2BBC-6786-4C11-AE7D-EC09DBC9E4FF@verizon.net> References: <530F2BBC-6786-4C11-AE7D-EC09DBC9E4FF@verizon.net> Message-ID: <499C07B7-209D-45DF-B0E0-FA28F44B531A@earthlink.net> Rub it in, why don't you. ;-) It 55-ish and overcast, with severe storms in the forecast here in the heartland. On Apr 24, 2011, at 7:01 PM, Colin Holgate wrote: > > On Apr 24, 2011, at 7:23 PM, Petrides, M.D. Marian wrote: > >> Welcome back to the USA, Andre. If it's any consolation, this weather is too chilly for just about everyone. It's been a wretched winter throughout the US and now it just won't take the hint and go away already. :-) > > It was up to 79 degrees in NYC today, and the whole week is due to be pleasant enough, both here and in San Jose. The range for the week in San Jose is 64-70 degrees. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Sun Apr 24 20:10:58 2011 From: mwieder at ahsoftware.net (mwieder at ahsoftware.net) Date: Sun, 24 Apr 2011 19:10:58 -0500 Subject: Linked List Code In-Reply-To: References: Message-ID: <3d574615cc56b55932fba6a3367d5bfa.squirrel@odin.on-rev.com> > By chance, does anyone have an LC script for handling a linked list > (navigating, inserting, deleting)? Singly or doubly linked? From scott at tactilemedia.com Sun Apr 24 20:16:19 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 24 Apr 2011 17:16:19 -0700 Subject: arrived at the conference hotel In-Reply-To: Message-ID: Recently, Andre Garzia wrote: > I am here at the conference hotel, if anyone else is already here, I will be > walking around trying to keep warm because this is too chilly for my taste! Your bags arrived at my house. I'll bring them on Tuesday. Regards, Scott Rossi Creative Director Tactile Media, UX Design From gbojsza at gmail.com Sun Apr 24 20:25:39 2011 From: gbojsza at gmail.com (Glen Bojsza) Date: Sun, 24 Apr 2011 18:25:39 -0600 Subject: List Magic doesn't register In-Reply-To: References: <2583FEFB7D544D5180302A5F31D89513@johnnys7> Message-ID: I can't get Livecode 4.6 and List Magic to register on two different OS X systems 10.6.3 and 10.6.6. Are you on Windows or OS X? On Sun, Apr 24, 2011 at 5:27 PM, Johnny Harris wrote: > I am using LiveCode 4.6 and List Magic 1.1.4. I've closed and opened > LiveCode and List Magic > several times now and it always comes up registered in the title bar - > (ListMagic 1.1.4 - Registered Version). > I just started LiveCode 4.5.3 and opened ListMagic; it shows registered, as > it should. > > jharris > > > > -----Original Message----- From: Glen Bojsza > Sent: Sunday, April 24, 2011 4:52 PM > > To: How to use LiveCode > Subject: Re: List Magic doesn't register > > > Were you able to register it... paste your serial number into List Magic > and > have it recognize it (the title bar changes to "Registered Version"). > > I have discovered that by using an old version of Rev (4.0) that List Magic > Registers but not when I try it under Livecode 4.6. > > > > On Sun, Apr 24, 2011 at 3:02 PM, Johnny Harris >wrote: > > Hello, >> >> Glad I read this. I wasn't even aware of the list control. I bought the >> bundle a couple of months ago. >> I just installed List Magic with no problems on Windows 7. >> >> JHarris >> >> -----Original Message----- From: Glen Bojsza >> Sent: Saturday, April 23, 2011 7:09 PM >> >> To: How to use LiveCode >> Subject: List Magic doesn't register >> >> >> Hello, >> >> I am trying to use List Magic but when I enter my registration code I get >> the message that List Magic is unlocked and should show registered version >> in the title bar... it doesn't even after repeated attempts. >> >> There is an excution error message generated referring to stack SSSLMLib. >> >> It would be nice to get this working as it was included with the Livecode >> bundle... >> >> thanks, >> >> Glen >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jimaultwins at yahoo.com Sun Apr 24 20:29:52 2011 From: jimaultwins at yahoo.com (Jim Ault) Date: Sun, 24 Apr 2011 17:29:52 -0700 Subject: arrived at the conference hotel In-Reply-To: References: Message-ID: <6ADB952A-52FD-47C7-9F24-F407AC5CD125@yahoo.com> On Apr 24, 2011, at 5:16 PM, Scott Rossi wrote: > Recently, Andre Garzia wrote: > >> I am here at the conference hotel, if anyone else is already here, >> I will be >> walking around trying to keep warm because this is too chilly for >> my taste! > > Your bags arrived at my house. I'll bring them on Tuesday. > If they contain 3 sweaters and a long pair of pants, Andre will *buy* them back from you. Jim Ault Las Vegas From todd at geistinteractive.com Sun Apr 24 21:10:34 2011 From: todd at geistinteractive.com (Todd Geist) Date: Sun, 24 Apr 2011 18:10:34 -0700 Subject: Custom URL Scheme Message-ID: Does live Code support registering a custom URL scheme? As described here http://developer.apple.com/library/ios/#documentation/iphone/conceptual/iphoneosprogrammingguide/StandardBehaviors/StandardBehaviors.html under "Communicating with Other Applications" Todd Todd Geist ------------------------------ geist interactive 805-419-9382 From bonnmike at gmail.com Sun Apr 24 21:11:20 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 24 Apr 2011 19:11:20 -0600 Subject: List Magic doesn't register In-Reply-To: References: <2583FEFB7D544D5180302A5F31D89513@johnnys7> Message-ID: I have the same problem here, and am on win 7. On Sun, Apr 24, 2011 at 6:25 PM, Glen Bojsza wrote: > I can't get Livecode 4.6 and List Magic to register on two different OS X > systems 10.6.3 and 10.6.6. > > Are you on Windows or OS X? > > On Sun, Apr 24, 2011 at 5:27 PM, Johnny Harris >wrote: > > > I am using LiveCode 4.6 and List Magic 1.1.4. I've closed and opened > > LiveCode and List Magic > > several times now and it always comes up registered in the title bar - > > (ListMagic 1.1.4 - Registered Version). > > I just started LiveCode 4.5.3 and opened ListMagic; it shows registered, > as > > it should. > > > > jharris > > > > > > > > -----Original Message----- From: Glen Bojsza > > Sent: Sunday, April 24, 2011 4:52 PM > > > > To: How to use LiveCode > > Subject: Re: List Magic doesn't register > > > > > > Were you able to register it... paste your serial number into List Magic > > and > > have it recognize it (the title bar changes to "Registered Version"). > > > > I have discovered that by using an old version of Rev (4.0) that List > Magic > > Registers but not when I try it under Livecode 4.6. > > > > > > > > On Sun, Apr 24, 2011 at 3:02 PM, Johnny Harris > >wrote: > > > > Hello, > >> > >> Glad I read this. I wasn't even aware of the list control. I bought the > >> bundle a couple of months ago. > >> I just installed List Magic with no problems on Windows 7. > >> > >> JHarris > >> > >> -----Original Message----- From: Glen Bojsza > >> Sent: Saturday, April 23, 2011 7:09 PM > >> > >> To: How to use LiveCode > >> Subject: List Magic doesn't register > >> > >> > >> Hello, > >> > >> I am trying to use List Magic but when I enter my registration code I > get > >> the message that List Magic is unlocked and should show registered > version > >> in the title bar... it doesn't even after repeated attempts. > >> > >> There is an excution error message generated referring to stack > SSSLMLib. > >> > >> It would be nice to get this working as it was included with the > Livecode > >> bundle... > >> > >> thanks, > >> > >> Glen > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at mollysrevenge.com Sun Apr 24 21:17:51 2011 From: pete at mollysrevenge.com (Pete) Date: Sun, 24 Apr 2011 18:17:51 -0700 Subject: Linked List Code In-Reply-To: <3d574615cc56b55932fba6a3367d5bfa.squirrel@odin.on-rev.com> References: <3d574615cc56b55932fba6a3367d5bfa.squirrel@odin.on-rev.com> Message-ID: Doubly would be best. Pete Molly's Revenge On Sun, Apr 24, 2011 at 5:10 PM, wrote: > > By chance, does anyone have an LC script for handling a linked list > > (navigating, inserting, deleting)? > > Singly or doubly linked? > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From mwieder at ahsoftware.net Sun Apr 24 22:14:14 2011 From: mwieder at ahsoftware.net (mwieder at ahsoftware.net) Date: Sun, 24 Apr 2011 21:14:14 -0500 Subject: At the airport, NeXT stop usa In-Reply-To: References: <8CFE2F5D-33F7-4F48-8212-BD36DCA4EEE6@andregarzia.com> <01EFDCE5-763A-4B9C-A36F-06095658D92A@elementarysoftware.com> Message-ID: <66c42a378624631bc5d21abdb1f533ae.squirrel@odin.on-rev.com> > My luggage has free will and might end up somewhere else, one day my > luggage > will go to a totally different conference and be a speaker there. http://www.msnbc.msn.com/id/42592119/ns/travel-travel_tips/ -- Mark Wieder From johnny at southshore.com Sun Apr 24 22:31:45 2011 From: johnny at southshore.com (Johnny Harris) Date: Sun, 24 Apr 2011 21:31:45 -0500 Subject: List Magic doesn't register In-Reply-To: References: <2583FEFB7D544D5180302A5F31D89513@johnnys7> Message-ID: <45C11D1871544796A9D407F6407D92F2@johnnys7> I am using Windows 7. -----Original Message----- From: Glen Bojsza Sent: Sunday, April 24, 2011 7:25 PM To: How to use LiveCode Subject: Re: List Magic doesn't register I can't get Livecode 4.6 and List Magic to register on two different OS X systems 10.6.3 and 10.6.6. Are you on Windows or OS X? On Sun, Apr 24, 2011 at 5:27 PM, Johnny Harris wrote: > I am using LiveCode 4.6 and List Magic 1.1.4. I've closed and opened > LiveCode and List Magic > several times now and it always comes up registered in the title bar - > (ListMagic 1.1.4 - Registered Version). > I just started LiveCode 4.5.3 and opened ListMagic; it shows registered, > as > it should. > > jharris > > > > -----Original Message----- From: Glen Bojsza > Sent: Sunday, April 24, 2011 4:52 PM > > To: How to use LiveCode > Subject: Re: List Magic doesn't register > > > Were you able to register it... paste your serial number into List Magic > and > have it recognize it (the title bar changes to "Registered Version"). > > I have discovered that by using an old version of Rev (4.0) that List > Magic > Registers but not when I try it under Livecode 4.6. > > > > On Sun, Apr 24, 2011 at 3:02 PM, Johnny Harris >wrote: > > Hello, >> >> Glad I read this. I wasn't even aware of the list control. I bought the >> bundle a couple of months ago. >> I just installed List Magic with no problems on Windows 7. >> >> JHarris >> >> -----Original Message----- From: Glen Bojsza >> Sent: Saturday, April 23, 2011 7:09 PM >> >> To: How to use LiveCode >> Subject: List Magic doesn't register >> >> >> Hello, >> >> I am trying to use List Magic but when I enter my registration code I get >> the message that List Magic is unlocked and should show registered >> version >> in the title bar... it doesn't even after repeated attempts. >> >> There is an excution error message generated referring to stack SSSLMLib. >> >> It would be nice to get this working as it was included with the Livecode >> bundle... >> >> thanks, >> >> Glen >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at 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 Sun Apr 24 22:41:22 2011 From: gbojsza at gmail.com (Glen Bojsza) Date: Sun, 24 Apr 2011 20:41:22 -0600 Subject: List Magic doesn't register In-Reply-To: <45C11D1871544796A9D407F6407D92F2@johnnys7> References: <2583FEFB7D544D5180302A5F31D89513@johnnys7> <45C11D1871544796A9D407F6407D92F2@johnnys7> Message-ID: I suspect that when Livecode when to storing the files inside the package contents and not a folder has caused List Magic not to be able to store a registration file as before. This would also be the reason it never successfully registers on Linux as it needs to be root. On Sun, Apr 24, 2011 at 8:31 PM, Johnny Harris wrote: > I am using Windows 7. > > > -----Original Message----- From: Glen Bojsza > Sent: Sunday, April 24, 2011 7:25 PM > > To: How to use LiveCode > Subject: Re: List Magic doesn't register > > I can't get Livecode 4.6 and List Magic to register on two different OS X > systems 10.6.3 and 10.6.6. > > Are you on Windows or OS X? > > On Sun, Apr 24, 2011 at 5:27 PM, Johnny Harris >wrote: > > I am using LiveCode 4.6 and List Magic 1.1.4. I've closed and opened >> LiveCode and List Magic >> several times now and it always comes up registered in the title bar - >> (ListMagic 1.1.4 - Registered Version). >> I just started LiveCode 4.5.3 and opened ListMagic; it shows registered, >> as >> it should. >> >> jharris >> >> >> >> -----Original Message----- From: Glen Bojsza >> Sent: Sunday, April 24, 2011 4:52 PM >> >> To: How to use LiveCode >> Subject: Re: List Magic doesn't register >> >> >> Were you able to register it... paste your serial number into List Magic >> and >> have it recognize it (the title bar changes to "Registered Version"). >> >> I have discovered that by using an old version of Rev (4.0) that List >> Magic >> Registers but not when I try it under Livecode 4.6. >> >> >> >> On Sun, Apr 24, 2011 at 3:02 PM, Johnny Harris > >wrote: >> >> Hello, >> >>> >>> Glad I read this. I wasn't even aware of the list control. I bought the >>> bundle a couple of months ago. >>> I just installed List Magic with no problems on Windows 7. >>> >>> JHarris >>> >>> -----Original Message----- From: Glen Bojsza >>> Sent: Saturday, April 23, 2011 7:09 PM >>> >>> To: How to use LiveCode >>> Subject: List Magic doesn't register >>> >>> >>> Hello, >>> >>> I am trying to use List Magic but when I enter my registration code I get >>> the message that List Magic is unlocked and should show registered >>> version >>> in the title bar... it doesn't even after repeated attempts. >>> >>> There is an excution error message generated referring to stack SSSLMLib. >>> >>> It would be nice to get this working as it was included with the Livecode >>> bundle... >>> >>> thanks, >>> >>> Glen >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Apr 24 23:39:26 2011 From: warrenkuhl at gmail.com (Warren Kuhl) Date: Sun, 24 Apr 2011 22:39:26 -0500 Subject: RunRev Application In-Reply-To: <4DB45BAC.9030304@fourthworld.com> References: <4DB45BAC.9030304@fourthworld.com> Message-ID: Klaus/Richard, Thanks for pointing me in the right direction. This is exactly what I was looking for. Hope you had a Great Easter Weekend! Warren On Sun, Apr 24, 2011 at 12:19 PM, Richard Gaskin wrote: > Warren Kuhl wrote: > > > Is there a way to prevent multiple occurrences of a RunRev application to > > open? > > See the relaunch message in the Dictionary. > > -- > 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 andre at andregarzia.com Sun Apr 24 23:44:44 2011 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 25 Apr 2011 00:44:44 -0300 Subject: arrived at the conference hotel In-Reply-To: <6ADB952A-52FD-47C7-9F24-F407AC5CD125@yahoo.com> References: <6ADB952A-52FD-47C7-9F24-F407AC5CD125@yahoo.com> Message-ID: Folks, You all made my day... now if anyone want to give me my luggage back.... joking, my luggage decided to come with on these one, mostly because it is fond of squirrels and there are plenty here. :-D Waiting for you guys to pop up here tomorrow or the day after! On Sun, Apr 24, 2011 at 9:29 PM, Jim Ault wrote: > On Apr 24, 2011, at 5:16 PM, Scott Rossi wrote: > > Recently, Andre Garzia wrote: >> >> I am here at the conference hotel, if anyone else is already here, I will >>> be >>> walking around trying to keep warm because this is too chilly for my >>> taste! >>> >> >> Your bags arrived at my house. I'll bring them on Tuesday. >> >> If they contain 3 sweaters and a long pair of pants, Andre will *buy* > them back from you. > > Jim Ault > Las Vegas > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From mwieder at ahsoftware.net Mon Apr 25 00:04:27 2011 From: mwieder at ahsoftware.net (mwieder at ahsoftware.net) Date: Sun, 24 Apr 2011 23:04:27 -0500 Subject: glx2 script editor updated Message-ID: <4e98cc8ebc8afea181df84f0f6e790da.squirrel@odin.on-rev.com> Just in time for the conference, the latest version of the glx2 script editor is now up at https://bitbucket.org/mwieder/glx2/downloads (3.9MB download) -- Mark Wieder From sims at ezpzapps.com Mon Apr 25 00:11:24 2011 From: sims at ezpzapps.com (Jim Sims) Date: Mon, 25 Apr 2011 06:11:24 +0200 Subject: arrived at the conference hotel In-Reply-To: References: Message-ID: <1D5B1A15-61B9-4224-92CD-CC469ED85D44@ezpzapps.com> On Apr 25, 2011, at 2:16 AM, Scott Rossi wrote: > Your bags arrived at my house. I'll bring them on Tuesday. What's going on? Today they arrived here in Gozo, Malta also! Maybe these are Andre's bags from the old conference? Maybe an export snapshot to url earth/gozo/andre.bags? sims From iangmcknight at gmail.com Mon Apr 25 10:59:07 2011 From: iangmcknight at gmail.com (Ian McKnight) Date: Mon, 25 Apr 2011 15:59:07 +0100 Subject: Having problems Storing and Retrieving an Excel file in a Custom Property Message-ID: Hi All I have an excel file that I want to include in a standalone. I created an excel template and copied it from its default location to the same folder as my stack. I imported it into a custom property. The problem is that when I export the custom property contents back to disk I can't access the file. An excel template is created on disk but I get the following error when trying to access it with Excel. 'masterTemplate.xlt cannot be accessed. The file may be read only, or you may be trying to access a read-only location. Or, the server document is stored on may not be responding.' BTW I have also attempted the same thing with a standard excel file (.xls) with the same affect. Is there some information that is lost during this process that corrupts the exported file? I have had no problems in the past doing this with text files and pictures so any advice would be greatly appreciated. Here is my import and export code import: answer file "choose" if it is empty or the result is "Cancel" then exit to top put "file:"&it into fname set the cpExcelMaster of this stack to URL fname -- Regards Ian McKnight iangmcknight at gmail.com ======================= From iangmcknight at gmail.com Mon Apr 25 11:01:09 2011 From: iangmcknight at gmail.com (Ian McKnight) Date: Mon, 25 Apr 2011 16:01:09 +0100 Subject: Having problems Storing and Retrieving an Excel file in a Custom Property In-Reply-To: References: Message-ID: Sorry pressed send to soon! here is the export code: put the cpExcelMaster of this stack into tFileToExport ask file "" if it is empty or the result is "Cancel" then exit to top put "file:"&it &".xlt" into fname put tFileToExport into URL fname -- Regards Ian McKnight iangmcknight at gmail.com ======================= From martinblackman at gmail.com Mon Apr 25 11:14:46 2011 From: martinblackman at gmail.com (Martin Blackman) Date: Mon, 25 Apr 2011 23:14:46 +0800 Subject: Having problems Storing and Retrieving an Excel file in a Custom Property In-Reply-To: References: Message-ID: I dont have any problems doing this in an app of mine, I am using "binfile:" though, also are you exporting the file to your program folder which shouldn't be writeable. On 25 April 2011 23:01, Ian McKnight wrote: > Sorry pressed send to soon! > > here is the export code: > > put the cpExcelMaster of this stack into tFileToExport > ask file "" > if it is empty or the result is "Cancel" then exit to top > > put "file:"&it &".xlt" into fname > put tFileToExport into URL fname > > -- > Regards > > > Ian McKnight > > iangmcknight at gmail.com > ======================= > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobs at twft.com Mon Apr 25 11:59:55 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 25 Apr 2011 08:59:55 -0700 Subject: Startup message anomaly? In-Reply-To: <7905C8A8-CD04-4B54-90C5-D800DE31E606@mac.com> References: <7905C8A8-CD04-4B54-90C5-D800DE31E606@mac.com> Message-ID: Be careful with Parallels. Someone else (or maybe it was you) was saying that Parallels was returning unexpected path results. I believe it has something to do with Folder Redirection, a feature of Parallels which allows a user to redirect his windows profile and other folders to the Mac equivalents, so that the user has only one place in either environment where his files and settings are kept. Bob On Apr 23, 2011, at 2:48 AM, Graham Samuel wrote: > However like you I have recently experienced some strange things with the message path - the origin of my idea that things could be different on different platforms - and because of this (it may be made worse by my using Windows under Parallels on my Mac, tho I don't see why) I have written a startup routine for the app I'm working on which is in fact an 'OpenCard' handler, with a custom prop that is used as a switch to prevent it being invoked more than once when the app is run. From bobs at twft.com Mon Apr 25 12:05:05 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 25 Apr 2011 09:05:05 -0700 Subject: [OT] Commodore 64 with Ubuntu 10.04 In-Reply-To: References: Message-ID: <4D6E6D55-7B31-43A7-83C4-85423910733F@twft.com> This was the first computer I ever played around with and is probably what got me into IT. I was working maintenance at a Christian school that had just bought a bunch for their new computer lab. Bob On Apr 23, 2011, at 11:02 AM, Roger Eller wrote: > Check out this Modern-Retro all-in-one computer: > > http://www.commodoreusa.net/CUSA_C64.aspx > > ~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 klaus at major.on-rev.com Mon Apr 25 12:09:59 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Mon, 25 Apr 2011 18:09:59 +0200 Subject: Having problems Storing and Retrieving an Excel file in a Custom Property In-Reply-To: References: Message-ID: <13670FB4-5DC1-4E9E-A9F3-8B584665458E@major.on-rev.com> Hi Ian, > Hi All > ... > Here is my import and export code > import: > answer file "choose" > if it is empty or the result is "Cancel" then exit to top ## You need BINFILE! > put "BINFILE:"&it into fname > set the cpExcelMaster of this stack to URL fname ## With "file" it will be treated as TEXT with unwanted results ;-) > -- > Regards > > > Ian McKnight Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From bobs at twft.com Mon Apr 25 12:10:23 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 25 Apr 2011 09:10:23 -0700 Subject: At the airport, NeXT stop usa In-Reply-To: <8CFE2F5D-33F7-4F48-8212-BD36DCA4EEE6@andregarzia.com> References: <8CFE2F5D-33F7-4F48-8212-BD36DCA4EEE6@andregarzia.com> Message-ID: <743F61ED-3154-4706-96D1-91263178C77F@twft.com> I know Rio Grande is Great River, right? So what is Rio de Janeiro? I'm gonna take a guess and say The Generous River. Bob On Apr 23, 2011, at 3:30 PM, andre at andregarzia.com wrote: > Hey Folks, > > I am at Rio de Janeiro International Airport waiting for boarding. > > See you all soon!!! > > Ps: this airport is horrible... > > Enviado via iPhone > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Apr 25 12:12:21 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 25 Apr 2011 09:12:21 -0700 Subject: At the airport, NeXT stop usa In-Reply-To: <8CFE2F5D-33F7-4F48-8212-BD36DCA4EEE6@andregarzia.com> References: <8CFE2F5D-33F7-4F48-8212-BD36DCA4EEE6@andregarzia.com> Message-ID: Nope. January River. Who calls a river January? The Italians?? I liked Generous better. ;-) Bob > I know Rio Grande is Great River, right? So what is Rio de Janeiro? I'm gonna take a guess and say The Generous River. > > Bob From iangmcknight at gmail.com Mon Apr 25 12:12:55 2011 From: iangmcknight at gmail.com (Ian McKnight) Date: Mon, 25 Apr 2011 17:12:55 +0100 Subject: Having problems Storing and Retrieving an Excel file in a Custom Property In-Reply-To: References: Message-ID: Hi I'm doing this from a stack within the IDE and have my stack in a sub folder of my documents folder. The template file is in the same folder. When I double click the original template, which is also stored there, it lauches Excel and displays correctly. The problem occurs when it is 'processed' through my stack. BTW I'm on Win 7 LiveCode 4.6 On 25 April 2011 16:14, Martin Blackman wrote: > I dont have any problems doing this in an app of mine, I am using > "binfile:" > though, also are you exporting the file to your program folder which > shouldn't be writeable. > > On 25 April 2011 23:01, Ian McKnight wrote: > > > Sorry pressed send to soon! > > > > here is the export code: > > > > put the cpExcelMaster of this stack into tFileToExport > > ask file "" > > if it is empty or the result is "Cancel" then exit to top > > > > put "file:"&it &".xlt" into fname > > put tFileToExport into URL fname > > > > -- > > Regards > > > > > > Ian McKnight > > > > iangmcknight at gmail.com > > ======================= > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards Ian McKnight iangmcknight at gmail.com ======================= From bobs at twft.com Mon Apr 25 12:15:05 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 25 Apr 2011 09:15:05 -0700 Subject: At the airport, NeXT stop usa In-Reply-To: References: <8CFE2F5D-33F7-4F48-8212-BD36DCA4EEE6@andregarzia.com> <01EFDCE5-763A-4B9C-A36F-06095658D92A@elementarysoftware.com> <0980F81F-7AC3-495D-A5AF-60A7833CD2C9@mac.com> Message-ID: Andre, now's the time to defect! I'm sure you can get sanctuary here! ;-) Bob On Apr 24, 2011, at 8:32 AM, Andre Garzia wrote: > I hope that you direct only the easy questions to me.... > > Hey, Inflight internet... wifi with wings... From iangmcknight at gmail.com Mon Apr 25 12:15:57 2011 From: iangmcknight at gmail.com (Ian McKnight) Date: Mon, 25 Apr 2011 17:15:57 +0100 Subject: Having problems Storing and Retrieving an Excel file in a Custom Property In-Reply-To: <13670FB4-5DC1-4E9E-A9F3-8B584665458E@major.on-rev.com> References: <13670FB4-5DC1-4E9E-A9F3-8B584665458E@major.on-rev.com> Message-ID: Thanks Klaus that did the trick. BINFILE IN AND out makes absolute sense now that its been pointed out! On 25 April 2011 17:09, Klaus on-rev wrote: > Hi Ian, > > > Hi All > > ... > > Here is my import and export code > > import: > > answer file "choose" > > if it is empty or the result is "Cancel" then exit to top > > ## You need BINFILE! > > > put "BINFILE:"&it into fname > > set the cpExcelMaster of this stack to URL fname > > ## With "file" it will be treated as TEXT with unwanted results ;-) > > -- > > Regards > > > > > > Ian McKnight > > 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 > -- Regards Ian McKnight iangmcknight at gmail.com ======================= From m.schonewille at economy-x-talk.com Mon Apr 25 12:18:18 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 25 Apr 2011 18:18:18 +0200 Subject: Having problems Storing and Retrieving an Excel file in a Custom Property In-Reply-To: References: Message-ID: <98AA4717-1965-4E9D-B95B-F57D59F3B956@economy-x-talk.com> Martin, Using 'binfile' is the right answer. -- Kind regards, Mark Schonewille Economy-x-Talk Http://economy-x-talk.com Share the clipboard of your computer over a local network with Clipboard Link http://clipboardlink.economy-x-talk.com Op 25 apr. 2011 om 18:12 heeft Ian McKnight het volgende geschreven: > Hi > > I'm doing this from a stack within the IDE and have my stack in a sub folder > of my documents folder. The template file is in the same folder. > > When I double click the original template, which is also stored there, it > lauches Excel and displays correctly. The problem occurs when it is > 'processed' through my stack. > > BTW I'm on Win 7 LiveCode 4.6 > > On 25 April 2011 16:14, Martin Blackman wrote: > >> I dont have any problems doing this in an app of mine, I am using >> "binfile:" >> though, also are you exporting the file to your program folder which >> shouldn't be writeable. >> >> On 25 April 2011 23:01, Ian McKnight wrote: >> >>> Sorry pressed send to soon! >>> >>> here is the export code: >>> >>> put the cpExcelMaster of this stack into tFileToExport >>> ask file "" >>> if it is empty or the result is "Cancel" then exit to top >>> >>> put "file:"&it &".xlt" into fname >>> put tFileToExport into URL fname >>> >>> -- >>> Regards >>> >>> >>> Ian McKnight >>> >>> iangmcknight at gmail.com >>> ======================= >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > Regards > > > Ian McKnight > > iangmcknight at gmail.com > ======================= > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andre at andregarzia.com Mon Apr 25 13:09:17 2011 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 25 Apr 2011 14:09:17 -0300 Subject: At the airport, NeXT stop usa In-Reply-To: References: <8CFE2F5D-33F7-4F48-8212-BD36DCA4EEE6@andregarzia.com> Message-ID: It were the portuguese. :-D They named it january because it was discovered january 1st 1502... so, it almost was Rio of February... There was a time when the French stablished a brief colony and renamed part of it Villegagnon but hey, who could fight the portuguese and the brazilian indians in 1502... no one, so it soon became january river again. On Mon, Apr 25, 2011 at 1:12 PM, Bob Sneidar wrote: > Nope. January River. Who calls a river January? The Italians?? I liked > Generous better. ;-) > > Bob > > > > I know Rio Grande is Great River, right? So what is Rio de Janeiro? I'm > gonna take a guess and say The Generous River. > > > > Bob > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From richmondmathewson at gmail.com Mon Apr 25 13:10:01 2011 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 25 Apr 2011 20:10:01 +0300 Subject: Crash, Bang, Wallop Message-ID: <4DB5AAE9.8000804@gmail.com> I am finding that Linux standalones built on a Mac PPC crash, while standalones built on Linux using the same code, for Linux, don't crash. Richmond. From andre at andregarzia.com Mon Apr 25 14:22:06 2011 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 25 Apr 2011 11:22:06 -0700 Subject: Folks, help me test Twitter integration In-Reply-To: <1303670967374-3471905.post@n4.nabble.com> References: <1303645669201-3471353.post@n4.nabble.com> <1303670967374-3471905.post@n4.nabble.com> Message-ID: Hello Folks, I've changed some routines, could twitter account holders please try out: http://andregarzia.on-rev.com/runrevlive/session1/ Please clear any cookies and cache if possible. I think I found the errors, if this work we're half way from a working OAuth 1.0 implementation. Cheers and thanks andre On Sun, Apr 24, 2011 at 3:49 PM, Alejandro Tejada wrote: > Hi Roger, > > > Roger Eller wrote: > > > > Believe it or not, you 'might' have still found the path which leads > > to LiveCode anyway. I remember messing around with HyperCard on a Mac > > at work, then on my Amiga at home was an authoring software called > > "Foundation". There was no import from HC, but I could save my > > scripts in a text file on the Mac, and "Foundation" would use those > > scripts with no modification in many cases. I haven't seen that dev > > environment since then, and the name is so generalized, I can't find > > any online references to it either. It was very cool though. > > > > It's the first time that I read about this software. After > searching a lot, I found: Foundation (authoring system) $50.00 > in this page: http://www.commodorecomputercenter.com/amigasw.htm > ;-) > > Al > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Folks-help-me-test-Twitter-integration-tp3470148p3471905.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From revolution at derbrill.de Mon Apr 25 14:27:19 2011 From: revolution at derbrill.de (Malte Brill) Date: Mon, 25 Apr 2011 20:27:19 +0200 Subject: glx2 script editor updated In-Reply-To: References: Message-ID: <95343731-D559-42AF-8E46-EDE906881970@derbrill.de> Hey Mark, thanks for keeping glx alive. Is there a changeLog somewhere? Will you see it if I post issues to the bitbucked site? I would really love being able to use glx again, however, there is one issue which currently keeps me from it. If I try to compile an errant script, no error info is given. Do you have any idea how I can fix that? Cheers, Malte From mwieder at ahsoftware.net Mon Apr 25 14:45:57 2011 From: mwieder at ahsoftware.net (mwieder at ahsoftware.net) Date: Mon, 25 Apr 2011 13:45:57 -0500 Subject: glx2 script editor updated In-Reply-To: <95343731-D559-42AF-8E46-EDE906881970@derbrill.de> References: <95343731-D559-42AF-8E46-EDE906881970@derbrill.de> Message-ID: <6ecb17c0799cd5e64239f51929851d05.squirrel@odin.on-rev.com> > Hey Mark, > > thanks for keeping glx alive. Is there a changeLog somewhere? Will you see > it if I post issues to the bitbucked site? I would really love being able > to use glx again, however, there is one issue which currently keeps me > from it. If I try to compile an errant script, no error info is given. Do > you have any idea how I can fix that? There's no changelog for this build other than notes in individual scripts. I'd summarize it by saying this one works slightly better than the previous build. Mostly there's internal code cleanup, things work a bit faster than before, etc. There's still a known issue where if you switch between the chalkboard and alabaster motifs the colors don't propagate correctly immediately until the next time you close and relaunch the editor. I won't be able to look at that until after the conference. Ideally I will see issues posted on bitbucket, we'll have to try it. And I've occasionally run into that thing where there's no error info before. Not consistently enough to have anything to fix, though. And sometimes compiling a second time does highlight the error. I'd love to have a recipe that just failed the same way every time. It's probably on my plate to fix that because it has to do with interaction between the script editor and the debugger. From bonnmike at gmail.com Mon Apr 25 14:46:34 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 25 Apr 2011 12:46:34 -0600 Subject: Folks, help me test Twitter integration In-Reply-To: References: <1303645669201-3471353.post@n4.nabble.com> <1303670967374-3471905.post@n4.nabble.com> Message-ID: Worked fine for me this time. On Mon, Apr 25, 2011 at 12:22 PM, Andre Garzia wrote: > Hello Folks, > > > I've changed some routines, could twitter account holders please try out: > > http://andregarzia.on-rev.com/runrevlive/session1/ > > Please clear any cookies and cache if possible. I think I found the errors, > if this work we're half way from a working OAuth 1.0 implementation. > > Cheers and thanks > andre > > > On Sun, Apr 24, 2011 at 3:49 PM, Alejandro Tejada >wrote: > > > Hi Roger, > > > > > > Roger Eller wrote: > > > > > > Believe it or not, you 'might' have still found the path which leads > > > to LiveCode anyway. I remember messing around with HyperCard on a Mac > > > at work, then on my Amiga at home was an authoring software called > > > "Foundation". There was no import from HC, but I could save my > > > scripts in a text file on the Mac, and "Foundation" would use those > > > scripts with no modification in many cases. I haven't seen that dev > > > environment since then, and the name is so generalized, I can't find > > > any online references to it either. It was very cool though. > > > > > > > It's the first time that I read about this software. After > > searching a lot, I found: Foundation (authoring system) $50.00 > > in this page: http://www.commodorecomputercenter.com/amigasw.htm > > ;-) > > > > Al > > > > -- > > View this message in context: > > > http://runtime-revolution.278305.n4.nabble.com/Folks-help-me-test-Twitter-integration-tp3470148p3471905.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. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From andre at andregarzia.com Mon Apr 25 14:51:51 2011 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 25 Apr 2011 11:51:51 -0700 Subject: Folks, help me test Twitter integration In-Reply-To: References: <1303645669201-3471353.post@n4.nabble.com> <1303670967374-3471905.post@n4.nabble.com> Message-ID: Yay! \O/ On Mon, Apr 25, 2011 at 11:46 AM, Mike Bonner wrote: > Worked fine for me this time. > > On Mon, Apr 25, 2011 at 12:22 PM, Andre Garzia >wrote: > > > Hello Folks, > > > > > > I've changed some routines, could twitter account holders please try out: > > > > http://andregarzia.on-rev.com/runrevlive/session1/ > > > > Please clear any cookies and cache if possible. I think I found the > errors, > > if this work we're half way from a working OAuth 1.0 implementation. > > > > Cheers and thanks > > andre > > > > > > On Sun, Apr 24, 2011 at 3:49 PM, Alejandro Tejada < > capellan2000 at gmail.com > > >wrote: > > > > > Hi Roger, > > > > > > > > > Roger Eller wrote: > > > > > > > > Believe it or not, you 'might' have still found the path which leads > > > > to LiveCode anyway. I remember messing around with HyperCard on a > Mac > > > > at work, then on my Amiga at home was an authoring software called > > > > "Foundation". There was no import from HC, but I could save my > > > > scripts in a text file on the Mac, and "Foundation" would use those > > > > scripts with no modification in many cases. I haven't seen that dev > > > > environment since then, and the name is so generalized, I can't find > > > > any online references to it either. It was very cool though. > > > > > > > > > > It's the first time that I read about this software. After > > > searching a lot, I found: Foundation (authoring system) $50.00 > > > in this page: http://www.commodorecomputercenter.com/amigasw.htm > > > ;-) > > > > > > Al > > > > > > -- > > > View this message in context: > > > > > > http://runtime-revolution.278305.n4.nabble.com/Folks-help-me-test-Twitter-integration-tp3470148p3471905.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. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From eriks at sisyph.us Mon Apr 25 15:39:48 2011 From: eriks at sisyph.us (Erik Schwartz) Date: Mon, 25 Apr 2011 15:39:48 -0400 Subject: Folks, help me test Twitter integration In-Reply-To: References: <1303645669201-3471353.post@n4.nabble.com> <1303670967374-3471905.post@n4.nabble.com> Message-ID: Got {"request":"\/1\/statuses\/update.json","error":"Incorrect signature"} On Mon, Apr 25, 2011 at 2:22 PM, Andre Garzia wrote: > Hello Folks, > > > I've changed some routines, could twitter account holders please try out: > > http://andregarzia.on-rev.com/runrevlive/session1/ > > Please clear any cookies and cache if possible. I think I found the errors, > if this work we're half way from a working OAuth 1.0 implementation. > > Cheers and thanks > andre > -- ========================================== eriks at sisyph.us? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? http://sisyph.us (530) 213-ERIK? ? ? ? ? ? ? ? ? ? ? ? ? http://twitter.com/eriks (530) 213-3745?? http://www.linkedin.com/in/erikschwartz ========================================== From psahores at free.fr Mon Apr 25 15:40:26 2011 From: psahores at free.fr (Pierre Sahores) Date: Mon, 25 Apr 2011 21:40:26 +0200 Subject: Folks, help me test Twitter integration In-Reply-To: References: <1303645669201-3471353.post@n4.nabble.com> <1303670967374-3471905.post@n4.nabble.com> Message-ID: <193EFB2E-FD34-4B80-8E80-81723F165A47@free.fr> Works there too, Andre ! Have fun, San Jose attendees :D Pierre Le 25 avr. 2011 ? 20:51, Andre Garzia a ?crit : > Yay! \O/ > > On Mon, Apr 25, 2011 at 11:46 AM, Mike Bonner wrote: > >> Worked fine for me this time. >> >> On Mon, Apr 25, 2011 at 12:22 PM, Andre Garzia >> wrote: >> >>> Hello Folks, >>> >>> >>> I've changed some routines, could twitter account holders please try out: >>> >>> http://andregarzia.on-rev.com/runrevlive/session1/ >>> >>> Please clear any cookies and cache if possible. I think I found the >> errors, >>> if this work we're half way from a working OAuth 1.0 implementation. >>> >>> Cheers and thanks >>> andre >>> >>> >>> On Sun, Apr 24, 2011 at 3:49 PM, Alejandro Tejada < >> capellan2000 at gmail.com >>>> wrote: >>> >>>> Hi Roger, >>>> >>>> >>>> Roger Eller wrote: >>>>> >>>>> Believe it or not, you 'might' have still found the path which leads >>>>> to LiveCode anyway. I remember messing around with HyperCard on a >> Mac >>>>> at work, then on my Amiga at home was an authoring software called >>>>> "Foundation". There was no import from HC, but I could save my >>>>> scripts in a text file on the Mac, and "Foundation" would use those >>>>> scripts with no modification in many cases. I haven't seen that dev >>>>> environment since then, and the name is so generalized, I can't find >>>>> any online references to it either. It was very cool though. >>>>> >>>> >>>> It's the first time that I read about this software. After >>>> searching a lot, I found: Foundation (authoring system) $50.00 >>>> in this page: http://www.commodorecomputercenter.com/amigasw.htm >>>> ;-) >>>> >>>> Al >>>> >>>> -- >>>> View this message in context: >>>> >>> >> http://runtime-revolution.278305.n4.nabble.com/Folks-help-me-test-Twitter-integration-tp3470148p3471905.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. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From stephenREVOLUTION2 at barncard.com Mon Apr 25 16:06:56 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 25 Apr 2011 13:06:56 -0700 Subject: Folks, help me test Twitter integration In-Reply-To: <193EFB2E-FD34-4B80-8E80-81723F165A47@free.fr> References: <1303645669201-3471353.post@n4.nabble.com> <1303670967374-3471905.post@n4.nabble.com> <193EFB2E-FD34-4B80-8E80-81723F165A47@free.fr> Message-ID: Andre, First I got a blank Twitter page, then went to my Twitter page (sbarncar) and saw that I just RT'd Andre. Is that what's supposed to happen? Was that the right term? I don't tweet very much, as I don't think anyone would care. Stephen Barncard San Francisco Ca. USA more about sqb From eriks at sisyph.us Mon Apr 25 16:08:11 2011 From: eriks at sisyph.us (Erik Schwartz) Date: Mon, 25 Apr 2011 16:08:11 -0400 Subject: Folks, help me test Twitter integration In-Reply-To: References: <1303645669201-3471353.post@n4.nabble.com> <1303670967374-3471905.post@n4.nabble.com> <193EFB2E-FD34-4B80-8E80-81723F165A47@free.fr> Message-ID: It worked this time. -- ========================================== eriks at sisyph.us? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? http://sisyph.us (530) 213-ERIK? ? ? ? ? ? ? ? ? ? ? ? ? http://twitter.com/eriks (530) 213-3745?? http://www.linkedin.com/in/erikschwartz ========================================== From revolution at derbrill.de Mon Apr 25 18:05:17 2011 From: revolution at derbrill.de (Malte Brill) Date: Tue, 26 Apr 2011 00:05:17 +0200 Subject: glx2 script editor updated In-Reply-To: References: Message-ID: <448647F2-8CE8-4913-A694-4AC83F4A3FF3@derbrill.de> Hey Mark, just took the time to dig a bit...looking at the doCompile handler: errorDialog theResult, the cScriptErrors of stack "revGLX2 code" the cScriptErrors of stack "revGLX2 code" is empty. Thus throwing the error dialogue fails here. All the best, Malte From mwieder at ahsoftware.net Mon Apr 25 18:35:44 2011 From: mwieder at ahsoftware.net (mwieder at ahsoftware.net) Date: Mon, 25 Apr 2011 17:35:44 -0500 Subject: glx2 script editor updated In-Reply-To: <448647F2-8CE8-4913-A694-4AC83F4A3FF3@derbrill.de> References: <448647F2-8CE8-4913-A694-4AC83F4A3FF3@derbrill.de> Message-ID: > Hey Mark, > > just took the time to dig a bit...looking at the doCompile handler: > > errorDialog theResult, the cScriptErrors of stack "revGLX2 code" > > > the cScriptErrors of stack "revGLX2 code" is empty. > > > Thus throwing the error dialogue fails here. Thanks - I just poked around and found the same. Comment that line out and it will work as desired. I'll update the web site later today when I have access to it. Thanks to a server crash here I'm on web mail without easy access to anything right now. -- Mark Wieder From mwieder at ahsoftware.net Mon Apr 25 20:56:58 2011 From: mwieder at ahsoftware.net (mwieder at ahsoftware.net) Date: Mon, 25 Apr 2011 19:56:58 -0500 Subject: glx2 script editor updated In-Reply-To: <448647F2-8CE8-4913-A694-4AC83F4A3FF3@derbrill.de> References: <448647F2-8CE8-4913-A694-4AC83F4A3FF3@derbrill.de> Message-ID: <4f6789bf23be100ffc205d6f119ee5dc.squirrel@odin.on-rev.com> OK - the new build is on the website. https://bitbucket.org/mwieder/glx2/downloads -- Mark Wieder From jperryl at ecs.fullerton.edu Mon Apr 25 21:23:31 2011 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 25 Apr 2011 18:23:31 -0700 (PDT) Subject: arrived at the conference hotel In-Reply-To: References: Message-ID: I *like* this weather! Judy On Sun, 24 Apr 2011, Andre Garzia wrote: > Folks, > > I am here at the conference hotel, if anyone else is already here, I will be > walking around trying to keep warm because this is too chilly for my taste! From scott at tactilemedia.com Mon Apr 25 21:55:15 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 25 Apr 2011 18:55:15 -0700 Subject: Ungroup Message? Message-ID: Hello List: What message is sent when a group is ungrouped? The only reference I can find is deleteGroup which doesn't appear to trigger when a group is ungrouped. So how is the ungrouping of a group detected? Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX Design From tsj at unimelb.edu.au Tue Apr 26 02:14:44 2011 From: tsj at unimelb.edu.au (Terry Judd) Date: Tue, 26 Apr 2011 16:14:44 +1000 Subject: Ungroup Message? In-Reply-To: References: Message-ID: Scott - If you select the group before you ungroup it then you can trap the selectedObjectChanged message. Terry... On 26/04/2011, at 11:56 AM, "Scott Rossi" wrote: > Hello List: > > What message is sent when a group is ungrouped? The only reference I can > find is deleteGroup which doesn't appear to trigger when a group is > ungrouped. So how is the ungrouping of a group detected? > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From scott at tactilemedia.com Tue Apr 26 02:42:07 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 25 Apr 2011 23:42:07 -0700 Subject: Ungroup Message? In-Reply-To: Message-ID: Thanks Terry, but how would using selectedObjectChanged distinguish between ungrouping as opposed to selecting another control? And if ungrouping is done via script? Seems like there should be some kind of message... Best Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Terry Judd wrote: > Scott - If you select the group before you ungroup it then you can trap the > selectedObjectChanged message. > > Terry... > > On 26/04/2011, at 11:56 AM, "Scott Rossi" wrote: > >> Hello List: >> >> What message is sent when a group is ungrouped? The only reference I can >> find is deleteGroup which doesn't appear to trigger when a group is >> ungrouped. So how is the ungrouping of a group detected? >> >> 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 coiin at verizon.net Tue Apr 26 03:04:48 2011 From: coiin at verizon.net (Colin Holgate) Date: Tue, 26 Apr 2011 00:04:48 -0700 Subject: arrived at the conference hotel In-Reply-To: References: Message-ID: So, I have the detailed schedule, the page describing the venue, and the welcome pack email, but I don't see any mention of what rooms the conference is in. There are three buildings here, and two of those have conference rooms, one of which has a lot of conference rooms. Which ones are we in? From jacque at hyperactivesw.com Tue Apr 26 03:14:43 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 26 Apr 2011 02:14:43 -0500 Subject: arrived at the conference hotel In-Reply-To: References: Message-ID: <4DB670E3.9090009@hyperactivesw.com> Colin Holgate wrote: > So, I have the detailed schedule, the page describing the venue, and > the welcome pack email, but I don't see any mention of what rooms the > conference is in. There are three buildings here, and two of those > have conference rooms, one of which has a lot of conference rooms. > Which ones are we in? The large one with the arches, on the end nearest the road. But you can't miss it. There are a LOT of people here, and they will all be headed there in the morning. Follow the crowd. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tsj at unimelb.edu.au Tue Apr 26 03:35:19 2011 From: tsj at unimelb.edu.au (Terry Judd) Date: Tue, 26 Apr 2011 17:35:19 +1000 Subject: Ungroup Message? In-Reply-To: References: Message-ID: <8BA02D67-21B1-4C73-A710-4F4F299D6585@unimelb.edu.au> You could set a flag (containing the long id of the group) prior to selecting and ungrouping the group and then in the selectedObjectChanged message compare the flag and the long id of the target. If the flag is set and the target is different then you could trigger your own ungroup message. I agree that a native message would be better though (not at my computer so I can't check the dictionary for suitable candidates). Terry... On 26/04/2011, at 4:44 PM, "Scott Rossi" wrote: > Thanks Terry, but how would using selectedObjectChanged distinguish between > ungrouping as opposed to selecting another control? And if ungrouping is > done via script? > > Seems like there should be some kind of message... > > Best Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > Recently, Terry Judd wrote: > >> Scott - If you select the group before you ungroup it then you can trap the >> selectedObjectChanged message. >> >> Terry... >> >> On 26/04/2011, at 11:56 AM, "Scott Rossi" wrote: >> >>> Hello List: >>> >>> What message is sent when a group is ungrouped? The only reference I can >>> find is deleteGroup which doesn't appear to trigger when a group is >>> ungrouped. So how is the ungrouping of a group detected? >>> >>> 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 > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Apr 26 06:02:00 2011 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 26 Apr 2011 03:02:00 -0700 Subject: an enhancement proposal for the language... Message-ID: Hey Folks, It is about 3:00 AM here and I am coding my presentation and while I was struggling with the engine to get some stuff working I came to a realization that was something short of an enlightenment moment for me. After thinking for a while, I decided to submit this to this list for comments and approval and then we can go forward with an enhancement request in the QA. It is about syntax and encouraging the engine to be extraordinary. Sometimes when you are not sure things will work as expected, you use a block like: try ... ... ... end try I thought about it for a while and remembered master yoda saying: "do or do not, try not" and realized that if tell the engine to try out something, you're already telling him, hey this stuff might explode, try something... The engine upon receiving a try request obviously enters a pessimistic mood thinking about all the things that can go wrong and often dies a horrible death. To avoid such cases and help the engine to fell encouraged to do his best, I decided to revise that syntax. I propose the following: please ... ... ... end please maybe if we asked nicely, the engine will give its best shot at executing the commands inside the block. People often give their best when asked politely. It is a proven studies by the "Andre Garzia School of Late Night Caffeine" that asking "pretty please" at something is better than asking "try". If we decide to go forware with the transition to a more uplift engine, we'll also need to revise things like try ... ... ... catch ... end try After all what does "catch" means (my guess is the engine shouting 'catch that running exception' with a cop voice). Catch will not work with please... so I think we should do: please ... ... ... oh no ... ... end please "oh no" is better than catch and quickly summarizes the state of mind that a developer should be if he ever faces that specific part of the code. With these additions, I believe we'll have a happier engine and better development experience. Cheers andre -- http://www.andregarzia.com All We Do Is Code. From keith.clarke at clarkeandclarke.co.uk Tue Apr 26 06:15:11 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Tue, 26 Apr 2011 11:15:11 +0100 Subject: an enhancement proposal for the language... In-Reply-To: References: Message-ID: <26870B12-66B0-4624-8CEC-1CAECF013D31@clarkeandclarke.co.uk> ...please get some sleep Andre ...end please ;-) On 26 Apr 2011, at 11:02, Andre Garzia wrote: > Hey Folks, > > It is about 3:00 AM here and I am coding my presentation and while I was > struggling with the engine to get some stuff working I came to a realization > that was something short of an enlightenment moment for me. After thinking > for a while, I decided to submit this to this list for comments and approval > and then we can go forward with an enhancement request in the QA. > > It is about syntax and encouraging the engine to be extraordinary. Sometimes > when you are not sure things will work as expected, you use a block like: > > try > ... > ... > ... > end try > > I thought about it for a while and remembered master yoda saying: "do or do > not, try not" and realized that if tell the engine to try out something, > you're already telling him, hey this stuff might explode, try something... > The engine upon receiving a try request obviously enters a pessimistic mood > thinking about all the things that can go wrong and often dies a horrible > death. To avoid such cases and help the engine to fell encouraged to do his > best, I decided to revise that syntax. I propose the following: > > please > ... > ... > ... > end please > > maybe if we asked nicely, the engine will give its best shot at executing > the commands inside the block. People often give their best when asked > politely. It is a proven studies by the "Andre Garzia School of Late Night > Caffeine" that asking "pretty please" at something is better than asking > "try". > > If we decide to go forware with the transition to a more uplift engine, > we'll also need to revise things like > > try > ... > ... > ... > catch > ... > end try > > > After all what does "catch" means (my guess is the engine shouting 'catch > that running exception' with a cop voice). Catch will not work with > please... so I think we should do: > > please > ... > ... > ... > oh no > ... > ... > end please > > "oh no" is better than catch and quickly summarizes the state of mind that a > developer should be if he ever faces that specific part of the code. > > With these additions, I believe we'll have a happier engine and better > development experience. > > Cheers > andre > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andre at andregarzia.com Tue Apr 26 06:31:36 2011 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 26 Apr 2011 03:31:36 -0700 Subject: an enhancement proposal for the language... In-Reply-To: <26870B12-66B0-4624-8CEC-1CAECF013D31@clarkeandclarke.co.uk> References: <26870B12-66B0-4624-8CEC-1CAECF013D31@clarkeandclarke.co.uk> Message-ID: let me fix that for you: ...please get some sleep Andre ...oh no haven't finished my presentation ...end please On Tue, Apr 26, 2011 at 3:15 AM, Keith Clarke < keith.clarke at clarkeandclarke.co.uk> wrote: > ...please > get some sleep Andre > ...end please > > ;-) > > On 26 Apr 2011, at 11:02, Andre Garzia wrote: > > > Hey Folks, > > > > It is about 3:00 AM here and I am coding my presentation and while I was > > struggling with the engine to get some stuff working I came to a > realization > > that was something short of an enlightenment moment for me. After > thinking > > for a while, I decided to submit this to this list for comments and > approval > > and then we can go forward with an enhancement request in the QA. > > > > It is about syntax and encouraging the engine to be extraordinary. > Sometimes > > when you are not sure things will work as expected, you use a block like: > > > > try > > ... > > ... > > ... > > end try > > > > I thought about it for a while and remembered master yoda saying: "do or > do > > not, try not" and realized that if tell the engine to try out something, > > you're already telling him, hey this stuff might explode, try > something... > > The engine upon receiving a try request obviously enters a pessimistic > mood > > thinking about all the things that can go wrong and often dies a horrible > > death. To avoid such cases and help the engine to fell encouraged to do > his > > best, I decided to revise that syntax. I propose the following: > > > > please > > ... > > ... > > ... > > end please > > > > maybe if we asked nicely, the engine will give its best shot at executing > > the commands inside the block. People often give their best when asked > > politely. It is a proven studies by the "Andre Garzia School of Late > Night > > Caffeine" that asking "pretty please" at something is better than asking > > "try". > > > > If we decide to go forware with the transition to a more uplift engine, > > we'll also need to revise things like > > > > try > > ... > > ... > > ... > > catch > > ... > > end try > > > > > > After all what does "catch" means (my guess is the engine shouting 'catch > > that running exception' with a cop voice). Catch will not work with > > please... so I think we should do: > > > > please > > ... > > ... > > ... > > oh no > > ... > > ... > > end please > > > > "oh no" is better than catch and quickly summarizes the state of mind > that a > > developer should be if he ever faces that specific part of the code. > > > > With these additions, I believe we'll have a happier engine and better > > development experience. > > > > Cheers > > andre > > -- > > http://www.andregarzia.com All We Do Is Code. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From john.allijn at alice.nl Tue Apr 26 06:44:33 2011 From: john.allijn at alice.nl (John Allijn) Date: Tue, 26 Apr 2011 12:44:33 +0200 Subject: an enhancement proposal for the language... In-Reply-To: References: <26870B12-66B0-4624-8CEC-1CAECF013D31@clarkeandclarke.co.uk> Message-ID: <071885C3-D225-4DB1-908A-BE43A00D43E6@alice.nl> How about: Please Get MillionsOfDollars from IPhoneApp Put MillionsOfDollars into Retirement, charity Oh no Taxes End please Have fun at the conference! Regards, John Allijn Send from my iPad On Apr 26, 2011, at 12:31, Andre Garzia wrote: > let me fix that for you: > > ...please > get some sleep Andre > > ...oh no > haven't finished my presentation > ...end please > > On Tue, Apr 26, 2011 at 3:15 AM, Keith Clarke < > keith.clarke at clarkeandclarke.co.uk> wrote: > >> ...please >> get some sleep Andre >> ...end please >> >> ;-) >> >> On 26 Apr 2011, at 11:02, Andre Garzia wrote: >> >>> Hey Folks, >>> >>> It is about 3:00 AM here and I am coding my presentation and while I was >>> struggling with the engine to get some stuff working I came to a >> realization >>> that was something short of an enlightenment moment for me. After >> thinking >>> for a while, I decided to submit this to this list for comments and >> approval >>> and then we can go forward with an enhancement request in the QA. >>> >>> It is about syntax and encouraging the engine to be extraordinary. >> Sometimes >>> when you are not sure things will work as expected, you use a block like: >>> >>> try >>> ... >>> ... >>> ... >>> end try >>> >>> I thought about it for a while and remembered master yoda saying: "do or >> do >>> not, try not" and realized that if tell the engine to try out something, >>> you're already telling him, hey this stuff might explode, try >> something... >>> The engine upon receiving a try request obviously enters a pessimistic >> mood >>> thinking about all the things that can go wrong and often dies a horrible >>> death. To avoid such cases and help the engine to fell encouraged to do >> his >>> best, I decided to revise that syntax. I propose the following: >>> >>> please >>> ... >>> ... >>> ... >>> end please >>> >>> maybe if we asked nicely, the engine will give its best shot at executing >>> the commands inside the block. People often give their best when asked >>> politely. It is a proven studies by the "Andre Garzia School of Late >> Night >>> Caffeine" that asking "pretty please" at something is better than asking >>> "try". >>> >>> If we decide to go forware with the transition to a more uplift engine, >>> we'll also need to revise things like >>> >>> try >>> ... >>> ... >>> ... >>> catch >>> ... >>> end try >>> >>> >>> After all what does "catch" means (my guess is the engine shouting 'catch >>> that running exception' with a cop voice). Catch will not work with >>> please... so I think we should do: >>> >>> please >>> ... >>> ... >>> ... >>> oh no >>> ... >>> ... >>> end please >>> >>> "oh no" is better than catch and quickly summarizes the state of mind >> that a >>> developer should be if he ever faces that specific part of the code. >>> >>> With these additions, I believe we'll have a happier engine and better >>> development experience. >>> >>> Cheers >>> andre >>> -- >>> http://www.andregarzia.com All We Do Is Code. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 26 06:57:56 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Tue, 26 Apr 2011 11:57:56 +0100 Subject: an enhancement proposal for the language... In-Reply-To: References: <26870B12-66B0-4624-8CEC-1CAECF013D31@clarkeandclarke.co.uk> Message-ID: <54CD224D-DBB0-4BD4-A8A0-8709896451F4@clarkeandclarke.co.uk> Ah, OK - good luck with it. :-) On 26 Apr 2011, at 11:31, Andre Garzia wrote: > let me fix that for you: > > ...please > get some sleep Andre > > ...oh no > haven't finished my presentation > ...end please > > On Tue, Apr 26, 2011 at 3:15 AM, Keith Clarke < > keith.clarke at clarkeandclarke.co.uk> wrote: > >> ...please >> get some sleep Andre >> ...end please >> >> ;-) >> >> On 26 Apr 2011, at 11:02, Andre Garzia wrote: >> >>> Hey Folks, >>> >>> It is about 3:00 AM here and I am coding my presentation and while I was >>> struggling with the engine to get some stuff working I came to a >> realization >>> that was something short of an enlightenment moment for me. After >> thinking >>> for a while, I decided to submit this to this list for comments and >> approval >>> and then we can go forward with an enhancement request in the QA. >>> >>> It is about syntax and encouraging the engine to be extraordinary. >> Sometimes >>> when you are not sure things will work as expected, you use a block like: >>> >>> try >>> ... >>> ... >>> ... >>> end try >>> >>> I thought about it for a while and remembered master yoda saying: "do or >> do >>> not, try not" and realized that if tell the engine to try out something, >>> you're already telling him, hey this stuff might explode, try >> something... >>> The engine upon receiving a try request obviously enters a pessimistic >> mood >>> thinking about all the things that can go wrong and often dies a horrible >>> death. To avoid such cases and help the engine to fell encouraged to do >> his >>> best, I decided to revise that syntax. I propose the following: >>> >>> please >>> ... >>> ... >>> ... >>> end please >>> >>> maybe if we asked nicely, the engine will give its best shot at executing >>> the commands inside the block. People often give their best when asked >>> politely. It is a proven studies by the "Andre Garzia School of Late >> Night >>> Caffeine" that asking "pretty please" at something is better than asking >>> "try". >>> >>> If we decide to go forware with the transition to a more uplift engine, >>> we'll also need to revise things like >>> >>> try >>> ... >>> ... >>> ... >>> catch >>> ... >>> end try >>> >>> >>> After all what does "catch" means (my guess is the engine shouting 'catch >>> that running exception' with a cop voice). Catch will not work with >>> please... so I think we should do: >>> >>> please >>> ... >>> ... >>> ... >>> oh no >>> ... >>> ... >>> end please >>> >>> "oh no" is better than catch and quickly summarizes the state of mind >> that a >>> developer should be if he ever faces that specific part of the code. >>> >>> With these additions, I believe we'll have a happier engine and better >>> development experience. >>> >>> Cheers >>> andre >>> -- >>> http://www.andregarzia.com All We Do Is Code. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 26 09:43:54 2011 From: coiin at verizon.net (Colin Holgate) Date: Tue, 26 Apr 2011 06:43:54 -0700 Subject: an enhancement proposal for the language... In-Reply-To: References: Message-ID: <9FEEA282-7D9D-4B28-838F-266716447B1D@verizon.net> I worked at Apple in England from just after HyperCard 1.0 was released, and for four years after that. One time when I was on vacation in California I dropped in on the HyperCard QA manager (David Leffler) to drop off a list of about 60 suggested improvements to HyperCard/HyperTalk. Bill Atkinson happened to be in the office that day, so David introduced me, and gave Bill my sheets of ideas. Bill wasn't so gracious though, and said something about "putting it with the other ten pages of ideas". Anyway, one of my less serious suggestions was to use "I'm", probably without the apostrophe. Then when checking a field you could say: if Im empty then instead of the more clumsy: if me is empty then From bonnmike at gmail.com Tue Apr 26 10:05:24 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 26 Apr 2011 08:05:24 -0600 Subject: an enhancement proposal for the language... In-Reply-To: <9FEEA282-7D9D-4B28-838F-266716447B1D@verizon.net> References: <9FEEA282-7D9D-4B28-838F-266716447B1D@verizon.net> Message-ID: I use that in real life. if i'm empty then go drink beer end if On Tue, Apr 26, 2011 at 7:43 AM, Colin Holgate wrote: > I worked at Apple in England from just after HyperCard 1.0 was released, > and for four years after that. One time when I was on vacation in California > I dropped in on the HyperCard QA manager (David Leffler) to drop off a list > of about 60 suggested improvements to HyperCard/HyperTalk. Bill Atkinson > happened to be in the office that day, so David introduced me, and gave Bill > my sheets of ideas. Bill wasn't so gracious though, and said something about > "putting it with the other ten pages of ideas". > > Anyway, one of my less serious suggestions was to use "I'm", probably > without the apostrophe. Then when checking a field you could say: > > if Im empty then > > instead of the more clumsy: > > if me is empty then > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 26 10:18:48 2011 From: mwieder at ahsoftware.net (mwieder at ahsoftware.net) Date: Tue, 26 Apr 2011 09:18:48 -0500 Subject: an enhancement proposal for the language... In-Reply-To: References: Message-ID: <4c708b1ca0dfa4f2b28d9738ceac25f7.squirrel@odin.on-rev.com> You forgot to say "thank you"... please try my code ohno it broke dontforget turn off the lights thankyou -- Mark Wieder From lfredricks at proactive-intl.com Tue Apr 26 10:32:52 2011 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Tue, 26 Apr 2011 07:32:52 -0700 Subject: arrived at the conference hotel In-Reply-To: <4DB670E3.9090009@hyperactivesw.com> References: <4DB670E3.9090009@hyperactivesw.com> Message-ID: > > So, I have the detailed schedule, the page describing the > venue, and > > the welcome pack email, but I don't see any mention of what > rooms the > > conference is in. There are three buildings here, and two of those > > have conference rooms, one of which has a lot of conference rooms. > > Which ones are we in? > > The large one with the arches, on the end nearest the road. > But you can't miss it. There are a LOT of people here, and > they will all be headed there in the morning. Follow the crowd. :) But stay away from the one with the golden arches and the clown. The only thing you'll get there is indigestion and VB.net :-) 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 Tue Apr 26 10:39:24 2011 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 26 Apr 2011 07:39:24 -0700 Subject: an enhancement proposal for the language... In-Reply-To: <4c708b1ca0dfa4f2b28d9738ceac25f7.squirrel@odin.on-rev.com> References: <4c708b1ca0dfa4f2b28d9738ceac25f7.squirrel@odin.on-rev.com> Message-ID: Mark, You got the gold standard right here and right now!!!! I will QA that! :-D On Tue, Apr 26, 2011 at 7:18 AM, wrote: > You forgot to say "thank you"... > > please > try my code > ohno > it broke > dontforget > turn off the lights > thankyou > > -- > Mark Wieder > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From bobs at twft.com Tue Apr 26 11:40:26 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 26 Apr 2011 08:40:26 -0700 Subject: Ungroup Message? In-Reply-To: References: Message-ID: The only messages I see are: dgProps 8:38:02 AM (14838) cREVGeneral 8:38:03 AM (235) cREVGeneral 8:38:03 AM (1) Very unusual for Livecode. I thought EVERYTHING operated off system messages. Begs the question, what other messages are not sent? Bob On Apr 25, 2011, at 6:55 PM, Scott Rossi wrote: > Hello List: > > What message is sent when a group is ungrouped? The only reference I can > find is deleteGroup which doesn't appear to trigger when a group is > ungrouped. So how is the ungrouping of a group detected? > > 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 bobs at twft.com Tue Apr 26 11:49:55 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 26 Apr 2011 08:49:55 -0700 Subject: an enhancement proposal for the language... In-Reply-To: References: Message-ID: I find there are some applications that do not respond well to this syntax. In this case you have to use the form: do job yesterday -- some impossible stuff catch slackers -- nothing actually executes here end job On Apr 26, 2011, at 3:02 AM, Andre Garzia wrote: > To avoid such cases and help the engine to fell encouraged to do his > best, I decided to revise that syntax. I propose the following: > > please > ... > ... > ... > end please From pete at mollysrevenge.com Tue Apr 26 12:58:22 2011 From: pete at mollysrevenge.com (Pete) Date: Tue, 26 Apr 2011 09:58:22 -0700 Subject: Ungroup Message? In-Reply-To: References: Message-ID: I see some IDE messages in the Message Watcher when I click Ungroup - revCheckUngroup, revTargetStack,revDeleteObject - right before the selectObjectChanged messages. Pete Molly's Revenge On Mon, Apr 25, 2011 at 6:55 PM, Scott Rossi wrote: > Hello List: > > What message is sent when a group is ungrouped? The only reference I can > find is deleteGroup which doesn't appear to trigger when a group is > ungrouped. So how is the ungrouping of a group detected? > > 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 bobs at twft.com Tue Apr 26 13:15:33 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 26 Apr 2011 10:15:33 -0700 Subject: Ungroup Message? In-Reply-To: References: Message-ID: <881C2F45-4139-4E4E-8E38-67954A5C16BD@twft.com> Wow! I wonder why my message watcher isn't showing those?? Again, what else is it not showing me? Bob On Apr 26, 2011, at 9:58 AM, Pete wrote: > I see some IDE messages in the Message Watcher when I click Ungroup - > revCheckUngroup, revTargetStack,revDeleteObject - right before the > selectObjectChanged messages. > Pete > Molly's Revenge > > > > > On Mon, Apr 25, 2011 at 6:55 PM, Scott Rossi wrote: > >> Hello List: >> >> What message is sent when a group is ungrouped? The only reference I can >> find is deleteGroup which doesn't appear to trigger when a group is >> ungrouped. So how is the ungrouping of a group detected? >> >> 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 pete at mollysrevenge.com Tue Apr 26 14:21:28 2011 From: pete at mollysrevenge.com (Pete) Date: Tue, 26 Apr 2011 11:21:28 -0700 Subject: Ungroup Message? In-Reply-To: <881C2F45-4139-4E4E-8E38-67954A5C16BD@twft.com> References: <881C2F45-4139-4E4E-8E38-67954A5C16BD@twft.com> Message-ID: The default in the message watched is to exclude IDE messages. Click the Suppress button, then uncheck the IDE messages checkbox. Pete Molly's Revenge On Tue, Apr 26, 2011 at 10:15 AM, Bob Sneidar wrote: > Wow! I wonder why my message watcher isn't showing those?? Again, what else > is it not showing me? > > Bob > > > On Apr 26, 2011, at 9:58 AM, Pete wrote: > > > I see some IDE messages in the Message Watcher when I click Ungroup - > > revCheckUngroup, revTargetStack,revDeleteObject - right before the > > selectObjectChanged messages. > > Pete > > Molly's Revenge > > > > > > > > > > On Mon, Apr 25, 2011 at 6:55 PM, Scott Rossi > wrote: > > > >> Hello List: > >> > >> What message is sent when a group is ungrouped? The only reference I > can > >> find is deleteGroup which doesn't appear to trigger when a group is > >> ungrouped. So how is the ungrouping of a group detected? > >> > >> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 26 14:37:58 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 26 Apr 2011 11:37:58 -0700 Subject: Ungroup Message? In-Reply-To: References: <881C2F45-4139-4E4E-8E38-67954A5C16BD@twft.com> Message-ID: <5888703A-5DD8-4999-A7B3-AC5F541DFBC4@twft.com> Thanks Pete. Wow, I get so many messages going by that by the time I get enough idle time to stop the messages the buffer has cleared everything relating to the ungroup! Gah! Well it was just an exercise in curiosity anyway. Bob On Apr 26, 2011, at 11:21 AM, Pete wrote: > The default in the message watched is to exclude IDE messages. Click the > Suppress button, then uncheck the IDE messages checkbox. > > Pete > Molly's Revenge From m.schonewille at economy-x-talk.com Tue Apr 26 14:43:06 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 26 Apr 2011 20:43:06 +0200 Subject: Live LiveCode Code Event #20 Wrap-Up Message-ID: Dear LiveCoders, Last Saturday, 23 April, we had another nice on-line gathering of LiveCode fans. This time we had 2 interesting presentations. Fortunately, both presentations have been recorded and you can watch them again, if you missed the event. As part of his presentation about using image data a few weeks ago, Colin showed a simple paint application. Since then, he has improved the performance a lot, to the point that it works well on the iPad. In his second presentation he showed what changes needed to be made in order for it to work that well. Colin recorded his presentation in two parts: http://www.ustream.tv/recorded/14227752 http://www.ustream.tv/recorded/14228218 You can also download the source code of Colin's SimplePaint project at http://qery.us/pl The second presenter was Ronald, who uses LC in his tasks as educator at a university. He gave an overview about a few of his LC solutions, including polling, student management, chatting and creating video comments. You can find Ronald's presentation here, also in two parts: http://www.ustream.tv/recorded/14228477 http://www.ustream.tv/recorded/14229844 We are still looking for people who are willing to do a presentation. Please look at http://qery.us/oj for ideas and contact me through this web form http://qery.us/du to tell me when you're available. I hope to see you all at the event next time. We will be making announcements on this mailing list and at http://livecode.tv where you can also find a copy of this text. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce From sanke at hrz.uni-kassel.de Tue Apr 26 16:37:54 2011 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Tue, 26 Apr 2011 22:37:54 +0200 Subject: "Blurred vision" of Rev newsletter, Apr 21 Message-ID: <4DB72D22.9040602@hrz.uni-kassel.de> First there is a minor confusion about numbers: The subject of the post I received reads "[109] Summer Academy; Flying to San Jose", when I open it I see "revUp issue 108". Be that as it may, what I want to comment on is the article "Vision: Blur" by Hanson Schmidt-Cornelius in that newsletter. Hanson presents a series of scripts that are related to each other to achieve a "blur filter" effect using sort of a 3x3-convolve matrix. I want to add some information and discuss the issue in a somewhat broader context. As Hanson did not himself supply a sample stack, I produced one that contains his scripts along with a number of alternative "blur" scripts and apart from that added some other filters which might be interesting for Livecode users that intend to look at image processing. You can get the stack here: . I also recommend - for those who like to experiment with image processing - my older stacks - and - Last, but not least, you should download Chipp Walters' stack of 2002 "altConvolve2.rev" from here to get the historical perspective. Chipp Walters has indeed been the first Metacard/Revolution user to develop a scripted version of a 3x3 matrix filter in his sample stack "altConvolve2.rev" of 2002 His aim was to demonstrate that imagedata could be managed effectively even without the help of an external. Chipp had bundled his stack with an external by Scott Raney to let you compare whether the 3x3-convolve matrices, with and without an external, produce the same results. Unfortunately, from Metacard version 2.4.2 on the sequence of the 4 imagedata chars of an image pixel had been altered, and Scott's older external now produced images with a strong yellow tint. Apart from that disadvantage, using the external was about 500 times faster than Chipp's no-external script. I have later used Derek Bump's "convolve.dll" external that is tuned to the newer color sequence, but - like Scott's external - is available only for Windows. Derek's external is included in my distribution of my "Imagedata Toolkit (see URL above). Lately I had the opportunity to test prototypes of Lua-externals (Mac and Windows) for Revolution/Livecode. Performance - speed - of all these externals are at least 60 times faster than any even speed-optimized scripted-only filter versions, on the average these externals are about 100 times faster. For Chipp, "Speed" of execution was not a consideration for him at that time - and not necessary, as he used very small images in his sample stack. He mainly wanted to show that matrix filters could be natively scripted in Metacard/Revolution To be able to use the convolve matrix with larger images, I made a number of changes to Chipp's original script, abandoning among other things the use of arrays in this context or the "round" function which speeded up the performance of the filter by a factor of 10.8, only 3328 milliseconds instead of formerly 36008 ms for an image sized 640x480 (WindowsXP, 2.8 GHz machine, using the Metacard IDE. Performance with the Rev/Livecode IDE is about another 5 seconds slower) Another improvement was introduced by Mark Waddingham, who recommended taking the assignment of matrix values away from inside the repeat loop ("put 0 + item 1 of convArray into tA1" etc.) - an overlooked, but really obvious way to do this - which speeded up performance by another 30% and brought down the total execution speed to 2308 milliseconds - measured with the same image and filter values (performance here will differ slightly with the specific structure of an image and with different filter matrix values). In my "Imagedata Toolkit" stack you find such optimized natively-scripted matrix filters, as also in "Seamless Tiles", along with about matrix 100 filter examples of very different kinds, i.e. not only blur filters. In my new sample stack "Blurred Vision" I have now put together 7 different "blur" filters for comparison. You find Hanson's blur script (presented in the newsletter of April 21) in button "Rev-blur" and the stack script. Speed of his blur filter is 32 seconds in the Rev IDE and 28 in the MC IDE; when compiled as a Rev standalone performance is like in the Metacard IDE (configurations as described above). The optimized Walters/Sanke/Waddingham version of the scripted 3x3-matrix filter in contained in button "matrix blur 3x3". Execution speed is presently 2281 milliseconds, based on a test I just made. This raises the question why Hanson's scripts are so much slower - 12 times - than "matrix blur 3x3"? I did not yet find time for a detailed analysis, but I believe that - even given the special structue of the related scripts - the performance could certainly be improved. One recommendation would be *not* to use arrays , which against popular belief really "slows down" performance in this context of image processing. The next blur button "matrix blur 5x5" is based on a matrix of 25 pixels, and the speed is still a tolerable 5900 milliseconds for 640x480 images. The basix structure of "Lua-blur" is also a that of a matrix filter. The original Lua script is contained in the script for the sake of comparison. A radius of 1 corresponds to a 3x3 matrix, 2 to a 5x5 matrix, 3 to a 7x7 matrix etc. Speed of this button with a radius of 1 as equivalent to a 3x3 matrix is about 5 seconds, for greater radii performance slows down considerably. This is of course not the case if you would run the original Lua script in a Lua environment or with an external. Buttons "Simple blur" and "simple blur compact" - 2568 and 1889 milliseconds - do not use a 9-pixel matrix, but compute the respective blur values on the basis of only two adjacent pixels. "Progressive blur" uses a different aproach by comparing not 2 adjacent pixels, but 2 pixels that are more distant, up to 50 pixels, which results still in "blurred" images, but with a different "shadowy" character. Speed of this algorithm is 2500 milliseconds independent of the distance of the processed pixels. The last blur example - "fast blur" - employs an algorithm I originally used to add hues of any color to images, and then slightly modified. Execution time is a rather stable 2 seconds for any of the blur values (from 1 to 45) you can choose, and the result of the blur is one of the best.-- You may notice that the images when modified by matrix filters may show "borders". In my "Imagedata Toolkit" I have applied special "remove borders" scripts that take account of this feature, but not in the "Blurred vision" stack. I have added 30 more filters to the "blurred vision" stack demonstrating the use of filters other than for blur purposes. If you want to apply "lithography" and "emboss/contours" filters, make sure you first apply one or more of the "despeckle/median" filters for better results. I am sure you will like the "random gradients" and "seamless mirrors" filters, which introduce new dimensions for image processing. I attach the text of this mail as an introductory text the sample stack "Blurred Vision".ision Kind regards, Wilhelm Sanke Prof. emeritus Educational Technology University of Kassel, Germany From pmbrig at gmail.com Tue Apr 26 18:40:29 2011 From: pmbrig at gmail.com (Peter Brigham MD) Date: Tue, 26 Apr 2011 18:40:29 -0400 Subject: FORMalizer -- form printing utility Message-ID: As I just used this utility stack of mine again recently and was reminded of how much it streamlines a particular task, I thought I'd make it available to anyone who would like to use it. In this age of electronic everything, there are still situations when you have to fill out a paper form for some reason. If you have to do this repeatedly it gets onerous, and it's particularly annoying if you are just rewriting information you have in a stack. FORMalizer allows you to print out a form with fields automagically filled in with data from a Rev stack. I use it because I have to print out and fax stuff to insurance companies, etc. I used to have to fill in all the fields by hand -- now I click a button and the form pops up with all the fields filled in for me, and I print it and send it out. FORMalizer automates creating a built-in form as a substack of your mainstack. How it works: Open your data stack, then open the FORMalizer palette, then click a button to import a PNG or JPG of the form you need. (Multiple page forms are supported.) Adjust the rect of the image(s) if necessary. Next, click a button on the palette to create a field overlaying the form, name the field, move it to the correct position on the form, resize it if required, and repeat until all the fields you need are created. You can set the font and fontsize for the fields as desired. FORMalizer also makes it easy to create checkboxes (actually small locked square fields) and even groups of checkboxes that behave like radiobuttons (clicking one member of the group checks that "button" and unchecks the others in the group). Then, click the "clone and attach..." button on the palette to clone the form stack and attach it as a substack of your data stack. Finally, click a button to put a pre-made script snippet on the clipboard, and paste the snippet into your data stack script (or wherever is appropriate in your message path). You can then edit the script, which will look something like this: on emailReleasePrint set the label of btn "FMprint" of stack "emailRelease" to "print" put empty into fld id 1960 of card 1 of stack "emailRelease" -- clinName put empty into fld id 1961 of card 1 of stack "emailRelease" -- clinEmail put empty into fld id 1963 of card 1 of stack "emailRelease" -- anc1name put empty into fld id 1964 of card 1 of stack "emailRelease" -- anc1relp put empty into fld id 1965 of card 1 of stack "emailRelease" -- anc1phone put empty into fld id 1966 of card 1 of stack "emailRelease" -- anc1email put empty into fld id 1967 of card 1 of stack "emailRelease" -- anc2name etc. put "show" into tMode send "printForm" && quote & tMode & quote to stack "emailRelease" end emailReleasePrint Replace those "empty"s with anything you like -- fld "clinName", firstLast(ptName, true), item 3 of fld "ancillary" -- and when you call the handler the fields will be filled appropriately and the form will appear for review (and for filling in other fields by hand if you need to) and for printing. This is a specialized need, to be sure, but if you have the need, here is a solution that will save you time and aggravation. Download at: http://home.comcast.net/~pmbrig/FORMalizer.rev.zip -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From ambassador at fourthworld.com Wed Apr 27 02:10:03 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 26 Apr 2011 23:10:03 -0700 Subject: an enhancement proposal for the language... In-Reply-To: References: Message-ID: <4DB7B33B.4060005@fourthworld.com> Post it to the RQCC, Andre, but be prepared to wait - there's at least one language enhancement in queue ahead of yours more critically important than yours: :) -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From toolbook at kestner.de Wed Apr 27 06:23:07 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 27 Apr 2011 12:23:07 +0200 Subject: how to get a clickable map over an image? Message-ID: <000001cc04c5$1f7791e0$5e66b5a0$@de> Hi, Is there still anybody left, not being in San Jose? I am trying to get multiple polygon shaped areas clickable within an image. So my first idea was to put multiple transparent polygons over my image as clickable buttons. But now I experience that a polygon is only mouse sensitive, when it is opaque. Strange to say, the border of the transparent polygon is mouse sensitive, though I set the border to size 0!? Am I missing something with my polygons or what is the appropriate way to get multiple polygon shaped areas of an image mouse sensitive without cutting the image into multiple pieces? Thanks for any idea Tiemo From klaus at major.on-rev.com Wed Apr 27 06:24:10 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 27 Apr 2011 12:24:10 +0200 Subject: how to get a clickable map over an image? In-Reply-To: <000001cc04c5$1f7791e0$5e66b5a0$@de> References: <000001cc04c5$1f7791e0$5e66b5a0$@de> Message-ID: Hi Tiemo, > Hi, > > Is there still anybody left, not being in San Jose? Yep, me :-) > I am trying to get multiple polygon shaped areas clickable within an image. > So my first idea was to put multiple transparent polygons over my image as > clickable buttons. > But new I experience that a polygon is only mouse sensitive, when it is > opaque. > Strange to say, the border of the transparent polygon is mouse sensitive, > though I set the border to size 0!? > > Am I missing something with my polygons or what is the appropriate way to > get multiple polygon shaped areas of an image mouse sensitive without > cutting the image into multiple pieces? > > Thanks for any idea DITTO? :-D Create you graphics (border or not, doesn't matter) and then set their INK to "NOOP"! This will make these graphics invisible for our eyes, but not for the mouse! They still remain "clickable" and repsonsive! I use this technique for years without any problems! > Tiemo Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From toolbook at kestner.de Wed Apr 27 07:33:11 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 27 Apr 2011 13:33:11 +0200 Subject: AW: how to get a clickable map over an image? In-Reply-To: References: <000001cc04c5$1f7791e0$5e66b5a0$@de> Message-ID: <000801cc04ce$e87222f0$b95668d0$@de> Klaus, you made my day! -Or- I knew it was Ditto... Thanks to the bass man from the river Rhein Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Klaus on-rev > Gesendet: Mittwoch, 27. April 2011 12:24 > An: How to use LiveCode > Betreff: Re: how to get a clickable map over an image? > > Hi Tiemo, > > > Hi, > > > > Is there still anybody left, not being in San Jose? > > Yep, me :-) > > > I am trying to get multiple polygon shaped areas clickable within an image. > > So my first idea was to put multiple transparent polygons over my image as > > clickable buttons. > > But new I experience that a polygon is only mouse sensitive, when it is > > opaque. > > Strange to say, the border of the transparent polygon is mouse sensitive, > > though I set the border to size 0!? > > > > Am I missing something with my polygons or what is the appropriate way to > > get multiple polygon shaped areas of an image mouse sensitive without > > cutting the image into multiple pieces? > > > > Thanks for any idea > > DITTO? :-D > > Create you graphics (border or not, doesn't matter) and then set their INK to > "NOOP"! > > This will make these graphics invisible for our eyes, but not for the mouse! > They still remain "clickable" and repsonsive! > > I use this technique for years without any problems! > > > Tiemo > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rene.micout at numericable.com Wed Apr 27 07:44:22 2011 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Wed, 27 Apr 2011 13:44:22 +0200 Subject: how to get a clickable map over an image? In-Reply-To: References: <000001cc04c5$1f7791e0$5e66b5a0$@de> Message-ID: <145A0E43-CC64-4A11-B7C1-7988AAF6F021@numericable.com> Merci Klaus ! Very useful... Ren? (sous le soleil de Paris et non de San Jose) Le 27 avr. 2011 ? 12:24, Klaus on-rev a ?crit : > Hi Tiemo, > >> Hi, >> >> Is there still anybody left, not being in San Jose? > > Yep, me :-) > >> I am trying to get multiple polygon shaped areas clickable within an image. >> So my first idea was to put multiple transparent polygons over my image as >> clickable buttons. >> But new I experience that a polygon is only mouse sensitive, when it is >> opaque. >> Strange to say, the border of the transparent polygon is mouse sensitive, >> though I set the border to size 0!? >> >> Am I missing something with my polygons or what is the appropriate way to >> get multiple polygon shaped areas of an image mouse sensitive without >> cutting the image into multiple pieces? >> >> Thanks for any idea > > DITTO? :-D > > Create you graphics (border or not, doesn't matter) and then set their INK to "NOOP"! > > This will make these graphics invisible for our eyes, but not for the mouse! > They still remain "clickable" and repsonsive! > > I use this technique for years without any problems! > >> Tiemo > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gbojsza at gmail.com Wed Apr 27 12:29:44 2011 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 27 Apr 2011 10:29:44 -0600 Subject: Creating a customkey from a variable In-Reply-To: References: Message-ID: I forgot to show that the score and student can be a variables... On Wed, Apr 27, 2011 at 10:27 AM, Glen Bojsza wrote: > Hello, > > Hopefully someone is still looking at the list while the conference is > going on... > > I want to create a customkey from a variable. > > on mouseup > put "Math" into testname > set the testname[student] of this stack to score > end mouseup > > this doesn't create the customkey or properties for me but if I don't use a > variable it will work? > > on mouseup > set the Math[student] of this stack to score > end mouseup > > I really would like to use a variable so I can automatically create the > customkeys on the fly. > > Any suggestions? > > regards, > > Glen > From gbojsza at gmail.com Wed Apr 27 12:27:39 2011 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 27 Apr 2011 10:27:39 -0600 Subject: Creating a customkey from a variable Message-ID: Hello, Hopefully someone is still looking at the list while the conference is going on... I want to create a customkey from a variable. on mouseup put "Math" into testname set the testname[student] of this stack to score end mouseup this doesn't create the customkey or properties for me but if I don't use a variable it will work? on mouseup set the Math[student] of this stack to score end mouseup I really would like to use a variable so I can automatically create the customkeys on the fly. Any suggestions? regards, Glen From bobs at twft.com Wed Apr 27 13:07:36 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 27 Apr 2011 10:07:36 -0700 Subject: Creating a customkey from a variable In-Reply-To: References: Message-ID: <45B5C0FF-D798-4F20-B713-BBC786F8085F@twft.com> Not sure if this is relevant, but putting "Math" into testname is going to have no effect on setting a property of the stack called testname. There will be a variable containing "Math" and that is all. Further, you have to create the array as a variable first: put "score" into testname[student] set the testname of this stack to testname -- probably a bad idea to have a variable and a property named the same thing The point here is that you cannot update properties directly. You have to put a property into a variable: put the testname of this stack into myTestname then update the variable: put "Math" into mytestname["student"] then set the property: set the testname of this stack to myTestName Bob On Apr 27, 2011, at 9:27 AM, Glen Bojsza wrote: > Hello, > > Hopefully someone is still looking at the list while the conference is going > on... > > I want to create a customkey from a variable. > > on mouseup > put "Math" into testname > set the testname[student] of this stack to score > end mouseup > > this doesn't create the customkey or properties for me but if I don't use a > variable it will work? > > on mouseup > set the Math[student] of this stack to score > end mouseup > > I really would like to use a variable so I can automatically create the > customkeys on the fly. > > Any suggestions? > > regards, > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Wed Apr 27 13:09:36 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 27 Apr 2011 10:09:36 -0700 Subject: Creating a customkey from a variable In-Reply-To: References: Message-ID: store all your info in one array then store the whole array... set the customProperties["testname"] of stack tFilepath to testname On 27 April 2011 09:29, Glen Bojsza wrote: > I forgot to show that the score and student can be a variables... > > > > On Wed, Apr 27, 2011 at 10:27 AM, Glen Bojsza wrote: > > > Hello, > > > > Hopefully someone is still looking at the list while the conference is > > going on... > > > > I want to create a customkey from a variable. > > > > on mouseup > > put "Math" into testname > > set the testname[student] of this stack to score > > end mouseup > > > > this doesn't create the customkey or properties for me but if I don't use > a > > variable it will work? > > > > on mouseup > > set the Math[student] of this stack to score > > end mouseup > > > > I really would like to use a variable so I can automatically create the > > customkeys on the fly. > > > > Any suggestions? > > > > regards, > > > > Glen > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From paul at researchware.com Wed Apr 27 13:10:15 2011 From: paul at researchware.com (Paul Dupuis) Date: Wed, 27 Apr 2011 13:10:15 -0400 Subject: Creating a customkey from a variable In-Reply-To: References: Message-ID: <4DB84DF7.5030304@researchware.com> Why not use a two-dimensional array, as in: on mouseUp put "Math" into testname put "Jane" into student put "A+" into score set the testresults[testname][student] of this stack to score end mouseUp On 4/27/2011 12:29 PM, Glen Bojsza wrote: > I forgot to show that the score and student can be a variables... > > > > On Wed, Apr 27, 2011 at 10:27 AM, Glen Bojsza wrote: > >> Hello, >> >> Hopefully someone is still looking at the list while the conference is >> going on... >> >> I want to create a customkey from a variable. >> >> on mouseup >> put "Math" into testname >> set the testname[student] of this stack to score >> end mouseup >> >> this doesn't create the customkey or properties for me but if I don't use a >> variable it will work? >> >> on mouseup >> set the Math[student] of this stack to score >> end mouseup >> >> I really would like to use a variable so I can automatically create the >> customkeys on the fly. >> >> Any suggestions? >> >> regards, >> >> Glen >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Paul Dupuis Cofounder Researchware, Inc. http://www.researchware.com/ From pete at mollysrevenge.com Wed Apr 27 13:14:36 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 27 Apr 2011 10:14:36 -0700 Subject: Creating a customkey from a variable In-Reply-To: References: Message-ID: Maybe try something like this (untested): put "Math" into testname set the custompropertyset of this stack to testname set the student of this stack to score set the custompropertyset to empty Pete Molly's Revenge On Wed, Apr 27, 2011 at 9:27 AM, Glen Bojsza wrote: > Hello, > > Hopefully someone is still looking at the list while the conference is > going > on... > > I want to create a customkey from a variable. > > on mouseup > put "Math" into testname > set the testname[student] of this stack to score > end mouseup > > this doesn't create the customkey or properties for me but if I don't use a > variable it will work? > > on mouseup > set the Math[student] of this stack to score > end mouseup > > I really would like to use a variable so I can automatically create the > customkeys on the fly. > > Any suggestions? > > regards, > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From m.schonewille at economy-x-talk.com Wed Apr 27 13:23:00 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 27 Apr 2011 19:23:00 +0200 Subject: Creating a customkey from a variable In-Reply-To: References: Message-ID: <8EA02FF1-7B09-419C-A0C2-2794EB3465A3@economy-x-talk.com> Hi Glen, One of the problems is that testname and testname[student] are different variables. First it is a simple variable, but next it is an array. When you turn testname into an array, the variable is cleared and as soon as it is cleared testname is parsed as plane text and hence as a property name. You might use the "do" variable: put 10 into score put "math" into myVarName put "set the" && myVarName & "[" & quote & myStudent & quote & "] of this stack to myScore" into myScript do myScript But why would you do this? It is much easier to use a straightforward array structure by writing the following... put the cStudentScores of me into myStudentScoresArray put "math" into mySubject put "John" into myStudent put 10 into myScore put myScore into myStudentScoresArray[mySubject][myStudent] set the cStudentScores of me to myStudentScoresArray -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 27 apr 2011, at 18:27, Glen Bojsza wrote: > Hello, > > Hopefully someone is still looking at the list while the conference is going > on... > > I want to create a customkey from a variable. > > on mouseup > put "Math" into testname > set the testname[student] of this stack to score > end mouseup > > this doesn't create the customkey or properties for me but if I don't use a > variable it will work? > > on mouseup > set the Math[student] of this stack to score > end mouseup > > I really would like to use a variable so I can automatically create the > customkeys on the fly. > > Any suggestions? > > regards, > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gbojsza at gmail.com Wed Apr 27 13:31:08 2011 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 27 Apr 2011 11:31:08 -0600 Subject: Creating a customkey from a variable In-Reply-To: <4DB84DF7.5030304@researchware.com> References: <4DB84DF7.5030304@researchware.com> Message-ID: It is the testresult that I want to be a variable. Also, your set command should be set the testresults[testname,student] of this stack to score On Wed, Apr 27, 2011 at 11:10 AM, Paul Dupuis wrote: > Why not use a two-dimensional array, as in: > > on mouseUp > put "Math" into testname > put "Jane" into student > put "A+" into score > set the testresults[testname][student] of this stack to score > end mouseUp > > > On 4/27/2011 12:29 PM, Glen Bojsza wrote: > >> I forgot to show that the score and student can be a variables... >> >> >> >> On Wed, Apr 27, 2011 at 10:27 AM, Glen Bojsza wrote: >> >> Hello, >>> >>> Hopefully someone is still looking at the list while the conference is >>> going on... >>> >>> I want to create a customkey from a variable. >>> >>> on mouseup >>> put "Math" into testname >>> set the testname[student] of this stack to score >>> end mouseup >>> >>> this doesn't create the customkey or properties for me but if I don't use >>> a >>> variable it will work? >>> >>> on mouseup >>> set the Math[student] of this stack to score >>> end mouseup >>> >>> I really would like to use a variable so I can automatically create the >>> customkeys on the fly. >>> >>> Any suggestions? >>> >>> regards, >>> >>> Glen >>> >>> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> > -- > Paul Dupuis > Cofounder > Researchware, Inc. > http://www.researchware.com/ > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 27 13:38:59 2011 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 27 Apr 2011 11:38:59 -0600 Subject: Creating a customkey from a variable In-Reply-To: <8EA02FF1-7B09-419C-A0C2-2794EB3465A3@economy-x-talk.com> References: <8EA02FF1-7B09-419C-A0C2-2794EB3465A3@economy-x-talk.com> Message-ID: Hi Mark, The do script produces what I want (myscore should be score in the example) though I am still working through your array structure to see if I can get the same results... so far no luck. On Wed, Apr 27, 2011 at 11:23 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi Glen, > > One of the problems is that testname and testname[student] are different > variables. First it is a simple variable, but next it is an array. When you > turn testname into an array, the variable is cleared and as soon as it is > cleared testname is parsed as plane text and hence as a property name. > > You might use the "do" variable: > > put 10 into score > put "math" into myVarName > put "set the" && myVarName & "[" & quote & myStudent & quote & "] of this > stack to myScore" into myScript > do myScript > > But why would you do this? It is much easier to use a straightforward array > structure by writing the following... > > put the cStudentScores of me into myStudentScoresArray > put "math" into mySubject > put "John" into myStudent > put 10 into myScore > put myScore into myStudentScoresArray[mySubject][myStudent] > set the cStudentScores of me to myStudentScoresArray > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > New: Download the Installer Maker Plugin 1.6 for LiveCode here > http://qery.us/ce > > On 27 apr 2011, at 18:27, Glen Bojsza wrote: > > > Hello, > > > > Hopefully someone is still looking at the list while the conference is > going > > on... > > > > I want to create a customkey from a variable. > > > > on mouseup > > put "Math" into testname > > set the testname[student] of this stack to score > > end mouseup > > > > this doesn't create the customkey or properties for me but if I don't use > a > > variable it will work? > > > > on mouseup > > set the Math[student] of this stack to score > > end mouseup > > > > I really would like to use a variable so I can automatically create the > > customkeys on the fly. > > > > Any suggestions? > > > > regards, > > > > Glen > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From form at nonsanity.com Wed Apr 27 13:55:17 2011 From: form at nonsanity.com (Nonsanity) Date: Wed, 27 Apr 2011 13:55:17 -0400 Subject: Creating a customkey from a variable In-Reply-To: References: <8EA02FF1-7B09-419C-A0C2-2794EB3465A3@economy-x-talk.com> Message-ID: Remember that there is the customKeys set and if you do this: put "ABC" into myCustomPropNameVar put "123" into myCustomPropValue set the myNewPropSet[ myCustomPropNameVar ] of this stack to myCustomPropValue You are creating a new key set. If you look at the Custom Properties page of the inspector window, you won't see your "ABC" property in the list. Under the list of properties is a pop-up menu called Set. If you look in there you'll see "myNewPropSet" and if you select that, you'll see the ABC custom property with the 123 value in it. If you want a property to be in the main set ("customKeys") AND you want that property to be an array, you can't set the individual elements of the area IN the set command. You have to modify a local array variable and then set the property to that. In my example above, the value is just "123", but if you want that to be an array, it would go like this: put "ABC" into myCustomPropNameVar put "123" into myCustomPropValue[ "x1" ] put "456" into myCustomPropValue[ "x2" ] set the customKeys[ myCustomPropNameVar ] of this stack to myCustomPropValue Not the use of the "customKeys" name. If you use array notation in the set command for properties, you are messing with sets, not the contents of the properties. ~ Chris Innanen ~ Nonsanity On Wed, Apr 27, 2011 at 1:38 PM, Glen Bojsza wrote: > Hi Mark, > > The do script produces what I want (myscore should be score in the example) > though I am still working through your array structure to see if I can get > the same results... so far no luck. > > On Wed, Apr 27, 2011 at 11:23 AM, Mark Schonewille < > m.schonewille at economy-x-talk.com> wrote: > > > Hi Glen, > > > > One of the problems is that testname and testname[student] are different > > variables. First it is a simple variable, but next it is an array. When > you > > turn testname into an array, the variable is cleared and as soon as it is > > cleared testname is parsed as plane text and hence as a property name. > > > > You might use the "do" variable: > > > > put 10 into score > > put "math" into myVarName > > put "set the" && myVarName & "[" & quote & myStudent & quote & "] of this > > stack to myScore" into myScript > > do myScript > > > > But why would you do this? It is much easier to use a straightforward > array > > structure by writing the following... > > > > put the cStudentScores of me into myStudentScoresArray > > put "math" into mySubject > > put "John" into myStudent > > put 10 into myScore > > put myScore into myStudentScoresArray[mySubject][myStudent] > > set the cStudentScores of me to myStudentScoresArray > > > > -- > > Best regards, > > > > Mark Schonewille > > > > Economy-x-Talk Consulting and Software Engineering > > Homepage: http://economy-x-talk.com > > Twitter: http://twitter.com/xtalkprogrammer > > KvK: 50277553 > > > > New: Download the Installer Maker Plugin 1.6 for LiveCode here > > http://qery.us/ce > > > > On 27 apr 2011, at 18:27, Glen Bojsza wrote: > > > > > Hello, > > > > > > Hopefully someone is still looking at the list while the conference is > > going > > > on... > > > > > > I want to create a customkey from a variable. > > > > > > on mouseup > > > put "Math" into testname > > > set the testname[student] of this stack to score > > > end mouseup > > > > > > this doesn't create the customkey or properties for me but if I don't > use > > a > > > variable it will work? > > > > > > on mouseup > > > set the Math[student] of this stack to score > > > end mouseup > > > > > > I really would like to use a variable so I can automatically create the > > > customkeys on the fly. > > > > > > Any suggestions? > > > > > > regards, > > > > > > Glen > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From form at nonsanity.com Wed Apr 27 14:17:07 2011 From: form at nonsanity.com (Nonsanity) Date: Wed, 27 Apr 2011 14:17:07 -0400 Subject: Creating a customkey from a variable In-Reply-To: References: <8EA02FF1-7B09-419C-A0C2-2794EB3465A3@economy-x-talk.com> Message-ID: I take the last code chunk back. This does not work. :( customKeys[ myPropName ] ...Does not make a new property in the default customKeys set. I can't seem to make any new properties in the default set without setting it directly by name - which won't work if you want the name of the property to come from a variable. I even tried: set the customProperties[ "customKeys" ] of this stack to myCustomPropValueList WHICH YOU SHOULD NOT DO! This seems to totally screw up the property sets list. It seems you can only create variable-driven property names in sets other than the default... put "ABC" into myCustomPropNameVar put "123" into myCustomPropValue[ "x1" ] put "456" into myCustomPropValue[ "x2" ] set the mySet[ myCustomPropNameVar ] of this stack to myCustomPropValueList And then to get at your ABC property's array value: put the mySet[ myCustomPropNameVar ] of this stack into myCustomProp put myCustomProp[ "x1" ] into msg -- "123" So there may be something to post as a bug here... ~ Chris Innanen ~ Nonsanity On Wed, Apr 27, 2011 at 1:55 PM, Nonsanity wrote: > Remember that there is the customKeys set and if you do this: > > put "ABC" into myCustomPropNameVar > put "123" into myCustomPropValue > set the myNewPropSet[ myCustomPropNameVar ] of this stack to > myCustomPropValue > > You are creating a new key set. If you look at the Custom Properties page > of the inspector window, you won't see your "ABC" property in the list. > Under the list of properties is a pop-up menu called Set. If you look in > there you'll see "myNewPropSet" and if you select that, you'll see the ABC > custom property with the 123 value in it. > > If you want a property to be in the main set ("customKeys") AND you want > that property to be an array, you can't set the individual elements of the > area IN the set command. You have to modify a local array variable and then > set the property to that. > > In my example above, the value is just "123", but if you want that to be an > array, it would go like this: > > put "ABC" into myCustomPropNameVar > put "123" into myCustomPropValue[ "x1" ] > put "456" into myCustomPropValue[ "x2" ] > set the customKeys[ myCustomPropNameVar ] of this stack to > myCustomPropValue > > Not the use of the "customKeys" name. If you use array notation in the set > command for properties, you are messing with sets, not the contents of the > properties. > > ~ Chris Innanen > ~ Nonsanity > > > > On Wed, Apr 27, 2011 at 1:38 PM, Glen Bojsza wrote: > >> Hi Mark, >> >> The do script produces what I want (myscore should be score in the >> example) >> though I am still working through your array structure to see if I can get >> the same results... so far no luck. >> >> On Wed, Apr 27, 2011 at 11:23 AM, Mark Schonewille < >> m.schonewille at economy-x-talk.com> wrote: >> >> > Hi Glen, >> > >> > One of the problems is that testname and testname[student] are different >> > variables. First it is a simple variable, but next it is an array. When >> you >> > turn testname into an array, the variable is cleared and as soon as it >> is >> > cleared testname is parsed as plane text and hence as a property name. >> > >> > You might use the "do" variable: >> > >> > put 10 into score >> > put "math" into myVarName >> > put "set the" && myVarName & "[" & quote & myStudent & quote & "] of >> this >> > stack to myScore" into myScript >> > do myScript >> > >> > But why would you do this? It is much easier to use a straightforward >> array >> > structure by writing the following... >> > >> > put the cStudentScores of me into myStudentScoresArray >> > put "math" into mySubject >> > put "John" into myStudent >> > put 10 into myScore >> > put myScore into myStudentScoresArray[mySubject][myStudent] >> > set the cStudentScores of me to myStudentScoresArray >> > >> > -- >> > Best regards, >> > >> > Mark Schonewille >> > >> > Economy-x-Talk Consulting and Software Engineering >> > Homepage: http://economy-x-talk.com >> > Twitter: http://twitter.com/xtalkprogrammer >> > KvK: 50277553 >> > >> > New: Download the Installer Maker Plugin 1.6 for LiveCode here >> > http://qery.us/ce >> > >> > On 27 apr 2011, at 18:27, Glen Bojsza wrote: >> > >> > > Hello, >> > > >> > > Hopefully someone is still looking at the list while the conference is >> > going >> > > on... >> > > >> > > I want to create a customkey from a variable. >> > > >> > > on mouseup >> > > put "Math" into testname >> > > set the testname[student] of this stack to score >> > > end mouseup >> > > >> > > this doesn't create the customkey or properties for me but if I don't >> use >> > a >> > > variable it will work? >> > > >> > > on mouseup >> > > set the Math[student] of this stack to score >> > > end mouseup >> > > >> > > I really would like to use a variable so I can automatically create >> the >> > > customkeys on the fly. >> > > >> > > Any suggestions? >> > > >> > > regards, >> > > >> > > Glen >> > > _______________________________________________ >> > > use-livecode mailing list >> > > use-livecode at lists.runrev.com >> > > Please visit this url to subscribe, unsubscribe and manage your >> > subscription preferences: >> > > http://lists.runrev.com/mailman/listinfo/use-livecode >> > >> > >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> > subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> > >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 Apr 27 14:31:29 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 27 Apr 2011 11:31:29 -0700 Subject: Creating a customkey from a variable In-Reply-To: References: <8EA02FF1-7B09-419C-A0C2-2794EB3465A3@economy-x-talk.com> Message-ID: Have you considered a very simple SQLIte database? A simple table with columns for student, subject and score, maybe a date related column would allow you to analyse the data every which way after you've collected it. Pete Molly's Revenge On Wed, Apr 27, 2011 at 10:55 AM, Nonsanity wrote: > Remember that there is the customKeys set and if you do this: > > put "ABC" into myCustomPropNameVar > put "123" into myCustomPropValue > set the myNewPropSet[ myCustomPropNameVar ] of this stack to > myCustomPropValue > > You are creating a new key set. If you look at the Custom Properties page > of > the inspector window, you won't see your "ABC" property in the list. Under > the list of properties is a pop-up menu called Set. If you look in there > you'll see "myNewPropSet" and if you select that, you'll see the ABC custom > property with the 123 value in it. > > If you want a property to be in the main set ("customKeys") AND you want > that property to be an array, you can't set the individual elements of the > area IN the set command. You have to modify a local array variable and then > set the property to that. > > In my example above, the value is just "123", but if you want that to be an > array, it would go like this: > > put "ABC" into myCustomPropNameVar > put "123" into myCustomPropValue[ "x1" ] > put "456" into myCustomPropValue[ "x2" ] > set the customKeys[ myCustomPropNameVar ] of this stack to > myCustomPropValue > > Not the use of the "customKeys" name. If you use array notation in the set > command for properties, you are messing with sets, not the contents of the > properties. > > ~ Chris Innanen > ~ Nonsanity > > > On Wed, Apr 27, 2011 at 1:38 PM, Glen Bojsza wrote: > > > Hi Mark, > > > > The do script produces what I want (myscore should be score in the > example) > > though I am still working through your array structure to see if I can > get > > the same results... so far no luck. > > > > On Wed, Apr 27, 2011 at 11:23 AM, Mark Schonewille < > > m.schonewille at economy-x-talk.com> wrote: > > > > > Hi Glen, > > > > > > One of the problems is that testname and testname[student] are > different > > > variables. First it is a simple variable, but next it is an array. When > > you > > > turn testname into an array, the variable is cleared and as soon as it > is > > > cleared testname is parsed as plane text and hence as a property name. > > > > > > You might use the "do" variable: > > > > > > put 10 into score > > > put "math" into myVarName > > > put "set the" && myVarName & "[" & quote & myStudent & quote & "] of > this > > > stack to myScore" into myScript > > > do myScript > > > > > > But why would you do this? It is much easier to use a straightforward > > array > > > structure by writing the following... > > > > > > put the cStudentScores of me into myStudentScoresArray > > > put "math" into mySubject > > > put "John" into myStudent > > > put 10 into myScore > > > put myScore into myStudentScoresArray[mySubject][myStudent] > > > set the cStudentScores of me to myStudentScoresArray > > > > > > -- > > > Best regards, > > > > > > Mark Schonewille > > > > > > Economy-x-Talk Consulting and Software Engineering > > > Homepage: http://economy-x-talk.com > > > Twitter: http://twitter.com/xtalkprogrammer > > > KvK: 50277553 > > > > > > New: Download the Installer Maker Plugin 1.6 for LiveCode here > > > http://qery.us/ce > > > > > > On 27 apr 2011, at 18:27, Glen Bojsza wrote: > > > > > > > Hello, > > > > > > > > Hopefully someone is still looking at the list while the conference > is > > > going > > > > on... > > > > > > > > I want to create a customkey from a variable. > > > > > > > > on mouseup > > > > put "Math" into testname > > > > set the testname[student] of this stack to score > > > > end mouseup > > > > > > > > this doesn't create the customkey or properties for me but if I don't > > use > > > a > > > > variable it will work? > > > > > > > > on mouseup > > > > set the Math[student] of this stack to score > > > > end mouseup > > > > > > > > I really would like to use a variable so I can automatically create > the > > > > customkeys on the fly. > > > > > > > > Any suggestions? > > > > > > > > regards, > > > > > > > > Glen > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode at lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From bvlahos at mac.com Wed Apr 27 14:43:12 2011 From: bvlahos at mac.com (Bill Vlahos) Date: Wed, 27 Apr 2011 11:43:12 -0700 Subject: Test message Message-ID: <995EC95B-F316-4846-990A-2D8DC23813D4@mac.com> Testing the list server. I sent a message last night but I don't see it. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. From bvlahos at mac.com Wed Apr 27 14:45:36 2011 From: bvlahos at mac.com (Bill Vlahos) Date: Wed, 27 Apr 2011 11:45:36 -0700 Subject: How to generate user passwords Message-ID: Before I reinvent the wheel, has anyone written a routine to generate passwords that they would be willing to share? Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. From form at nonsanity.com Wed Apr 27 14:45:49 2011 From: form at nonsanity.com (Nonsanity) Date: Wed, 27 Apr 2011 14:45:49 -0400 Subject: Linked List Code In-Reply-To: References: Message-ID: Linked lists use pointers to allow the memory for the items to be allocated as needed, and ties those pointers to each item for the next (and previous for doubly-linked) so traversal code can hop from memory pocket to memory pocket in the right order. Whereas an array in a language like C keeps all the items in sequential memory locations so moving form one to the next is just a matter of adding one to the pointer to the current item. In LiveCode, memory allocation and management is handled by the system. The old-school method of handling lists (and one I still use when order is most important) is the good old comma-delimited list. Inserting and deleting is done with the "put x before/after" command or the "delete item x" command. Access it direct by item number. put "A,B,C,D,E,F" into myList delete item 5 of myList put ",3" after item 2 of myList put item 4 of myList into msg -- "C" put item 2 to -2 of myList into msg -- "B,3,C,D" put myList into msg -- "A,B,3,C,D,F" You can also use arrays, though if you are deleting items, you need to access the list of keys. This can get more complex, since LC's arrays are actually maps. ~ Chris Innanen ~ Nonsanity On Sun, Apr 24, 2011 at 8:08 PM, Pete wrote: > By chance, does anyone have an LC script for handling a linked list > (navigating, inserting, deleting)? > > 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 bvg at mac.com Wed Apr 27 14:49:15 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 27 Apr 2011 11:49:15 -0700 Subject: How to generate user passwords In-Reply-To: References: Message-ID: repeat for random(2) + random(2) + 4 times put any char of "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890+*%&/)=?-_.:,;" & quote & space after thePassword end repeat put thePassword On 27 Apr 2011, at 11:45, Bill Vlahos wrote: > Before I reinvent the wheel, has anyone written a routine to generate passwords that they would be willing to share? > > Bill Vlahos > _________________ > InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From form at nonsanity.com Wed Apr 27 14:55:57 2011 From: form at nonsanity.com (Nonsanity) Date: Wed, 27 Apr 2011 14:55:57 -0400 Subject: How to generate user passwords In-Reply-To: References: Message-ID: put base64encode( random( 100000000 ) ) into msg :) ~ Chris Innanen ~ Nonsanity 2011/4/27 Bj?rnke von Gierke > repeat for random(2) + random(2) + 4 times > put any char of > "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890+*%&/)=?-_.:,;" > & quote & space after thePassword > end repeat > put thePassword > On 27 Apr 2011, at 11:45, Bill Vlahos wrote: > > > Before I reinvent the wheel, has anyone written a routine to generate > passwords that they would be willing to share? > > > > Bill Vlahos > > _________________ > > InfoWallet (http://www.infowallet.com) is about keeping your important > life information with you, accessible, and secure. > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 27 15:20:37 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 27 Apr 2011 12:20:37 -0700 Subject: Linked List Code In-Reply-To: References: Message-ID: I think maybe I used the wrong term. I see how the comma-delimited list would work for a one-dimensional list but I need a multi-dimensional list - still not sure if I have the right terminology, maybe "multi-level" would be better To use your example, starting off with A,B,C,D,E,F I need to be able to branch off from item A to A1,A2,A3, etc and any or all of A1,A2,A3 might need to branch off again, and so on. I guess LC arrays would work for this with each level being a subkey of the key above it. Pete Molly's Revenge On Wed, Apr 27, 2011 at 11:45 AM, Nonsanity wrote: > Linked lists use pointers to allow the memory for the items to be allocated > as needed, and ties those pointers to each item for the next (and previous > for doubly-linked) so traversal code can hop from memory pocket to memory > pocket in the right order. > > Whereas an array in a language like C keeps all the items in sequential > memory locations so moving form one to the next is just a matter of adding > one to the pointer to the current item. > > In LiveCode, memory allocation and management is handled by the system. > > The old-school method of handling lists (and one I still use when order is > most important) is the good old comma-delimited list. Inserting and > deleting > is done with the "put x before/after" command or the "delete item x" > command. Access it direct by item number. > > put "A,B,C,D,E,F" into myList > delete item 5 of myList > put ",3" after item 2 of myList > put item 4 of myList into msg -- "C" > put item 2 to -2 of myList into msg -- "B,3,C,D" > put myList into msg -- "A,B,3,C,D,F" > > You can also use arrays, though if you are deleting items, you need to > access the list of keys. This can get more complex, since LC's arrays are > actually maps. > > ~ Chris Innanen > ~ Nonsanity > > > On Sun, Apr 24, 2011 at 8:08 PM, Pete wrote: > > > By chance, does anyone have an LC script for handling a linked list > > (navigating, inserting, deleting)? > > > > 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 m.schonewille at economy-x-talk.com Wed Apr 27 15:45:42 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 27 Apr 2011 21:45:42 +0200 Subject: How to generate user passwords In-Reply-To: References: Message-ID: <397D7853-CC9F-4D88-95EA-8469C716AB40@economy-x-talk.com> Bill, I made this as part of another discussion about speakable passwords. function speakablePassword theLength put "bcdfghjklmnprstwyz" into myConsonants put "aeiou" into myVowels put "" into myPass repeat myPasswordLength if char -1 of myPass is in myConsonants then if char -2 of myPass is in myConsonants or \ length(myPass = 9) then put any char of myVowels after myPass else if any item of "true,false" then put any char of myVowels after myPass else put any char of myConsonants after myPass end if end if else put any char of myConsonants after myPass end if end repeat return myPass end speakablePassword Since you didn't say what you want to use the passwords for, I don't know if this will be helpful, but I'm posting it anyway. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 27 apr 2011, at 20:45, Bill Vlahos wrote: > Before I reinvent the wheel, has anyone written a routine to generate passwords that they would be willing to share? > > Bill Vlahos From form at nonsanity.com Wed Apr 27 17:10:18 2011 From: form at nonsanity.com (Nonsanity) Date: Wed, 27 Apr 2011 17:10:18 -0400 Subject: Linked List Code In-Reply-To: References: Message-ID: Ah, yes multi-dimensional arrays are fully supported by LC. put "ABC" into myMDArray[ 1 ][ 3 ][ 2 ] LC allows for nexting arrays, so basically this is an array of arrays of values, or a three dimensional array. ~ Chris Innanen ~ Nonsanity On Wed, Apr 27, 2011 at 3:20 PM, Pete wrote: > I think maybe I used the wrong term. I see how the comma-delimited list > would work for a one-dimensional list but I need a multi-dimensional list - > still not sure if I have the right terminology, maybe "multi-level" would > be > better > > To use your example, starting off with A,B,C,D,E,F I need to be able to > branch off from item A to A1,A2,A3, etc and any or all of A1,A2,A3 might > need to branch off again, and so on. > > I guess LC arrays would work for this with each level being a subkey of the > key above it. > > Pete > Molly's Revenge > > > > > On Wed, Apr 27, 2011 at 11:45 AM, Nonsanity wrote: > > > Linked lists use pointers to allow the memory for the items to be > allocated > > as needed, and ties those pointers to each item for the next (and > previous > > for doubly-linked) so traversal code can hop from memory pocket to memory > > pocket in the right order. > > > > Whereas an array in a language like C keeps all the items in sequential > > memory locations so moving form one to the next is just a matter of > adding > > one to the pointer to the current item. > > > > In LiveCode, memory allocation and management is handled by the system. > > > > The old-school method of handling lists (and one I still use when order > is > > most important) is the good old comma-delimited list. Inserting and > > deleting > > is done with the "put x before/after" command or the "delete item x" > > command. Access it direct by item number. > > > > put "A,B,C,D,E,F" into myList > > delete item 5 of myList > > put ",3" after item 2 of myList > > put item 4 of myList into msg -- "C" > > put item 2 to -2 of myList into msg -- "B,3,C,D" > > put myList into msg -- "A,B,3,C,D,F" > > > > You can also use arrays, though if you are deleting items, you need to > > access the list of keys. This can get more complex, since LC's arrays are > > actually maps. > > > > ~ Chris Innanen > > ~ Nonsanity > > > > > > On Sun, Apr 24, 2011 at 8:08 PM, Pete wrote: > > > > > By chance, does anyone have an LC script for handling a linked list > > > (navigating, inserting, deleting)? > > > > > > 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 > From form at nonsanity.com Wed Apr 27 17:11:03 2011 From: form at nonsanity.com (Nonsanity) Date: Wed, 27 Apr 2011 17:11:03 -0400 Subject: Linked List Code In-Reply-To: References: Message-ID: That should read "nesting arrays"... Putting one inside another. ~ Chris Innanen ~ Nonsanity On Wed, Apr 27, 2011 at 5:10 PM, Nonsanity wrote: > Ah, yes multi-dimensional arrays are fully supported by LC. > > put "ABC" into myMDArray[ 1 ][ 3 ][ 2 ] > > LC allows for nexting arrays, so basically this is an array of arrays of > values, or a three dimensional array. > > ~ Chris Innanen > ~ Nonsanity > > > > On Wed, Apr 27, 2011 at 3:20 PM, Pete wrote: > >> I think maybe I used the wrong term. I see how the comma-delimited list >> would work for a one-dimensional list but I need a multi-dimensional list >> - >> still not sure if I have the right terminology, maybe "multi-level" would >> be >> better >> >> To use your example, starting off with A,B,C,D,E,F I need to be able to >> branch off from item A to A1,A2,A3, etc and any or all of A1,A2,A3 might >> need to branch off again, and so on. >> >> I guess LC arrays would work for this with each level being a subkey of >> the >> key above it. >> >> Pete >> Molly's Revenge >> >> >> >> >> On Wed, Apr 27, 2011 at 11:45 AM, Nonsanity wrote: >> >> > Linked lists use pointers to allow the memory for the items to be >> allocated >> > as needed, and ties those pointers to each item for the next (and >> previous >> > for doubly-linked) so traversal code can hop from memory pocket to >> memory >> > pocket in the right order. >> > >> > Whereas an array in a language like C keeps all the items in sequential >> > memory locations so moving form one to the next is just a matter of >> adding >> > one to the pointer to the current item. >> > >> > In LiveCode, memory allocation and management is handled by the system. >> > >> > The old-school method of handling lists (and one I still use when order >> is >> > most important) is the good old comma-delimited list. Inserting and >> > deleting >> > is done with the "put x before/after" command or the "delete item x" >> > command. Access it direct by item number. >> > >> > put "A,B,C,D,E,F" into myList >> > delete item 5 of myList >> > put ",3" after item 2 of myList >> > put item 4 of myList into msg -- "C" >> > put item 2 to -2 of myList into msg -- "B,3,C,D" >> > put myList into msg -- "A,B,3,C,D,F" >> > >> > You can also use arrays, though if you are deleting items, you need to >> > access the list of keys. This can get more complex, since LC's arrays >> are >> > actually maps. >> > >> > ~ Chris Innanen >> > ~ Nonsanity >> > >> > >> > On Sun, Apr 24, 2011 at 8:08 PM, Pete wrote: >> > >> > > By chance, does anyone have an LC script for handling a linked list >> > > (navigating, inserting, deleting)? >> > > >> > > 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 >> > > From dave.cragg at lacscentre.co.uk Wed Apr 27 17:30:42 2011 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Wed, 27 Apr 2011 22:30:42 +0100 Subject: How to generate user passwords In-Reply-To: <397D7853-CC9F-4D88-95EA-8469C716AB40@economy-x-talk.com> References: <397D7853-CC9F-4D88-95EA-8469C716AB40@economy-x-talk.com> Message-ID: <440F9A20-55CF-4CC7-B8AA-26F29FDD58AD@lacscentre.co.uk> Mark's method has the additional advantage that it can be used to generate names for your next science fiction novel. Best wishes Kgime Bogbu (Commander 4th Class, Warmifa Federation) From dunbarx at aol.com Wed Apr 27 19:27:29 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 27 Apr 2011 19:27:29 -0400 Subject: How to generate user passwords In-Reply-To: <397D7853-CC9F-4D88-95EA-8469C716AB40@economy-x-talk.com> References: <397D7853-CC9F-4D88-95EA-8469C716AB40@economy-x-talk.com> Message-ID: <8CDD349CF533511-F40-34CE7@webmail-d047.sysops.aol.com> I was in Malaysia in 1998 programming the Petronus Towers concert hall with a HC based control system for a large fiber optic project. The client still owed us quite a bit of money, and I knew if I left town, we would have a time getting paid. It was that sort of job. So while the general contractor was on the concert floor calling light patterns back to me via walkie-talkie, I would take a few seconds here and there to add a small counting routine, such that after 30 sessions the system would erase the stack script, and ask for a password from then on (the system was shut down each night). The stack script was saved in a button. We got nowhere with collections, and a month after I got back I answered a frantic call from the client. Long story short, we had a wire transfer in two days, and I sent them the password that disabled the "virus" and restored the stack script. The password was "357". My point is that unless you are defending against the KGB, or are worried that an LC-savvy agent might be called in, you don't really need a lot of fancy protection. Not that there is anything wrong with fancy. Craig Newman -----Original Message----- From: Mark Schonewille To: How to use LiveCode Sent: Wed, Apr 27, 2011 3:45 pm Subject: Re: How to generate user passwords Bill, I made this as part of another discussion about speakable passwords. function speakablePassword theLength put "bcdfghjklmnprstwyz" into myConsonants put "aeiou" into myVowels put "" into myPass repeat myPasswordLength if char -1 of myPass is in myConsonants then if char -2 of myPass is in myConsonants or \ length(myPass = 9) then put any char of myVowels after myPass else if any item of "true,false" then put any char of myVowels after myPass else put any char of myConsonants after myPass end if end if else put any char of myConsonants after myPass end if end repeat return myPass end speakablePassword Since you didn't say what you want to use the passwords for, I don't know if this will be helpful, but I'm posting it anyway. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 27 apr 2011, at 20:45, Bill Vlahos wrote: > Before I reinvent the wheel, has anyone written a routine to generate passwords that they would be willing to share? > > Bill Vlahos _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bvlahos at mac.com Wed Apr 27 19:35:49 2011 From: bvlahos at mac.com (Bill Vlahos) Date: Wed, 27 Apr 2011 16:35:49 -0700 Subject: How to generate user passwords In-Reply-To: <397D7853-CC9F-4D88-95EA-8469C716AB40@economy-x-talk.com> References: <397D7853-CC9F-4D88-95EA-8469C716AB40@economy-x-talk.com> Message-ID: <67A07BBA-B182-4983-9E03-84465ABD4452@mac.com> Mark, Nice. Thank you. I want to add a feature to InfoWallet to generate passwords for a user so the user doesn't have to think them up. InfoWallet can manage the passwords and can automate login in to a web page or application using the Login Assistant feature with as little as 2 clicks. Your function generates very random strings which might be too random for a user to remember on their own. I didn't know you can just specify "repeat theLength". Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Apr 27, 2011, at 12:45 PM, Mark Schonewille wrote: > Bill, > > I made this as part of another discussion about speakable passwords. > > function speakablePassword theLength > put "bcdfghjklmnprstwyz" into myConsonants > put "aeiou" into myVowels > put "" into myPass > repeat myPasswordLength > if char -1 of myPass is in myConsonants then > if char -2 of myPass is in myConsonants or \ > length(myPass = 9) then > put any char of myVowels after myPass > else > if any item of "true,false" then > put any char of myVowels after myPass > else > put any char of myConsonants after myPass > end if > end if > else > put any char of myConsonants after myPass > end if > end repeat > return myPass > end speakablePassword > > Since you didn't say what you want to use the passwords for, I don't know if this will be helpful, but I'm posting it anyway. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce > > On 27 apr 2011, at 20:45, Bill Vlahos wrote: > >> Before I reinvent the wheel, has anyone written a routine to generate passwords that they would be willing to share? >> >> Bill Vlahos > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bvlahos at mac.com Wed Apr 27 19:40:25 2011 From: bvlahos at mac.com (Bill Vlahos) Date: Wed, 27 Apr 2011 16:40:25 -0700 Subject: How to generate user passwords In-Reply-To: <67A07BBA-B182-4983-9E03-84465ABD4452@mac.com> References: <397D7853-CC9F-4D88-95EA-8469C716AB40@economy-x-talk.com> <67A07BBA-B182-4983-9E03-84465ABD4452@mac.com> Message-ID: <9FB6F701-5F6E-42D4-BAE5-32B83427F8F5@mac.com> Also thanks to Bjornke and Chris for your suggestions too. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Apr 27, 2011, at 4:35 PM, Bill Vlahos wrote: > Mark, > > Nice. Thank you. > > I want to add a feature to InfoWallet to generate passwords for a user so the user doesn't have to think them up. InfoWallet can manage the passwords and can automate login in to a web page or application using the Login Assistant feature with as little as 2 clicks. Your function generates very random strings which might be too random for a user to remember on their own. > > I didn't know you can just specify "repeat theLength". > > Bill Vlahos > _________________ > InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. > > On Apr 27, 2011, at 12:45 PM, Mark Schonewille wrote: > >> Bill, >> >> I made this as part of another discussion about speakable passwords. >> >> function speakablePassword theLength >> put "bcdfghjklmnprstwyz" into myConsonants >> put "aeiou" into myVowels >> put "" into myPass >> repeat myPasswordLength >> if char -1 of myPass is in myConsonants then >> if char -2 of myPass is in myConsonants or \ >> length(myPass = 9) then >> put any char of myVowels after myPass >> else >> if any item of "true,false" then >> put any char of myVowels after myPass >> else >> put any char of myConsonants after myPass >> end if >> end if >> else >> put any char of myConsonants after myPass >> end if >> end repeat >> return myPass >> end speakablePassword >> >> Since you didn't say what you want to use the passwords for, I don't know if this will be helpful, but I'm posting it anyway. >> >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> Homepage: http://economy-x-talk.com >> Twitter: http://twitter.com/xtalkprogrammer >> KvK: 50277553 >> >> New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce >> >> On 27 apr 2011, at 20:45, Bill Vlahos wrote: >> >>> Before I reinvent the wheel, has anyone written a routine to generate passwords that they would be willing to share? >>> >>> Bill Vlahos >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 27 19:42:19 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 28 Apr 2011 01:42:19 +0200 Subject: How to generate user passwords In-Reply-To: <67A07BBA-B182-4983-9E03-84465ABD4452@mac.com> References: <397D7853-CC9F-4D88-95EA-8469C716AB40@economy-x-talk.com> <67A07BBA-B182-4983-9E03-84465ABD4452@mac.com> Message-ID: <78E821DC-112E-4DFB-BD1A-8C5ED1BFF11C@economy-x-talk.com> Bill, The passwords are "speakable", to make them easier to remember. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 28 apr 2011, at 01:35, Bill Vlahos wrote: > Mark, > > Nice. Thank you. > > I want to add a feature to InfoWallet to generate passwords for a user so the user doesn't have to think them up. InfoWallet can manage the passwords and can automate login in to a web page or application using the Login Assistant feature with as little as 2 clicks. Your function generates very random strings which might be too random for a user to remember on their own. > > I didn't know you can just specify "repeat theLength". > > Bill Vlahos From m.schonewille at economy-x-talk.com Wed Apr 27 19:44:30 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 28 Apr 2011 01:44:30 +0200 Subject: Live LiveCode Code Event #21 Message-ID: Dear people, While the RunRevLive conference is on it's second day, we are organising the Live LiveCode Code Event for this Saturday already. Unfortunately, we don't have any presenters yet! It just so happens that all geeks are currently in San Jos?! The good news is that this is an excellent opportunity to do an all-beginners session at the LLCCE. Have you just started using LiveCode or would you call yourself an intermediate LiveCode programmer? Then we invite you to do a short presentation. Tell us what you (plan to) use LiveCode for, let us know which problems you are struggling with or share your newly found solutions with us. We are planing to do multiple short sessions this Saturday, each 15 to 20 minutes long. If you have been too shy or if you have always been thinking that you're not advanced enough, then this is your chance! More info about the LLCCE is available at http://livecode.us. Contact me off-list by e-mail or use the web form at http://qery.us/du to get in touch with me. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce From bvlahos at mac.com Wed Apr 27 19:56:46 2011 From: bvlahos at mac.com (Bill Vlahos) Date: Wed, 27 Apr 2011 16:56:46 -0700 Subject: How to generate user passwords In-Reply-To: <78E821DC-112E-4DFB-BD1A-8C5ED1BFF11C@economy-x-talk.com> References: <397D7853-CC9F-4D88-95EA-8469C716AB40@economy-x-talk.com> <67A07BBA-B182-4983-9E03-84465ABD4452@mac.com> <78E821DC-112E-4DFB-BD1A-8C5ED1BFF11C@economy-x-talk.com> Message-ID: Mark, Of course they become less speakable if you have to include special characters (@#$%&*) and include upper and lower case which are often required complexities of strong passwords. :) Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Apr 27, 2011, at 4:42 PM, Mark Schonewille wrote: > Bill, > > The passwords are "speakable", to make them easier to remember. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce > > On 28 apr 2011, at 01:35, Bill Vlahos wrote: > >> Mark, >> >> Nice. Thank you. >> >> I want to add a feature to InfoWallet to generate passwords for a user so the user doesn't have to think them up. InfoWallet can manage the passwords and can automate login in to a web page or application using the Login Assistant feature with as little as 2 clicks. Your function generates very random strings which might be too random for a user to remember on their own. >> >> I didn't know you can just specify "repeat theLength". >> >> Bill Vlahos > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 27 20:16:55 2011 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 27 Apr 2011 18:16:55 -0600 Subject: How to delete a single customkey? Message-ID: Hello, I have found that you can delete all customkeys of an object by setting the customkeys to empty. But I only want to delete one of the customkeys? Is it all or nothing? thanks, Glen From scott at elementarysoftware.com Wed Apr 27 20:27:03 2011 From: scott at elementarysoftware.com (Scott Morrow) Date: Wed, 27 Apr 2011 17:27:03 -0700 Subject: How to generate user passwords In-Reply-To: References: <397D7853-CC9F-4D88-95EA-8469C716AB40@economy-x-talk.com> <67A07BBA-B182-4983-9E03-84465ABD4452@mac.com> <78E821DC-112E-4DFB-BD1A-8C5ED1BFF11C@economy-x-talk.com> Message-ID: <6D6E050E-19F6-412D-B899-5307AB855240@elementarysoftware.com> With those characters "(@#$%&*)" I would think you could just curse. -Scott On Apr 27, 2011, at 4:56 PM, Bill Vlahos wrote: > Mark, > > Of course they become less speakable if you have to include special characters (@#$%&*) and include upper and lower case which are often required complexities of strong passwords. :) > > Bill Vlahos > _________________ > InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. > > On Apr 27, 2011, at 4:42 PM, Mark Schonewille wrote: > >> Bill, >> >> The passwords are "speakable", to make them easier to remember. >> >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> Homepage: http://economy-x-talk.com >> Twitter: http://twitter.com/xtalkprogrammer >> KvK: 50277553 >> >> New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce >> >> On 28 apr 2011, at 01:35, Bill Vlahos wrote: >> >>> Mark, >>> >>> Nice. Thank you. >>> >>> I want to add a feature to InfoWallet to generate passwords for a user so the user doesn't have to think them up. InfoWallet can manage the passwords and can automate login in to a web page or application using the Login Assistant feature with as little as 2 clicks. Your function generates very random strings which might be too random for a user to remember on their own. >>> >>> I didn't know you can just specify "repeat theLength". >>> >>> Bill Vlahos >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bvg at mac.com Wed Apr 27 20:28:36 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 27 Apr 2011 17:28:36 -0700 Subject: How to delete a single customkey? In-Reply-To: References: Message-ID: <179A1A21-1577-449D-A2D3-0124673A2B7F@mac.com> you can set it to parts of the existing customkeys like this: put the customkeys into theList delete line 2 of theList set the customkeys to theList On 27 Apr 2011, at 17:16, Glen Bojsza wrote: > Hello, > > I have found that you can delete all customkeys of an object by setting the > customkeys to empty. > > But I only want to delete one of the customkeys? > > Is it all or nothing? > > thanks, > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Wed Apr 27 20:33:19 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 27 Apr 2011 19:33:19 -0500 Subject: How to generate user passwords In-Reply-To: <6D6E050E-19F6-412D-B899-5307AB855240@elementarysoftware.com> References: <397D7853-CC9F-4D88-95EA-8469C716AB40@economy-x-talk.com> <67A07BBA-B182-4983-9E03-84465ABD4452@mac.com> <78E821DC-112E-4DFB-BD1A-8C5ED1BFF11C@economy-x-talk.com> <6D6E050E-19F6-412D-B899-5307AB855240@elementarysoftware.com> Message-ID: On Wed, Apr 27, 2011 at 7:27 PM, Scott Morrow wrote: > With those characters "(@#$%&*)" I would think you could just curse. > > -Scott > Hey! How did you guys get my password? ;-) ~Roger From pete at mollysrevenge.com Wed Apr 27 20:34:42 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 27 Apr 2011 17:34:42 -0700 Subject: How to delete a single customkey? In-Reply-To: References: Message-ID: put the customkeys of into myTemp set the wholeMatches to true delete line lineoffset(,myTemp) of myTemp set the customKeys of to myTemp Pete Molly's Revenge On Wed, Apr 27, 2011 at 5:16 PM, Glen Bojsza wrote: > Hello, > > I have found that you can delete all customkeys of an object by setting the > customkeys to empty. > > But I only want to delete one of the customkeys? > > Is it all or nothing? > > thanks, > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From gbojsza at gmail.com Wed Apr 27 20:42:33 2011 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 27 Apr 2011 18:42:33 -0600 Subject: How to delete a single customkey? In-Reply-To: <179A1A21-1577-449D-A2D3-0124673A2B7F@mac.com> References: <179A1A21-1577-449D-A2D3-0124673A2B7F@mac.com> Message-ID: what about deleting a single custompropertyset? In the inspector under custom properties in the middle there are customkeys and a couple of others that I have made (Exam1 and Exam2). Selecting Exam1 and clicking the garbage can deletes Exam1 and it's custom properties and property contents. What would be the equivalent command of the garbage can? If you can selectively delete items here then there has to be a scripting method... you would think? 2011/4/27 Bj?rnke von Gierke > you can set it to parts of the existing customkeys like this: > > put the customkeys into theList > delete line 2 of theList > set the customkeys to theList > > On 27 Apr 2011, at 17:16, Glen Bojsza wrote: > > > Hello, > > > > I have found that you can delete all customkeys of an object by setting > the > > customkeys to empty. > > > > But I only want to delete one of the customkeys? > > > > Is it all or nothing? > > > > thanks, > > > > Glen > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 27 20:43:33 2011 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 27 Apr 2011 18:43:33 -0600 Subject: How to delete a single customkey? In-Reply-To: References: Message-ID: will this retain the custom properties and their contents of the customkeys not deleted? On Wed, Apr 27, 2011 at 6:34 PM, Pete wrote: > put the customkeys of into myTemp > set the wholeMatches to true > delete line lineoffset(,myTemp) of myTemp > set the customKeys of to myTemp > > > Pete > Molly's Revenge > > > > > On Wed, Apr 27, 2011 at 5:16 PM, Glen Bojsza wrote: > > > Hello, > > > > I have found that you can delete all customkeys of an object by setting > the > > customkeys to empty. > > > > But I only want to delete one of the customkeys? > > > > Is it all or nothing? > > > > thanks, > > > > Glen > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bvg at mac.com Wed Apr 27 20:49:35 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 27 Apr 2011 17:49:35 -0700 Subject: How to delete a single customkey? In-Reply-To: References: Message-ID: besides the one you delete, all else remain the same. did you actually try our examples, to see what they do? On 27 Apr 2011, at 17:43, Glen Bojsza wrote: > will this retain the custom properties and their contents of the customkeys > not deleted? > > On Wed, Apr 27, 2011 at 6:34 PM, Pete wrote: > >> put the customkeys of into myTemp >> set the wholeMatches to true >> delete line lineoffset(,myTemp) of myTemp >> set the customKeys of to myTemp >> >> >> Pete >> Molly's Revenge >> >> >> >> >> On Wed, Apr 27, 2011 at 5:16 PM, Glen Bojsza wrote: >> >>> Hello, >>> >>> I have found that you can delete all customkeys of an object by setting >> the >>> customkeys to empty. >>> >>> But I only want to delete one of the customkeys? >>> >>> Is it all or nothing? >>> >>> thanks, >>> >>> Glen >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 27 20:52:28 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 27 Apr 2011 17:52:28 -0700 Subject: How to delete a single customkey? In-Reply-To: References: Message-ID: Yes, it just deletes the one custom property and leaves all the others intact. Pete Molly's Revenge On Wed, Apr 27, 2011 at 5:43 PM, Glen Bojsza wrote: > will this retain the custom properties and their contents of the customkeys > not deleted? > > On Wed, Apr 27, 2011 at 6:34 PM, Pete wrote: > > > put the customkeys of into myTemp > > set the wholeMatches to true > > delete line lineoffset(,myTemp) of myTemp > > set the customKeys of to myTemp > > > > > > Pete > > Molly's Revenge > > > > > > > > > > On Wed, Apr 27, 2011 at 5:16 PM, Glen Bojsza wrote: > > > > > Hello, > > > > > > I have found that you can delete all customkeys of an object by setting > > the > > > customkeys to empty. > > > > > > But I only want to delete one of the customkeys? > > > > > > Is it all or nothing? > > > > > > thanks, > > > > > > Glen > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 27 20:55:21 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 27 Apr 2011 17:55:21 -0700 Subject: How to delete a single customkey? In-Reply-To: References: <179A1A21-1577-449D-A2D3-0124673A2B7F@mac.com> Message-ID: put the custompropertysets of into myTemp set the whole matches to true delete line lineoffset(,muyTemp) of myTemp set the custompropertysets of to myTemp There's a pretty good write up on all this stuff in the USer Guide, starting on page 229. Pete Molly's Revenge On Wed, Apr 27, 2011 at 5:42 PM, Glen Bojsza wrote: > what about deleting a single custompropertyset? > > In the inspector under custom properties in the middle there are customkeys > and a couple of others that I have made (Exam1 and Exam2). > > Selecting Exam1 and clicking the garbage can deletes Exam1 and it's custom > properties and property contents. > > What would be the equivalent command of the garbage can? If you can > selectively delete items here then there has to be a scripting method... > you > would think? > > > 2011/4/27 Bj?rnke von Gierke > > > you can set it to parts of the existing customkeys like this: > > > > put the customkeys into theList > > delete line 2 of theList > > set the customkeys to theList > > > > On 27 Apr 2011, at 17:16, Glen Bojsza wrote: > > > > > Hello, > > > > > > I have found that you can delete all customkeys of an object by setting > > the > > > customkeys to empty. > > > > > > But I only want to delete one of the customkeys? > > > > > > Is it all or nothing? > > > > > > thanks, > > > > > > Glen > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 27 21:16:26 2011 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 27 Apr 2011 19:16:26 -0600 Subject: How to delete a single customkey? In-Reply-To: References: <179A1A21-1577-449D-A2D3-0124673A2B7F@mac.com> Message-ID: thanks. I find that if you don't work with custom properties on a regular basis it becomes confusing and sometimes frustrating. Similarly for open process! On Wed, Apr 27, 2011 at 6:55 PM, Pete wrote: > put the custompropertysets of into myTemp > set the whole matches to true > delete line lineoffset(,muyTemp) of myTemp > set the custompropertysets of to myTemp > > There's a pretty good write up on all this stuff in the USer Guide, > starting > on page 229. > > Pete > Molly's Revenge > > > > > On Wed, Apr 27, 2011 at 5:42 PM, Glen Bojsza wrote: > > > what about deleting a single custompropertyset? > > > > In the inspector under custom properties in the middle there are > customkeys > > and a couple of others that I have made (Exam1 and Exam2). > > > > Selecting Exam1 and clicking the garbage can deletes Exam1 and it's > custom > > properties and property contents. > > > > What would be the equivalent command of the garbage can? If you can > > selectively delete items here then there has to be a scripting method... > > you > > would think? > > > > > > 2011/4/27 Bj?rnke von Gierke > > > > > you can set it to parts of the existing customkeys like this: > > > > > > put the customkeys into theList > > > delete line 2 of theList > > > set the customkeys to theList > > > > > > On 27 Apr 2011, at 17:16, Glen Bojsza wrote: > > > > > > > Hello, > > > > > > > > I have found that you can delete all customkeys of an object by > setting > > > the > > > > customkeys to empty. > > > > > > > > But I only want to delete one of the customkeys? > > > > > > > > Is it all or nothing? > > > > > > > > thanks, > > > > > > > > Glen > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode at lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 27 21:29:33 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 27 Apr 2011 18:29:33 -0700 Subject: How to delete a single customkey? In-Reply-To: References: <179A1A21-1577-449D-A2D3-0124673A2B7F@mac.com> Message-ID: Yeah, sometimes it's frustrating how LC leave out basic functionality that every single programmer needs to do! I wonder how many handlers have been written to delete a custom property/custom property set - I'll bet it's thousands! Pete Molly's Revenge On Wed, Apr 27, 2011 at 6:16 PM, Glen Bojsza wrote: > thanks. > > I find that if you don't work with custom properties on a regular basis it > becomes confusing and sometimes frustrating. > > Similarly for open process! > > > > On Wed, Apr 27, 2011 at 6:55 PM, Pete wrote: > > > put the custompropertysets of into myTemp > > set the whole matches to true > > delete line lineoffset(,muyTemp) of myTemp > > set the custompropertysets of to myTemp > > > > There's a pretty good write up on all this stuff in the USer Guide, > > starting > > on page 229. > > > > Pete > > Molly's Revenge > > > > > > > > > > On Wed, Apr 27, 2011 at 5:42 PM, Glen Bojsza wrote: > > > > > what about deleting a single custompropertyset? > > > > > > In the inspector under custom properties in the middle there are > > customkeys > > > and a couple of others that I have made (Exam1 and Exam2). > > > > > > Selecting Exam1 and clicking the garbage can deletes Exam1 and it's > > custom > > > properties and property contents. > > > > > > What would be the equivalent command of the garbage can? If you can > > > selectively delete items here then there has to be a scripting > method... > > > you > > > would think? > > > > > > > > > 2011/4/27 Bj?rnke von Gierke > > > > > > > you can set it to parts of the existing customkeys like this: > > > > > > > > put the customkeys into theList > > > > delete line 2 of theList > > > > set the customkeys to theList > > > > > > > > On 27 Apr 2011, at 17:16, Glen Bojsza wrote: > > > > > > > > > Hello, > > > > > > > > > > I have found that you can delete all customkeys of an object by > > setting > > > > the > > > > > customkeys to empty. > > > > > > > > > > But I only want to delete one of the customkeys? > > > > > > > > > > Is it all or nothing? > > > > > > > > > > thanks, > > > > > > > > > > Glen > > > > > _______________________________________________ > > > > > use-livecode mailing list > > > > > use-livecode at lists.runrev.com > > > > > Please visit this url to subscribe, unsubscribe and manage your > > > > subscription preferences: > > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode at lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage your > > > > subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From zellner at tamu.edu Wed Apr 27 23:55:12 2011 From: zellner at tamu.edu (Ronald Zellner) Date: Wed, 27 Apr 2011 22:55:12 -0500 Subject: comparing content of two fields Message-ID: <14371945-B03D-4F0F-A939-781E1F524095@tamu.edu> I have two data fields that have multiple tabbed columns, I want to determine which items in the main field (1247 lines) also appear in the second field (436 lines). Using this code to compare line by line: on mouseUp set the itemDelimiter to tab repeat with x = 1 to the number of lines in field "All" -- there are 1247 lines repeat with y = 1 to the number of lines in field "Rural" --there are 436 lines if item 1 of line x of field "All" = item 1 of line y of field "Rural" then put "Rural" into item 4 of line x of field "All" set the textColor of line x of field "All" to "red" exit repeat else put "-" into item 4 of line x of field "All" end if end repeat end repeat end mouseUp This seems to function properly, but 1. it is very, very slow 2. The results do not show up until the whole set is completed, not as each line is checked. Any thoughts on a better way to approach this? Ron From pepetoo at cox.net Thu Apr 28 00:02:59 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Wed, 27 Apr 2011 21:02:59 -0700 Subject: comparing content of two fields In-Reply-To: <14371945-B03D-4F0F-A939-781E1F524095@tamu.edu> References: <14371945-B03D-4F0F-A939-781E1F524095@tamu.edu> Message-ID: <76AED468-9B93-44B6-821C-D6192AE6B96A@cox.net> Hi Ronald, You can speed things up immeasurably by put the content of the fields into variables and then make your comparisons between the vars. This is a universal truth. Always work with vars; not fields. HTH, Joe Lewis Wilkins Architect & Director of Product Development for GSI On Apr 27, 2011, at 8:55 PM, Ronald Zellner wrote: > I have two data fields that have multiple tabbed columns, > I want to determine which items in the main field (1247 lines) also appear in the second field (436 lines). > > Using this code to compare line by line: > > on mouseUp > > set the itemDelimiter to tab > repeat with x = 1 to the number of lines in field "All" -- there are 1247 lines > > repeat with y = 1 to the number of lines in field "Rural" --there are 436 lines > if item 1 of line x of field "All" = item 1 of line y of field "Rural" then > put "Rural" into item 4 of line x of field "All" > set the textColor of line x of field "All" to "red" > exit repeat > else > put "-" into item 4 of line x of field "All" > end if > > end repeat > end repeat > end mouseUp > > > This seems to function properly, but > > 1. it is very, very slow > 2. The results do not show up until the whole set is completed, not as each line is checked. > > Any thoughts on a better way to approach this? > > Ron > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at elementarysoftware.com Thu Apr 28 02:09:17 2011 From: scott at elementarysoftware.com (Scott Morrow) Date: Wed, 27 Apr 2011 23:09:17 -0700 Subject: comparing content of two fields In-Reply-To: <76AED468-9B93-44B6-821C-D6192AE6B96A@cox.net> References: <14371945-B03D-4F0F-A939-781E1F524095@tamu.edu> <76AED468-9B93-44B6-821C-D6192AE6B96A@cox.net> Message-ID: <6B37F87E-1250-4D5A-9E1C-E25E148646AF@elementarysoftware.com> Hello Ron, Like Joe said, putting everything into a variable so you don't have to touch the field as often is the first and biggest step to speeding things up. With large lists, using the "repeat for each" structure may be faster. Her is an example (untested off the cuff) Watch for line wraps. If you want the lines to hilite as it check then you will need to use a slightly different approach. While the script is running, nothing will happen visually. While this can be scripted differently to have lines hilite as they are checked, it will take a lot of extra time. --------------------------------------------------- on mouseUp set the itemDelimiter to tab put field "All" into tBigData -- use this to compare with field "Rural" data put tBigData into tBigData2 -- we will change this data as matches are found put field "Rural" into tSmallData put 0 into tLineCounter -- init put empty into tListOfLines -- init repeat for each line tBigDataLine in tBigData add 1 to tLineCounter repeat for each line tSmallDataLine in tSmallData if item 1 of tBigDataLine = item 1 of tSmallDataLine then put "Rural" into item 4 of line tLineCounter of tBigData2 put tLineCounter & CR after tListOfLines -- keep track of what lines to colorize else put "-" into item 4 of line tLineCounter of tBigData2 end if end repeat end repeat put tBigData2 into field "All" -- update the text of the field --colorize the lines put token 1 to -1 of tListOfLines into tListOfLines -- trim repeat for each line tLine in tListOfLines set the textColor of line tLine of field "All" to "red" end repeat end mouseUp --------------------------------------------------- Warmest regards, Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com On Apr 27, 2011, at 9:02 PM, Joe Lewis Wilkins wrote: > Hi Ronald, > > You can speed things up immeasurably by put the content of the fields into variables and then make your comparisons between the vars. This is a universal truth. Always work with vars; not fields. > > HTH, > > Joe Lewis Wilkins > Architect & Director of Product Development for GSI > > > > > > > > > > On Apr 27, 2011, at 8:55 PM, Ronald Zellner wrote: > >> I have two data fields that have multiple tabbed columns, >> I want to determine which items in the main field (1247 lines) also appear in the second field (436 lines). >> >> Using this code to compare line by line: >> >> on mouseUp >> >> set the itemDelimiter to tab >> repeat with x = 1 to the number of lines in field "All" -- there are 1247 lines >> >> repeat with y = 1 to the number of lines in field "Rural" --there are 436 lines >> if item 1 of line x of field "All" = item 1 of line y of field "Rural" then >> put "Rural" into item 4 of line x of field "All" >> set the textColor of line x of field "All" to "red" >> exit repeat >> else >> put "-" into item 4 of line x of field "All" >> end if >> >> end repeat >> end repeat >> end mouseUp >> >> >> This seems to function properly, but >> >> 1. it is very, very slow >> 2. The results do not show up until the whole set is completed, not as each line is checked. >> >> Any thoughts on a better way to approach this? >> >> Ron >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 28 02:48:28 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 28 Apr 2011 01:48:28 -0500 Subject: How to delete a single customkey? In-Reply-To: References: <179A1A21-1577-449D-A2D3-0124673A2B7F@mac.com> Message-ID: <4DB90DBC.1000509@hyperactivesw.com> On 4/27/11 8:29 PM, Pete wrote: > Yeah, sometimes it's frustrating how LC leave out basic functionality that > every single programmer needs to do! I wonder how many handlers have been > written to delete a custom property/custom property set - I'll bet it's > thousands! True. But it's only three lines. Properties aren't containers, you can't put values into any of them, custom or otherwise. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From m.schonewille at economy-x-talk.com Thu Apr 28 07:07:14 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 28 Apr 2011 13:07:14 +0200 Subject: Live LiveCode Code Event #21 In-Reply-To: References: Message-ID: <178F2FCF-E12D-47A8-BEF0-B879FAEBDFD8@economy-x-talk.com> Hi, I hope my mistake was obvious, but the link to livecode.us should have been http://livecode.tv . I've corrected it in the quoted message below. > Dear people, > > While the RunRevLive conference is on it's second day, we are organising the Live LiveCode Code Event for this Saturday already. Unfortunately, we don't have any presenters yet! It just so happens that all geeks are currently in San Jos?! The good news is that this is an excellent opportunity to do an all-beginners session at the LLCCE. > > Have you just started using LiveCode or would you call yourself an intermediate LiveCode programmer? Then we invite you to do a short presentation. Tell us what you (plan to) use LiveCode for, let us know which problems you are struggling with or share your newly found solutions with us. > > We are planing to do multiple short sessions this Saturday, each 15 to 20 minutes long. If you have been too shy or if you have always been thinking that you're not advanced enough, then this is your chance! > > More info about the LLCCE is available at http://livecode.tv . Contact me off-list by e-mail or use the web form at http://qery.us/du to get in touch with me. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce > From m.schonewille at economy-x-talk.com Thu Apr 28 07:11:02 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 28 Apr 2011 13:11:02 +0200 Subject: How to generate user passwords In-Reply-To: References: <397D7853-CC9F-4D88-95EA-8469C716AB40@economy-x-talk.com> <67A07BBA-B182-4983-9E03-84465ABD4452@mac.com> <78E821DC-112E-4DFB-BD1A-8C5ED1BFF11C@economy-x-talk.com> Message-ID: <6392A069-6DD4-40D4-A2AE-11B3BC91F3D7@economy-x-talk.com> Hi Bill, That's true, but my function doesn't do that. I guess it is usless to you if you need to include special characters. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 28 apr 2011, at 01:56, Bill Vlahos wrote: > Mark, > > Of course they become less speakable if you have to include special characters (@#$%&*) and include upper and lower case which are often required complexities of strong passwords. :) > > Bill Vlahos From pmbrig at gmail.com Thu Apr 28 08:41:39 2011 From: pmbrig at gmail.com (Peter Brigham MD) Date: Thu, 28 Apr 2011 08:41:39 -0400 Subject: comparing content of two fields In-Reply-To: <14371945-B03D-4F0F-A939-781E1F524095@tamu.edu> References: <14371945-B03D-4F0F-A939-781E1F524095@tamu.edu> Message-ID: On Apr 27, 2011, at 11:55 PM, Ronald Zellner wrote: > I have two data fields that have multiple tabbed columns, > I want to determine which items in the main field (1247 lines) also appear in the second field (436 lines). > > Using this code to compare line by line: > > on mouseUp > > set the itemDelimiter to tab > repeat with x = 1 to the number of lines in field "All" -- there are 1247 lines > > repeat with y = 1 to the number of lines in field "Rural" --there are 436 lines > if item 1 of line x of field "All" = item 1 of line y of field "Rural" then > put "Rural" into item 4 of line x of field "All" > set the textColor of line x of field "All" to "red" > exit repeat > else > put "-" into item 4 of line x of field "All" > end if > > end repeat > end repeat > end mouseUp Try this: on mouseUp put fld "All" into allEntries put fld "Rural" into ruralEntries set the itemDelimiter to tab repeat with x = 1 to the number of lines in allEntries -- there are 1247 lines if cr & (item 1 of line x of allEntries) & tab is in cr & ruralEntries then put "Rural" into item 4 of line x of field "All" set the textColor of line x of field "All" to "red" exit repeat else put "-" into item 4 of line x of field "All" end if end repeat end mouseUp -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From mikekann at yahoo.com Thu Apr 28 11:24:38 2011 From: mikekann at yahoo.com (Michael Kann) Date: Thu, 28 Apr 2011 08:24:38 -0700 (PDT) Subject: comparing content of two fields In-Reply-To: Message-ID: <482150.20636.qm@web161619.mail.bf1.yahoo.com> Ronald, Peter got in before I did with a great answer: I'll follow it up with mine anyway just for a different perspective. My idea was to separate the search function from the line coloring to speed things up a little. Perhaps by now textColor can apply to variables also. I've fallen behind. ----------------------------- ---- fld "all_fld" ----------------------------- william,a,a,a,a kate,b,b,b,b charles,c,c,c,c harry,d,d,d,d ----------------------------- ---- fld "rural_fld" ----------------------------- queen,a,a,a kate,b,b,b,b charles,c,c,c,c king,d,d,d,d ----------------------------- ---- fld "output_fld" ----------------------------- william,a,a,-,a kate,b,b,rural,b? -- RED charles,c,c,rural,c -- RED harry,d,d,-,d --------------------------------------- --- Code -- Watch out for lines wrapping --------------------------------------- on mouseUp set the itemDelimiter to comma -- instead of tab for testing and explanation put fld "all_fld" into list_1247 put fld "rural_fld" into list_436 put cr before list_436 ---------------------------- repeat for each line cur_line in list_1247 ---------------------------------------- put cur_line into new_line put item 1 of cur_line into cur_item put cr & cur_item & comma into find_this -------------------------------------- put "-" into item 4 of new_line if find_this is in list_436 then put "rural" into item 4 of new_line end if put new_line & cr after new_list end repeat ---------------------------------------- put new_list into fld "output_fld" put zero into k_count repeat for each line k in new_list add 1 to k_count if "rural" is in item 4 of k then set the textColor of line k_count of fld "output_fld" to "red" end if end repeat end mouseUp --- On Thu, 4/28/11, Peter Brigham MD wrote: From: Peter Brigham MD Subject: Re: comparing content of two fields To: "How to use LiveCode" Date: Thursday, April 28, 2011, 7:41 AM On Apr 27, 2011, at 11:55 PM, Ronald Zellner wrote: > I? have two data fields that have multiple tabbed columns, > I want to determine which items in the main field (1247 lines)? also appear in the second field (436 lines). > > Using this code to compare line by line: > > on mouseUp > >???set the itemDelimiter to tab >???repeat with x = 1 to the number of lines in field "All" -- there are 1247 lines > >? ? ? repeat with y = 1 to the number of lines in field "Rural"? --there are 436 lines >? ? ? ???if item 1 of line x of field "All" = item 1 of line y of field "Rural" then >? ? ? ? ? ? put "Rural" into item 4 of line x of field "All" >? ? ? ? ? ? set the textColor of line x of field "All" to "red" >? ? ? ? ? ? exit repeat >? ? ? ???else >? ? ? ? ? ? put "-" into item 4 of line x of field "All" >? ? ? ???end if > >? ? ? end repeat >???end repeat > end mouseUp Try this: on mouseUp ? put fld "All" into allEntries ? put fld "Rural" into ruralEntries ? set the itemDelimiter to tab ? repeat with x = 1 to the number of lines in allEntries -- there are 1247 lines ? ???if cr & (item 1 of line x of allEntries) & tab is in cr & ruralEntries then ? ? ? ? ???put "Rural" into item 4 of line x of field "All" ? ? ? ? ???set the textColor of line x of field "All" to "red" ? ? ? ? ???exit repeat ? ? ? ? else ? ? ? ? ???put "-" into item 4 of line x of field "All" ? ???end if ? end repeat end mouseUp -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Thu Apr 28 12:16:01 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 28 Apr 2011 09:16:01 -0700 Subject: How to generate user passwords In-Reply-To: <6D6E050E-19F6-412D-B899-5307AB855240@elementarysoftware.com> References: <397D7853-CC9F-4D88-95EA-8469C716AB40@economy-x-talk.com> <67A07BBA-B182-4983-9E03-84465ABD4452@mac.com> <78E821DC-112E-4DFB-BD1A-8C5ED1BFF11C@economy-x-talk.com> <6D6E050E-19F6-412D-B899-5307AB855240@elementarysoftware.com> Message-ID: <12317C61-DF40-4230-AFC9-3F82153945A8@twft.com> Dunno about you, I can curse without 'em. Bob On Apr 27, 2011, at 5:27 PM, Scott Morrow wrote: > With those characters "(@#$%&*)" I would think you could just curse. > > -Scott > > On Apr 27, 2011, at 4:56 PM, Bill Vlahos wrote: > >> Mark, >> >> Of course they become less speakable if you have to include special characters (@#$%&*) and include upper and lower case which are often required complexities of strong passwords. :) >> >> Bill Vlahos From bobs at twft.com Thu Apr 28 12:21:24 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 28 Apr 2011 09:21:24 -0700 Subject: comparing content of two fields In-Reply-To: <6B37F87E-1250-4D5A-9E1C-E25E148646AF@elementarysoftware.com> References: <14371945-B03D-4F0F-A939-781E1F524095@tamu.edu> <76AED468-9B93-44B6-821C-D6192AE6B96A@cox.net> <6B37F87E-1250-4D5A-9E1C-E25E148646AF@elementarysoftware.com> Message-ID: <38AB5791-5863-4EED-B3A9-72DEE4CD4B75@twft.com> Be careful with repeat for each. You cannot change the content of the object or block you are repeating through. "Unexpected results" is an understatement. You need to work with a copy, making sure you don't add or remove the each element (each word, each line etc.) else you get out of sync. Bob On Apr 27, 2011, at 11:09 PM, Scott Morrow wrote: > Hello Ron, > > Like Joe said, putting everything into a variable so you don't have to touch the field as often is the first and biggest step to speeding things up. With large lists, using the "repeat for each" structure may be faster. Her is an example (untested off the cuff) Watch for line wraps. If you want the lines to hilite as it check then you will need to use a slightly different approach. While the script is running, nothing will happen visually. While this can be scripted differently to have lines hilite as they are checked, it will take a lot of extra time. > --------------------------------------------------- > on mouseUp > set the itemDelimiter to tab > put field "All" into tBigData -- use this to compare with field "Rural" data > put tBigData into tBigData2 -- we will change this data as matches are found > put field "Rural" into tSmallData > put 0 into tLineCounter -- init > put empty into tListOfLines -- init > repeat for each line tBigDataLine in tBigData > add 1 to tLineCounter > repeat for each line tSmallDataLine in tSmallData > if item 1 of tBigDataLine = item 1 of tSmallDataLine then > put "Rural" into item 4 of line tLineCounter of tBigData2 > put tLineCounter & CR after tListOfLines -- keep track of what lines to colorize > else > put "-" into item 4 of line tLineCounter of tBigData2 > end if > end repeat > end repeat > put tBigData2 into field "All" -- update the text of the field > --colorize the lines > put token 1 to -1 of tListOfLines into tListOfLines -- trim > repeat for each line tLine in tListOfLines > set the textColor of line tLine of field "All" to "red" > end repeat > end mouseUp > --------------------------------------------------- > > Warmest regards, > > Scott Morrow > > Elementary Software > (Now with 20% less chalk dust!) > web http://elementarysoftware.com/ > email scott at elementarysoftware.com > > > On Apr 27, 2011, at 9:02 PM, Joe Lewis Wilkins wrote: > >> Hi Ronald, >> >> You can speed things up immeasurably by put the content of the fields into variables and then make your comparisons between the vars. This is a universal truth. Always work with vars; not fields. >> >> HTH, >> >> Joe Lewis Wilkins >> Architect & Director of Product Development for GSI >> >> >> >> >> >> >> >> >> >> On Apr 27, 2011, at 8:55 PM, Ronald Zellner wrote: >> >>> I have two data fields that have multiple tabbed columns, >>> I want to determine which items in the main field (1247 lines) also appear in the second field (436 lines). >>> >>> Using this code to compare line by line: >>> >>> on mouseUp >>> >>> set the itemDelimiter to tab >>> repeat with x = 1 to the number of lines in field "All" -- there are 1247 lines >>> >>> repeat with y = 1 to the number of lines in field "Rural" --there are 436 lines >>> if item 1 of line x of field "All" = item 1 of line y of field "Rural" then >>> put "Rural" into item 4 of line x of field "All" >>> set the textColor of line x of field "All" to "red" >>> exit repeat >>> else >>> put "-" into item 4 of line x of field "All" >>> end if >>> >>> end repeat >>> end repeat >>> end mouseUp >>> >>> >>> This seems to function properly, but >>> >>> 1. it is very, very slow >>> 2. The results do not show up until the whole set is completed, not as each line is checked. >>> >>> Any thoughts on a better way to approach this? >>> >>> Ron >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Apr 28 13:02:20 2011 From: admin at FlexibleLearning.com (FlexibleLearning) Date: Thu, 28 Apr 2011 18:02:20 +0100 Subject: How to generate user passwords In-Reply-To: Message-ID: > Your function generates very random strings which might be too random for a user to remember on their own. Just a playful idea... on mouseUp put passwordPhrase() end mouseUp function passwordPhrase return w1() && w2() && w3() && w4() && w5() end passwordPhrase function w1 return item random(4) of "All,None of the,Some,Several" end w1 function w2 return item random(4) of "roads,streets,motorways,buses" end w2 function w3 return item random(4) of "frequently,often,sometimes,occasionally" end w3 function w4 return item random(4) of "go to,pass by,avoid,congest" end w4 function w5 return item random(4) of "Rome,Paris,London,New York" end w5 Hugh Senior FLCo From dixonja at hotmail.co.uk Thu Apr 28 13:01:28 2011 From: dixonja at hotmail.co.uk (John Dixon) Date: Thu, 28 Apr 2011 18:01:28 +0100 Subject: comparing content of two fields In-Reply-To: <38AB5791-5863-4EED-B3A9-72DEE4CD4B75@twft.com> References: <14371945-B03D-4F0F-A939-781E1F524095@tamu.edu>, <76AED468-9B93-44B6-821C-D6192AE6B96A@cox.net>, <6B37F87E-1250-4D5A-9E1C-E25E148646AF@elementarysoftware.com>, <38AB5791-5863-4EED-B3A9-72DEE4CD4B75@twft.com> Message-ID: > Be careful with repeat for each. You cannot change the content of the object or block you are repeating through. "Unexpected results" is an understatement. You need to work with a copy, making sure you don't add or remove the each element (each word, each line etc.) else you get out of sync. > > Bob Using 'repeat for each' with a counter is still faster than 'repeat with' put 1 into count repeat for each line thisLine in fld 1 if line count of fld 1 = whatever then doSomething add 1 to count end repeat be well From bobs at twft.com Thu Apr 28 13:40:10 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 28 Apr 2011 10:40:10 -0700 Subject: comparing content of two fields In-Reply-To: References: <14371945-B03D-4F0F-A939-781E1F524095@tamu.edu>, <76AED468-9B93-44B6-821C-D6192AE6B96A@cox.net>, <6B37F87E-1250-4D5A-9E1C-E25E148646AF@elementarysoftware.com>, <38AB5791-5863-4EED-B3A9-72DEE4CD4B75@twft.com> Message-ID: <515E5A7C-F1A2-4760-B0B5-D8A6CAB74760@twft.com> It is absolutely faster. It was explained to me some time ago why. I think it still applies, although I have not tried to test it. It is because the engine works directly on the memory used for the object (or something like that). The problem is, the engine parses the memory and creates a list of pointers to each chunk that you are looping by. (Someone correct me if I am wrong about this.) If you change what is in that memory at any time in the repeat loop, the pointers to the chunks you are looping by do not update with it. So if the contents of the memory shift, the pointers no longer point to what you think they do. In the past I often got garbage in the each variable at some point, leading me to believe that the OS did some house cleaning and the contents of the memory block was no longer valid. That has been my understanding, but if I am mistaken, or something has been updated in the repeat for each algorithm, I'll be happy to know it. Bob On Apr 28, 2011, at 10:01 AM, John Dixon wrote: > > > > >> Be careful with repeat for each. You cannot change the content of the object or block you are repeating through. "Unexpected results" is an understatement. You need to work with a copy, making sure you don't add or remove the each element (each word, each line etc.) else you get out of sync. >> >> Bob > > Using 'repeat for each' with a counter is still faster than 'repeat with' > > put 1 into count > repeat for each line thisLine in fld 1 > if line count of fld 1 = whatever then doSomething > add 1 to count > end repeat > > be 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 scott at elementarysoftware.com Thu Apr 28 14:20:26 2011 From: scott at elementarysoftware.com (Scott Morrow) Date: Thu, 28 Apr 2011 11:20:26 -0700 Subject: comparing content of two fields In-Reply-To: <515E5A7C-F1A2-4760-B0B5-D8A6CAB74760@twft.com> References: <14371945-B03D-4F0F-A939-781E1F524095@tamu.edu>, <76AED468-9B93-44B6-821C-D6192AE6B96A@cox.net>, <6B37F87E-1250-4D5A-9E1C-E25E148646AF@elementarysoftware.com>, <38AB5791-5863-4EED-B3A9-72DEE4CD4B75@twft.com> <515E5A7C-F1A2-4760-B0B5-D8A6CAB74760@twft.com> Message-ID: Hello Bob, --Earlier Scott posted: > on mouseUp > set the itemDelimiter to tab > put field "All" into tBigData -- use this to compare with field "Rural" data > put tBigData into tBigData2 -- we will change this data as matches are found > put field "Rural" into tSmallData > -- This is why I put tBigData into a second variable tBigData2. Repeat for each uses tBigData and we change tBigData2. No conflict. Scott Morrow On Apr 28, 2011, at 10:40 AM, Bob Sneidar wrote: > It is absolutely faster. It was explained to me some time ago why. I think it still applies, although I have not tried to test it. > > It is because the engine works directly on the memory used for the object (or something like that). The problem is, the engine parses the memory and creates a list of pointers to each chunk that you are looping by. (Someone correct me if I am wrong about this.) If you change what is in that memory at any time in the repeat loop, the pointers to the chunks you are looping by do not update with it. So if the contents of the memory shift, the pointers no longer point to what you think they do. > > In the past I often got garbage in the each variable at some point, leading me to believe that the OS did some house cleaning and the contents of the memory block was no longer valid. > > That has been my understanding, but if I am mistaken, or something has been updated in the repeat for each algorithm, I'll be happy to know it. > > Bob > > > On Apr 28, 2011, at 10:01 AM, John Dixon wrote: > >> >> >> >> >>> Be careful with repeat for each. You cannot change the content of the object or block you are repeating through. "Unexpected results" is an understatement. You need to work with a copy, making sure you don't add or remove the each element (each word, each line etc.) else you get out of sync. >>> >>> Bob >> >> Using 'repeat for each' with a counter is still faster than 'repeat with' >> >> put 1 into count >> repeat for each line thisLine in fld 1 >> if line count of fld 1 = whatever then doSomething >> add 1 to count >> end repeat >> >> be 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at elementarysoftware.com Thu Apr 28 14:23:44 2011 From: scott at elementarysoftware.com (Scott Morrow) Date: Thu, 28 Apr 2011 11:23:44 -0700 Subject: How to generate user passwords In-Reply-To: References: Message-ID: Fun! On Apr 28, 2011, at 10:02 AM, FlexibleLearning wrote: >> Your function generates very random strings which might be too random for > a user to remember on their own. > > Just a playful idea... > > on mouseUp > put passwordPhrase() > end mouseUp > > function passwordPhrase > return w1() && w2() && w3() && w4() && w5() > end passwordPhrase > > function w1 > return item random(4) of "All,None of the,Some,Several" > end w1 > > function w2 > return item random(4) of "roads,streets,motorways,buses" > end w2 > > function w3 > return item random(4) of "frequently,often,sometimes,occasionally" > end w3 > > function w4 > return item random(4) of "go to,pass by,avoid,congest" > end w4 > > function w5 > return item random(4) of "Rome,Paris,London,New York" > end w5 > > > 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 bobs at twft.com Thu Apr 28 14:42:47 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 28 Apr 2011 11:42:47 -0700 Subject: How to generate user passwords In-Reply-To: References: Message-ID: <8D214917-7F00-469B-937F-E34970439319@twft.com> I was poking around in google for Random Word Generators. I bet you could talk someone into providing access to their web site, and have it return the results in a form variable. Bob On Apr 28, 2011, at 11:23 AM, Scott Morrow wrote: > Fun! > > On Apr 28, 2011, at 10:02 AM, FlexibleLearning wrote: > >>> Your function generates very random strings which might be too random for >> a user to remember on their own. >> >> Just a playful idea... >> >> on mouseUp >> put passwordPhrase() >> end mouseUp >> >> function passwordPhrase >> return w1() && w2() && w3() && w4() && w5() >> end passwordPhrase >> >> function w1 >> return item random(4) of "All,None of the,Some,Several" >> end w1 >> >> function w2 >> return item random(4) of "roads,streets,motorways,buses" >> end w2 >> >> function w3 >> return item random(4) of "frequently,often,sometimes,occasionally" >> end w3 >> >> function w4 >> return item random(4) of "go to,pass by,avoid,congest" >> end w4 >> >> function w5 >> return item random(4) of "Rome,Paris,London,New York" >> end w5 >> >> >> 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 pete at mollysrevenge.com Thu Apr 28 14:47:42 2011 From: pete at mollysrevenge.com (Pete) Date: Thu, 28 Apr 2011 11:47:42 -0700 Subject: comparing content of two fields In-Reply-To: References: <14371945-B03D-4F0F-A939-781E1F524095@tamu.edu> <76AED468-9B93-44B6-821C-D6192AE6B96A@cox.net> <6B37F87E-1250-4D5A-9E1C-E25E148646AF@elementarysoftware.com> <38AB5791-5863-4EED-B3A9-72DEE4CD4B75@twft.com> <515E5A7C-F1A2-4760-B0B5-D8A6CAB74760@twft.com> Message-ID: In the past, I've dealt with this situation by writing the changed data out to another variable within the repeat loop, so: repeat for each line myLine in theLines if dataNeedsChanging then end if write myLine after theNewVariable end repeat put theNewVariable into theLines I'm guessing that's probably not as fast as using a copy of theLines and changing it? Pete Molly's Revenge On Thu, Apr 28, 2011 at 11:20 AM, Scott Morrow wrote: > Hello Bob, > --Earlier Scott posted: > > on mouseUp > > set the itemDelimiter to tab > > put field "All" into tBigData -- use this to compare with field "Rural" > data > > put tBigData into tBigData2 -- we will change this data as matches are > found > > put field "Rural" into tSmallData > > -- > > This is why I put tBigData into a second variable tBigData2. Repeat for > each uses tBigData and we change tBigData2. No conflict. > > Scott Morrow > > On Apr 28, 2011, at 10:40 AM, Bob Sneidar wrote: > > > It is absolutely faster. It was explained to me some time ago why. I > think it still applies, although I have not tried to test it. > > > > It is because the engine works directly on the memory used for the object > (or something like that). The problem is, the engine parses the memory and > creates a list of pointers to each chunk that you are looping by. (Someone > correct me if I am wrong about this.) If you change what is in that memory > at any time in the repeat loop, the pointers to the chunks you are looping > by do not update with it. So if the contents of the memory shift, the > pointers no longer point to what you think they do. > > > > In the past I often got garbage in the each variable at some point, > leading me to believe that the OS did some house cleaning and the contents > of the memory block was no longer valid. > > > > That has been my understanding, but if I am mistaken, or something has > been updated in the repeat for each algorithm, I'll be happy to know it. > > > > Bob > > > > > > On Apr 28, 2011, at 10:01 AM, John Dixon wrote: > > > >> > >> > >> > >> > >>> Be careful with repeat for each. You cannot change the content of the > object or block you are repeating through. "Unexpected results" is an > understatement. You need to work with a copy, making sure you don't add or > remove the each element (each word, each line etc.) else you get out of > sync. > >>> > >>> Bob > >> > >> Using 'repeat for each' with a counter is still faster than 'repeat > with' > >> > >> put 1 into count > >> repeat for each line thisLine in fld 1 > >> if line count of fld 1 = whatever then doSomething > >> add 1 to count > >> end repeat > >> > >> be 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 > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From capellan2000 at gmail.com Thu Apr 28 15:32:00 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 28 Apr 2011 15:32:00 -0400 Subject: "Blurred vision" of Rev newsletter, Apr 21 Message-ID: Hi Wilhelm, on Tue, 26 Apr 2011 Wilhelm Sanke wrote: > Hanson presents a series of scripts that are related to each other to > achieve a "blur filter" effect using sort of a 3x3-convolve matrix. I > want to add some information and discuss the issue in a somewhat broader > context. As Hanson did not himself supply a sample stack, I produced one > that contains his scripts along with a number of alternative "blur" > scripts and apart from that added some other filters which might be > interesting for Livecode users that intend to look at image processing. > > You can get the stack here: > . Many Thanks!! :-) > To be able to use the convolve matrix with larger images, I made a > number of changes to Chipp's original script, > ?abandoning among other things the use of arrays in this context or the > "round" function which speeded up > ?the performance of the filter by a factor of 10.8, snip > This raises the question why Hanson's scripts are so much slower - 12 > times - than "matrix blur 3x3"? I did not yet find time for a detailed > analysis, but I believe that ?- even given the special structue of the > related scripts - the performance could certainly be improved. One > recommendation would be *not* to use arrays , which against popular > belief really "slows down" performance in this context of image processing. Oh well, this explain why a bezier function that uses arrays (in an older version of my "Import Vector graphics" stack ) was slower than other two arrayless functions. Ideally, your post, Wilhelm, should be archived in a more visible place, like the Livecode Lessons or as a "Sticky" message in the Forum. Al From m.schonewille at economy-x-talk.com Thu Apr 28 16:05:21 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 28 Apr 2011 22:05:21 +0200 Subject: Live LiveCode Event #21 Message-ID: Hi everybody, We still have no presenters for this Saturday. If you are a regular participant of the LLCCE, please consider doing a presentation yourself this time and contact me by e-mail or through this web form http://qery.us/du . More information can be found at 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 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce From john.allijn at alice.nl Thu Apr 28 17:06:54 2011 From: john.allijn at alice.nl (John Allijn) Date: Thu, 28 Apr 2011 23:06:54 +0200 Subject: Urban Airship in LC In-Reply-To: <5C71BB74-617C-460E-BACD-3FC9049E19DF@mac.com> References: <026673EA-3DA7-44B1-B3FC-652B7FD4F768@mac.com> <5C71BB74-617C-460E-BACD-3FC9049E19DF@mac.com> Message-ID: Hi Tom, I'm building an application for students and teachers that will enable them to send "urgent" messages like "Teacher x is ill", "No lessons tomorrow" or "the grades are available on the website". I would like to add push-notifications to this service. Urban Airship looks very promising but frankly, It's a little out of my league. Could you perhaps get me started with some tips on where to start reading and conceptually how to set things up? The Urban Airship documentation is quite comprehensive and contains xcode samples, but I do not know how to translate that into a working livecode app. Do you have any suggestions on where to start? best regards, John Allijn On Mar 25, 2011, at 12:59 PM, Thomas McGrath III wrote: > Thanks Peter, > > Looking into it now. Might just be the trick. > > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > > On Mar 25, 2011, at 1:03 AM, Peter W A Wood wrote: > >> Tom >> >> I think that Mark Smith has the answer for you - http://revonline2.runrev.com/stack/82/LibJson-1-0b >> >> Regards >> >> Peter >> >> On 25 Mar 2011, at 11:17, Thomas McGrath III wrote: >> >>> Has anyone used Urban Airship yet in LC for Push Notification? >>> >>> Where do we stand on encode and decode for JSON? (U.A. says "Every language under the sun has libraries to encode and decode JSON.") >>> >>> This is fairly new to me but I am jumping in so any help is appreciated. >>> >>> From Urban Airship: >>> "JavaScript Object Notation is the simple serialization format used when communicating with our API. Every language under the sun has libraries to encode and decode JSON, and there are tools like JSONLint to help validate that you?re sending data we can understand." >>> >>> >>> -- Tom McGrath III >>> http://lazyriver.on-rev.com >>> 3mcgrath at comcast.net >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Thu Apr 28 17:42:16 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 28 Apr 2011 17:42:16 -0400 Subject: send to program problem In-Reply-To: References: Message-ID: <8CDD40446E5821A-F40-455FC@webmail-d047.sysops.aol.com> I still have a dozen OS9 macs running HC, working together all day with "send to program" chitChat. 20 years... >From any HC machine, if I say: "send "beep 3" to program "*:hcServer:hypercard", that machine beeps three times. If I try this from LC, (OSX 10.4) I get "error -1701", likely some "failed to find file" sort of thing. The HC server machine is connected when I do this, though that is unnecessary in the OS9 world, apple events working just fine with only a valid AppleTalk address. I have seen little in either the forums or here about LC talking to LC on a network. Is this uncommon? When I first opened Revolution years ago, it was the first thing I sought out, to make sure that at least that was still supported. Is it OSX to OS9? Is it me? Are there better ways to create a clent/server or peer to peer network than this? I will probably never use LC merely as a front end, I will always want to roll the whole thing from within. Thanks... Craig Newman From etcawley at fastmail.fm Thu Apr 28 18:44:38 2011 From: etcawley at fastmail.fm (edward cawley) Date: Thu, 28 Apr 2011 17:44:38 -0500 Subject: copy stack image to external files Message-ID: I have a hypercard stack which I have converted to a livecode stack. It has a number of cards with a number of images which I would like to transfer to external files for use in movies in the livecode stack. I could do it on an individual basis but I would like to set up bulk transfer. I can do it if I can figure out how to transfer a clipboard image to a file through code. From m.schonewille at economy-x-talk.com Thu Apr 28 19:05:33 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 29 Apr 2011 01:05:33 +0200 Subject: copy stack image to external files In-Reply-To: References: Message-ID: Hi, Why do you need to use the clipboard for this? export images: put the text of img x into url ("binfile:~/desktop/img x") export card: export snapshot from this card to x as PNG; put x into url ("binfile:~/desktop/x.png") Read the docs for more info about the export snapshot command. Naturally, you could also export the clipboard: put the clipboard into myType put the clipboarddata[myType] into url ("binfile:~/desktop/x.png") -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 29 apr 2011, at 00:44, edward cawley wrote: > I have a hypercard stack which I have converted to a livecode stack. It has a number of cards with a number of images which I would like to transfer to external files for use in movies in the livecode stack. I could do it on an individual basis but I would like to set up bulk transfer. I can do it if I can figure out how to transfer a clipboard image to a file through code. From m.schonewille at economy-x-talk.com Thu Apr 28 19:08:43 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 29 Apr 2011 01:08:43 +0200 Subject: send to program problem In-Reply-To: <8CDD40446E5821A-F40-455FC@webmail-d047.sysops.aol.com> References: <8CDD40446E5821A-F40-455FC@webmail-d047.sysops.aol.com> Message-ID: <926FDD88-757B-44F4-BFEA-5499D7365E39@economy-x-talk.com> Hi Craig, I think most people use sockets to allow for inter-application communications. I think that the send command relied on Mac OS 9 (and earlier) specific features. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 28 apr 2011, at 23:42, dunbarx at aol.com wrote: > > > I still have a dozen OS9 macs running HC, working together all day with "send to program" chitChat. 20 years... > > > From any HC machine, if I say: "send "beep 3" to program "*:hcServer:hypercard", that machine beeps three times. > If I try this from LC, (OSX 10.4) I get "error -1701", likely some "failed to find file" sort of thing. The HC server machine is connected when I do this, > though that is unnecessary in the OS9 world, apple events working just fine with only a valid AppleTalk address. > > > I have seen little in either the forums or here about LC talking to LC on a network. Is this uncommon? When I first opened Revolution > years ago, it was the first thing I sought out, to make sure that at least that was still supported. Is it OSX to OS9? Is it me? > > > Are there better ways to create a clent/server or peer to peer network than this? I will probably never use LC merely as a front end, I will > always want to roll the whole thing from within. > > > Thanks... > > > Craig Newman From sarah.reichelt at gmail.com Thu Apr 28 19:12:51 2011 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 29 Apr 2011 09:12:51 +1000 Subject: RunRev Live video archives Message-ID: Hi All, I have a subscription to the RunRev Live simulcast, but as the presentations mostly take place when I am asleep, I was hoping to watch the archived videos. I did watch Kevin's keynote and I see the other day 0 sessions are available, but are the later sessions going to be archived too. The RunRev people are probably too busy to answer this right now, but hopefully they will see that at least one person is eagerly awaiting the archives. Cheers, Sarah From todd at geistinteractive.com Thu Apr 28 20:03:37 2011 From: todd at geistinteractive.com (Todd Geist) Date: Thu, 28 Apr 2011 17:03:37 -0700 Subject: the urlresponse ? Message-ID: Hello, I am working with web apis using the put URL tURL form. While looking through Trover's examples I found that he uses this property urlresponse to get the data from the response. This doesn't seem to be a Custom property. This seems to be a property like htttpHeaders, but I can not find any documentation on it anywhere. Can anyone help me clear this up? Thanks Todd Todd Geist ------------------------------ geist interactive 805-419-9382 From mcgrath3 at mac.com Thu Apr 28 22:46:41 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 28 Apr 2011 22:46:41 -0400 Subject: RunRev Live video archives In-Reply-To: References: Message-ID: <0B63CC20-2ABB-4BC2-B006-F2B85E8139A8@mac.com> Sarah, They said they will be working on getting them all up and organized with example links. Still getting to ask questions and discuss with peers is a lot better. Andre was great but they cut him short. I could have listened to his presentation for another hour at least. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Apr 28, 2011, at 7:12 PM, Sarah Reichelt wrote: > Hi All, > > I have a subscription to the RunRev Live simulcast, but as the > presentations mostly take place when I am asleep, I was hoping to > watch the archived videos. > I did watch Kevin's keynote and I see the other day 0 sessions are > available, but are the later sessions going to be archived too. > > The RunRev people are probably too busy to answer this right now, but > hopefully they will see that at least one person is eagerly awaiting > the archives. > > Cheers, > Sarah > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From zellner at tamu.edu Thu Apr 28 23:04:45 2011 From: zellner at tamu.edu (Ronald Zellner) Date: Thu, 28 Apr 2011 22:04:45 -0500 Subject: Feedback: comparing content of two fields Message-ID: OK, slight modification of Peter's script: on mouseUp local allEntries, ruralEntries, theStart put the seconds into theStart -- used to check the timing put fld "All" into allEntries put fld "Rural" into ruralEntries set the itemDelimiter to tab repeat with x = 1 to the number of lines in allEntries -- there are 1247 lines if cr & (item 1 of line x of allEntries) & tab is in ruralEntries then put "Rural" into item 4 of line x of field "All" set the textColor of line x of field "All" to "red" next repeat -- I had "end repeat" before. else put "-" into item 4 of line x of field "All" end if end repeat put the seconds - theStart & return after field "TheTime" -- get elapsed time end mouseUp This script checks the variable and alters the field content & line color. This took 432 seconds to complete. Then I changed it to alter the contents of the variable. Had to remove the color change as you can't set that attribute- as Michael predicted. put "Rural" into item 4 of line x of allEntries And then put the variable into the field at the end: put allEntries into field "All" This took 1 second to complete. I'll write a separate script to change the line color in the field. Thanks all. From dan at clearvisiontech.com Thu Apr 28 23:09:40 2011 From: dan at clearvisiontech.com (Dan Friedman) Date: Thu, 28 Apr 2011 20:09:40 -0700 Subject: iOS App Accepted In-Reply-To: References: Message-ID: <52536F5F-2117-4297-BADB-7EF4E1C41647@clearvisiontech.com> My first iOS app (created in LiveCode) was accepted to the App Store! I feel like I just gave birth! "Deal Master", an app for poker dealers to practice dealing, was accepted to the App Store Wednesday morning. It's already sold a few copies. See for yourself... http://itunes.apple.com/us/app/deal-master/id433511406 The app was accepted on the first submission attempt. For those of you interested, here is the timeline: April 27, 2011 09:52 -- Ready for Sale April 27, 2011 09:40 -- Processing for App Store April 26, 2011 09:50 -- In Review April 21, 2011 07:46 -- Waiting For Review April 21, 2011 07:44 -- Upload Received April 21, 2011 07:40 -- Waiting for Upload April 20, 2011 13:49 -- Prepare for Upload From coiin at verizon.net Thu Apr 28 23:57:24 2011 From: coiin at verizon.net (Colin Holgate) Date: Thu, 28 Apr 2011 20:57:24 -0700 Subject: iOS App Accepted In-Reply-To: <52536F5F-2117-4297-BADB-7EF4E1C41647@clearvisiontech.com> References: <52536F5F-2117-4297-BADB-7EF4E1C41647@clearvisiontech.com> Message-ID: <756BA2E7-B7E1-46BC-A463-9167EAA2F826@verizon.net> On Apr 28, 2011, at 8:09 PM, Dan Friedman wrote: > April 27, 2011 09:52 -- Ready for Sale > April 27, 2011 09:40 -- Processing for App Store > April 26, 2011 09:50 -- In Review Can you say what release date you set? I believe that these days they tend not to review apps until the day they are set to be released. At least that was the case for an app I did. If I'm right, had you set the 22nd as your date, the review would have been five days earlier. From scott at elementarysoftware.com Fri Apr 29 02:37:30 2011 From: scott at elementarysoftware.com (Scott Morrow) Date: Thu, 28 Apr 2011 23:37:30 -0700 Subject: iOS App Accepted In-Reply-To: <52536F5F-2117-4297-BADB-7EF4E1C41647@clearvisiontech.com> References: <52536F5F-2117-4297-BADB-7EF4E1C41647@clearvisiontech.com> Message-ID: Congratulations Dan! -Scott Morrow On Apr 28, 2011, at 8:09 PM, Dan Friedman wrote: > My first iOS app (created in LiveCode) was accepted to the App Store! I feel like I just gave birth! "Deal Master", an app for poker dealers to practice dealing, was accepted to the App Store Wednesday morning. It's already sold a few copies. See for yourself... > > http://itunes.apple.com/us/app/deal-master/id433511406 > > The app was accepted on the first submission attempt. For those of you interested, here is the timeline: > > April 27, 2011 09:52 -- Ready for Sale > April 27, 2011 09:40 -- Processing for App Store > April 26, 2011 09:50 -- In Review > April 21, 2011 07:46 -- Waiting For Review > April 21, 2011 07:44 -- Upload Received > April 21, 2011 07:40 -- Waiting for Upload > April 20, 2011 13:49 -- Prepare for Upload > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Apr 29 03:45:41 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 29 Apr 2011 02:45:41 -0500 Subject: Feedback: comparing content of two fields In-Reply-To: References: Message-ID: <4DBA6CA5.4030408@hyperactivesw.com> On 4/28/11 10:04 PM, Ronald Zellner wrote: > Had to remove the color change as you can't set that attribute- as Michael predicted. Actually you can. Another thing that slows down a script is using a counter variable in a repeat loop. Sometimes you have to, but if possible use the "repeat for each" structure, which is much faster. I didn't actually test this so you may need to adjust it, but this handler only hits the field to twice and avoids a counter. Using htmlText allows you to color the lines without accessing the field repeatedly. It should be fast enough that you don't need to have any visual progress indicators; using "repeat for each" can typically process thousands of lines in a few milliseconds. on mouseUp put fld "All" into allEntries put fld "Rural" into ruralEntries set the itemDelimiter to tab repeat for each line tLine in allEntries put tLine into tCurLine if cr & (item 1 of tCurLine) & tab is in cr & ruralEntries then put "Rural" into item 4 of tCurLine put "

" & tCurLine & "

" after tNewList else put "-" into item 4 of tCurLine put "

" & tCurLine & "

" after tNewList end if end repeat set the htmlText of fld "All" to tNewList end mouseUp -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Fri Apr 29 04:51:26 2011 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 29 Apr 2011 11:51:26 +0300 Subject: select after the selectedText Message-ID: <4DBA7C0E.8060806@gmail.com> So, here I am with a large textField, and as I merrily type into it new characters keep getting added to the end of the string (as one would expect): Now, this is a textField being filled up with unicode (double-byte) chars, and to make sure the next chars gets placed in the correct place my insertion routine ends with select after the selectedText HOWEVER, when my line of text gets near to the edge of my textField I tend to hit the RETURN or ENTER button on my keyboard and start a new line . . . after which things go "funny", and the select after the selectedText keeps pushing my text insertion point back to the end of line one of my text. Obviously "this just won't do" . . . . Richmond. From psahores at free.fr Fri Apr 29 05:59:31 2011 From: psahores at free.fr (Pierre Sahores) Date: Fri, 29 Apr 2011 11:59:31 +0200 Subject: RunRev Live video archives In-Reply-To: References: Message-ID: Sarah, If you use a mac, just use Quicktime X to "screencast" the simcasts along you are asleep :-) Kind Regards, Pierre Le 29 avr. 2011 ? 01:12, Sarah Reichelt a ?crit : > Hi All, > > I have a subscription to the RunRev Live simulcast, but as the > presentations mostly take place when I am asleep, I was hoping to > watch the archived videos. > I did watch Kevin's keynote and I see the other day 0 sessions are > available, but are the later sessions going to be archived too. > > The RunRev people are probably too busy to answer this right now, but > hopefully they will see that at least one person is eagerly awaiting > the archives. > > Cheers, > Sarah > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From niggemann at uni-wh.de Fri Apr 29 07:11:40 2011 From: niggemann at uni-wh.de (BNig) Date: Fri, 29 Apr 2011 04:11:40 -0700 (PDT) Subject: RunRev Live video archives In-Reply-To: References: Message-ID: <1304075500709-3483421.post@n4.nabble.com> Hi Sarah, there are quite a number of the recorded sessions in the "recorded" tab. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/RunRev-Live-video-archives-tp3482514p3483421.html Sent from the Revolution - User mailing list archive at Nabble.com. From toolbook at kestner.de Fri Apr 29 08:20:10 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 29 Apr 2011 14:20:10 +0200 Subject: use of colors of an image? Message-ID: <001d01cc0667$cd5f3a30$681dae90$@de> Hi, I wonder what you can use the colors and patterns of an image for? I havn't used them before and when I try to set one of the eight colors, either of an empty image or an actual image, nothing is seen. I was hoping I can use them as a kind of hilite color, or as a kind of a blend level of the image, but so far I must miss something to use them. What I would like to have is a "hilite blend level" as a kind of "hilite icon" or "hilite color", with which I could show another state of the image, when clicked. The only other way I see so far is to work with two different images, which show the different state and scripting both images to switch, or using a third "overlay graphic" with ink=noop (thanks Klaus!) to control the switch of the images, when clicked. But perhaps there is a way to work with only one image? Thanks for any hint and have a nice WE Tiemo From dunbarx at aol.com Fri Apr 29 08:37:48 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 29 Apr 2011 08:37:48 -0400 Subject: select after the selectedText In-Reply-To: <4DBA7C0E.8060806@gmail.com> References: <4DBA7C0E.8060806@gmail.com> Message-ID: <8CDD48161913ECB-F40-4D1CC@webmail-d047.sysops.aol.com> Richmond. Would changing to "select after the text" make this better? Craig -----Original Message----- From: Richmond To: How to use LiveCode Sent: Fri, Apr 29, 2011 4:51 am Subject: select after the selectedText So, here I am with a large textField, and as I merrily type into it new characters keep getting added to the end of the string (as one would expect): Now, this is a textField being filled up with unicode (double-byte) chars, and to make sure the next chars gets placed in the correct place my insertion routine ends with select after the selectedText HOWEVER, when my line of text gets near to the edge of my textField I tend to hit the RETURN or ENTER button on my keyboard and start a new line . . . after which things go "funny", and the select after the selectedText keeps pushing my text insertion point back to the end of line one of my text. Obviously "this just won't do" . . . . Richmond. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From form at nonsanity.com Fri Apr 29 10:28:03 2011 From: form at nonsanity.com (Nonsanity) Date: Fri, 29 Apr 2011 10:28:03 -0400 Subject: Live LiveCode Event #21 In-Reply-To: References: Message-ID: If you still don't have anyone else offer, I think I can now do the talk. The Saturday plans are later in the evening (5pm EDT) so the usual start time for the LLCCE (2pm EDT) should be fine. ~ Chris Innanen ~ Nonsanity On Thu, Apr 28, 2011 at 4:05 PM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi everybody, > > We still have no presenters for this Saturday. If you are a regular > participant of the LLCCE, please consider doing a presentation yourself this > time and contact me by e-mail or through this web form http://qery.us/du . > More information can be found at 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 > > New: Download the Installer Maker Plugin 1.6 for LiveCode here > http://qery.us/ce > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mikekann at yahoo.com Fri Apr 29 10:31:28 2011 From: mikekann at yahoo.com (Michael Kann) Date: Fri, 29 Apr 2011 07:31:28 -0700 (PDT) Subject: Feedback: comparing content of two fields In-Reply-To: <4DBA6CA5.4030408@hyperactivesw.com> Message-ID: <503394.34993.qm@web161611.mail.bf1.yahoo.com> One more gem from Jacqueline. --- On Fri, 4/29/11, J. Landman Gay wrote: From: J. Landman Gay Subject: Re: Feedback: comparing content of two fields To: "How to use LiveCode" Date: Friday, April 29, 2011, 2:45 AM On 4/28/11 10:04 PM, Ronald Zellner wrote: > Had to remove the color change as you can't set that attribute- as Michael predicted. Actually you can. Another thing that slows down a script is using a counter variable in a repeat loop. Sometimes you have to, but if possible use the "repeat for each" structure, which is much faster. I didn't actually test this so you may need to adjust it, but this handler only hits the field to twice and avoids a counter. Using htmlText allows you to color the lines without accessing the field repeatedly. It should be fast enough that you don't need to have any visual progress indicators; using "repeat for each" can typically process thousands of lines in a few milliseconds. on mouseUp ???put fld "All" into allEntries ???put fld "Rural" into ruralEntries ???set the itemDelimiter to tab ???repeat for each line tLine in allEntries ? ? ? put tLine into tCurLine ? ? ? if cr & (item 1 of tCurLine) & tab is in cr & ruralEntries then ? ? ? ???put "Rural" into item 4 of tCurLine ? ? ? ???put "

" &? tCurLine & "

" after tNewList ? ? ? else ? ? ? ???put "-" into item 4 of tCurLine ? ? ? ???put "

" & tCurLine & "

" after tNewList ? ? ? end if ???end repeat ???set the htmlText of fld "All" to tNewList end mouseUp -- 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 Fri Apr 29 10:32:40 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 29 Apr 2011 16:32:40 +0200 Subject: Live LiveCode Event #21 In-Reply-To: References: Message-ID: <644C46DA-8EAB-4909-BEB5-CA5E369AAD09@economy-x-talk.com> Thanks, Chris! I'll reply off-list. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 29 apr 2011, at 16:28, Nonsanity wrote: > If you still don't have anyone else offer, I think I can now do the talk. > The Saturday plans are later in the evening (5pm EDT) so the usual start > time for the LLCCE (2pm EDT) should be fine. > > ~ Chris Innanen > ~ Nonsanity From form at nonsanity.com Fri Apr 29 10:42:20 2011 From: form at nonsanity.com (Nonsanity) Date: Fri, 29 Apr 2011 10:42:20 -0400 Subject: select after the selectedText In-Reply-To: <8CDD48161913ECB-F40-4D1CC@webmail-d047.sysops.aol.com> References: <4DBA7C0E.8060806@gmail.com> <8CDD48161913ECB-F40-4D1CC@webmail-d047.sysops.aol.com> Message-ID: select after char -1 of fld 1 Also works. ~ Chris Innanen ~ Nonsanity On Fri, Apr 29, 2011 at 8:37 AM, wrote: > Richmond. > > > Would changing to "select after the text" make this better? > > > Craig > > > > > > -----Original Message----- > From: Richmond > To: How to use LiveCode > Sent: Fri, Apr 29, 2011 4:51 am > Subject: select after the selectedText > > > So, here I am with a large textField, and as I merrily type into it new > characters keep getting > added to the end of the string (as one would expect): > > Now, this is a textField being filled up with unicode (double-byte) chars, > and to make sure the > next chars gets placed in the correct place my insertion routine ends with > > select after the selectedText > > HOWEVER, when my line of text gets near to the edge of my textField I tend > to hit the RETURN > or ENTER button on my keyboard and start a new line . . . > > after which things go "funny", and the select after the selectedText keeps > pushing my > text insertion point back to the end of line one of my text. > > Obviously "this just won't do" . . . . > > Richmond. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From coiin at verizon.net Fri Apr 29 11:04:07 2011 From: coiin at verizon.net (Colin Holgate) Date: Fri, 29 Apr 2011 08:04:07 -0700 Subject: Live LiveCode Event #21 In-Reply-To: References: Message-ID: I know I talked last Saturday, but if you don't get anyone else I could go over the code I did for the jigsaw puzzle app. I won't hand this stack around too much, but I'm happy to show how every aspect of how it works! From m.schonewille at economy-x-talk.com Fri Apr 29 11:55:25 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 29 Apr 2011 17:55:25 +0200 Subject: Live LiveCode Event #21 In-Reply-To: References: Message-ID: Thanks Colin. I'll write off-list. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 29 apr 2011, at 17:04, Colin Holgate wrote: > I know I talked last Saturday, but if you don't get anyone else I could go over the code I did for the jigsaw puzzle app. I won't hand this stack around too much, but I'm happy to show how every aspect of how it works! From form at nonsanity.com Fri Apr 29 12:24:48 2011 From: form at nonsanity.com (Nonsanity) Date: Fri, 29 Apr 2011 12:24:48 -0400 Subject: How to sync multiple functions / routines in parallel In-Reply-To: References: Message-ID: So you have data in memory that is constantly being updated, and need to save the data to several databases periodically. But when you save to each database in sequence, the data could be updated in between them, causing the databases to be out-of-sync. So what you could do is snapshot the data in memory by making a copy of it, then use the static copy to write to each database in turn. This keeps them safe from the continuous updates. ~ Chris Innanen ~ Nonsanity On Sat, Apr 23, 2011 at 11:12 AM, Glen Bojsza wrote: > Hello, > > I have a database which I have created several queries for doing archival > reports. > > Now I would like to have all the queries update the reports automatically > every 10 seconds. > > From what I determined I will need to keep the database connections open > while the application is running but I cannot do sequential queuing of the > queries because by the time the last query runs it will be out of sync with > the earliest query. > > So, what is the best method to have all queries update every 10 seconds in > parallel? Each query will have it's own database connection that is open. > > For anyone not doing databases this could be a similar problem in nature > where one needs to have multiple events for gaming occur in parallel... I > have not tried programming any games or anything else surrounding this type > of parallism. > > thanks, > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobs at twft.com Fri Apr 29 12:52:26 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 29 Apr 2011 09:52:26 -0700 Subject: How to sync multiple functions / routines in parallel In-Reply-To: References: Message-ID: <4BADB141-165E-4EFB-9961-F4E4515D5EFB@twft.com> Lock all the databases first, then update them. I'm pretty sure all SQL databases have the ability to lock tables. In mySQL the sequel is: LOCK TABLES tbl_name [[AS] alias] lock_type [, tbl_name [[AS] alias] lock_type ] ... lock_type: READ [LOCAL] | [LOW_PRIORITY] WRITE UNLOCK TABLES Now if anything goes wrong in between that causes an execution failure then that is obviously very bad. So you want to put your code that updates the databases in a try/catch control structure, and in the catch, before any interaction with the user, unlock tables. I'm pretty sure if it's a disconnect problem, the SQL database will terminate the connection and drop all the locks you set automatically. Bob On Apr 29, 2011, at 9:24 AM, Nonsanity wrote: > So you have data in memory that is constantly being updated, and need to > save the data to several databases periodically. But when you save to each > database in sequence, the data could be updated in between them, causing the > databases to be out-of-sync. > > So what you could do is snapshot the data in memory by making a copy of it, > then use the static copy to write to each database in turn. This keeps them > safe from the continuous updates. > > > ~ Chris Innanen > ~ Nonsanity > > > On Sat, Apr 23, 2011 at 11:12 AM, Glen Bojsza wrote: > >> Hello, >> >> I have a database which I have created several queries for doing archival >> reports. >> >> Now I would like to have all the queries update the reports automatically >> every 10 seconds. >> >> From what I determined I will need to keep the database connections open >> while the application is running but I cannot do sequential queuing of the >> queries because by the time the last query runs it will be out of sync with >> the earliest query. >> >> So, what is the best method to have all queries update every 10 seconds in >> parallel? Each query will have it's own database connection that is open. >> >> For anyone not doing databases this could be a similar problem in nature >> where one needs to have multiple events for gaming occur in parallel... I >> have not tried programming any games or anything else surrounding this type >> of parallism. >> >> thanks, >> >> Glen >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 29 13:06:42 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 29 Apr 2011 10:06:42 -0700 Subject: Hullooo David Johnson? Message-ID: I am looking for a way to contact Dave Johnson about revShare, but I cannot find him in revOnline anywhere. Anyone have an email address for him? Bob From m.schonewille at economy-x-talk.com Fri Apr 29 13:21:28 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 29 Apr 2011 19:21:28 +0200 Subject: ANN: Live LiveCode Code Event #21 Message-ID: <46F96167-DCF8-4D2C-8CF5-14E5B7390DA2@economy-x-talk.com> Dear folks, It is a big pleasure to announce the 21st edition of the Live LiveCode Code Event with two interesting presentations. This weekend's event is scheduled for 30 April 2011 at 19:00h GMT (Sat. 22:00 in Moscow, Sat. 20:00 in Paris, Sat. 14:00 in New York, Sat. 11:00 in Los Angeles, Sun. 04:00 in Sydney, Sun. 03:00 in Tokyo, Sun. 2:00 in Beijing; check your local time here http://qery.us/oy). Thierry will demonstrate one of his latest LiveCode externals called SunnYmidi. SunnYmidi is a fast and easy-to-use music midi player with absolutely no latency. Chris is currently working on a project for iOS and will show how you can use scripts that help you make your projects, doing tasks that aren't built into the LiveCode IDE by default. eHUG, http://www.ehug.info , will be raffling off the e-book "Take Control of Running Windows on a Mac" courtesy of TidBITS, http://www.tidbits.com/ . During the event, Economy-x-Talk offers a 25% discount on their Installer Maker, which can be downloaded at http://installermaker.economy-x-talk.com . A discounted license can be obtained at http://livetalk.us/im . Make sure to use ChatRev during the happening, otherwise you won't know where to watch the streams, which will be announced in ChatRev. Download ChatRev here: http://bjoernke.com?target=chatrev or enter in the message box: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" See also the following page for the same information (soon): http://livecode.tv Kind regards, Mark -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce From revmaillist at positivme.com Fri Apr 29 14:02:38 2011 From: revmaillist at positivme.com (Thunder) Date: Fri, 29 Apr 2011 11:02:38 -0700 (PDT) Subject: use of colors of an image? In-Reply-To: <001d01cc0667$cd5f3a30$681dae90$@de> References: <001d01cc0667$cd5f3a30$681dae90$@de> Message-ID: <1304100158404-3484252.post@n4.nabble.com> <What I would like to have is a "hilite blend level" as a kind of "hilite icon" or "hilite color", with which I could show another state of the image, when clicked.> Maybe colorOverlay will do what you want... More info : http://runtime-revolution.278305.n4.nabble.com/A-Quick-Flash-td346550.html http://runtime-revolution.278305.n4.nabble.com/A-Quick-Flash-td346550.html http://runrev.com/newsletter/september/issue78/newsletter2.php http://runrev.com/newsletter/september/issue78/newsletter2.php -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/use-of-colors-of-an-image-tp3483532p3484252.html Sent from the Revolution - User mailing list archive at Nabble.com. From revmaillist at positivme.com Fri Apr 29 14:18:14 2011 From: revmaillist at positivme.com (Thunder) Date: Fri, 29 Apr 2011 11:18:14 -0700 (PDT) Subject: Hullooo David Johnson? In-Reply-To: References: Message-ID: <1304101094855-3484282.post@n4.nabble.com> Hi Maybe Chipp Walters can help you.. Have a look at this link... http://runtime-revolution.278305.n4.nabble.com/Whiteboard-help-td292047.html#a292049 http://runtime-revolution.278305.n4.nabble.com/Whiteboard-help-td292047.html#a292049 "David Johnson and I have been working on a library called 'RevShare' which should do whiteboard as well as chat and different types of asynchronous sharing. I was supposed to have the beta out this year, but due to illness, it will probably be delayed until mid January. Fire me an email offlist if you're interested. best, Chipp" -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Hullooo-David-Johnson-tp3484138p3484282.html Sent from the Revolution - User mailing list archive at Nabble.com. From bobs at twft.com Fri Apr 29 14:24:32 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 29 Apr 2011 11:24:32 -0700 Subject: Hullooo David Johnson? In-Reply-To: <1304101094855-3484282.post@n4.nabble.com> References: <1304101094855-3484282.post@n4.nabble.com> Message-ID: <5A4FD3E3-23FB-4149-A21E-3552C2C89E43@twft.com> Yes, it was because I got an email from Chipp telling my that He and David Johnson had worked on this together, but he offered no contact information for David, hence this post. Bob On Apr 29, 2011, at 11:18 AM, Thunder wrote: > Hi > > Maybe Chipp Walters can help you.. > > Have a look at this link... > http://runtime-revolution.278305.n4.nabble.com/Whiteboard-help-td292047.html#a292049 > http://runtime-revolution.278305.n4.nabble.com/Whiteboard-help-td292047.html#a292049 > > > > "David Johnson and I have been working on a library called 'RevShare' > which should do whiteboard as well as chat and different types of > asynchronous sharing. I was supposed to have the beta out this year, but > due to illness, it will probably be delayed until mid January. Fire me > an email offlist if you're interested. > > best, > > Chipp" > > > > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Hullooo-David-Johnson-tp3484138p3484282.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From massung at gmail.com Fri Apr 29 16:32:23 2011 From: massung at gmail.com (Jeff Massung) Date: Fri, 29 Apr 2011 14:32:23 -0600 Subject: Launch and the working directory Message-ID: I'd like to somehow set the working directory that I launch an application from. Anyone know how I can do that? Thanks! Jeff M. From scott at tactilemedia.com Fri Apr 29 17:51:49 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 29 Apr 2011 14:51:49 -0700 Subject: Launch and the working directory In-Reply-To: Message-ID: Recently, Jeff Massung wrote: > I'd like to somehow set the working directory that I launch an application > from. Anyone know how I can do that? If I understand what you're asking: set the directory to "/Volumes/myapps/mystuff" You can also use "defaultFolder" instead of "directory". Regards, Scott Rossi Creative Director Tactile Media, UX Design From lvhdgc7 at gmail.com Fri Apr 29 18:37:46 2011 From: lvhdgc7 at gmail.com (tbodine) Date: Fri, 29 Apr 2011 15:37:46 -0700 (PDT) Subject: Alternatives to "answer" Message-ID: <1304116666660-3484779.post@n4.nabble.com> Hi LiveCoders. I'm working on my first real LC project and now I've dug myself into my first LC hole. Hoping for some advice... I want to present user with a dialog box that is more attractive than the standard "answer" command. (Bigger type, transparent, icon buttons). I tried making a separate card in a separate stack that I could open over my mainStack card, but that is creating lots of errors now with "can't find card" messages when I use: call processingHandler of card "Main" of stack "Top". Basically, I want a semitransparent dialog box with two buttons to open over a mainStack card. The user's button choice needs to be returned to the mainStack script and the dlog Card closed. Any suggestions on how to do this? Thanks! Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Alternatives-to-answer-tp3484779p3484779.html Sent from the Revolution - User mailing list archive at Nabble.com. From bobs at twft.com Fri Apr 29 18:51:47 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 29 Apr 2011 15:51:47 -0700 Subject: Alternatives to "answer" In-Reply-To: <1304116666660-3484779.post@n4.nabble.com> References: <1304116666660-3484779.post@n4.nabble.com> Message-ID: Use the dialogData. You can set it to whatever you want in the "dialog" stack, and then retrieve it in your main stack. The dialogData is a global property you can set and get throughout the IDE or runtime environment. Also make your stack modal, meaning it must be dismissed before the user can click anywhere else. Don't call a procedure in an unopened stack (unless it's script has been inserted into the frontScript or backScript, and that still doesn't open the stack to display the card. You still have to GO to the stack to do that.) That no workie nohow. Just go to the stack and have the openStack handler of your "dialog" stack call whatever procedure you have, or just have the openStack handler BE the procedure. Bob On Apr 29, 2011, at 3:37 PM, tbodine wrote: > Hi LiveCoders. > > I'm working on my first real LC project and now I've dug myself into my > first LC hole. Hoping for some advice... > > I want to present user with a dialog box that is more attractive than the > standard "answer" command. (Bigger type, transparent, icon buttons). I tried > making a separate card in a separate stack that I could open over my > mainStack card, but that is creating lots of errors now with "can't find > card" messages when I use: > > call processingHandler of card "Main" of stack "Top". > > Basically, I want a semitransparent dialog box with two buttons to open over > a mainStack card. The user's button choice needs to be returned to the > mainStack script and the dlog Card closed. > > Any suggestions on how to do this? > > Thanks! > Tom Bodine > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Alternatives-to-answer-tp3484779p3484779.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 Fri Apr 29 20:38:59 2011 From: pete at mollysrevenge.com (Pete) Date: Fri, 29 Apr 2011 17:38:59 -0700 Subject: Alternatives to "answer" In-Reply-To: References: <1304116666660-3484779.post@n4.nabble.com> Message-ID: What Bob said. In addition to using the dialogData to return the user's choice to you, you can also use it to pass stuff into the dialog box, like maybe the text you want to display to the user, the title, labels for the buttons, etc. Use the preOpenCard handler of the dialog stack to configure the dialog window from the information you pass in via the dialogData Pete Molly's Revenge On Fri, Apr 29, 2011 at 3:51 PM, Bob Sneidar wrote: > Use the dialogData. You can set it to whatever you want in the "dialog" > stack, and then retrieve it in your main stack. The dialogData is a global > property you can set and get throughout the IDE or runtime environment. > > Also make your stack modal, meaning it must be dismissed before the user > can click anywhere else. > > Don't call a procedure in an unopened stack (unless it's script has been > inserted into the frontScript or backScript, and that still doesn't open the > stack to display the card. You still have to GO to the stack to do that.) > > That no workie nohow. Just go to the stack and have the openStack handler > of your "dialog" stack call whatever procedure you have, or just have the > openStack handler BE the procedure. > > Bob > > > On Apr 29, 2011, at 3:37 PM, tbodine wrote: > > > Hi LiveCoders. > > > > I'm working on my first real LC project and now I've dug myself into my > > first LC hole. Hoping for some advice... > > > > I want to present user with a dialog box that is more attractive than the > > standard "answer" command. (Bigger type, transparent, icon buttons). I > tried > > making a separate card in a separate stack that I could open over my > > mainStack card, but that is creating lots of errors now with "can't find > > card" messages when I use: > > > > call processingHandler of card "Main" of stack "Top". > > > > Basically, I want a semitransparent dialog box with two buttons to open > over > > a mainStack card. The user's button choice needs to be returned to the > > mainStack script and the dlog Card closed. > > > > Any suggestions on how to do this? > > > > Thanks! > > Tom Bodine > > > > > > -- > > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Alternatives-to-answer-tp3484779p3484779.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 richmondmathewson at gmail.com Sat Apr 30 02:38:28 2011 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 30 Apr 2011 09:38:28 +0300 Subject: Alternatives to "answer" In-Reply-To: <1304116666660-3484779.post@n4.nabble.com> References: <1304116666660-3484779.post@n4.nabble.com> Message-ID: <4DBBAE64.20109@gmail.com> On 04/30/11 01:37, tbodine wrote: > Hi LiveCoders. > > I'm working on my first real LC project and now I've dug myself into my > first LC hole. Hoping for some advice... > > I want to present user with a dialog box that is more attractive than the > standard "answer" command. (Bigger type, transparent, icon buttons). I tried > making a separate card in a separate stack that I could open over my > mainStack card, but that is creating lots of errors now with "can't find > card" messages when I use: > > call processingHandler of card "Main" of stack "Top". > > Basically, I want a semitransparent dialog box with two buttons to open over > a mainStack card. The user's button choice needs to be returned to the > mainStack script and the dlog Card closed. > > Any suggestions on how to do this? > I tend to use a semi-transparent image, either made in Livecode and exported as a snapshot as a PNG and then reimported, or with GIMP; then another couple of faux buttons (i.e. images) for "Yes" and "No"; just make sure that your 'answer' images are in the top layers of the card so they don't appear peeping out from behind whatever controls you have for functionality and/oe aesthetics on the card. From john.allijn at alice.nl Sat Apr 30 03:39:45 2011 From: john.allijn at alice.nl (John Allijn) Date: Sat, 30 Apr 2011 09:39:45 +0200 Subject: Scrolling in an iOS text-field Message-ID: <44BDF2E5-F8AE-48C5-A3A8-7905B8C2AC8B@alice.nl> Hello, I've been working on a tool for students and teacher that will help them to communicate better. In livecode I made a teachers-app and a Students-app for mac/win and iOS. The apps are free for all platforms, so take a look if you want: http://www.ons-prikbord.nl/Scholen/HES/Downloads.html There is a demo-account available (see the faq's) The iOS app works fine, but there are are still some tweaks to make. One that is particularly bugging me is scrolling in a text field. Can't seem to get this working. I downloaded the scroller example for iOS and replaced the images in the example with a text field. This has as a side-effect that I have to define the size of my textfield up front, and the user either has a very large empty field to scroll, or the contents is too big and not displayed entirely. Secondly, I can't seem to get the scroller to be displaced in the little part of my screen where I want it to be. It runs of the screen on the bottom, thereby messing up my navigation buttons, which are drawn on a image on the background of the window. Has anyone figured out what the best way is to scroll in a text field on iOS??? best regards, John Allijn From gerry.orkin at gmail.com Sat Apr 30 04:39:09 2011 From: gerry.orkin at gmail.com (Gerry) Date: Sat, 30 Apr 2011 18:39:09 +1000 Subject: Scrolling in an iOS text-field In-Reply-To: <44BDF2E5-F8AE-48C5-A3A8-7905B8C2AC8B@alice.nl> References: <44BDF2E5-F8AE-48C5-A3A8-7905B8C2AC8B@alice.nl> Message-ID: John Here's a simple iOS scrolling text example: http://dl.dropbox.com/u/67170/examples/TextScrollerExample.livecode It's for iPhone Retina resolution screens - you will need to change some stuff to make it work on older iPhone screens. I've commented the code but if you need further help just ask :) Gerry -- photos: http://gerryorkin.com On Saturday, 30 April 2011 at 5:39 PM, John Allijn wrote: > > Secondly, I can't seem to get the scroller to be displaced in the little part of my screen where I want it to be. It runs of the screen on the bottom, thereby messing up my navigation buttons, which are drawn on a image on the background of the window. > > Has anyone figured out what the best way is to scroll in a text field on iOS??? From john.allijn at alice.nl Sat Apr 30 04:50:37 2011 From: john.allijn at alice.nl (John Allijn) Date: Sat, 30 Apr 2011 10:50:37 +0200 Subject: Scrolling in an iOS text-field In-Reply-To: References: <44BDF2E5-F8AE-48C5-A3A8-7905B8C2AC8B@alice.nl> Message-ID: <59708960-757A-4A26-BAC4-0BCBCA1EA368@alice.nl> Great thanks!!!!! Send from my iPhone On Apr 30, 2011, at 10:39, Gerry wrote: > John > > Here's a simple iOS scrolling text example: > > http://dl.dropbox.com/u/67170/examples/TextScrollerExample.livecode > > It's for iPhone Retina resolution screens - you will need to change some stuff to make it work on older iPhone screens. > > I've commented the code but if you need further help just ask :) > > Gerry > > > > -- photos: http://gerryorkin.com > On Saturday, 30 April 2011 at 5:39 PM, John Allijn wrote: >> >> Secondly, I can't seem to get the scroller to be displaced in the little part of my screen where I want it to be. It runs of the screen on the bottom, thereby messing up my navigation buttons, which are drawn on a image on the background of the window. >> >> Has anyone figured out what the best way is to scroll in a text field on iOS??? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bill at bluewatermaritime.com Sat Apr 30 09:37:11 2011 From: bill at bluewatermaritime.com (william humphrey) Date: Sat, 30 Apr 2011 09:37:11 -0400 Subject: FORMalizer -- form printing utility In-Reply-To: References: Message-ID: Formalizer is very nice. I too have to do that all the time and your layout is an improvement. The only steps still remaining are the conversion of the PDF to a jpg or png. That is a time-consuming process in Photoshop. All the forms tend to be PDF's. It's too bad LiveCode doesn't work better with PDF's. From tvogelaar at de-mare.nl Sat Apr 30 10:59:36 2011 From: tvogelaar at de-mare.nl (Terry Vogelaar) Date: Sat, 30 Apr 2011 16:59:36 +0200 Subject: iOS External Extensions? In-Reply-To: References: Message-ID: In the keynote, our dearest Kevin said that iOS External Extensions are in 4.6.1, and that Mark Waddingham did a talk about it on April 27th. But unfortunately the talk is not available on the simulcast. I've been waiting on this for quite some time. So, where can I download the new ExternalsEnvironment? Terry From mcgrath3 at mac.com Sat Apr 30 11:58:14 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sat, 30 Apr 2011 11:58:14 -0400 Subject: on-rev writing to Message-ID: <4FD4DD19-AF1E-4314-9C05-41A79E074D98@mac.com> I need to know how to write to on-rev from within an iOS app. Is there a best practices around? I need to write a folder to my account and then write a text file and some images. Are there any sample stacks that show this? Is it as simple as put img 1 into url "http://etc." or is this something for libURL? ( I haven't used libURL before) Any guidance appreciated. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net From pmbrig at gmail.com Sat Apr 30 12:12:07 2011 From: pmbrig at gmail.com (Peter Brigham MD) Date: Sat, 30 Apr 2011 12:12:07 -0400 Subject: FORMalizer -- form printing utility In-Reply-To: References: Message-ID: <0BC379A6-810F-4C43-AA64-EA4FCEEB3222@gmail.com> On Apr 30, 2011, at 9:37 AM, william humphrey wrote: > Formalizer is very nice. I too have to do that all the time and your layout > is an improvement. The only steps still remaining are the conversion of the > PDF to a jpg or png. That is a time-consuming process in Photoshop. All the > forms tend to be PDF's. It's too bad LiveCode doesn't work better with > PDF's. On the Mac at least, Preview (the default native app for opening PDFs, will "save as..." JPG or PNG. Very easy. Or, you should be able to print the document to a PDF file instead of sending it to a printer driver. Either way, Photoshop should not be necessary. Glad you find the utility useful. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From m.schonewille at economy-x-talk.com Sat Apr 30 13:02:11 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 30 Apr 2011 19:02:11 +0200 Subject: ANN: Live LiveCode Code Event #21 In-Reply-To: <46F96167-DCF8-4D2C-8CF5-14E5B7390DA2@economy-x-talk.com> References: <46F96167-DCF8-4D2C-8CF5-14E5B7390DA2@economy-x-talk.com> Message-ID: Hi, The event starts in one hour from now! -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 29 apr 2011, at 19:21, Mark Schonewille wrote: > Dear folks, > > It is a big pleasure to announce the 21st edition of the Live LiveCode Code Event with two interesting presentations. This weekend's event is scheduled for 30 April 2011 at 19:00h GMT (Sat. 22:00 in Moscow, Sat. 20:00 in Paris, Sat. 14:00 in New York, Sat. 11:00 in Los Angeles, Sun. 04:00 in Sydney, Sun. 03:00 in Tokyo, Sun. 2:00 in Beijing; check your local time here http://qery.us/oy). > > Thierry will demonstrate one of his latest LiveCode externals called SunnYmidi. SunnYmidi is a fast and easy-to-use music midi player with absolutely no latency. > > Chris is currently working on a project for iOS and will show how you can use scripts that help you make your projects, doing tasks that aren't built into the LiveCode IDE by default. > > eHUG, http://www.ehug.info , will be raffling off the e-book "Take Control of Running Windows on a Mac" courtesy of TidBITS, http://www.tidbits.com/ . > > During the event, Economy-x-Talk offers a 25% discount on their Installer Maker, which can be downloaded at http://installermaker.economy-x-talk.com . A discounted license can be obtained at http://livetalk.us/im . > > Make sure to use ChatRev during the happening, otherwise you won't know where to watch the streams, which will be announced in ChatRev. Download ChatRev here: > http://bjoernke.com?target=chatrev > or enter in the message box: > go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" > > See also the following page for the same information (soon): > http://livecode.tv > > Kind regards, > > Mark > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce From stephenREVOLUTION2 at barncard.com Sat Apr 30 13:14:21 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 30 Apr 2011 10:14:21 -0700 Subject: iOS External Extensions? In-Reply-To: References: Message-ID: Yeah, I missed his talk as I was on the way to San Jose from SF. I attended the first two days of the event online myself. You might give them the weekend to return home and get a little sleep. Almost the entire staff was in San Jose for the conference and they've all worked really hard this week. There was talk of a Sunday flight, so just wait a few days - I'm sure Mr. Waddingham is *very* aware of the problem. Most likely they are planning a re-staging as soon as they hit the ground. There were also a few audio problems that were not the fault of the runrev video crew, who originally had not planned on dealing with sound system issues. This did not dampen the enthusiasm of the attendees or the value of the excellent presentation by RunRev. I was also impressed with the dedication and sincerity of everyone that works for Kevin and the company. I will write more later about the conference. On 30 April 2011 07:59, Terry Vogelaar wrote: > In the keynote, our dearest Kevin said that iOS External Extensions are in > 4.6.1, and that Mark Waddingham did a talk about it on April 27th. But > unfortunately the talk is not available on the simulcast. > > I've been waiting on this for quite some time. So, where can I download the > new ExternalsEnvironment? > > Terry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From todd at geistinteractive.com Sat Apr 30 15:19:43 2011 From: todd at geistinteractive.com (Todd Geist) Date: Sat, 30 Apr 2011 12:19:43 -0700 Subject: Faceless Servers Message-ID: Hello I am messing around with the idea of creating a a very simple Server as a LiveCode standalone. And I have a question. Can standalones be made to run as a daemon or windows service? Ideally I would like my app to run when no one os logged in. Is this possible? I know about iRev, but I need it to work on windows, and that is not available yet. Thanks Todd Todd Geist ------------------------------ geist interactive 805-419-9382 From ambassador at fourthworld.com Sat Apr 30 15:31:51 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 30 Apr 2011 12:31:51 -0700 Subject: Faceless Servers In-Reply-To: References: Message-ID: <4DBC63A7.2080300@fourthworld.com> Todd wrote: > I am messing around with the idea of creating a a very simple Server as a > LiveCode standalone. And I have a question. > Can standalones be made to run as a daemon or windows service? The MetaCard HTTP server should still run well in LiveCode, and is a lot of fun to play with, inherently extensible (thanks to Mark Talluto for the MC archives): -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From coiin at verizon.net Sat Apr 30 15:33:15 2011 From: coiin at verizon.net (Colin Holgate) Date: Sat, 30 Apr 2011 15:33:15 -0400 Subject: my conference contest entry Message-ID: <7159CDC1-44DD-4E17-8160-985D4D832A5B@verizon.net> I removed the iOS specific features (taking a picture, loading from your album), as well as having no drop shadow as you drag. And of course there is no multitouch, but otherwise this gives you an idea of what it's like: http://idisk.mac.com/coiin//Public/rev/puzzle.html The reset button (in the tools palette) doesn't work too well if you use it after starting a puzzle, so just do a page reload for do a fresh start. From todd at geistinteractive.com Sat Apr 30 16:09:46 2011 From: todd at geistinteractive.com (Todd Geist) Date: Sat, 30 Apr 2011 13:09:46 -0700 Subject: Faceless Servers In-Reply-To: <4DBC63A7.2080300@fourthworld.com> References: <4DBC63A7.2080300@fourthworld.com> Message-ID: wow, if I the timestamps on that archive are accurate then this has been around since 1999. That is impressive! So am I to understand that is this will work if I link the current Live Code engine to it? Can I build standalones with it? Thanks Todd On Sat, Apr 30, 2011 at 12:31 PM, Richard Gaskin wrote: > Todd wrote: > > > I am messing around with the idea of creating a a very simple Server as a > > LiveCode standalone. And I have a question. > > Can standalones be made to run as a daemon or windows service? > > > The MetaCard HTTP server should still run well in LiveCode, and is a lot > of fun to play with, inherently extensible (thanks to Mark Talluto for > the MC archives): > > > > -- > 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 > Todd Geist ------------------------------ geist interactive 805-419-9382 From todd at geistinteractive.com Sat Apr 30 16:12:07 2011 From: todd at geistinteractive.com (Todd Geist) Date: Sat, 30 Apr 2011 13:12:07 -0700 Subject: Xmarks for Safari interferes with RevWeb installation Message-ID: Hello, I just figured out that XMarks for safari will stop the RevWeb installer cold. You get the message saying "To close all browsers" even though they are all closed. If you go into Activity monitor and find xmarks helper and kill it RevWeb will install just fine. Is there an official place I can go log this bug Thanks Todd Todd Geist ------------------------------ geist interactive 805-419-9382 From todd at geistinteractive.com Sat Apr 30 16:24:19 2011 From: todd at geistinteractive.com (Todd Geist) Date: Sat, 30 Apr 2011 13:24:19 -0700 Subject: Faceless Servers In-Reply-To: References: <4DBC63A7.2080300@fourthworld.com> Message-ID: So the answer is yes it seems to still work, that is very cool But I am still curious... ultimately I would love to make this a faceless standalone. Is that possible? On Sat, Apr 30, 2011 at 1:09 PM, Todd Geist wrote: > wow, if I the timestamps on that archive are accurate then this has been > around since 1999. That is impressive! > > So am I to understand that is this will work if I link the current Live > Code engine to it? > > Can I build standalones with it? > > Thanks > > Todd > > On Sat, Apr 30, 2011 at 12:31 PM, Richard Gaskin < > ambassador at fourthworld.com> wrote: > >> Todd wrote: >> >> > I am messing around with the idea of creating a a very simple Server as >> a >> > LiveCode standalone. And I have a question. >> > Can standalones be made to run as a daemon or windows service? >> >> >> The MetaCard HTTP server should still run well in LiveCode, and is a lot >> of fun to play with, inherently extensible (thanks to Mark Talluto for >> the MC archives): >> >> >> >> -- >> 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 >> > > > Todd Geist > ------------------------------ > geist interactive > 805-419-9382 > Todd Geist ------------------------------ geist interactive 805-419-9382 From richmondmathewson at gmail.com Sat Apr 30 16:26:37 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 30 Apr 2011 23:26:37 +0300 Subject: Repost of "selectedText" Message-ID: <4DBC707D.8000806@gmail.com> Sorry chaps; just a nudge as most of you are focussed on the Conf. ============================================ So, here I am with a large textField, and as I merrily type into it new characters keep getting added to the end of the string (as one would expect): Now, this is a textField being filled up with unicode (double-byte) chars, and to make sure the next chars gets placed in the correct place my insertion routine ends with select after the selectedText HOWEVER, when my line of text gets near to the edge of my textField I tend to hit the RETURN or ENTER button on my keyboard and start a new line . . . after which things go "funny", and the select after the selectedText keeps pushing my text insertion point back to the end of line one of my text. Obviously "this just won't do" . . . . Richmond. ==================================================== From lvhdgc7 at gmail.com Sat Apr 30 16:33:47 2011 From: lvhdgc7 at gmail.com (tbodine) Date: Sat, 30 Apr 2011 13:33:47 -0700 (PDT) Subject: my conference contest entry In-Reply-To: <7159CDC1-44DD-4E17-8160-985D4D832A5B@verizon.net> References: <7159CDC1-44DD-4E17-8160-985D4D832A5B@verizon.net> Message-ID: <1304195627918-3486510.post@n4.nabble.com> Nice! How long would you estimate it would have taken you to do a similar program in Director or Flash? -- Tom Bodine-- View this message in context: http://runtime-revolution.278305.n4.nabble.com/my-conference-contest-entry-tp3486432p3486510.html Sent from the Revolution - User mailing list archive at Nabble.com. From coiin at verizon.net Sat Apr 30 17:27:35 2011 From: coiin at verizon.net (Colin Holgate) Date: Sat, 30 Apr 2011 17:27:35 -0400 Subject: my conference contest entry In-Reply-To: <1304195627918-3486510.post@n4.nabble.com> References: <7159CDC1-44DD-4E17-8160-985D4D832A5B@verizon.net> <1304195627918-3486510.post@n4.nabble.com> Message-ID: On Apr 30, 2011, at 4:33 PM, tbodine wrote: > How long would you estimate it would have taken you to do a similar program > in Director or Flash? Director doesn't do mobile, but to do what you see in the web version wouldn't have taken too long. Flash does do mobile, and multitouch, but in slightly harder ways. Still, it does do graphical things a lot better than LiveCode. For example, you can have a movieclip in Flash that just has the mask, and then another layer for the image, and copying bits of the source image into place would have been single line commands. A lot of the time I spent on it in LiveCode involved doing things in a different way to how it ended up, and then trying to figure out better ways to do it. So, given that I know a lot about Director and Flash, and with the same time incentives, I would probably have got just as far in the same time, but not had to spend half of the time learning new things. What I have said though that not everyone works with Flash in the easiest way that you can. Instead there's pressure to create projects in very formal ways, and working that way has its own overhead. From shaosean at wehostmacs.com Sat Apr 30 20:37:15 2011 From: shaosean at wehostmacs.com (Shao Sean) Date: Sat, 30 Apr 2011 20:37:15 -0400 Subject: Faceless Servers Message-ID: <00BB2383-59CF-4FF0-8A89-3D5A99A5AA24@wehostmacs.com> I have only done faceless servers using the CGI engine, so long as you include the -ui to the command to load the engine (compiled app too) it should work.. In the Windows world there are programs out there that will allow any executable to be run as a service.. From dunbarx at aol.com Sat Apr 30 22:57:59 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sat, 30 Apr 2011 22:57:59 -0400 Subject: Repost of "selectedText" In-Reply-To: <4DBC707D.8000806@gmail.com> References: <4DBC707D.8000806@gmail.com> Message-ID: <8CDD5C2B6B70C78-1BE0-1FDD1@webmail-d038.sysops.aol.com> Repost of my riposte. Richmond. Would changing to "select after the text" make this better? Craig -----Original Message----- From: Richmond Mathewson To: How to use LiveCode Sent: Sat, Apr 30, 2011 4:26 pm Subject: Repost of "selectedText" Sorry chaps; just a nudge as most of you are focussed on the Conf. ============================================ So, here I am with a large textField, and as I merrily type into it new characters keep getting added to the end of the string (as one would expect): Now, this is a textField being filled up with unicode (double-byte) chars, and to make sure the next chars gets placed in the correct place my insertion routine ends with select after the selectedText HOWEVER, when my line of text gets near to the edge of my textField I tend to hit the RETURN or ENTER button on my keyboard and start a new line . . . after which things go "funny", and the select after the selectedText keeps pushing my text insertion point back to the end of line one of my text. Obviously "this just won't do" . . . . Richmond. ==================================================== _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sat Apr 30 23:35:40 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 30 Apr 2011 22:35:40 -0500 Subject: Repost of "selectedText" In-Reply-To: <8CDD5C2B6B70C78-1BE0-1FDD1@webmail-d038.sysops.aol.com> References: <4DBC707D.8000806@gmail.com> <8CDD5C2B6B70C78-1BE0-1FDD1@webmail-d038.sysops.aol.com> Message-ID: <4DBCD50C.6080104@hyperactivesw.com> On 4/30/11 9:57 PM, dunbarx at aol.com wrote: > Repost of my riposte. > > > Richmond. > > > Would changing to "select after the text" make this better? That's what I'd do too. "select after the text of fld 1", or just "select after fld 1". -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com