Re: Twitter and Oauth
I'll set up a wiki over the weekend so we're good to go on monday. See ya... -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Follow Economy-x-Talk on Facebook now and get a free Color Converter license http://qurl.tk/gn (read the conditions) On 19 nov 2010, at 16:42, Erik Schwartz wrote: > Sounds good. > > I think the mailing lists are going down at any moment so we might > want to wait until they're back. > ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Twitter and Oauth
Hi, Shall I set up an open wiki to start with? That will give everybody a chance to share whatever he or she likes. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Follow Economy-x-Talk on Facebook now and get a free Color Converter license http://qurl.tk/gn (read the conditions) On 19 nov 2010, at 16:21, David Bovill wrote: > Me too - I've looked at oAuth, but fled in fear :) Keen to get on and crack > it. I've got a bit of work on Twitter clients as well I could throw in the > mix. > > On 19 November 2010 14:06, Erik Schwartz wrote: > >> I'd be happy to help. >> >> I think this is an important area, especially as runrev gets more >> mobile focused, but also for on-rev and desktop apps. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Twitter and Oauth
Hi Erik, I will probably be working on Oauth very soon, with regard to Facebook. Perhaps we can do something together. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Follow Economy-x-Talk on Facebook now and get a free Color Converter license http://qurl.tk/gn (read the conditions) On 19 nov 2010, at 14:23, Erik Schwartz wrote: > Has anyone done a runrev twitter client or other application using Oauth? > > They've got many libraries but none for LiveCode > http://dev.twitter.com/pages/oauth_libraries > > I'd like to built twitter notification into an app I've built that > interfaces with the real world via the serial port. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Why Does this Behavior Fail?
S- Wednesday, November 17, 2010, 5:07:10 PM, you wrote: > I love it... simple is better "who needs behaviors if you don't need > behaviors" (hehe, though I still would like to know why it did not work...) Memory's failing me here, but I think there was a thread recently about mouseWithin messages not getting passed properly to behavior objects... -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Posting binary data
Hi Devin, Before using the post command, execute the following line: set the httpHeaders to "Content-type: application/binary" & cr & \ "Content-Transfer-Encoding: binary" & cr & \ "Content-Length: " Let us know if this works for 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 Follow Economy-x-Talk on Facebook now and get a free Color Converter license http://qurl.tk/gn (read the conditions) On 17 nov 2010, at 20:04, Devin Asay wrote: > Hi all, > > One of my students is doing a Rev project in which he needs to post binary > data (a .mov file, in this case) to a web server. I've never done this, but > I'm told that in a standard web form one sets the enctype attribute of a form > input to indicate that the data being posted is binary. > > How would you do this using a Rev--errr--LiveCode post statement? > > Thanks > > Devin ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How do you resize a snapshot from rect?
William- Wednesday, November 17, 2010, 7:29:17 AM, you wrote: > Hi there all, > I take a snapshot from a card put I want the exported file to be saved > resized (bigger). > I do the same with printing but then I set the printscale to 1.8. > Can anyone tell me what the best way is to do this? > -- > set the fileType to "ogleJPEG" >ask file "Save:" with "*.jpg" >if char -4 to -1 of it <> ".jpg" then put ".jpg" after it >export snapshot from rect "-2,48,507,557" of this card to file it as JPEG > - Here's how I do resized snapshots: import snapshot from control id tControl set the resizequality of the last image to "best" set the width of the last image to tWidth set the height of the last image to tHeight -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Quitting Question
Hi Joe, The problem here is that the Quit menu item in the application menu doesn't trigger any Revolution messages, except for shutdownRequest. After you choose the Quit menu item, it is the operating system that stops the application, not Revolution itself. However, before the operating system stops the application, it sends a message, which in turn triggers the shutdownRequest message. If you still want to solve this, then you'll need to post your current script. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Follow Economy-x-Talk on Facebook now and get a free Color Converter license http://qurl.tk/gn (read the conditions) On 17 nov 2010, at 08:27, Joe Lewis Wilkins wrote: > Mark, I can't get this to work properly. Frankly, I think something like this > should be automatically resolved as part of the Auto script on the Menu > Builder. As is, too complicated; plus it doesn't work even implementing your > suggestions. I may have made a mistake, but I don't think so. I've just > decided to always save with that caveat to users. Not a friendly solution, > but my users will be very bright professionals. Not to say that we haven't > all screwed up at one time or another. (smile) > > Joe Wilkins ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Quitting Question
Joe, Those messages can be cought, but should not be sent. When you click in the closebox, the closeStackRequest is sent. When you choose Quit in the application menu, the shutdownRequest message is sent. The Quit menu item only works on windows! Just to be save, execute the script attached to the Quit menu item only on Windows and Linux: case "Quit" if the platform is in "Win32,Linux" then quitMyProject end if break To handle the Quit menu item on Mac OS X, do the following: on shutdownRequest quitMyProject end shutdownRequest If the quitMyProject locks the messages, then the closeStackRequest and the shutdownRequest messages will not be sent a second time when the quitMyProject calls the quit command (this is important). You need to adjust the quitMyProject handler a little. You might need to add lines for certain externals, such as revSpeak, you might want to remove the lines with regard to databases if you don't use any. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Follow Economy-x-Talk on Facebook now and get a free Color Converter license http://qurl.tk/gn (read the conditions) On 16 nov 2010, at 22:42, Joe Lewis Wilkins wrote: > Ooops, not so perfectly. It doesn't quit when you don't want to save. Oh > well. A work in progress. (smile) > Joe Lewis Wilkins > Architect > 760-738-1721 > > > > > > On Nov 16, 2010, at 1:39 PM, Joe Lewis Wilkins wrote: > >> Hi Mark, >> >> Since I got it to work perfectly, I thought some others might appreciate a >> snippet! Probably a neater and shorter way of doing this, but what the heck! >> I suppose I could have just gone for the name of the application, but this >> is generic enough to handle any stack with any standalone name. >> >> Joe Wilkins >> >> case "Quit" >>get the long name of this stack >>delete the last char of it >>put the number of chars in it into numChars >>put Char (numChars-2) to numChars of it into myName >>if myName is "rev" then >> closeStackRequest >>else >> shutDownRequest >>end if >>break ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Quitting Question
Hi Joe, Are you using a Mac? Try the closeStackRequest message in the IDE and the shutdownRequest messages in the standalone. This script http://runrev.info/Save%20Way%20to%20a%20Quit.htm might also help 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 Follow Economy-x-Talk on Facebook now and get a free Color Converter license http://qurl.tk/gn (read the conditions) On 16 nov 2010, at 19:14, Joe Lewis Wilkins wrote: > Hi all, > > The Quit item in my apps menu has a Do you want to save Answer Dialog, but in > the IDE it is over-ridden by LC with its own version - a sheet. With the > standalone I get nothing. It just quits. How come? I guess I must be doing > something wrong. > > Joe Wilkins > ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: LiveCode Personal Banner
Alex- You beat me to it. I was just about to suggest the same thing. I think I'd still be in favor of cutting the splash screen down to 5 seconds, though. -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: what's "this" stack
Robert Brenstein wrote: > > change your code as follows to resolve this for yourself ;-) > > on savenotes > modeless stack "save" > answer "Saving" && (the short name of this stack) -- just to know > > Interesting, when I put the answer line in the notepad stack script I get "saving notepad". But when I put it into the "save" substack it says "saving save". I couldn't find a way for the "save" substack to say "saving notepad" and "saving save" looks dumb. So, yes, I know now which stack is being saved but how do I let the user know? One idea (not tested) is to put a blank label in the save stack and then try and put the Saving && stuff into the save stack label. I think i'll give that a try and let you know how it works. -- M -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/what-s-this-stack-tp3042392p3044122.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: LiveCode Personal Banner
I do that all the time. The IDE is for development. Standalones for using your stacks. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Follow Economy-x-Talk on Facebook now and get a free Color Converter license http://qurl.tk/gn (read the conditions) On 15 nov 2010, at 21:01, Kevin Miller wrote: > > Ah, I see. But why build a standalone for your own computer? > > Kind regards, > > Kevin ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: LiveCode Personal Banner
Hi Jeff, That's exactly my (and probably also others') point: if the window would appear only for 2 or 3 seconds, it can't be called a nagging window anymore and it would be perfectly fine. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Follow Economy-x-Talk on Facebook now and get a free Color Converter license http://qurl.tk/gn (read the conditions) On 15 nov 2010, at 19:17, Jeff Massung wrote: > I'm just going to pop in and point out that LiveCode isn't the only product > that does this with personal edition development tools. In fact, LiveCode is > actually awesome in that it will let you build a standalone. Most personal > use development software only allow you to run from within the IDE and even > limit you on memory/heap space and the length of time your application can > run for. > > Technically, aside from the fact that you want to be honest, there's nothing > preventing you from distributing your standalones to others for money. The > banner - at least in part - guarantees that if you did, RunRev would still > get something ("free" advertising) out of the arrangement. > > I can see that it's annoying, and perhaps 10 seconds is an egregious period > of time to wait (probably 2-3 would be sufficient), but it far from out of > line or the norm. > > Jeff M. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: LiveCode Personal Banner
I agree. It is very annoying. If this were free software, then it would be alright, but one has paid 99 dollars for it! One should not be nagged by a paid product, regardless of how low or high the price is. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Follow Economy-x-Talk on Facebook now and get a free Color Converter license http://qurl.tk/gn (read the conditions) On 15 nov 2010, at 16:47, Mark Swindell wrote: > 5 or 10, it's still very annoying, sorry. > > Mark > ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Reports and Formatted Text
Mike- Monday, November 15, 2010, 6:41:11 AM, you wrote: > (Note that I posted this to the forum, but no answer, perhaps its too RTFM) I think most of us here don't look at the web forum... > The front page, I know how to do just fine in LiveCode, but how > do I get the formatted text on the 'calculated' page? OK - I'm a bit confused by your terminology - do you want to create a webpage or an app? With no internet connectivity at the site I'm assuming you're talking about an app. In that case, what I'd do is have two pages in the stack: the first being the input form and the second being the calculated results. On the second page, use the property editor to set the text fonts the way you want. Then have buttons on each page that simply go to the other page. OTOH, if you really do want to output web pages on the fly, bracket your calculated results with html tags: km Did I misunderstand what you're trying to accomplish? -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: LiveCode Personal Banner
5 or 10, it's still very annoying, sorry. Mark On Nov 15, 2010, at 7:30 AM, Kevin Miller wrote: On 15/11/2010 10:12, "Robert Brenstein" wrote: Even though I can understand splash screens feel annoying, I can not see this as a surprise, as this is clearly stated on the runrev.com homepage: "Applications created with this license will include a splash screen or watermark. The Server Deployment Pack comes with a limit on the number of connections with this license type." A splash screen staying up for 10 seconds may or may nto deter illegal usage but will surely make legal users upset. 10 seconds is a very long time when starting an ap. It's only set to be up for 5 seconds, not 10. Obviously that can be influenced by the length of time it takes for your application to load, if it loads a lot on startup then it will take longer. Kind regards, Kevin Kevin Miller ~ ke...@runrev.com ~ http://www.runrev.com/ LiveCode - Realize fast, compile-free coding ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: what's "this" stack
Robert Brenstein wrote: > > change your code as follows to resolve this for yourself ;-) > > on savenotes > modeless stack "save" > answer "Saving" && (the short name of this stack) -- just to know > save this stack > wait 360 millisecs > close stack "save" > end savenotes > > Robert > > And of course, I was wondering exactly how to do that so thank you :-) -- mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/what-s-this-stack-tp3042392p3043196.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: what's "this" stack
Jonathan Lynch wrote: > > Is one stack a substack of the other? If so, both are saved together. > > yes, "save" is a substack used only as an alert. So "save this stack" saves the parent or primary stack and all substacks. Thanks -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/what-s-this-stack-tp3042392p3043183.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
what's "this" stack
Hi, I recently wrote this code which works fine on savenotes modeless stack "save" save this stack wait 360 millisecs close stack "save" end savenotes when i went back to document it I stumbled across a sort of confusion in my understand on savenotes modeless stack "save" -- opens a new stack "save" as a modeless window save this stack -- saves "this" stack. Which stack is "this" (save or notepad)? wait 360 millisecs close stack "save" end savenotes I suddenly realized that I was using the "save this stack" command with 2 stacks open, the primary stack called "notepad" and a secondary stack called "save". It appears that rev knows "which is which" even thought from the code it is quite confusing. Would it be better to say "save stack notepad" instead? Thanks -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/what-s-this-stack-tp3042392p3042392.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Creative Common Copyright Notice in Standalones
Sivakatirswami- Thursday, November 11, 2010, 7:28:04 PM, you wrote: > I don't see that CC prevents sale of anything under that license, but > wouldn't the MIT license be more in line with this intent? And it *is* > designed for software. > Any insights on "problems" with MIT? it *is* a copyleft license too, > like the CC license. Or to ask the question another way... why would > you chose CC over MIT? I have no problems with the MIT license. I simply chose the CC license a while back because I like the CC idea. As you've noted, other licenses may well be more appropriate and I may change my licensing in the future. I like clause 2 of the Eiffel license for open source projects: "Permission is hereby also granted to distribute binary programs which depend on this package. If the binary program depends on a modified version of this package, you are encouraged to publicly release the modified version of this package." Note that the zlib license is very direct. It seems to cover everything except the part above about putting modifications back into the open source domain, so I may end up frankensteining this a bit to handle that. http://opensource.org/licenses/zlib-license.php I notice that the Zope license says that it's "designated as GPL compatible by the Free Software Foundation (FSF)", whatever that means, but it's also straightforward and to the point. -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Environment variable displayed in the debugger
James- Thursday, November 11, 2010, 3:14:25 PM, you wrote: > I just upgraded to 4.5.1 and was surprised to find that the > environment variables ($LOGNAME, $SHELL, $PATH etc.) still show up in > the debugger ahead of the script variables. I suppose this is as good a time as any to say that PowerDebug nicely compartmentalizes the global environment variables into a separate list for you. The demo version's on revOnline and the full one's at http://www.ahsoftware.net/PowerTools/BuyPowerDebug.irev -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: alerts
Robert Brenstein wrote: > > > If your saving is done on different cards in a multi-card stack or in > multiple stacks, then you can do the above but show a substack > instead of a field to ensure it is always above the card controls. > > disable all controls saving their enabled state > show a substack with "saving..." or sth like it as modal > save this stack > hide the substack > enable controls that were enabled before > > You can have the substack window without decorations so user has no > temptation to click anywhere. > > Robert > Robert, thanks so much... I was in the midst of writing a reply when you wrote yours and I think we ended up at the same place (including decorations which I happened to stumble upon, but appreciate your mention, although I did not disable all controls (don't know how) and since that might come in handy for another situation if you have some code I would love to check it out). Here was my reply to others which fits nicely with your suggestions as well. Have we successfully created a saving alert? Indeed 1. created a stack 2. called it save 3. added a label, labelled it "Saving notes" 3. adjusted the card size 4. removed decorations 5. since I was currently saving from 3 places in my program (save button, save menu, and when quitting the application (auto-save)) decided to write a "savenotes" handler and put "do savenotes" in the 3 locations (and any future) 6. wrote handler on savenotes modeless stack "save" save this stack close stack "save" end savenotes 7. That worked BUT... unreadable, so re-wrote the handler to make the alert visible on savenotes modeless stack "save" save this stack wait 360 millisecs close stack "save" end savenotes In a previous programming paradigm (procedural) I would have just written a "save notes" sub routine and called it from wherever. The subroutine would handle everything in one place: design, placement, presentation, you name it. Nothing would exist outside except the calls to the subroutine. Then along came "event driven" programming. In event driven there was a main event loop just spinning around waiting for user input. Then the main event would triage the input to the appropriate location. But, if designed properly, there really only was 1 input location - the main event. In this environment (object oriented?) things seem to be a bit different. There are events, but they seem to occur in many places. From there we either respond immediately, or if more complicated (as in this case) we call a "handler" somewhere else that can take care of it. So I have the presentation in one stack (save), the handler in another stack (notepad) and the input from several different places (buttons, menus, stacks). Its just a different way of looking at programming, and one I'm still mentally struggling to sort out. (Plus, it really is more difficult to teach old dogs new tricks :-) Like anything, the more you do the more transparent the process becomes. Thanks again for all your input and feedback. The alert does look rather lovely :-) -- Mark PS I first wrote this message in my notepad stack. Getting it here presented a couple of opportunities for new learning… 1. I was unable to cut and paste the whole message from the field to an intermediate application (TextEdit) before posting it here. (I will try cutting and pasting from the rev field to the user group directly to see if that works any better AND, it does. So the problem was not with rev but with Text Edit. And just for grins I cut and pasted to Word and that worked fine too). 2. When I pasted it into TextEdit all kinds of spelling errors showed up that had not been highlighted in the rev field. Is there a way to turn on spell checking in rev fields? Thanks again, and i hope you have a great day! -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/alerts-tp3031113p3039933.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Audio Triggering + Mouse Event latency
Anthony- First of all, welcome to the list community. You've gone farther down this road than I have, so I don't think I'll have any useful comments on latency for you... Thursday, November 11, 2010, 8:11:18 PM, you wrote: > So, I'm wondering if an area that is harder for me to test is > perhaps the issue: the internal latency of the MouseDown event > listener in LiveCode and the LiveCode runtime. You might try putting the milliseconds into a variable on mouseDown, then comparing that with the milliseconds count after the send or play command. > Any thoughts / experience round the table? What hardware are you running this on? Are you using QuickTime? Have you tried fiddling with the QuickTime properties (the qtIdleRate, the dontUseQT)? -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Standalone problem
Joe, it looks like something removed some files, inlcuding the "empty' engines that are the basis of standalones built by Revolution. Just re-install a fresh copy of Rev and all should be solved. Here's some additional info: http://qurl.tk/kh -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Economy-x-Talk on Facebook now and get a free Color Converter license http://qurl.tk/gn (read the conditions) On 12 nov 2010, at 09:20, Joe Lewis Wilkins wrote: > OK, this is the problem. I've been working full time on an app for the better > part of a month or more. When I first started, it consisted of a main stack > and a sub-stack. One had 68 cards; the other 280. Not really complicated > stuff. Full card images with fields and buttons on top of the images and > complete TitleBar Menus. A good UI. When nearly complete, I built a > standalone. No problem with either the Mac or Windows versions. I then > decided, for some very good reasons of my own, to split the Main stack into a > main and another sub-stack. Once I completed that, not as easy as you might > think, I tried to build another standalone. The first time through I got a > dialog saying that the standalone was successfully built; however three > warnings appeared below that statement. > 1. Icon does not exist:/Applications/Revolution > Studio/4.0.0-gm-1/Runtime/Windows/x86-32/Support/Sample Icons/genericapp.ico > 2. Could not build for Windows because required files are missing. > 3. Could not build for MacOSX because required files are missing. > > I diddled around with the Standalone settings a bit, found a couple of things > that might have been the problem and built it once again. This time the same > thing happened, but there were only two warning: > 1. Could not build for Windows because required files are missing. > 2. Could not build for MacOSX because required files are missing. > > I thought, Gee Whiz, I must have fixed the Icon problem. So I diddled some > more and built it once again. To my chagrin I got the original three warnings > again. I have now tried to build the application in excess of a dozen times, > making no other changes by diddling with anything; the result being that I > receive alternate warnings. 3 then 2, then 3, then 2, etc. etc. Talk about > frustration!! Unless someone has an easy resolution to this problem, > Rev will no longer be in my toolbox, even though I've used it for lots of > things that don't require a standalone or Window's versions. I certainly > won't be moving up to LC. > > If interested, I'm working on a MacPro with OSX 10.6.5 and Rev 4.0.0-gm-1. > > Joe Wilkins ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
OT: Morfik is now free
All- Morfik 3 has just been released, the licensing restrictions are gone, and it's now free. http://www.morfik.com/ -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Creative Common Copyright Notice in Standalones
Richard- Thursday, November 11, 2010, 8:00:16 AM, you wrote: >> (disclaimer: the Creative Commons License rather explicitly states >> that it shouldn't be used for software, but that's what I use anyway >> because it comes the closest to exactly what I want my licensing to >> say for an open source project) > Why does CCL have that limitation? Well, IANAL but here goes anyway. My take on it from the CC web site is that it doesn't have specific clauses to cover source and object code. http://wiki.creativecommons.org/Frequently_Asked_Questions#Can_I_use_a_Creative_Commons_license_for_software.3F For an example of how ridiculous open-source license has gotten: http://en.wikipedia.org/wiki/Comparison_of_free_software_licenses Here are a few options: The Eiffel Forum License, version 2 http://www.opensource.org/licenses/ver2_eiffel.php The MIT license: http://www.opensource.org/licenses/mit-license.php The BSD license: http://opensource.org/licenses/bsd-license.php and my favorite: WTFPL http://tinyurl.com/3w6cks -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: alerts
Hi Thanks, more like: show something save this stack hide something I'm on the verge of testing "something" to be some sort of modeless stack/window. We shall see how it goes. Thanks for the suggestion - M From: use-revolution-boun...@lists.runrev.com [use-revolution-boun...@lists.runrev.com] On Behalf Of dunb...@aol.com [dunb...@aol.com] Sent: Sunday, November 07, 2010 4:30 PM To: use-revolution@lists.runrev.com Subject: Re: alerts I reread your post. I might still be confused by "without user interaction when the action is complete". Is "the action" just the showing of the dialog? But if all you want is to show some sort of dialog, and then dismiss it, just: showYourDialog wait 120--or whatever hideYourDialog Is your dialog a substack? A field? That is why I rolled it all into "showYourDialog" instead of, say "show field yourField". Ask again if I am way off base. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: alerts
Joe Lewis Wilkins wrote: > > Hi Mark, > > Why don't you create an image, paste it wherever you want into your stack; > then when you want it to appear, just show it; when you're through with > it, then hide it. I've done this a number of times. I usually create such > images using MacDraft, but I'm sure you can do the same with various other > drawing programs. You have complete control of what the image contains. > > Joe Wilkins > > Interesting suggestion Joe. I'm not sure where I would hide it though. Each card is the same as the next, all cards are just notes in a notepad (think of the Mac Stickies with buttons and you have the basic idea). Where could I hide the image where the user would not trip over it? Its just my 101 learning project, but since its not too intimidating I'm having fun with it. Thanks for the suggestion. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/alerts-tp3031113p3038898.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: alerts
Peter Brigham MD wrote: > > The saving of the time in a customProp is because I have scripted > things so the stack is automatically saved every 20 minutes, or at > whatever interval the user chooses in the preferences. That feature > was irrelevant to your question and I could have taken it out, > probably should have to avoid confusing you > > HI Peter, I'm glad you didn't. While I won't need it in the current project I'll archive it as i'm sure it will come in handy eventually. However, rev does not seem to be an environment that supports something like a "main event loop" so either you are checking the time from lots of different places or using some other technique? (can you set an "On every 10 mins do... handler?") -- M -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/alerts-tp3031113p3038809.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: alerts
william humphrey-2 wrote: > > Except it should have a progress bar. > One step at a time. But thanks for suggesting a future question :-) -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/alerts-tp3031113p3037243.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: alerts
Peter Brigham MD wrote: > > Here's the way I do it. I show a small display stack, the idea is just > that it's a billboard to tell the user that the saving is occurring. > It closes after the save is done. > > on doSave > modeless stack "savingAlert" > wait 10 millisecs > save stack "pdData" > set the lastSaved of stack "pdData" to the seconds > close stack "savingAlert" > go stack "pdData" > end doSave > > -- Peter > Peter, thanks that looks very close to what I had in mind. And there is lots in there for me to go explore too (as I've not played with modeless stack). Sounds like "stack" might be another way of describing a window? Why do you put the current seconds into the (I'm guessing) custom property of pdData? Thanks a bunch -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/alerts-tp3031113p3037240.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Creative Common Copyright Notice in Standalones
Sivakatirswami- Wednesday, November 10, 2010, 1:40:50 PM, you wrote: > Exactly where and how do I put a creative commons license into a stack > (normally you enter such in the standalone builder) and which creative > commons license do I use and how do you implement it. Do you copy the > whole license to an "About" substack" or just have a link to the online > Creative Commons License. (disclaimer: the Creative Commons License rather explicitly states that it shouldn't be used for software, but that's what I use anyway because it comes the closest to exactly what I want my licensing to say for an open source project) What I do is create a custom property and file the license away in it: put "This work is licensed under the Creative Commons Attribution 2.5 License. To view a copy of this license, visit http://creativecommons.org/licenses/by/2.5/ or send a letter to Creative Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA." into tCCLicense set the uRIP["EULA"] of this stack to tCCLicense then you can grab it from the custom property and display it however you want: put the uRIP["EULA"] of this stack into field "License" -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: iRev and theFacebook API. Anyone?
Hi Malte, I did this using PHP. In order to talk to the Facebook APIs from iRev, you'd have to port the Facebook libraries to iRev. Anyone with good knowledge of PHP and Revolution could do this, but it is a lot of work. Personally, I'd stay with PHP. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Economy-x-Talk on Facebook now and get a free Color Converter license http://qurl.tk/gn (read the conditions) On 10 nov 2010, at 11:49, Malte Brill wrote: > Hi all, > > has anyone happened to have started on working on communicating with the > Facebook API from iRev? > I´d appreciate any info I can get. > > All the best, > > Malte ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Refreshing a card
Monte Goulding wrote: > >> > I think this is the simplest solution to your problem. Alternatively you > could put the same code in a setprop handler in your stack script. > Something like: > > setprop showdatestamp pBoolean > if there is a fld "dateStampField" then > set the visible of field "datestampfield" to pBoolean > end if >pass showdatestamp > end showdatestamp > > or another option would be to put this field into a background that's > placed on all the cards and then you probably wouldn't need the custom > property at all because showing and hiding the field would happen on all > cards at the same time. > > Hi Monte, You've definitely provided some homework there as I have not looked at setprop yet. Interesting you should mention the background issue because basically everything on my card is in the background (its a simple notepad app, gee... I wonder how many of those have been created!). So every element of the UI shows up on every new card. I thought some people might like to see the date the note/notes were made although personally it drives me batty seeing the date so I decided to create the menu Option called "Toggle Date Stamp" (actually originally I wanted to make the menu item dynamic so that if it was in the "show" state it would say "Hide Date Stamp" and if it was in the "hidden" state it would say "Show Date Stamp" but my transcript/livecode (I'm still using 4.5.0 dp 3) skills are not yet there so the simplest solution was to have a static menu item that conveyed the same sense of choice so "Toggle Date Stamp" it is. The datestampfield is in the background. The datestamp (value) is a custom property. Datestamp gets stored in the datestampfield (now automatically) each time a card or note is created/accessed. The question becomes, if I am going to toggle it on/off I need to know what state of visibility it is in now. That state of visibility (called showdatestamp) is stored as another custom property with values of true/false. When I first implemented the menu code that does the toggling: set the showDateStamp of this stack to not the showDateStamp of this stack that would change the value of showdatestamp (the flag) reliably, but had no effect on the actual field called datestamp. Connecting those two pieces up was the challenge which "set the visible of fld "datestamp" to the showdatestamp of this stack" accomplished. It is still not reliably 100% clear in my mind but I guess the more you work with it the more ingrained it becomes. I appreciate all of the feedback I have been getting here so thanks for the reply and the homework :-) -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Refreshing-a-card-tp3021743p3033072.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Need help with windows chars and mac chars
Hi Josep, You might convert from Windows to Mac using the IsoToMac function, but a few characters will be converted incorrectly. Normally, my advice would be to set up the entire database with UTF8 encoding and convert all strings to UTF8 before writing them to the database. Search strings would need to be converted to UTF8 too. I am surprised that even the word "demo" doesn't work for you, but I guess the reason is that the encryption doesn't return the same value on both platforms. You need to encode to UTF8 first and then encrypt. How do you do the encryption exactly? When you are sure that the encoding and encryption are correct, then the ASCII values of all bytes of the encrypted string should be the same on both platforms, even though the characters displayed in a field may be different. As a last step, use the binaryEncode function to convert the string from binary to hexadecimal. The hex string should be exactly the same on both platforms. Hexadecimal strings don't need to be encoded as UTF8 again. You can simply write to the Mac encoded database, since all characters 0-9 and A-F are the same regardless the encoding. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Economy-x-Talk on Facebook now and get a free Color Converter license http://qurl.tk/gn (read the conditions) On 9 nov 2010, at 00:30, JosepM wrote: > > Hi everyone, > > I made a mess with the coding of characters between windows - mac and mac - > windows. > > I have a function that encrypts a word and then validates the encrypted word > with the value of the database. In Mac is working properly, but Windows > doesn't. The value produced in Windows encryption has nothing to do with the > Mac. I know the characters differences... but I'm lost. :( > > The word is "demo", without accents or unusual characters. > > What am I missing? Should I convert from Windows with ISOtoMac function? > Also doesn't work. > > Any ideas? > > > Salut, > Josep ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Beachball cursor Help
Joe, No, you don't, because people would start killing your application or pressing the power button on their computer until it restarts. What you really want is a decent interface with a circular progress indicator or a progress bar to indicate progress and the time needed to finish the task. Now, if you still want it, you can use a window shape and pictures of the beachball cursor. You can find those pictures on the internet using your favorite search machine. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Economy-x-Talk on Facebook now and get a free Color Converter license http://qurl.tk/gn (read the conditions) On 8 nov 2010, at 16:46, Joe Lewis Wilkins wrote: > Hi all, > > Instead of the b/w cursor "busy", I'd love to use the more colorful > beachball. Anyone know how that is accomplished? > TIA > Joe Wilkins ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: alerts
Hi Craig, Forget the part about not knowing when a save is done... I'm a little tired at the moment but did figure it out. I have code that says: on mouseUp save this stack end mouseUp Pretty simple. But there is no visible indication to the user in my stack that anything happened. So what I want to do is: on mouseUp -- show a dialog saying we're saving now... (sort of like what runrev itself does when you do cmd-S) save this stack -- dismiss the dialog end mouseUp BUT, the only dialogs I have found in runrev are ask or answer, both of which require the user to dismiss them. How do you do an information only dialog (or is it an alert?) that does not require user intervention? PS which reminds me, is there anyway to see how the IDE itself was implemented? (i'd go look at the code for the IDE's save command). I've heard or read that it is possible to do that but haven;t discovered how. Thanks again, -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/alerts-tp3031113p3031553.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: alerts
Hi Craig, I looked up dialogs and what not in the dictionary and user guide and all I found where ones driven by ask and answer (nothing like a 1 way conversation like tell). In this case we don't need the user to dismiss the dialog, or answer anything, we just want to inform them that something is going on (a save is in process) and once it is finished the dialog should just go away. Wondering if runrev has a command for that, or if we are building it from pieces what is/are the critical pieces (ie. how would i know the save is complete for example). Thanks -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/alerts-tp3031113p3031542.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Refreshing a card
Hi Monte, sorry if I missed replying. The problem was that on any specific card when I selected the "toggle date stamp" menu option, visibly nothing happened. In reality the property "showdatestamp" was changing from true to false on each menu selection based on the statement: set the showDateStamp of this stack to not the showDateStamp of this stack but the field itself (I think I've called it the datestampfield) did not appear or disappear as one might expect. Going from the current card (where the toggle was selected) to another card did show the desired result. ie. if you toggled the "showdatestamp" to off (or false in this case) then going to another card suppressed displaying the datestampfield. There is a line of code each time you open a card that stays if there is a fld "dateStampField" then put the dateStamp of this card into field "dateStampField" end if but what I was doing (which did not work) was trying to make it visible or not by doing something like this if there is a fld "dateStampField" then put the dateStamp of this card into field "dateStampField" else put " " into field "dateStampField" end if sort of trying to make it visible or not visible myself. I did not know about the "set the visible of..." command sequence. By adding that into the menu handler (if that is the correct term) so that it says case "Toggle Date Stamp" set the showDateStamp of this stack to not the showDateStamp of this stack -- new stuff added to make it visible/invisible if there is a fld "dateStampField" then set the visible of field "datestampfield" to the showdatestamp of this stack end if works fine. Its still a bit tricky to wrap my head around this. The "mechanics" of doing it have some pieces here, some pieces there, and its not entirely clear to me how they all work together. And I guess the critical portion to understand is that there is a large junk of this visibility thing which I'm NOT doing. Now its something that reunrev handles when you set the visibility property of the field through the menu. Put another way, previously I was trying to make it appear or not by putting the date in the field, or a space. Now, I don't worry about it. I put the date in the field (if there is one) and let the "visibility" property handle whether it gets displayed or not. If that makes any sense. Anyway, I appreciate your feedback. -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Refreshing-a-card-tp3021743p3031539.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
alerts
How do you do a dialog like the Save dialog (Command-S) in rev? (ie. it goes away without user interaction when the action is complete) Thanks -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/alerts-tp3031113p3031113.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Refreshing a card
Thanks Terry, the following worked beautifully.. set the showDateStamp of this stack to not the showDateStamp of this stack if there is a fld "dateStampField" then set the visible of field "datestampfield" to the showdatestamp of this stack end if break (I wasn't able to figure out how to use openCard in this situation but since I have a solution I'l leave that problem for another day). Thanks again. -- mark From: use-revolution-boun...@lists.runrev.com [use-revolution-boun...@lists.runrev.com] On Behalf Of Terry Judd [...@unimelb.edu.au] Sent: Sunday, October 31, 2010 10:57 PM To: How to use Revolution Subject: Re: Refreshing a card Mark - if you want to do a general refresh the card then just call openCard in your handler. If all you want to do is refresh the date stamp object then add something like... Set the visible of grp/fld/whatever "dateStamp" to the showDateStamp of this stack ...to your case statement HTH, Terry... On 1/11/10 2:52 PM, "Mark Smith" wrote: > > Hello all, by now most of you are probably familiar with my silly questions > (born of, I am afraid, too many years engrossed in procedural programming > languages). Here we go. I have a menu option called "Toggle Date Stamp" and > it toggles on/off the display of a date stamp on the card. When you select > it you might expect that the card goes from displaying the date stamp to not > displaying the date stamp ad infinitum. Not so. In fact nothing changes. If > I move off the card and then back on I see the correct behaviour but not > while I am actually on the card (or any card). I am guessing that in the > Toggle Date Stamp menu code (below) I need to send a message to the card to > "refresh" itself. But what message? > > case "Toggle Date Stamp" > set the showDateStamp of this stack to not the showDateStamp of > this stack > -- insert some message to get the current card to "redisplay" > itself > break >end switch > > (Note, yes the showDateStamp property is in the stack because it effects the > behaviour of all of the cards, not particular ones. Hopefully I've got that > bit of logic right :-) > > Thanks for your patience, > > -- Mark -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Problematic script on Windows 7!
Hi Charles, My next guess would be that you have one checkbox on a card that isn't part of the group. Just "put the number of buttons" into the message box and then "put the number of buttons of this card" into the message box. Exactly like 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 Economy-x-Talk on Facebook now and get a free Color Converter license http://qurl.tk/gn (read the conditions) On 6 nov 2010, at 02:59, charles61 wrote: > > Mark, > > There are no "pass mouseUp' commands in any of the checkboxes. Most of the > checkboxes don't have a script. They do have a custom property, uMylabel, > which is used in a group script to populate a field with the labels on print > only cards. The checkboxes that do have scripts consist of displaying a field > when checked and putting empty into the field when it is not checked on both > the regular cards and print cards. > > The exact error message: > > Type: Handler: can't find handler > Object: button 'Print' of card 'comm' of stack > 'C/ProgramData/StudentReport.rev > Line: send 'mouseUp' to button b > Line Num: 2608 > Hint: mouseUp > > When I move the script from the print button to the script of the card, I get > the same error message except it references the card and a different line > number. > > How do you check no. of buttons and the no. of buttons of this card? > > Charles Szasz > csz...@mac.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Problematic script on Windows 7!
Hi, No idea why you don't get an error on Mac. Do you have a 'pass mouseUp' command in one of the checkboxes? Or does one of the buttons lack a mouseUp handler? Could you copy and paste the exact text of the error message? Can you check that the number of buttons and the number of buttons of this card return the same number? -- 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 6 nov. 2010 om 02:11 heeft charles61 het volgende geschreven: > > The following script, which works fine on the Mac, gets flagged by Windows 7 > in a windows standalone. > > The line that is cited: Send 'mouseUp' to button b is displayed in bug > report on the standalone that it cannot find a handler with the above line. > After the message, printing of a single page starts. > > on doStuff3 > put the num of this card into tStartCard > lock screen > > repeat with y = 1 to the number of cards > if the mark of card y <> true then > next repeat > end if > lock messages > go card y > unlock messages > repeat with b = 1 to the number of buttons > if the style of button b = "checkbox" then >send "mouseUp" to button b > end if > end repeat > > end repeat > lock messages > go card tStartCard > unlock messages > unlock screen > end doStuff3 > > Any suggestions? > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Problematic-script-on-Windows-7-tp3029606p3029606.html > Sent from the Revolution - User mailing list archive at Nabble.com. > ___ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: image files in standalone
Hi Edward, Have you copied the resources folder? In your specific case, a copy of your resources folder needs to be located next to the standalone (on Windows) or inside the application package next to the executable (on Mac). -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce Create installers for Mac and Windows on *every* Rev-compatible platform. No additional software needed. On 4 nov 2010, at 18:07, edward cawley wrote: > I have an app which has about 100 images and text files which are sent to 16 > cards. The text image and audio files are all in a resources folder. > Everything works fine on my desktop, but when I try to build a desktop it is > made and will run but while the text files are read from the resources folder > and buttons work fine the images,audio and one video do not show. the image > areas show but the images are not loaded. an example of the image files: < > resources/deck_animation.gif> > any suggestions? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: LiveCode external/plugin question
Hi William, As an easy alternative to Matthias' solution, you could run your stack as a revlet in Internet Explorer and start IE in kiosk mode http://support.microsoft.com/kb/154780 -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce Create installers for Mac and Windows on *every* Rev-compatible platform. No additional software needed. On 3 nov 2010, at 14:10, Matthias Rebbe wrote: > William, > > at > > http://www.northcode.com/blog.php/2007/07/25/Securing-Windows-For-Use-As-A-Kiosk > > you find information how to solve this by modifying the registry. > I used that for XP some time ago. But i do not know, if this works with > Windows Vista/7 also. > > Maybe this helps. > > Regards, > > Matthias > ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: OT: linux question
Hi Tim, Try to download http://qurl.tk/jv (tab ball) or use our own (whichever is newer) and un-tar the file. Open terminal and use 'cd' to navigate to .../rr268x-linux-src-v1.1/product/rr2680/linux/. Type "make install" and wait what happens. If it does't work, you are probably missing some libraries and don't need to keep trying. Ask the manufacturer for the correct source for your Linux version. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce Create installers for Mac and Windows on *every* Rev-compatible platform. No additional software needed. On 2 nov 2010, at 03:37, Tim Selander wrote: > A question to the Linux users here I'm trying to set up a 16 drive Debian > NAS to hold our production company's footage archive. Bought a HighPoint 2680 > SATA card because they claimed Debian compatibility. But their stock drivers > are so old, I can't even find the distribution they match. They also have the > source code so you can compile a new kernel to support the card. I tried, but > being a Linux newbie, failed in all attempts. Can't even get the 'tree' > downloaded, whatever that is! > > If, say, I could pay one of you to compile the kernel/driver for me, is there > a way you can do that and then send it to me for an easy install here? No > idea if kernel files can just be swapped out... I would make space on my ftp > server for you to upload the finished file(s) too. > > Any chance this would work? > > Thanks, > > Tim Selander > Tokyo, Japan > ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Refreshing a card
Hello all, by now most of you are probably familiar with my silly questions (born of, I am afraid, too many years engrossed in procedural programming languages). Here we go. I have a menu option called "Toggle Date Stamp" and it toggles on/off the display of a date stamp on the card. When you select it you might expect that the card goes from displaying the date stamp to not displaying the date stamp ad infinitum. Not so. In fact nothing changes. If I move off the card and then back on I see the correct behaviour but not while I am actually on the card (or any card). I am guessing that in the Toggle Date Stamp menu code (below) I need to send a message to the card to "refresh" itself. But what message? case "Toggle Date Stamp" set the showDateStamp of this stack to not the showDateStamp of this stack -- insert some message to get the current card to "redisplay" itself break end switch (Note, yes the showDateStamp property is in the stack because it effects the behaviour of all of the cards, not particular ones. Hopefully I've got that bit of logic right :-) Thanks for your patience, -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Refreshing-a-card-tp3021743p3021743.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Swapping scrolling text for regular text
Thanks Terry. (I did stumble on it as well, and was embarrassed I posted but you never know with these things). I have another question to post tonight, hopefully not quite as silly. Terry Judd wrote: > > Mark - all you need to do is select the field and enable its vScrollbar > property in the property inspector. > > Regards, > > Terry... > > -- > Dr Terry Judd | Senior Lecturer in Medical Education > Medical Education Unit > Melbourne Medical School > The University of Melbourne > -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Swapping-scrolling-text-for-regular-text-tp3020802p3021735.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: benchmarks
Lynn- Saturday, October 30, 2010, 3:20:34 PM, you wrote: > I did find an interesting article on DeWitt clauses though - focusing on the > tech world but a surprising number of them outside of it: > http://www.allbusiness.com/technology/computer-software/4092403-1.html Thanks. That is indeed an interesting read, extending to the enforceability of EULA contents in general. On page 6 there's a reference to saber-brandishing by Microsoft, but not actual legal actions. And in the conclusion is the statement "There is an excellent possibility, as discussed in section IV.B, that a court would apply the doctrine of copyright misuse and rule DeWitt Clauses unenforceable." (section IVB deals in part with the Disney court's decision that fair use allows criticism regardless of license restrictions). > Do you know if these benchmarks are for more than (just) security? Looking at it again, no, I'm not at all sure. Ignore that one - it's probably just a red herring. -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Swapping scrolling text for regular text
I have a sort of dumb question. I have a stack with about 12 cards that has a text field on it (part of a background group). I would like to change this field to a scrolling text field. Is it possible to swap or change the existing regular text field into a scrolling one without loosing the existing text entries? (or is the only option to restart from scratch). Thanks -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Swapping-scrolling-text-for-regular-text-tp3020802p3020802.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
benchmarks
Lynn- Saturday, October 30, 2010, 1:54:18 PM, you wrote: > It was big news a few years ago when they sued someone for posting > benchmarks (I believe comparing with DB2 and a few others). Im sure you can > find article bits if you search. Actually, no. You no doubt have better searching ability than I do. All I've been able to come up with are many comparison benchmarks with various results. I have a healty distrust of benchmarks in general. And the Center for Internet Security has benchmarks available from their website, as well as a benchmarking tool for members to let you roll your own. http://cisecurity.org/en-us/?route=downloads.multiform -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Stress-testing SQLite
Richard- http://www.informationweek.com/news/software/linux/showArticle.jhtml?articleID=201001901 -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Stress-testing SQLite
Lynn- Saturday, October 30, 2010, 11:15:48 AM, you wrote: > Without naming names, Ones with a Really Awesome, Conniving Legal > Environments have been known to include such things. Sounds a bit of an urban legend. I just checked my license (granted it's only version 8.0.5, but...) and there's nothing like that. -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Stress-testing SQLite
on Fri Oct 29 19:17:40 CDT 2010, Richard Gaskin wrote: >> Thanks in advance for sharing your experiences with large data sets if SQLite. << Hi Richard, How many tables and how many columns per table (on average) are you talking about? That can make a big difference to the performance if there are JOINS involved. If not, then that's not so much a problem. Will the user always apply a WHERE filter to the data? What's the potential return record set count on a typical filter? I'd be happy to do some stress testing if you can give me some details. Regards, Mark Stuart ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: "Best practice" for creating a custom control
Hi Jerome, You might want to have a look at the scripts of the password field, available at http://qurl.tk/jo -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce Create installers for Mac and Windows on *every* Rev-compatible platform. No additional software needed. On 30 okt 2010, at 01:14, Jérôme Rosat wrote: > Hello everybody, > > I'm looking for a kind of "best practice" for creating custom controls. For > example, how to access the data of the custom control ? Do we have to use > custom properties or a setProp or getProp handlers or both ? Is it > preferable to use a prefix for naming a command ? And for custom properties, > do we have to use a set of properties ? With a "standard name" ? Etc. > > Thank you for you help. > > Jerome ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: revweb plug-in for linux
Sivakatirswami- Thursday, October 28, 2010, 6:21:09 PM, you wrote: > on preopenstack > set the loc of this stack to the screenloc > send "LaunchGrapple" to this stack in 1 seconds > end preopenstack > on LaunchGrapple > go stack url "http://inHouse.domain.org/rev_stacks/grapple.rev"; > end LaunchGrapple > By using the web server you avoid all the issues of mounting the server etc. As a related trick, you can store the "real" stack in a custom property. Then you can have a generic splash screen stack and all you have to do is change the custom property to have it work with a different stack. You can even password-protect the splash screen stack with this approach: on LaunchGrapple go stack url (the uRealStackURL of this stack) end LaunchGrapple -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: applescript question
Hi Yves, Why don't you use the choose file command? Much easier. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce Create installers for Mac and Windows on *every* Rev-compatible platform. No additional software needed. On 28 okt 2010, at 14:48, Yves COPPE wrote: > > Le 28 oct. 10 à 14:37, Mark Schonewille a écrit : > >> That's strange. I don't get any errors at all, even if the file doesn't >> exist. >> >> Which version of Mac OS X are you using? "as unicode text" might no longer >> be necessary. >> > > leopard on a G5 and snow leopard on a Core 2 duo > same problem > > Greetings. > > Yves COPPE > yvesco...@skynet.be ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: applescript question
That's strange. I don't get any errors at all, even if the file doesn't exist. Which version of Mac OS X are you using? "as unicode text" might no longer be necessary. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce Create installers for Mac and Windows on *every* Rev-compatible platform. No additional software needed. On 28 okt 2010, at 14:30, Yves COPPE wrote: > > Le 28 oct. 10 à 14:13, Mark Schonewille a écrit : > >> Hi Yves, >> >> Runs fine here. What's your problem? >> > > says > > error > can't find file this has been destroyed or destroyed (in French !) > > >> http://lists.runrev.com/mailman/listinfo/use-revolution > > Greetings. > > Yves COPPE > yvesco...@skynet.be > > ___ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: applescript question
Hi Yves, Runs fine here. What's your problem? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce Create installers for Mac and Windows on *every* Rev-compatible platform. No additional software needed. On 28 okt 2010, at 14:06, Yves COPPE wrote: > Hello, > > on mac machine > I want to ask the user the name of a MS Excell file on the desktop > then > > I want this script not in LiveCode language but applescript (for another > purpose afterwards in the livecode script) > > here is my applescript code that doesn't run (!) > > set le_chemin to (path to desktop) as unicode text > set le_nom to display dialog "Saisissez le nom du classeur" default answer > ".xlsx" > set mon_classeur to le_chemin & ":" & text returned of le_nom > > tell application "Microsoft Excel" > activate > open mon_classeur > end tell > > Can someone help me ??? > > Amicalement. > > Yves COPPE > yvesco...@skynet.be > > > > Greetings. > > Yves COPPE > yvesco...@skynet.be ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [OT] Appcelerator funding
Bob- Tuesday, October 26, 2010, 3:48:18 PM, you wrote: > Whell that is fascinating. A video that doesn't play on the Mac > under Safari. I wonder what else they have that does not work. ;-) ??? nothing happens there until tomorrow. See the part that says "Return here on Wednesday October 27 at 8:00am Pacific (11:00am Eastern, 5:00pm CEST, Midnight Thursday JST)"? -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [OT] Appcelerator funding
Scott- There's also going to be a Webcast with other announcements tomorrow (Wednesday, October 27 at 8:00am Pacific, 11:00am Eastern, 5:00pm CEST, Midnight Thursday JST). http://www.appcelerator.com/october-27-2010/ -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: ANN: Installer Maker Plugin 1.4.2
Hi Pierre, All registered users get a newsletter once in a while. If you're not a customer of Economy-x-Talk or want to re-register then you can register for the newsletter here http://qurl.tk/cj You can also follow me on my Twitter account or connec through Facebook or LinkedIn (just send me a quick note when you make a request). -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce Create installers for Mac and Windows on *every* Rev-compatible platform. No additional software needed. On 26 okt 2010, at 13:22, Pierre Sahores wrote: > Hi Mark, > > Why don't you setup some kind of newsletter we could get as Installer Maker > Plugin 1.4.2. registred users (+ sent to userev/improve lists, for sure !), > just alike a simple stack sending mails trough a shell(mail) command ? > > Best regards, > > Pierre ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: OT: SheepSaver
Hi Ken, There have been a few updates recently and it looks like there will be "regular" updates now http://qurl.tk/jh -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce Create installers for Mac and Windows on *every* Rev-compatible platform. No additional software needed. On 26 okt 2010, at 20:04, Ken Ray wrote: > I have some personal experience setting up SheepShaver and documented it > here with a set of instructions: > > http://www.sonsothunder.com/devres/revolution/tips/env006.htm > > Granted it was several years ago, but SheepShaver hasn't had a recent > upgrade AFAIK... > > > Ken Ray > Sons of Thunder Software, Inc. > Email: k...@sonsothunder.com > Web Site: http://www.sonsothunder.com/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Close File question
Hi Charles, You use EITHER open file gOpenDataFile read from/write to file gOpenDataFile close file gOpenDataFile OR put/get URL ("file:" & gOpenDataFile) -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce Create installers for Mac and Windows on *every* Rev-compatible platform. No additional software needed. On 26 okt 2010, at 18:00, charles61 wrote: > > Mark, > > I also tried the following which did not work. Any suggestions? > > close file URL ("file:" & gOpenDataFile) > > Charles Szasz > csz...@mac.com > > ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Close File question
Hi Charles, The line if it = "Don't Save" then close file "file:" & gOpenDataFile -->New 10-25-10: Close file should be: if it = "Don't Save" then close file gOpenDataFile -->New 10-25-10: Close file I don't see an open file command in your script. Do you keep the file open all the time? You might get an error "file already open" if your application crashes and tries to open it again the next session. You won't be able to determine whether another programme is using that file or the file is incorrectly flagged as open. You may also have a problem when you try to delete the file. I would recommend to keep files closed while you're not reading or writing. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce Create installers for Mac and Windows on *every* Rev-compatible platform. No additional software needed. On 26 okt 2010, at 17:42, charles61 wrote: > > Hi Mark, > > This is the script that I have tried using the close command for "Don't > Save". I tried the following which did not work in the script below: > Close file "file:" & gOpenDataFile > > > case "New Student Referral" > go to card "referral" > > if field "first" of card "referral" is not empty then ---> Name field is > not empty. > if gOpenDataFile is not empty then ---> A saved file is open. >set the itemDel to "/" >put item -1 of gOpenDataFile into tFileName >answer warning "Save changes to " & tFileName &"?" with "Don't > Save" or "Cancel" or "Save" titled "Save File" > >--->answer warning "Save changes to: "with "Don't Save" or > "Cancel" or "Save" titled "Save File?" >--->Your changes will be lost if you do not save them. > >if it = "Don't Save" then close file "file:" & gOpenDataFile > -->New 10-25-10: Close file > > > Charles Szasz > csz...@mac.com > ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Close File question
charles61- Tuesday, October 26, 2010, 8:42:48 AM, you wrote: > Close file "file:" & gOpenDataFile 1. close file gOpenDataFile 2. What's the difference between "Don't Save" and "Cancel"? -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Close File question
Charles, No, you must use the close file command. What makes you think you're unable to do so? You could also use get URL or put URL instead of open-read/write-close. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce Create installers for Mac and Windows on *every* Rev-compatible platform. No additional software needed. On 26 okt 2010, at 17:29, charles61 wrote: > > I have the name and location of a file in a variable, gOpenDataFile. For > example: > /Users/cszasz/Documents/School Personnel/Tom Jones.txt > > Can I use the following: Put empty into gOpenDataFile to close a file? The > reason I ask is that I have been unable to use the Close File command to > close files. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: ANN: Installer Maker Plugin 1.4.2
Hi Andre, Thanks for your concern. I just try to keep those who are interested informed without annoying those who dislike advertisements, but I do post more info once in a while and there's still the website. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce Create installers for Mac and Windows on *every* Rev-compatible platform. No additional software needed. On 25 okt 2010, at 15:13, Andre Garzia wrote: > Oh okay Mark, > > But keep in mind that installer maker is a product that directly supports > desktop app developers so I don't think is an abuse to post one a quick > summary when you're announcing an update. Some of your new features and > fixes might net you some more customers and spread the love. > > Andre ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: ANN: Installer Maker Plugin 1.4.2
Hi, I believe I should keep my announcements as brief as possible, unless the announcement considers a new product or major update. Please, have a look at the website where I listed the latest changes. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce Create installers for Mac and Windows on *every* Rev-compatible platform. No additional software needed. On 24 okt 2010, at 21:09, an...@andregarzia.com wrote: > Mark, > > Could you post the changes and enhancements here? > > Cheers > > Enviado via iPhone ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Big Stacks
Hugh, Be careful. A 120MB stack with several JPEG pictures may easily measure a few Gig once read into memory. The largest stack I ever worked with was 1 GIG on disk, containing thousands of pictures. That was... insane. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce Create installers for Mac and Windows on *every* Rev-compatible platform. No additional software needed. On 24 okt 2010, at 20:12, FlexibleLearning wrote: > I'm not starting a competition, but what is the largest size (in Mb) stack > file you have ever got to? > > Technically the limit is 4Gb assuming you have that amount of RAM available, > of course. > > Is the 120Mb beta test stack just returned to me a relatively small fish in > the grand scheme of mega-stacks? > > > Hugh Senior > FLCo ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: OT: SheepSaver
Hi Matthias, SheepShaver works perfectly, except for the crashes. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce Create installers for Mac and Windows on *every* Rev-compatible platform. No additional software needed. On 24 okt 2010, at 18:37, Matthias Rebbe wrote: > Hi, > > is there anyone on the list who uses SheepSaver under Mac OS X? > How is the performance? How the compatbility? I have here an old program > (TextureScape) which > I used very long time ago on a PowerMac9500. The PowerMac does not exists > anymore, but i would > like to use that program. Unfortunately i am running a Mac with 10.6 and as i > understand the classic envirionment > was supported until 10.4. > > Regards, > > Matthia ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: MainStack subStack, I am lost
René, The splash stack doesn't need any substacks. If you still need to switch a sub and a mainstack, you need to turn them both into mainstacks before you can make the former mainstack a substack of the former substack. Now pay attention! I think you don't need to do anything complicated. Just make a mainstack of the splash stack. Add the stack file, which no longer contains the splash stack and ADD THE STACK FILE TO THE STACK FILE PROPERTY OF THE NEW SPLASH STACK. STACK FILES <> SUBSTACKS!!! -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce Create installers for Mac and Windows on *every* Rev-compatible platform. No additional software needed. On 24 okt 2010, at 16:30, René Micout wrote: > I do that, but > either the splash (new main stack) becomes "alone" > the (old) mainStack > don't become a sub-stack of the new one... > either it is impossible (no menu item) for the (old) main stack to becomes > sub-stack > Is a simple (or) clear procedure exists to do that ? > René > > Le 24 oct. 2010 à 16:22, Mark Schonewille a écrit : > >> You can make a standalone of your splash stack and keep the current >> mainstack with its substack(s) as it is. Use the property inspector to add >> your current mainstack to the stack files of the splash stack. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: MainStack subStack, I am lost
Hi René, You can make a standalone of your splash stack and keep the current mainstack with its substack(s) as it is. Use the property inspector to add your current mainstack to the stack files of the splash stack. If you use my installer, you can still distribute the whole thing as one file (Windows) or application package (Mac OS) ;-) -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce Create installers for Mac and Windows on *every* Rev-compatible platform. No additional software needed. On 24 okt 2010, at 16:13, René Micout wrote: > Mark, > In reality I made a complex musical stack (main stack) but standalone making > don't work. > I have a very simple splash (sub-stack) stack. > I should have foreseen at the outset my Splash as a main stack, but I did not > at that time (there are 2 or 3 years ago). > Now I would like to reverse things so that the simple stack become the > standalone... > Am I clear ? How to fix an early mistake on later ? > René > ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: MainStack subStack, I am lost
Hi René, Why would you have to copy objects? You only need to move the scripts that are needed by other handlers elsewhere in your project. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce Create installers for Mac and Windows on *every* Rev-compatible platform. No additional software needed. On 24 okt 2010, at 15:58, René Micout wrote: > Mark, > It is really a great work because I have MANY invisible objects which don't > be automaticaly copy when I select all objects of my (future old) mainstack... > And also MANY parts of script which use "id" number to work and when I copy > all "id" changes. > I see there is no simple way to permutes MS and SS. > But I am searching in Gname archives > 2006-02-01 Jim Ault > Changing > mainstack to a substack... > Perhaps a way... I hope... > Thank you > René > > Le 24 oct. 2010 à 15:51, Mark Schonewille a écrit : > >> Hi René, >> >> Perhaps you could transfer all scripts from MS to a new library stack and >> "start using" that stack or keep those scripts in a button and insert the >> script of that button in the backscripts. Either way, it will take a little >> work. >> >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> Homepage: http://economy-x-talk.com >> Twitter: http://twitter.com/xtalkprogrammer >> KvK: 50277553 >> >> Download the Installer Maker plugin for Runtime Revolution at >> http://qurl.tk/ce Create installers for Mac and Windows on *every* >> Rev-compatible platform. No additional software needed. >> >> On 24 okt 2010, at 15:40, René Micout wrote: >> >>> Thank you Mark, yes (!) >>> SS1 >>> MS >>> SS2 >>> is better... >>> >>> but all 3 stacks exists. >>> How can I permutes a SS as MS without lose old MS in the hierarchy ? >>> When I turn SS as MS this is what happens... >>> >>> Have you an idea ? >>> René ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: MainStack subStack, I am lost
Hi René, Perhaps you could transfer all scripts from MS to a new library stack and "start using" that stack or keep those scripts in a button and insert the script of that button in the backscripts. Either way, it will take a little work. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce Create installers for Mac and Windows on *every* Rev-compatible platform. No additional software needed. On 24 okt 2010, at 15:40, René Micout wrote: > Thank you Mark, yes (!) > SS1 > MS > SS2 > is better... > > but all 3 stacks exists. > How can I permutes a SS as MS without lose old MS in the hierarchy ? > When I turn SS as MS this is what happens... > > Have you an idea ? > René ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
ANN: Installer Maker Plugin 1.4.2
Dear Revolutionaries/Livecoders, A new version of the Installer Maker Plugin is now available. The Installer Maker Plugin provides a simple way to create installers for Mac and Windows. Version 1.4.2 includes 4 new features and bug fixes. Download the Installer Maker Plugin at http://qurl.tk/ce . -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: MainStack subStack, I am lost
Hi René, I a substack can't have substacks by itself. First turn in substack into its own mainstack and then add two stacks to another stack as substack. You can obtain SS1 MS SS2 -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce Create installers for Mac and Windows on *every* Rev-compatible platform. No additional software needed. On 24 okt 2010, at 12:02, René Micout wrote: > Hello, > I have a main stack (MS) with 2 sub-stacks (SS1) (SS2). > I want change this hierarchy > new main stack = SS1 with 1 sub-stack (MS) > with his own sub-stack (SS2) > Before changing: > MS > SS1 > SS2 > After: > SS1 > MS > SS2 > I turn in all directions, when I refer SS1 as main stack other stacks > disapears, when I want to designate MS as SS : impossible. > I am lost > Thank you for help > Bon souvenir de Paris > René ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Tabbing out of a text field
Jacque- Thursday, October 21, 2010, 4:19:59 PM, you wrote: > Tab on return (i.e., autoTab) only happens when you are on the last line > of the field. So in a 3-line field, a return key will only tab to the > next field if the cursor is on line 3, otherwise it inserts a carriage > return. Scrolling fields have no "last" line, they are infinite, so > autoTab never triggers on those. I realize this probably makes sense, but I had to read it three times before I could parse it. -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: XMLRPC question
Leland- Welcome to the list. In addition to what Andre's already posted, It's certainly possible in perl to create some densely terse routines, so I think the claim of "less coding" is quite relative, and depends somewhat on what libraries you already have available to you. From your perl snippets it looks like you're dealing with web services on a remote server. In that case the library I put on revOnline may be of some help to you: libSOAP. I've tried to encapsulate some of the complexities of dealing with XMLRPC in an easy (easier) to use and more rev^H^H^Hlivecode-friendly format. Your phrase "relatively straightforward" again is in the eye of the beholder, but hopefully this may give you something to start with. -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Progress bar with lock?
Hi Charles, No, you can't do this. However, you can show a screenshot of the card with a progress bad on top. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce Create installers for Mac and Windows on *every* Rev-compatible platform. No additional software needed. On 21 okt 2010, at 21:14, charles61 wrote: > > I have an app that I am working on that takes a few seconds to clear fields, > reset radio buttons and checkboxes before it goes to the second card. During > this time, the screen is locked. I wanted to show a progress bar during this > process is going on. Is there anyway to show a progress bar while the screen > is locked? Is there a way to fake a progress bar while the screen is locked? > -- ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [OT] Mac App Store
On Oct 21, 2010, at 11:23 AM, Richard Gaskin wrote: > Scott Rossi wrote: > >> Recently, Richard Gaskin wrote: >> >>>> Do I get to own or have access to the registration data for users of my >>>> product? >>> >>> Is there anyone here with apps in the current iOS App Store who can >>> answer that? >> >> As far as I can tell, no, they only offer tools/Web pages that display >> statistical data of your sales. > > How would it be possible for a developer to know if someone who calls is > actually eligible for technical support? You could request the user to fill out registration info and have the program email or ftp the data to you. This may be required for free tech support. Best regards, Mark Talluto http://www.canelasoftware.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: MetaCard and LiveCode externals WAS: Re: [ANN]BvG Docu 1.7
Klaus- Thursday, October 21, 2010, 3:16:42 AM, you wrote: > Hmm, this is pretty straightforward! :-) Thanks for the (lack of) sanity check. I had done something similar and for some reason it didn't work. Now it does. Not sure why, but at least now I can verify that the documentation stack does indeed work well with metacard. -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [ANN]BvG Docu 1.7
Björnke- Wednesday, October 20, 2010, 4:41:27 AM, you wrote: > I fixed that, and i changed the test of "revappversion() = 4.5.0" > to "char 1 to 3 of the version = 4.5". I think that one should also > work in metacard, as well as for those crazy people who use beta > versions of the ide as main environment (shame on you). Nice. To remain future-friendly, you might want to change the check to if the version > 4.5 > note: claim of properly working in metacard untested It doesn't work in mc because you make calls to the revxml library, as in line 245 of DocsLibContent ("revcreatexmltree"). Once I figure out how to get mc to recognize rev externals (Klaus?) this should work. -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Sending mouseup to checkboxes on different card
charles61- Wednesday, October 20, 2010, 7:02:51 AM, you wrote: > I checked the fields and script in this sample stack and cannot find > anything incorrect. So, I have to think there is a problem in my button > script below. There's nothing wrong with this script. The error is probably in the mouseup handler for the checkboxes. Since you didn't post that, it's hard to say any more. -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [ANN]BvG Docu 1.7
Björnke- Tuesday, October 19, 2010, 12:48:19 PM, you wrote: > Damnit > reacting to a install where there's no clumps file, that was > exactly what I changed. Do you two per chance not use the rev ide? > because I use "if revappversion() = "4.5.0" then file here>". You might want to tweak that a bit since I tried this with 4.5.1-dp1. -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [ANN]BvG Docu 1.7
Andre- Tuesday, October 19, 2010, 11:09:52 AM, you wrote: > not working for me, does not generate the 1000 files, only one is > generated... :-/ I get "A problem Occured: sorry, but I couldn't find the 'packaged_xml/dictionary/clumps.index' file in that folder" using the defaults. And indeed there is no clumps.index file there. -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
OT: Evolution of the Apple Mouse
http://mashable.com/2010/09/26/evolution-apple-mouse/ -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [OT] Benoit Mandelbrot
Richmond- Sunday, October 17, 2010, 10:10:04 AM, you wrote: > that was one great guy; we should all pause for a minute of silent respect! Rather than a minute, how about three 18-minute TED talks? The talk by Ron Eglash is particularly mind-blowing... http://blog.ted.com/2010/10/16/benoit-mandelbrot-and-his-legacy/ -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [OT] First Mobile App Released
Scott- Saturday, October 16, 2010, 9:10:09 PM, you wrote: > Sarah, you've got a captive audience of about 30 people over at the > revToMobile Google group -- I wish you'd come discuss Rodeo with us :-) Seconded. -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Geometry settings...
Hi Dixie, This really is a big hassle. You'd have to set several cRevGeneral, cRevGeometry and cRevGeometryCache proprties by script. It is possible but really compliated. Alternatively, you might try to create a copy of an existing field, which has its geometry settings already. After creating is, call the revUpdateGeometry and revCacheGeometry commands. I can't guarantee that it works, but you might give it a try. I'm pretty much an opponent of using the geometry manager. In more complicated projects, there is always a moment when it breaks. I always write my own script to manage object sizes and locations. It is faster, more reliable and easier to maintain in the end. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce Create installers for Mac and Windows on *every* Rev-compatible platform. No additional software needed. On 16 okt 2010, at 00:08, John Dixon wrote: > > Hi... > > Is it possible to set the geometry of an object by script so that the > settings are then reflected in that objects' inspector ? > > be well > > Dixie > ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [UPDATE] The little RPN Calculator now is more HP like
Andre- Friday, October 15, 2010, 11:48:42 AM, you wrote: > Glad you liked it! :-) > Given infinite time and money I'd implement UserRPL and SystemRPL... It would be fairly easy to get from here to a full-fledged FORTH system, but you'd have to add more keys. -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Constant command
Robert- Thursday, October 14, 2010, 3:54:33 PM, you wrote: > As others said, this is a matter of programming style. What I often > use script-wide constants for is for names of objects user interacts > with. For example, on a card level, I may have several handlers that > refer to a button or a field (for example, resizestack, scripts that > handle GUI). Using constant is just convenient. Using script locals I also use constants to eliminate having magic numbers sprinkled throughout my scripts. I place them at the top of the script to make them manageable. Then when I want to change all the indentations in half a dozen fields, I just have one place to change it. Or I might define a list of constant values for the rawKeyDown values of the arrow keys so I can see them all in one place, use the constant names instead of the values so I don't accidentally key in the wrong one, and make my code more readable, i.e., switch pKeyCode case kBackSpaceKey case kDeleteKey pass rawKeyUp break end switch is much more readable than switch pKeyCode case 65288 -- the backspace key case 65535 -- the Delete key pass rawKeyUp break end switch -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Constant command
Richard- Thursday, October 14, 2010, 12:17:10 PM, you wrote: > Unless Malte's request was implemented recently, I believe constants are > available only to the script they're defined in: > <http://quality.runrev.com/qacenter/show_bug.cgi?id=5135> AFAICT it hasn't been implemented, nor has it been declared a duplicate of bz#1180 or bz#2401, which also haven't been implemented, nor by extension has bz#1712. -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Constant command
Hi Craig, I don't know if it is compelling, but a constant is readily available to all handlers in a script. If you have a library with functions and you don't know which function will be called first, it is useful to not be required to define a local variable in every function. Usually, I keep constants at the top of a script, which makes it easy to adjust a script for different customers or servers. Sometimes, I use a constant only because it is easier to write, e.g. I consistently use dot instead of ".". -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce Create installers for Mac and Windows on *every* Rev-compatible platform. No additional software needed. On 14 okt 2010, at 18:28, dunb...@aol.com wrote: > About the constant command that Phil used in his process gadget. What does > it do that a variable does not? I see it cannot be altered in the same > handler, and I see that it can overRide a built-in constant, which might be > useful. Anyone ever come up with a compelling reason to use such a thing? > > Craig Newman ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: RevOnline (Was: Re: [ANN] slotmachine iPhone was scrolling wheel]
Jacque- Sunday, October 10, 2010, 7:05:41 PM, you wrote: > I get two, but neither are his. They mention him in their text. You get > three? My bad. "Rossi" gets me two... "Scott Rossi" gets me three. Go figure. -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: RevOnline (Was: Re: [ANN] slotmachine iPhone was scrolling wheel]
Jacque- Sunday, October 10, 2010, 4:41:01 PM, you wrote: >>> "Mobile" I guess. Or "Rossi". Only I don't think he's uploaded >>> anything there yet. >>> >> Neither of those get any hits in the search box. > I don't think he has anything there. "Mobile" gets me two hits. "Rossi" gets me three. -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: RevOnline (Was: Re: [ANN] slotmachine iPhone was scrolling wheel]
Jacque- Sunday, October 10, 2010, 4:43:52 PM, you wrote: >> I just found it. Over at the top left, after you're in your own account, >> there's a link called "my account" with an "X" next to it. Click the "X" >> and you're back in the full list. >> > Sigh. "My Uploads". Sorry. Intuitive interface, eh? -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
[OT] 42-day
Hi, Today is 42-day. put baseconvert("42",10,2) gives 101010, which is today's date. I believe this is a good occasion to post a link to an anecode that Colin wrote the the HyperCard list a few years ago: http://qurl.tk/io Also, as recommended by Stephen Fry on Twitter, you might want to do a few activities that involve 42. Some ideas can be found on this site http://www.fortytwoday.com/ Happy 42-day :-) -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce Create installers for Mac and Windows on *every* Rev-compatible platform. No additional software needed. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [OT] Morning fun: Tao of Programming
Andre- Saturday, October 9, 2010, 9:09:50 AM, you wrote: > http://www.canonical.org/~kragen/tao-of-programming.html > There are some real pearls in here. I've alway liked the Tao of Programming. "A well-written program is its own heaven; a poorly-written program is its own hell." -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Livecode suffix is a pain
Francis- Saturday, October 9, 2010, 4:14:52 AM, you wrote: > I don't like zapping application code, but this is OK for me, I agree. It's just a short-term hack that does the trick for now. > But my question is : How in "Rev's" name did you know that ? I used the IDE's Find command to search for the string "livecode" in all the stacks in the folder "Toolset". There were only a few hits, and the backscript seemed like the likely suspect. -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution