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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
OT: robotics competition
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. ___ 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: Live LiveCode Code Event #17
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@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; ___ 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: Code Documentation
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 revl...@createchsol.com wrote: How to use LiveCode use-livecode@lists.runrev.com 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 sly...@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@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 http://www.mollysrevenge.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: Code Documentation
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 revl...@createchsol.com wrote: How to use LiveCode use-livecode@lists.runrev.com 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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Code Documentation
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 jimaultw...@yahoo.com 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 revl...@createchsol.com wrote: How to use LiveCode use-livecode@lists.runrev.com 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@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 http://www.mollysrevenge.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