Re: Resizing the objects in a group
Thanks guys. The double click on Edit Group seems to be the easiest way around this. I do believe it is a bug irrespective of how long it's been around. Not necessarily a code bug - maybe just fixing the dictionary entry bug would make it right. I'll enter something at the QC just so it's on record. Pete Molly's Revenge http://www.mollysrevenge.com On Tue, Jul 12, 2011 at 9:35 PM, J. Landman Gay jac...@hyperactivesw.comwrote: On 7/12/11 11:11 PM, Pete wrote: It seems that this problem is not restricted to when there is just one control in a group. If I create a group with any number of controls in it then try to resize one of the controls, the group does not expand to accommodate the new control size. Moving a control resizes the group, resizing it does not. If I change the size of a control in the group by script, the group does expand accordingly. The lockLocation property of the group is false. Is there some other property of the group I need to set/unset to allow resizing of a control? I fnot, I plan to report this as a bug. I'm not sure whether it's a bug or not, but the behavior has been there since the engine was MetaCard. It may be partly a byproduct of the boundingrect property. I've gotten so used to it I don't even think about it any more; if I want a group to expand to fit the objects, I just click twice on Edit Group in the toolbar. That pops me in and out of edit mode quickly, and when coming back out of edit mode, the group adjusts to fit the objects. Any kind of redraw will do the same thing, like going to the next card and back. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com __**_ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/**mailman/listinfo/use-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
AW: why don't I get mouse events with brush tool?
Just FYI After having run against the front door without success, I now followed Björnkes approach to recreate the paint tool with a drag loop and here it was easy to implement my undo function: on mouseDown xStoreUndo -- mybackup handler put the mouseLoc into tOldLoc choose brush tool repeat while the mouse is down wait with messages drag from tOldLoc to the mouseLoc put the mouseLoc into tOldLoc end repeat choose browse tool pass mouseDown end mouseDown but the question remains. Is it an unimplemented feature to capture the mouse events also with the paint tools, or is there any deeper sense behind the sceens not to do it? Tiemo -Ursprüngliche Nachricht- Von: use-livecode-boun...@lists.runrev.com [mailto:use-livecode- boun...@lists.runrev.com] Im Auftrag von Tiemo Hollmann TB Gesendet: Dienstag, 12. Juli 2011 11:33 An: 'How to use LiveCode' Betreff: why don't I get mouse events with brush tool? Hello, some days ago Björnke taught me that its not a bug but a feature that I cant pick the mousecolor while having the brush tool activated. Now I am experiencing, that I also dont get even a mouseDown or mouseUp with the brush tool. The dictionary doesnt says anything about this behavior. What I want to do is: The user can paint with the brush tool on an image. To supply the user an undo with several states, I wanted to make a backup of the image each time at mouseDown, so that the user can roll back every newly painted state. I tried to choose the brush tool with mouseEnter and make the backup with mouseDown (I dont get the mouseDown event). I tried to make the backup with mouseDown and choose brush tool afterwards (works only once until the brush tool is choosen in the first mouseDown) I tried to switch back to the browse tool with every mouseUp to make the backup with next mouseDown (I dont get the mouseUp event, when having selected the brush tool) Probably I am again too narrow minded and looking into the wrong direction, can anybody point me into another direction, how I can realize my undo function? Thanks Tiemo ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
New post detailing the technology and decisions behind my new website
Folks, The blog is now live and has its first useful post. http://andregarzia.com/blog You can see a little journal on the decisions behind the system that drives my new website by going to: http://andregarzia.com/page/bootstrappingacms It is a long read but it is useful for those trying to understand. Hope you guys like, any feedback is appreciated. Cheers andre -- http://www.andregarzia.com All We Do Is Code. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: New post detailing the technology and decisions behind my new website
On Wed, Jul 13, 2011 at 4:55 AM, René Micout rene.mic...@numericable.comwrote: Wow !! Impressive ! If you read it then please give me some feedback! :-) Le 13 juil. 2011 à 09:47, Andre Garzia a écrit : Folks, The blog is now live and has its first useful post. http://andregarzia.com/blog You can see a little journal on the decisions behind the system that drives my new website by going to: http://andregarzia.com/page/bootstrappingacms It is a long read but it is useful for those trying to understand. Hope you guys like, any feedback is appreciated. Cheers andre -- http://www.andregarzia.com All We Do Is Code. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: New post detailing the technology and decisions behind my new website
Hello Andre, Your work is not mine (music / interface) and I do not have enough time to read closely (and translate in French to understand all the subtleties of about). I just wanted to express my admiration for the work even if I do not understand the very substance (la substantifique moëlle disait Rabelais)... Bravo (again !) Bon souvenir de Paris René Le 13 juil. 2011 à 10:00, Andre Garzia a écrit : On Wed, Jul 13, 2011 at 4:55 AM, René Micout rene.mic...@numericable.comwrote: Wow !! Impressive ! If you read it then please give me some feedback! :-) Le 13 juil. 2011 à 09:47, Andre Garzia a écrit : Folks, The blog is now live and has its first useful post. http://andregarzia.com/blog You can see a little journal on the decisions behind the system that drives my new website by going to: http://andregarzia.com/page/bootstrappingacms It is a long read but it is useful for those trying to understand. Hope you guys like, any feedback is appreciated. Cheers andre -- http://www.andregarzia.com All We Do Is Code. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: New post detailing the technology and decisions behind my new website
On Wed, Jul 13, 2011 at 5:19 AM, René Micout rene.mic...@numericable.comwrote: Hello Andre, Your work is not mine (music / interface) and I do not have enough time to read closely (and translate in French to understand all the subtleties of about). I just wanted to express my admiration for the work even if I do not understand the very substance (la substantifique moëlle disait Rabelais)... Bravo (again !) Bon souvenir de Paris René Thanks for the kind words René!!! I am just giving back to the community that has given me so much! :-) Bonsoir my friend PS: Its 5:26 AM in here... off to bed! :-) Le 13 juil. 2011 à 10:00, Andre Garzia a écrit : On Wed, Jul 13, 2011 at 4:55 AM, René Micout rene.mic...@numericable.comwrote: Wow !! Impressive ! If you read it then please give me some feedback! :-) Le 13 juil. 2011 à 09:47, Andre Garzia a écrit : Folks, The blog is now live and has its first useful post. http://andregarzia.com/blog You can see a little journal on the decisions behind the system that drives my new website by going to: http://andregarzia.com/page/bootstrappingacms It is a long read but it is useful for those trying to understand. Hope you guys like, any feedback is appreciated. Cheers andre -- http://www.andregarzia.com All We Do Is Code. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Approved :) - iOS App upgrade from just iPhone to both iPhone and iPad
Just got the email from Apple to say the update to my Livecode app 'Tracker2Go' has been approved. I wouldn't normally post this, but I thought I would as its the first I've seen where the original '1.0' app was just for iPhone, and the '1.1' version is for iPhone and iPad. Beyond the changes in Livecode to include the iPad (i.e. create new high resolution iPad screens and link the code etc, then compile to include the iPad), as far as the submission went it was all very simple. I just created a new version, uploaded iPad screenshots to that version then uploaded the binary to Apple. Once approved it just popped into the iTunes store in both the iPad and iPhone section, so it is possible to work for one platform, then upgrade the app so it works on both. Since release Ive found a few bugs, so 1.1.1 is already 'waiting for review' and I'm sure 1.1.2 will follow shortly after that! Andy ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Approved :) - iOS App upgrade from just iPhone to both iPhone and iPad
They like that a lot more than if you tried to go from supporting a device to not supporting it anymore. On Jul 13, 2011, at 7:17 AM, Andy Henshaw wrote: I wouldn't normally post this, but I thought I would as its the first I've seen where the original '1.0' app was just for iPhone, and the '1.1' version is for iPhone and iPad. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: New post detailing the technology and decisions behind my new website
Hi Andre, Many thanks for the useful insights in your decision process! I like that you had chosen time as a constrain for the creation of your new website. For many years, I have been educating my graphic design clients about the two main constrains in their projects: Scheduled time and assigned budget. Keep Up your great work! :-D Al on Wed, 13 Jul 2011 04:47:18 -0300 Andre Garzia wrote: The blog is now live and has its first useful post. You can see a little journal on the decisions behind the system that drives my new website. It is a long read but it is useful for those trying to understand. Hope you guys like, any feedback is appreciated. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: what is the last LiveCode version to run on G5?
Stable little things aren't they? Bob On Jul 12, 2011, at 7:18 PM, Andre Garzia wrote: oh great A friend of a friend here is selling a dual core G5... I am thinking about snatching it, I have a long love for PPC machines, my favorite laptop for work is my G4 even though I own a 2009 macbook pro, this intel machines fell a little souless to me. My previous intel machine is giving signs of breaking, the intel machine before that broke twice... My two G4 machines are alive and kicking, my iMac G4 works great I am thinking about picking this dual G5... :-) PS: this is specially interesting because I don't like Lion so I will be staying with snow leopard/leopard for a while On Tue, Jul 12, 2011 at 10:52 PM, stephen barncard stephenrevoluti...@barncard.com wrote: Unless something has changed, I think the package is still uiniversal. My main machine was a G5 up until a couple of months ago an Livecode ran fine On 12 July 2011 18:38, Andre Garzia an...@andregarzia.com wrote: Hey Folks, I am not keeping track of the universality of LiveCode engines, what is the latest version able to run on a G5 machine? Cheers andre Stephen Barncard San Francisco Ca. USA more about sqb http://www.google.com/profiles/sbarncar ___ use-livecode mailing list use-livecode@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: what is the last LiveCode version to run on G5?
I'm keeping my G5 for a long time... yeah, Panther was a lot of cats ago... On 13 July 2011 08:51, Bob Sneidar b...@twft.com wrote: Stable little things aren't they? Bob On Jul 12, 2011, at 7:18 PM, Andre Garzia wrote: oh great A friend of a friend here is selling a dual core G5... I am thinking about snatching it, I have a long love for PPC machines, my favorite laptop for Stephen Barncard San Francisco Ca. USA more about sqb http://www.google.com/profiles/sbarncar ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: New post detailing the technology and decisions behind my new website
Folks, I've just added comments to the blog system by using Disqus.com I think it works and it is easier than writting my own. :-) ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: what is the last LiveCode version to run on G5?
On Wed, Jul 13, 2011 at 2:18 PM, stephen barncard stephenrevoluti...@barncard.com wrote: I'm keeping my G5 for a long time... yeah, Panther was a lot of cats ago... Hey I had a working G3 and a Newton until last year when someone sat on my newton and someone moved my G3 to a damp place and it destroyed the screen... my G4s are working really well... I miss how well built those things were, they just seem to last longer than the current intel machines. On 13 July 2011 08:51, Bob Sneidar b...@twft.com wrote: Stable little things aren't they? Bob On Jul 12, 2011, at 7:18 PM, Andre Garzia wrote: oh great A friend of a friend here is selling a dual core G5... I am thinking about snatching it, I have a long love for PPC machines, my favorite laptop for Stephen Barncard San Francisco Ca. USA more about sqb http://www.google.com/profiles/sbarncar ___ use-livecode mailing list use-livecode@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: New post detailing the technology and decisions behind my new website
Well done ! Will probably follow you in adding it (as an option) to the widestep.fr platform. ;-) Le 13 juil. 2011 à 19:18, Andre Garzia a écrit : Folks, I've just added comments to the blog system by using Disqus.com I think it works and it is easier than writting my own. :-) ___ use-livecode mailing list use-livecode@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.wrds.com www.sahores-conseil.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: New post detailing the technology and decisions behind my new website
...so after your epic 'le Mans, 24-hour' CMS coding challenge, you didn't fancy the Brazilian Grand-prix challenge to code a comments mgt. system in 2.5-hours? ;-) Best, Keith.. On 13 Jul 2011, at 18:18, Andre Garzia wrote: Folks, I've just added comments to the blog system by using Disqus.com I think it works and it is easier than writting my own. :-) ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: New post detailing the technology and decisions behind my new website
On Wed, Jul 13, 2011 at 2:47 PM, Keith Clarke keith.cla...@clarkeandclarke.co.uk wrote: ...so after your epic 'le Mans, 24-hour' CMS coding challenge, you didn't fancy the Brazilian Grand-prix challenge to code a comments mgt. system in 2.5-hours? ;-) comment system would require a database or some clever engineering of text files and folders (like old fido boards), I opted for a cost effective solution... Brazilian Cheating :-) Best, Keith.. On 13 Jul 2011, at 18:18, Andre Garzia wrote: Folks, I've just added comments to the blog system by using Disqus.com I think it works and it is easier than writting my own. :-) ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
[OT] HyperNext Android Creator
http://tigabyte.com/ interesting. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [OT] HyperNext Android Creator
Richmond Mathewson wrote: http://tigabyte.com/ interesting. Even more interesting if it becomes RealBASIC's Digital Chisel. ;) -- 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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
RE: [OT] HyperNext Android Creator
Richmond Mathewson wrote: http://tigabyte.com/ interesting. Even more interesting if it becomes RealBASIC's Digital Chisel. ;) I think the subset of what you can do with it is much more limited because it uses RBScript. The funny thing about DC is that it was a much better tool for education than SuperCard was. Those were the days ;-) 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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Hotel Management Software
Hi all. We have several conference centers around, but custom apps people have built for scheduling have been woefully inadequate. We need a kind of Hotel Scheduling solution, and everything out there is insanely expensive, or else charges exorbitant fees to host, based upon how many conferences, and how many attendees a year you will have. If anyone has done any work on this sort of thing, I would purchase what you have if I could be able to customize and expand on it. It's a long shot I know, but it's just the sort of thing Livecode would excel at. Barring that, does anyone do any freelance user interface work? I am not very good at building user interfaces. Maybe if someone had a template for forms that I could build upon, that would be a good starting point. Bob ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
outerGlow color differs by Win OS
Hello list. On XP and Win98 the outerGlow color of objects is blue, as I'd set them. On Vista, it's red. Exact same stack, though. And to make the color blue, I must reset outerGlow color by choosing what on the palette appears as red but which on the stack becomes blue. Could someone explain why? I tried different blendmode and filter settings but no go. Using LC 4.6.1. Thanks. -- Nicolas Cueto (iPhone) ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Hotel Management Software
Hi, have you had a look at the Open Conference System (http://pkp.sfu.ca/?q=ocs)? I have used the Open Journal System (http://pkp.sfu.ca/?q=ojs) and found it to be excellent. cheers Alistair Townsville -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Hotel-Management-Software-tp3666333p3666426.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
repeat with i=
Hi, Let's say that I want to do something like repeat with i = 1 to 6 do whatever i end repeat Except, I want 1 to 6 to be in random sequence I could think of a few kludgy ways to do this. Is there a standard approach? A simple approach? Thanks in advance. Tim ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: repeat with i=
On Wed, Jul 13, 2011 at 9:01 PM, Timothy Miller wrote: Hi, Let's say that I want to do something like repeat with i = 1 to 6 do whatever i end repeat Except, I want 1 to 6 to be in random sequence I could think of a few kludgy ways to do this. Is there a standard approach? A simple approach? Thanks in advance. Tim This won't guarantee that all 6 numbers will get used (because it is random), but it will loop 6 times. repeat with i = 1 to 6 put random(6) into x answer whatever x end repeat ˜Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: repeat with i=
Maybe (untested): put 1,2,3,4,5,6 into x repeat with i=1 to 6 put item random(the number of items in x) into y do whatever with y put empty into item y of x end repeat Pete Molly's Revenge http://www.mollysrevenge.com On Wed, Jul 13, 2011 at 6:01 PM, Timothy Miller gand...@doctortimothymiller.com wrote: Hi, Let's say that I want to do something like repeat with i = 1 to 6 do whatever i end repeat Except, I want 1 to 6 to be in random sequence I could think of a few kludgy ways to do this. Is there a standard approach? A simple approach? Thanks in advance. Tim ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: repeat with i=
On Jul 13, 2011, at 6:01 PM, Timothy Miller wrote: Hi, Let's say that I want to do something like repeat with i = 1 to 6 do whatever i end repeat Except, I want 1 to 6 to be in random sequence I could think of a few kludgy ways to do this. Is there a standard approach? A simple approach? Thanks in advance. on mouseUp local theNums put 1,2,3,4,5,6 into theNums sort items of theNums numeric by random(100) repeat for each item I in theNums --do whatever I end repeat put theNums end mouseUp ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: repeat with i=
This one guarantees that each of the 6 random numbers is only used once. put 1,2,3,4,5,6 into x replace comma with cr in x repeat until (the number of lines of t) = 6 -- be cautious with until loops put random(6) into tLine if tLine is not among the lines of t then put (line tLine of x) cr after t answer whatever (line tLine of x) end if end repeat ˜Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: outerGlow color differs by Win OS
On 7/13/11 6:41 PM, Nicolas Cueto wrote: Hello list. On XP and Win98 the outerGlow color of objects is blue, as I'd set them. On Vista, it's red. Exact same stack, though. And to make the color blue, I must reset outerGlow color by choosing what on the palette appears as red but which on the stack becomes blue. Could someone explain why? It's a bug in the engine. On Android, it's yellow. :) -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: repeat with i=
I like Pete's best - closest to what I was thinking - but I'd change the put empty line to delete item y of x. I think the put empty would just put into that item, but the item would still be there, like: 1,2,,4,5,6 ~ Chris Innanen ~ Nonsanity On Wed, Jul 13, 2011 at 9:25 PM, Pete p...@mollysrevenge.com wrote: Maybe (untested): put 1,2,3,4,5,6 into x repeat with i=1 to 6 put item random(the number of items in x) into y do whatever with y put empty into item y of x end repeat Pete Molly's Revenge http://www.mollysrevenge.com On Wed, Jul 13, 2011 at 6:01 PM, Timothy Miller gand...@doctortimothymiller.com wrote: Hi, Let's say that I want to do something like repeat with i = 1 to 6 do whatever i end repeat Except, I want 1 to 6 to be in random sequence I could think of a few kludgy ways to do this. Is there a standard approach? A simple approach? Thanks in advance. Tim ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: repeat with i=
On Jul 13, 2011, at 7:53 PM, Nonsanity wrote: I like Pete's best - closest to what I was thinking - I like Jerry's best - it's better than I was thinking ... Jerry's is less code executed less often: one statement once versus two statements for each item. -- Dick ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
multi-lingual and the .lproj folders inside apps?
How does one determine the preferred written language for a user's computer? For example, when to display French versus English or Italian? How does one typically make a multi-lingual Livecode app? Put all the translations in custom properties and set everything when the language changes? Kee Nethery ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: repeat with i=
You're right, should probably be something like replace y comma with empty in x. Pete Molly's Revenge http://www.mollysrevenge.com On Wed, Jul 13, 2011 at 7:53 PM, Nonsanity f...@nonsanity.com wrote: I like Pete's best - closest to what I was thinking - but I'd change the put empty line to delete item y of x. I think the put empty would just put into that item, but the item would still be there, like: 1,2,,4,5,6 ~ Chris Innanen ~ Nonsanity On Wed, Jul 13, 2011 at 9:25 PM, Pete p...@mollysrevenge.com wrote: Maybe (untested): put 1,2,3,4,5,6 into x repeat with i=1 to 6 put item random(the number of items in x) into y do whatever with y put empty into item y of x end repeat Pete Molly's Revenge http://www.mollysrevenge.com On Wed, Jul 13, 2011 at 6:01 PM, Timothy Miller gand...@doctortimothymiller.com wrote: Hi, Let's say that I want to do something like repeat with i = 1 to 6 do whatever i end repeat Except, I want 1 to 6 to be in random sequence I could think of a few kludgy ways to do this. Is there a standard approach? A simple approach? Thanks in advance. Tim ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Set image/data/source via an image on web?
Hi All... I have a script where I'm creating a number of image objects on the fly and then attempting to set them to jpg on a web server. Something like: put URL http://webserver.on-rev.com/conference/images/; (line x of tBadgeList) .jpg into tImageData put tImageData into last image ... It appears to create the correct target file http://webserver.on-rev.com/conference/images/11.jpg; Anybody have a tip on how to go about doing this? Thank you! John Patten SUSD ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: repeat with i=
On 7/13/11 11:33 PM, Pete wrote: You're right, should probably be something like replace y comma with empty in x. Plain old delete does it. Also, not everyone knows about the any keyword but it's really handy for lines like this: put item random(the number of items in x) of x into y Which is more readable as: put any item of x into y I'm very fond of any. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Set image/data/source via an image on web?
On 7/13/11 11:53 PM, John Patten wrote: Hi All... I have a script where I'm creating a number of image objects on the fly and then attempting to set them to jpg on a web server. Something like: put URL http://webserver.on-rev.com/conference/images/; (line x of tBadgeList) .jpg into tImageData put tImageData into last image ... It appears to create the correct target file http://webserver.on-rev.com/conference/images/11.jpg; Anybody have a tip on how to go about doing this? Don't use imagedata, just put the image itself, or alternately use the text of the image. Either of these should work: put URL http://webserver.on-rev.com/conference/images/; (line x of tBadgeList) .jpg into last image put the text of URL http://webserver.on-rev.com/conference/images/; (line x of tBadgeList) .jpg into last image -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: repeat with i=
Great, learned two things form this - delete and any! Pete Molly's Revenge http://www.mollysrevenge.com On Wed, Jul 13, 2011 at 9:58 PM, J. Landman Gay jac...@hyperactivesw.comwrote: On 7/13/11 11:33 PM, Pete wrote: You're right, should probably be something like replace y comma with empty in x. Plain old delete does it. Also, not everyone knows about the any keyword but it's really handy for lines like this: put item random(the number of items in x) of x into y Which is more readable as: put any item of x into y I'm very fond of any. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com __**_ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/**mailman/listinfo/use-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode