From niconiko at gmail.com Thu Mar 1 04:23:02 2012 From: niconiko at gmail.com (Nicolas Cueto) Date: Thu, 1 Mar 2012 18:23:02 +0900 Subject: repositioning list-field lines Message-ID: Hello, I was wondering if anyone had pointers on how to enable a user to reposition lines within a listfield. More specifically, a user would "press" on a line and drag it within the listfield to a different position. To reorder the lines, for example. Hoping to not have to reinvent the wheel on this. Thank you. -- Nicolas Cueto From bvg at mac.com Thu Mar 1 04:58:32 2012 From: bvg at mac.com (Bjoernke von Gierke) Date: Thu, 01 Mar 2012 10:58:32 +0100 Subject: repositioning list-field lines In-Reply-To: References: Message-ID: i just did this a few days back. There are more elegant solutions like using a second field to move around, but this works for me. If you change the textSize to a non-default value, you might need to adjust some parts of the offset calculation at the start. on mouseDown --preparation of data put the effective textheight of me into myPosMargin put item 2 of the selectedLoc + myPosMargin div 2 into myPos put the selectedText of me into myText put the hilitedLine of me into myCurrLine put the text of me into textToChange repeat while the mouse is down -- for valor! for the engine! wait with messages if myPos - item 2 of the mouseLoc >= myPosMargin then -- moving the mouse upwards put max(myCurrLine - 1,1) into myMoveToLine if myCurrLine <> myMoveToLine then -- need to move to a new position in the list put myPos - myPosMargin into myPos end if else if myPos - item 2 of the mouseLoc <= - myPosMargin then -- moving the mouse downwards put min(myCurrLine + 1,the number of lines in me) into myMoveToLine if myCurrLine <> myMoveToLine then -- need to move to a new position in the list put myPos + myPosMargin into myPos end if else -- not moving the mouse enough put myCurrLine into myMoveToLine end if -- do the moving delete line myCurrLine of textToChange put myText & return before line myMoveToLine of textToChange if char -2 of textToChange = return then delete char -2 of textToChange end if put textToChange into me set the hilitedLine of me to myMoveToLine -- cleanup put myMoveToLine into myCurrLine end repeat -- remove this line if you don't want default field behaviour to happen (in other words, don't remove) selectionChanged end mouseDown On 01.03.2012, at 10:23, Nicolas Cueto wrote: > Hello, > > I was wondering if anyone had pointers on how to enable a user to > reposition lines within a listfield. More specifically, a user would > "press" on a line and drag it within the listfield to a different > position. To reorder the lines, for example. > > Hoping to not have to reinvent the wheel on this. > > Thank you. > > -- > Nicolas Cueto > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Thu Mar 1 05:09:55 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 1 Mar 2012 11:09:55 +0100 Subject: repositioning list-field lines In-Reply-To: References: Message-ID: <3CD3569E-6AAF-49CF-A9BD-F8AC8511A81B@economy-x-talk.com> Hi Nicolas, I have one in the private section of my website, accessible after donating http://qery.us/1u4 -- 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 1.7 for LiveCode here http://qery.us/za On 1 mrt 2012, at 10:23, Nicolas Cueto wrote: > Hello, > > I was wondering if anyone had pointers on how to enable a user to > reposition lines within a listfield. More specifically, a user would > "press" on a line and drag it within the listfield to a different > position. To reorder the lines, for example. > > Hoping to not have to reinvent the wheel on this. > > Thank you. > > -- > Nicolas Cueto From dave.cragg at lacscentre.co.uk Thu Mar 1 05:13:57 2012 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Thu, 1 Mar 2012 10:13:57 +0000 Subject: unresponsive sequential post requests - libURL problem? In-Reply-To: <1101DC85-E697-472A-B176-3D5478672219@unimelb.edu.au> References: <1101DC85-E697-472A-B176-3D5478672219@unimelb.edu.au> Message-ID: <3BD3227A-7FA1-4751-9DB5-7684CD3A152D@lacscentre.co.uk> On 1 Mar 2012, at 00:51, Terry Judd wrote: > Hi guys (Dave hopefully you're not too far away) - earlier on I asked about explicitly closing sockets to try and prevent Livecode becoming unresponsive following repeated post (over https) requests. Dave Cragg suggested setting the httpHeaders to "Connection: close header". This helped somewhat in that it allowed me to test for an open socket before the next request was sent (initiated by a user clicking various controls in the interface). If a socket was open then I simply ignored the user's clicks until it was closed again. I just noticed that you're doing this for https requests. I don't have much experience of https with Livecode, so I guess it's possible that things behave differently with regard to socket messages being sent. Also, I've never used your method of testing for an open socket to decide whether to process the user's click or not. I've either disabled the user interface until the current request returns or set a flag (script local variable) before sending a request and then unset it when the request returns. However, using "Connection: close" should let your approach work. But I don't know if it's a good approach to create a new secure connection for multiple requests over a short space of time. Perhaps some SSL gurus can pipe in. > > However, it still doesn't solve the underlying problem, and if I do stack up a few requests and Livecode typically becomes unresponsive (waiting for a lengthy period rarely solves the problem) and the only way to 'clear the pipes' is to hit command/control-period a couple of times. The first time generally frees up the cursor again (set to a custom cursor when the request is initiated) while the second time usually triggers an error message along the lines of... > > error: 624,1521,1 (or slight variations on this) > > ...to be returned in the result following the post request. That's consistent with what I'd expect. > > This (possibly naively) leads me to think that the underlying problem might lie somewhere within libURL, with a handler or function that is reluctant to end. Is this possible? It's possible. I haven't looked at the most recent versions of libUrl but I guess they work in much the same way as earlier versions. Generally, libUrl sits in a "wait for messages" loop while processing a request. A number of events should kick it out of that wait loop: the request completes nicely, a socketError message is sent, a socketClosed message is sent, or a socketTimeout message is sent. That should cover all eventualities (unless I've forgotten something.) But if those messages aren't being detected for some reason, then libUrl could get stuck in a loop. Are you able to use libUrlSetLogField to record the request/response to and fro? It might give a hint as to what's going on. Dave From scott at tactilemedia.com Thu Mar 1 05:46:52 2012 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 01 Mar 2012 02:46:52 -0800 Subject: repositioning list-field lines In-Reply-To: Message-ID: Another option: http://tactilemedia.com/site_files/downloads/getinline.rev.zip Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Nicolas Cueto wrote: > I was wondering if anyone had pointers on how to enable a user to > reposition lines within a listfield. More specifically, a user would > "press" on a line and drag it within the listfield to a different > position. To reorder the lines, for example. > > Hoping to not have to reinvent the wheel on this. > > Thank you. > > -- > Nicolas Cueto > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From tsj at unimelb.edu.au Thu Mar 1 05:59:33 2012 From: tsj at unimelb.edu.au (Terry Judd) Date: Thu, 1 Mar 2012 10:59:33 +0000 Subject: unresponsive sequential post requests - libURL problem? In-Reply-To: <3BD3227A-7FA1-4751-9DB5-7684CD3A152D@lacscentre.co.uk> References: <1101DC85-E697-472A-B176-3D5478672219@unimelb.edu.au> <3BD3227A-7FA1-4751-9DB5-7684CD3A152D@lacscentre.co.uk> Message-ID: <54DB416F-9A02-4B6B-B104-AC6C987891B9@unimelb.edu.au> On 01/03/2012, at 09:13 PM, Dave Cragg wrote: Hi Dave - thanks for your input - I really appreciate it - inline comments below... On 1 Mar 2012, at 00:51, Terry Judd wrote: Hi guys (Dave hopefully you're not too far away) - earlier on I asked about explicitly closing sockets to try and prevent Livecode becoming unresponsive following repeated post (over https) requests. Dave Cragg suggested setting the httpHeaders to "Connection: close header". This helped somewhat in that it allowed me to test for an open socket before the next request was sent (initiated by a user clicking various controls in the interface). If a socket was open then I simply ignored the user's clicks until it was closed again. I just noticed that you're doing this for https requests. I don't have much experience of https with Livecode, so I guess it's possible that things behave differently with regard to socket messages being sent. Also, I've never used your method of testing for an open socket to decide whether to process the user's click or not. I've either disabled the user interface until the current request returns or set a flag (script local variable) before sending a request and then unset it when the request returns. However, using "Connection: close" should let your approach work. But I don't know if it's a good approach to create a new secure connection for multiple requests over a short space of time. Perhaps some SSL gurus can pipe in. In most cases I am using flags but there are a couple of routines that involve multiple requests and send in time constructs - the socket testing method seems to work better in these instances. However, it still doesn't solve the underlying problem, and if I do stack up a few requests and Livecode typically becomes unresponsive (waiting for a lengthy period rarely solves the problem) and the only way to 'clear the pipes' is to hit command/control-period a couple of times. The first time generally frees up the cursor again (set to a custom cursor when the request is initiated) while the second time usually triggers an error message along the lines of... error: 624,1521,1 (or slight variations on this) ...to be returned in the result following the post request. That's consistent with what I'd expect. This (possibly naively) leads me to think that the underlying problem might lie somewhere within libURL, with a handler or function that is reluctant to end. Is this possible? It's possible. I haven't looked at the most recent versions of libUrl but I guess they work in much the same way as earlier versions. Generally, libUrl sits in a "wait for messages" loop while processing a request. A number of events should kick it out of that wait loop: the request completes nicely, a socketError message is sent, a socketClosed message is sent, or a socketTimeout message is sent. That should cover all eventualities (unless I've forgotten something.) But if those messages aren't being detected for some reason, then libUrl could get stuck in a loop. Are you able to use libUrlSetLogField to record the request/response to and fro? It might give a hint as to what's going on. Yes, I've been doing that for a while and the results in the log field are typically fine. The odd thing is that the socketError and socketTimeout messages don't seem to fire at all - which fits with your 'stuck in a loop' idea (and my experience). Manually interrupting the script usually does the trick but what I really want to do is to find out how to force the script to exit by itself gracefully. As you've probably guessed, the libURL stuff is out of my league. Terry... Dave _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From klaus at major.on-rev.com Thu Mar 1 09:08:54 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Thu, 1 Mar 2012 15:08:54 +0100 Subject: setting sslcertificates global? Message-ID: Hi friends, did not find a hint in the docs, is "set the sslcertificates to XXX" a global setting? I mean is it sufficient to do this only once before I use HTTPS? Thanks in advance! Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From bryan at deepfoo.com Thu Mar 1 10:22:20 2012 From: bryan at deepfoo.com (Bryan McCormick) Date: Thu, 01 Mar 2012 10:22:20 -0500 Subject: Crasher bug in Lion? Message-ID: <4F4F942C.1080202@deepfoo.com> Anyone using Lion and a 5.x version of livecode? I am on a pretty plain vanilla system with nothing in particular added. Livecode crashes on any attempt to print a script. If you are going to test this out (please contact support if it works) make sure you save your stack and scripts first. How to recreate it? Just try printing a script from Livecode. It begins to spool and then crashes the app gracelessly. From bdrunrev at gmail.com Thu Mar 1 11:10:14 2012 From: bdrunrev at gmail.com (Bernard Devlin) Date: Thu, 1 Mar 2012 16:10:14 +0000 Subject: unresponsive sequential post requests - libURL problem? In-Reply-To: <54DB416F-9A02-4B6B-B104-AC6C987891B9@unimelb.edu.au> References: <1101DC85-E697-472A-B176-3D5478672219@unimelb.edu.au> <3BD3227A-7FA1-4751-9DB5-7684CD3A152D@lacscentre.co.uk> <54DB416F-9A02-4B6B-B104-AC6C987891B9@unimelb.edu.au> Message-ID: The standard libURL is also just a library inside the IDE. Which means you can inspect it and change it. I had a problem where 4.6.x LC would barf on ip addresses that worked previously. I took an older version of libURL and swapped it in, and the problem went away. There is another libURL library you could try. It is a part of Trevor's GLX framework. Looking at the notes, he was definitely using libURL with https. http://www.bluemangolearning.com/revolution/2009/07/glx-application-framework-1-1-coming-your-way/ Bernard On Thu, Mar 1, 2012 at 10:59 AM, Terry Judd wrote: > > On 01/03/2012, at 09:13 PM, Dave Cragg wrote: > > Hi Dave - thanks for your input - I really appreciate it - inline comments below... From andre.bisseret at wanadoo.fr Thu Mar 1 11:34:13 2012 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Thu, 1 Mar 2012 17:34:13 +0100 Subject: repositioning list-field lines In-Reply-To: References: Message-ID: Bonjour Nicolas, create a small one line field named "temp" and put the following in the script of your field. Sorry for the comments in French Best regards from Grenoble Andr? ------ -- LE SCRIPT DE DRAG DROP ENTRE 2 FIELDS d'?ric CHATONET, MODIFI? POUR UN SEUL local lLineNo,tLaLigne,tStyle, -- script local variable ---------------------------------- on mouseEnter set the dragDelta to 5 -- AU LIEU DE 10 : EMP?CHE UN PEU ERREUR -- QUI CONSISTE ? PRENDRE UNE AUTRE LIGNE end mouseEnter ---------------------------------- on dragMove -- sent repeatedly when the dragdata is within the field local tContents,tHilitedText ----- put (the mouseV - the top of the target) div the effective textHeight of the target into lLineNo -- line number if lLineNo > the number of lines of the target then put the number of lines of the target into lLineNo ----- lock screen put StripCR(me) into tContents -- see below put the hilitedText of the target into tHilitedText -- stores highlighted line put cr after line lLineNo of tContents -- creates a blank line set the text of the target to tContents set the hilitedLine of the target to lineOffset(tHilitedText,tContents) -- restores highlighted line unlock screen delete line (the hilitedLine of the target) of the target end dragMove ---------------------------------- on DragLeave -- restores current contents local tHilitedLine, ----------- lock screen put the hilitedLine of the target into tHilitedLine put StripCR(me) into the target -- set the hilitedLine of the target to tHilitedLine unlock screen end DragLeave ---------------------------------- on dragEnter -- N?CESSAIRE DANS LE CONTROL DE DESTINATION set the dragAction to "Move" end dragEnter ---------------------------------- on dragDrop local tContents ----- put StripCR(me) into tContents -- see below if lLineNo = 0 then put the dragdata["text"] & cr before tContents else put cr & the dragdata["text"] after line lLineNo of tContents end if lock screen set the text of the target to tContents set the hilitedLine of the target to lLineNo + 1 -- sets highlighted line to dropped line unlock screen end dragDrop ---------------------------------- function StripCR pText -- returns 'normal' field's contents if char 1 of pText = cr then delete char 1 of pText if char -1 of pText = cr then delete char -1 of pText replace cr & cr with cr in pText return pText end StripCR -- --------------------------------- on dragStart --N?CESSAIRE DANS LE CONTROL SOURCE set the dragData["text"] to the selectedText put the selectedText of the target into fld "Temp" -- in order to create the right image -- put tLaLigne into fld "Temp" set the dragImage to CreateDragImage() -- see below set the dragImageOffset to the width of last image div 2,the height of last image div 2 -- centered end dragStart on dragEnd delete last image -- we no longer need the drag image end dragEnd --------------------------------- function CreateDragImage -- creates drag image on-the-fly local tRect,tempImage ----- put the rect of fld "Temp" into tRect ----- export snapshot from rect tRect of this cd to tempImage as jpeg -- export image to a variable lock messages -- important to speed up the process create invisible image -- we don't want to see it set the text of last image to tempImage if there is an image ID 6001 then delete image ID 6001 set the ID of last image to 6001 -- setting dimensions unlock messages return the ID of last image -- we need it to set the dragImage property end CreateDragImage ------------------- Le 1 mars 2012 ? 10:23, Nicolas Cueto a ?crit : > Hello, > > I was wondering if anyone had pointers on how to enable a user to > reposition lines within a listfield. More specifically, a user would > "press" on a line and drag it within the listfield to a different > position. To reorder the lines, for example. > > Hoping to not have to reinvent the wheel on this. > > Thank you. > > -- > Nicolas Cueto > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Thu Mar 1 12:01:33 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 1 Mar 2012 09:01:33 -0800 Subject: Crasher bug in Lion? In-Reply-To: <4F4F942C.1080202@deepfoo.com> References: <4F4F942C.1080202@deepfoo.com> Message-ID: <2BF7C3C1-AAF3-498E-B8CF-C0DEFD5DA9BD@twft.com> Works fine for me, both with GLX2 and the stock script editor. Try printing to a PDF file instead of your printer. Also, it wouldn't hurt to check for odd characters in your script, especially if you do any copy pasting from other sources. Bob On Mar 1, 2012, at 7:22 AM, Bryan McCormick wrote: > Anyone using Lion and a 5.x version of livecode? I am on a pretty plain vanilla system with nothing in particular added. Livecode crashes on any attempt to print a script. If you are going to test this out (please contact support if it works) make sure you save your stack and scripts first. > > How to recreate it? Just try printing a script from Livecode. It begins to spool and then crashes the app gracelessly. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andre at andregarzia.com Thu Mar 1 12:08:26 2012 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 1 Mar 2012 14:08:26 -0300 Subject: unresponsive sequential post requests - libURL problem? In-Reply-To: References: <1101DC85-E697-472A-B176-3D5478672219@unimelb.edu.au> <3BD3227A-7FA1-4751-9DB5-7684CD3A152D@lacscentre.co.uk> <54DB416F-9A02-4B6B-B104-AC6C987891B9@unimelb.edu.au> Message-ID: Folks, This is from the "wild crazy and potentially stupid ideas" department: 1 - have you tried lowering the timeout interval, this way, your calls should fail faster and you would be able to recover more easily. Better retry until it work than to be locked into a timeout loop. 2 - Are you executing these calls in a repeat loop? Are all calls inside a single handler such as: on docalls ... put url ... put url ... end docalls if they are all in the body of the same handler sequentially or inside a repeat loop, would you consider using a recursion with "send .. in time". In my experience, socket stuff does not like to be inside a loop or sequential. Sockets love recursion though and they have fun changing contexts. In RevHTTPd, I had some http code in a loop than would fail every now and then. I think it was Kee that patched it with an asynchronous model where calls would trigger callbacks and work like a waterfall. Then it stopped failing. Cheers andre From bobs at twft.com Thu Mar 1 12:14:47 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 1 Mar 2012 09:14:47 -0800 Subject: repositioning list-field lines In-Reply-To: References: Message-ID: I used Scott's GetInLine. It's really nice visually. I did have a problem sometimes though where if I passed over the field it triggered the drag. I noticed that the condition was triggered when clicking a line to change the selected line. Apparently the field was receiving the mouseDown message but not receiving the mouseUp message. I fixed it by putting finishReorder at the end of the selectionChanged handler. Works famously now. I don't know if Scott wants to chime in on how that can happen, or if there is a simple fix for it beyond what I did. Bob On Mar 1, 2012, at 1:23 AM, Nicolas Cueto wrote: > Hello, > > I was wondering if anyone had pointers on how to enable a user to > reposition lines within a listfield. More specifically, a user would > "press" on a line and drag it within the listfield to a different > position. To reorder the lines, for example. > > Hoping to not have to reinvent the wheel on this. > > Thank you. > > -- > Nicolas Cueto > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bdrunrev at gmail.com Thu Mar 1 13:40:11 2012 From: bdrunrev at gmail.com (Bernard Devlin) Date: Thu, 1 Mar 2012 18:40:11 +0000 Subject: unresponsive sequential post requests - libURL problem? In-Reply-To: References: <1101DC85-E697-472A-B176-3D5478672219@unimelb.edu.au> <3BD3227A-7FA1-4751-9DB5-7684CD3A152D@lacscentre.co.uk> <54DB416F-9A02-4B6B-B104-AC6C987891B9@unimelb.edu.au> Message-ID: I'd go with Andre on this, only try some voodoo too :) 3. try increasing the timeout interval. I have some code that fires off hundreds of "load urls" sequentially. But this is done by using "send in time" for the "load" (and using callbacks to handle the returned data). I figured that smarter people than me have worked on the messaging machinery inside the engine, so I'd better rely on their work. I have the socketTimeoutInterval set to 25000. Since these are asynchronous calls (i.e. the user is unaware they are going on), the socketTimeoutInterval can be high without the user knowing anything. On Thu, Mar 1, 2012 at 5:08 PM, Andre Garzia wrote: > Folks, > > This is from the "wild crazy and potentially stupid ideas" department: > > 1 - have you tried lowering the timeout interval, this way, your calls > should fail faster and you would be able to recover more easily. Better > retry until it work than to be locked into a timeout loop. > > 2 - Are you executing these calls in a repeat loop? Are all calls inside a > single handler such as: From tsj at unimelb.edu.au Thu Mar 1 15:02:22 2012 From: tsj at unimelb.edu.au (Terry Judd) Date: Thu, 1 Mar 2012 20:02:22 +0000 Subject: setting sslcertificates global? In-Reply-To: References: Message-ID: On 02/03/2012, at 1:11 AM, "Klaus on-rev" wrote: > Hi friends, > > did not find a hint in the docs, is "set the sslcertificates to XXX" a global setting? > I mean is it sufficient to do this only once before I use HTTPS? > Yes - that's right. Terry... > Thanks in advance! > > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From tsj at unimelb.edu.au Thu Mar 1 15:14:04 2012 From: tsj at unimelb.edu.au (Terry Judd) Date: Thu, 1 Mar 2012 20:14:04 +0000 Subject: unresponsive sequential post requests - libURL problem? In-Reply-To: References: <1101DC85-E697-472A-B176-3D5478672219@unimelb.edu.au> <3BD3227A-7FA1-4751-9DB5-7684CD3A152D@lacscentre.co.uk> <54DB416F-9A02-4B6B-B104-AC6C987891B9@unimelb.edu.au>, Message-ID: <2D03FCAF-484C-40E8-B38D-EC63661D9DD1@unimelb.edu.au> On 02/03/2012, at 3:12 AM, "Bernard Devlin" wrote: > The standard libURL is also just a library inside the IDE. Which > means you can inspect it and change it. I had a problem where 4.6.x > LC would barf on ip addresses that worked previously. I took an older > version of libURL and swapped it in, and the problem went away. I'm using 4.6.4 for this so it might be worth me trying an older version. Thanks for the tip. > > There is another libURL library you could try. It is a part of > Trevor's GLX framework. Looking at the notes, he was definitely using > libURL with https. Another good idea. Thanks, Terry... > > http://www.bluemangolearning.com/revolution/2009/07/glx-application-framework-1-1-coming-your-way/ > > Bernard > > On Thu, Mar 1, 2012 at 10:59 AM, Terry Judd wrote: >> >> On 01/03/2012, at 09:13 PM, Dave Cragg wrote: >> >> Hi Dave - thanks for your input - I really appreciate it - inline comments below... > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From tsj at unimelb.edu.au Thu Mar 1 15:31:50 2012 From: tsj at unimelb.edu.au (Terry Judd) Date: Thu, 1 Mar 2012 20:31:50 +0000 Subject: unresponsive sequential post requests - libURL problem? In-Reply-To: References: <1101DC85-E697-472A-B176-3D5478672219@unimelb.edu.au> <3BD3227A-7FA1-4751-9DB5-7684CD3A152D@lacscentre.co.uk> <54DB416F-9A02-4B6B-B104-AC6C987891B9@unimelb.edu.au> , Message-ID: <9A25E539-1002-4C0C-B12F-57F97443ACBD@unimelb.edu.au> On 02/03/2012, at 4:10 AM, "Andre Garzia" wrote: > Folks, > > This is from the "wild crazy and potentially stupid ideas" department: > > 1 - have you tried lowering the timeout interval, this way, your calls > should fail faster and you would be able to recover more easily. Better > retry until it work than to be locked into a timeout loop. > Interesting idea. Might be a bit frustrating though if the return time is consistently more than the timeout interval. It's set at 5000 ms at the moment, which I thought was relatively short - yet despite all my problems I never seem to see the timeout message being fired. > 2 - Are you executing these calls in a repeat loop? Are all calls inside a > single handler such as: > > on docalls > ... > put url > ... > put url > ... > end docalls All calls are within a single handler. I only have a couple of routines that involve sequential calls and they are the most apt to fail. I use send in time constructs to make the second calls and while that certainly helps it doesn't guarantee against failure. Repeated calling of handlers that contain a single call also can cause problems. > > if they are all in the body of the same handler sequentially or inside a > repeat loop, would you consider using a recursion with "send .. in time". > In my experience, socket stuff does not like to be inside a loop or > sequential. Sockets love recursion though and they have fun changing > contexts. In RevHTTPd, I had some http code in a loop than would fail every > now and then. I think it was Kee that patched it with an asynchronous model > where calls would trigger callbacks and work like a waterfall. Then it > stopped failing. > I think if I was using load URL and had access to callbacks then I wouldn't have a problem. Unfortunately I need to use POST, so all I can do is wait until it returns something. Terry... > Cheers > andre > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From tsj at unimelb.edu.au Thu Mar 1 15:35:44 2012 From: tsj at unimelb.edu.au (Terry Judd) Date: Thu, 1 Mar 2012 20:35:44 +0000 Subject: unresponsive sequential post requests - libURL problem? In-Reply-To: References: <1101DC85-E697-472A-B176-3D5478672219@unimelb.edu.au> <3BD3227A-7FA1-4751-9DB5-7684CD3A152D@lacscentre.co.uk> <54DB416F-9A02-4B6B-B104-AC6C987891B9@unimelb.edu.au> , Message-ID: <36619D09-B276-4F35-85F5-61177584850C@unimelb.edu.au> On 02/03/2012, at 5:41 AM, "Bernard Devlin" wrote: > I'd go with Andre on this, only try some voodoo too :) > > 3. try increasing the timeout interval. I have some code that fires > off hundreds of "load urls" sequentially. But this is done by using > "send in time" for the "load" (and using callbacks to handle the > returned data). I figured that smarter people than me have worked on > the messaging machinery inside the engine, so I'd better rely on their > work. I have the socketTimeoutInterval set to 25000. Since these are > asynchronous calls (i.e. the user is unaware they are going on), the > socketTimeoutInterval can be high without the user knowing anything. Load is what I'd like to do, but all my requests are POSTs :( > > On Thu, Mar 1, 2012 at 5:08 PM, Andre Garzia wrote: >> Folks, >> >> This is from the "wild crazy and potentially stupid ideas" department: >> >> 1 - have you tried lowering the timeout interval, this way, your calls >> should fail faster and you would be able to recover more easily. Better >> retry until it work than to be locked into a timeout loop. >> >> 2 - Are you executing these calls in a repeat loop? Are all calls inside a >> single handler such as: > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From keith at gulfbreezeortholab.com Thu Mar 1 16:26:30 2012 From: keith at gulfbreezeortholab.com (Keith (Gulf Breeze Ortho Lab)) Date: Thu, 1 Mar 2012 15:26:30 -0600 Subject: HELP! - Unable to acquire FTP file list... Message-ID: Hi All, I am back to playing with FTP and have a problem. I have a shared server with unlimited FTP accounts and have created an account for testing purposes. (I am NOT using the main FTP account for my hosting package.) Anyway, I am able to upload and download files with no problem. Furthermore, I am also able to make directories and delete directories. The problem I am having is the acquisition of a file list for the FTP account. I have tried both of the following methods, but to no avail: ]libURLSetFTPListCommand "LIST" get libURLftpCommand("LIST","ftp.mydomain.com","myusername at mydomain.com","mypassword") answer it Implementing the above, I keep getting: ?425 No Data Connection? Furthermore, I have also tried the following: constant FTPHOST = "ftp.mydomain.com" put the urlencode of "myusername at mydomain.com" into FTPUSER put the urlencode of "mypassword" into FTPPASS libURLSetFTPListCommand "LIST" put url "ftp://" & FTPUSER & ":" & FTPPASS & "@" & FTPHOST into myVar answer myVar But nothing... What am I doing wrong? I thought the problem might be that the username is in the form of an email address (which includes the "@" character), but the other commands work--for example: get libURLftpCommand("DELE "&delFile,"ftp.mydomain.com","myusername at mydomain.com","mypassword") put libURLftpCommand("MKD " &foldername,"ftp.mydomain.com","myusername at mydomain.com","mypassword") into FTPme Any help would be most appreciated! Thanks! Sincerely, - Boo From dave.cragg at lacscentre.co.uk Thu Mar 1 16:59:29 2012 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Thu, 1 Mar 2012 21:59:29 +0000 Subject: HELP! - Unable to acquire FTP file list... In-Reply-To: References: Message-ID: <5936DAF6-80EB-4BD8-B25B-012CDE424261@lacscentre.co.uk> On 1 Mar 2012, at 21:26, Keith (Gulf Breeze Ortho Lab) wrote: > > ]libURLSetFTPListCommand "LIST" > get libURLftpCommand("LIST","ftp.mydomain.com","myusername at mydomain.com","mypassword") > answer it > > Implementing the above, I keep getting: > > ?425 No Data Connection? Unfortunately, the LIST command requires a parallel data connection to be set over which the data is returned. This is messy to do. > Furthermore, I have also tried the following: > > constant FTPHOST = "ftp.mydomain.com" > put the urlencode of "myusername at mydomain.com" into FTPUSER > put the urlencode of "mypassword" into FTPPASS > > libURLSetFTPListCommand "LIST" > put url "ftp://" & FTPUSER & ":" & FTPPASS & "@" & FTPHOST into myVar > > answer myVar > > But nothing... Does it work if you add a "/" after FTPHOST. e.g. constant FTPHOST = "ftp.mydomain.com/" Dave From lc at pbh.on-rev.com Thu Mar 1 17:02:36 2012 From: lc at pbh.on-rev.com (Paul Hibbert) Date: Thu, 1 Mar 2012 22:02:36 +0000 Subject: Crasher bug in Lion? In-Reply-To: <2BF7C3C1-AAF3-498E-B8CF-C0DEFD5DA9BD@twft.com> References: <4F4F942C.1080202@deepfoo.com> <2BF7C3C1-AAF3-498E-B8CF-C0DEFD5DA9BD@twft.com> Message-ID: Works fine for me too. I'd also recommend checking your fonts for clashes in FontBook, and check the permissions with the Disk Utility app. Mac Pro, Mac OS X 10.7.3, LC 5.0.2, Epson Stylus R2400 printer. Paul On 1 Mar 2012, at 17:01, Bob Sneidar wrote: > Works fine for me, both with GLX2 and the stock script editor. Try printing to a PDF file instead of your printer. Also, it wouldn't hurt to check for odd characters in your script, especially if you do any copy pasting from other sources. > > Bob > > > On Mar 1, 2012, at 7:22 AM, Bryan McCormick wrote: > >> Anyone using Lion and a 5.x version of livecode? I am on a pretty plain vanilla system with nothing in particular added. Livecode crashes on any attempt to print a script. If you are going to test this out (please contact support if it works) make sure you save your stack and scripts first. >> >> How to recreate it? Just try printing a script from Livecode. It begins to spool and then crashes the app gracelessly. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From keith at gulfbreezeortholab.com Thu Mar 1 17:16:47 2012 From: keith at gulfbreezeortholab.com (Keith (Gulf Breeze Ortho Lab)) Date: Thu, 1 Mar 2012 16:16:47 -0600 Subject: HELP! - Unable to acquire FTP file list... In-Reply-To: <5936DAF6-80EB-4BD8-B25B-012CDE424261@lacscentre.co.uk> References: <5936DAF6-80EB-4BD8-B25B-012CDE424261@lacscentre.co.uk> Message-ID: <71FEFF07C4B3454D97008CEEDA97EDCB@KeithPC> Hi Dave, You wrote: "Does it work if you add a "/" after FTPHOST. e.g. constant FTPHOST = "ftp.mydomain.com/" Dave" Unfortunately, no. I tried that previously, as well as various other things, but still no go... Thanks, - Boo -----Original Message----- From: Dave Cragg Sent: Thursday, March 01, 2012 3:59 PM To: How to use LiveCode Subject: Re: HELP! - Unable to acquire FTP file list... On 1 Mar 2012, at 21:26, Keith (Gulf Breeze Ortho Lab) wrote: > > ]libURLSetFTPListCommand "LIST" > get > libURLftpCommand("LIST","ftp.mydomain.com","myusername at mydomain.com","mypassword") > answer it > > Implementing the above, I keep getting: > > ?425 No Data Connection? Unfortunately, the LIST command requires a parallel data connection to be set over which the data is returned. This is messy to do. > Furthermore, I have also tried the following: > > constant FTPHOST = "ftp.mydomain.com" > put the urlencode of "myusername at mydomain.com" into FTPUSER > put the urlencode of "mypassword" into FTPPASS > > libURLSetFTPListCommand "LIST" > put url "ftp://" & FTPUSER & ":" & FTPPASS & "@" & FTPHOST into myVar > > answer myVar > > But nothing... Does it work if you add a "/" after FTPHOST. e.g. constant FTPHOST = "ftp.mydomain.com/" Dave _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ken at kencorey.com Thu Mar 1 18:41:25 2012 From: ken at kencorey.com (Ken Corey) Date: Thu, 01 Mar 2012 23:41:25 +0000 Subject: HELP! - Unable to acquire FTP file list... In-Reply-To: References: Message-ID: <4F500925.9090207@kencorey.com> On 01/03/2012 21:26, Keith (Gulf Breeze Ortho Lab) wrote: > Anyway, I am able to upload and download files with no problem. Furthermore, I am also able to make directories and delete directories. The problem I am having is the acquisition of a file list for the FTP account. I have tried both of the following methods, but to no avail: > > ]libURLSetFTPListCommand "LIST" > get libURLftpCommand("LIST","ftp.mydomain.com","myusername at mydomain.com","mypassword") > answer it Sounds to me like you're in active ftp mode...which is strange as passive mode is the default. Try: libURLSetFTPMode "passive" If that doesn't work, try libURLSetFTPMode "active" I've not played with FTP in LiveCode, but I'd bet that solves this one. -Ken From dave.cragg at lacscentre.co.uk Thu Mar 1 18:43:55 2012 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Thu, 1 Mar 2012 23:43:55 +0000 Subject: HELP! - Unable to acquire FTP file list... In-Reply-To: <71FEFF07C4B3454D97008CEEDA97EDCB@KeithPC> References: <5936DAF6-80EB-4BD8-B25B-012CDE424261@lacscentre.co.uk> <71FEFF07C4B3454D97008CEEDA97EDCB@KeithPC> Message-ID: On 1 Mar 2012, at 22:16, Keith (Gulf Breeze Ortho Lab) wrote: > Hi Dave, > > You wrote: > > "Does it work if you add a "/" after FTPHOST. > > e.g. > > constant FTPHOST = "ftp.mydomain.com/" > > Dave" > > Unfortunately, no. I tried that previously, as well as various other things, but still no go... Can you use libUrlSetLogField to track what is happening? It might give a hint about where things are going wrong. (e.g. at login or sometime after that) Dave From niconiko at gmail.com Thu Mar 1 18:49:58 2012 From: niconiko at gmail.com (Nicolas Cueto) Date: Fri, 2 Mar 2012 08:49:58 +0900 Subject: repositioning list-field lines In-Reply-To: References: Message-ID: Bob, Perhaps your have a different (older?) version of Scott Rossi's "getinline"? Cause in the one Scott kindly linked to in this thread, there was no selectionChanged handler. Actually, I'm also not clear on what you meant by the second sentence in the following: > Apparently the field was receiving the mouseDown message but not > receiving the mouseUp message. I fixed it by putting finishReorder at > the end of the selectionChanged handler. In the script of field "_main", "finishReorder" is called in mouseUp and mouseRelease. In the meantime, thank you to everyone for the scripts and the stack offers. Cheers. -- Nicolas Cueto From keith at gulfbreezeortholab.com Thu Mar 1 19:01:06 2012 From: keith at gulfbreezeortholab.com (Keith (Gulf Breeze Ortho Lab)) Date: Thu, 1 Mar 2012 18:01:06 -0600 Subject: HELP! - Unable to acquire FTP file list... In-Reply-To: <4F500925.9090207@kencorey.com> References: <4F500925.9090207@kencorey.com> Message-ID: Hi Ken, I played with active and passive modes, but that was not the issue. At least regarding the URL function, the problem was that I was not putting parentheses around my information: put url "ftp://" & FTPUSER & ":" & FTPPASS & "@" & FTPHOST into myVar should have been: put url ("ftp://" & FTPUSER & ":" & FTPPASS & "@" & FTPHOST) into myVar Also, while testing, I think my socket became locked... When playing around with FTP, I highly recommend using the resetAll command to make sure all sockets are clear before retesting... Thanks for the help... - Boo -----Original Message----- From: Ken Corey Sent: Thursday, March 01, 2012 5:41 PM To: use-livecode at lists.runrev.com Subject: Re: HELP! - Unable to acquire FTP file list... On 01/03/2012 21:26, Keith (Gulf Breeze Ortho Lab) wrote: > Anyway, I am able to upload and download files with no problem. > Furthermore, I am also able to make directories and delete directories. > The problem I am having is the acquisition of a file list for the FTP > account. I have tried both of the following methods, but to no avail: > > ]libURLSetFTPListCommand "LIST" > get > libURLftpCommand("LIST","ftp.mydomain.com","myusername at mydomain.com","mypassword") > answer it Sounds to me like you're in active ftp mode...which is strange as passive mode is the default. Try: libURLSetFTPMode "passive" If that doesn't work, try libURLSetFTPMode "active" I've not played with FTP in LiveCode, but I'd bet that solves this one. -Ken _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From keith at gulfbreezeortholab.com Thu Mar 1 19:02:40 2012 From: keith at gulfbreezeortholab.com (Keith (Gulf Breeze Ortho Lab)) Date: Thu, 1 Mar 2012 18:02:40 -0600 Subject: HELP! - Unable to acquire FTP file list... In-Reply-To: References: <5936DAF6-80EB-4BD8-B25B-012CDE424261@lacscentre.co.uk><71FEFF07C4B3454D97008CEEDA97EDCB@KeithPC> Message-ID: <9CCFA3D9FEB84445B56278CA5540E11F@KeithPC> Thanks, Craig. I might do that for further testing... FYI: Please see my reply to Ken for a partial resolution... Cheers! - Boo -----Original Message----- From: Dave Cragg Sent: Thursday, March 01, 2012 5:43 PM To: How to use LiveCode Subject: Re: HELP! - Unable to acquire FTP file list... On 1 Mar 2012, at 22:16, Keith (Gulf Breeze Ortho Lab) wrote: > Hi Dave, > > You wrote: > > "Does it work if you add a "/" after FTPHOST. > > e.g. > > constant FTPHOST = "ftp.mydomain.com/" > > Dave" > > Unfortunately, no. I tried that previously, as well as various other > things, but still no go... Can you use libUrlSetLogField to track what is happening? It might give a hint about where things are going wrong. (e.g. at login or sometime after that) Dave _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Fri Mar 2 01:48:59 2012 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 01 Mar 2012 22:48:59 -0800 Subject: Can An Object Know About Itself? Message-ID: Is there any way for an object to know when it is unselected using only scripts within the object itself? The selectedObjectChanged is sent to an object when it is selected, but when the object is deselected, the object will only get the selectedObjectChanged message if the selection is changed to nothing. Is there some way for the object to know it is no longer selected without resorting to an external script? (no front, back, card or stack). I have a group of objects that needs to reorganize itself when it is deselected, but I'd like to avoid using external scripts to do this so the object is easily portable. Thanks for any suggestions. Regards, Scott Rossi Creative Director Tactile Media, UX Design From lc at pbh.on-rev.com Fri Mar 2 02:59:22 2012 From: lc at pbh.on-rev.com (Paul Hibbert) Date: Fri, 2 Mar 2012 07:59:22 +0000 Subject: Can An Object Know About Itself? In-Reply-To: References: Message-ID: <39DE477B-CB86-4806-84FB-A789806B4AA3@pbh.on-rev.com> Scott, I re-watched a seminar from the 09 RevLive by Trevor DeVore recently about behaviours and one thing he pointed out was that a behaviour acts like a back script for a control, but if I understood him correctly, he also mentioned that when behaviours are applied to controls, there are more commands available, namely preOpenControl, openControl, closeControl and resizeControl. Not sure if it would help, but it sounds like the closeControl may be useful to you, I would need to scan the video again to be sure and I am about to go out, but I'll certainly have a look when I get back. Paul On 2 Mar 2012, at 06:48, Scott Rossi wrote: > Is there any way for an object to know when it is unselected using only > scripts within the object itself? > > The selectedObjectChanged is sent to an object when it is selected, but when > the object is deselected, the object will only get the selectedObjectChanged > message if the selection is changed to nothing. Is there some way for the > object to know it is no longer selected without resorting to an external > script? (no front, back, card or stack). > > I have a group of objects that needs to reorganize itself when it is > deselected, but I'd like to avoid using external scripts to do this so the > object is easily portable. > > Thanks for any suggestions. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Fri Mar 2 03:14:25 2012 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 02 Mar 2012 00:14:25 -0800 Subject: Can An Object Know About Itself? In-Reply-To: <39DE477B-CB86-4806-84FB-A789806B4AA3@pbh.on-rev.com> Message-ID: Good idea Paul, but unfortunately, at least according to the docs, closeControl is only sent when leaving a card. Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Paul Hibbert wrote: > Scott, > > I re-watched a seminar from the 09 RevLive by Trevor DeVore recently about > behaviours and one thing he pointed out was that a behaviour acts like a back > script for a control, but if I understood him correctly, he also mentioned > that when behaviours are applied to controls, there are more commands > available, namely preOpenControl, openControl, closeControl and resizeControl. > > Not sure if it would help, but it sounds like the closeControl may be useful > to you, I would need to scan the video again to be sure and I am about to go > out, but I'll certainly have a look when I get back. > > Paul > > > On 2 Mar 2012, at 06:48, Scott Rossi wrote: > >> Is there any way for an object to know when it is unselected using only >> scripts within the object itself? >> >> The selectedObjectChanged is sent to an object when it is selected, but when >> the object is deselected, the object will only get the selectedObjectChanged >> message if the selection is changed to nothing. Is there some way for the >> object to know it is no longer selected without resorting to an external >> script? (no front, back, card or stack). >> >> I have a group of objects that needs to reorganize itself when it is >> deselected, but I'd like to avoid using external scripts to do this so the >> object is easily portable. >> >> Thanks for any suggestions. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX Design >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ken at kencorey.com Fri Mar 2 03:51:47 2012 From: ken at kencorey.com (Ken Corey) Date: Fri, 02 Mar 2012 08:51:47 +0000 Subject: Livecode blows a Raspberry? In-Reply-To: References: <4F4E52B3.2020502@gmail.com> <4F4E5EF3.9040704@kencorey.com> Message-ID: <4F508A23.703@kencorey.com> On 29/02/2012 17:37, Bjoernke von Gierke wrote: > You can't, unless you install android, as there's no ARM livecode linux. I was thinking about this...technically there is, it's just called 'Android' LiveCode. Android LiveCode and ARM Linux will have a common linux-based core. Of course, I have no idea how tightly Android LiveCode is welded to Goggle's extensions, so maybe it's almost as significant as a new platform anyway... But I'd *love* to be able to sell to a customer a "throw-away" computer. Buy the software for $40 and we'll throw in the computer to run it on! Open-source, and unlocked. Once the RPi foundation proves that it can ramp up to meet demand, I'd be rather worried if I were a computer manufacturer. If the hardware isn't going to cost anything, where are they going to make any money at all? -Ken From revdev at pdslabs.net Fri Mar 2 03:59:24 2012 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 02 Mar 2012 00:59:24 -0800 Subject: Can An Object Know About Itself? In-Reply-To: References: Message-ID: <4F508BEC.9080105@pdslabs.net> Scott, 'the selectedObjects' function returns a list of all objects selected at a given time. I suppose an object could poll it (send in time) and do an action when it finds it's long ID is no longer listed. That's probably the hard way, but food for thought. Phil Davis On 3/1/12 10:48 PM, Scott Rossi wrote: > Is there any way for an object to know when it is unselected using only > scripts within the object itself? > > The selectedObjectChanged is sent to an object when it is selected, but when > the object is deselected, the object will only get the selectedObjectChanged > message if the selection is changed to nothing. Is there some way for the > object to know it is no longer selected without resorting to an external > script? (no front, back, card or stack). > > I have a group of objects that needs to reorganize itself when it is > deselected, but I'd like to avoid using external scripts to do this so the > object is easily portable. > > Thanks for any suggestions. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From m.schonewille at economy-x-talk.com Fri Mar 2 07:59:50 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 2 Mar 2012 13:59:50 +0100 Subject: Can An Object Know About Itself? In-Reply-To: References: Message-ID: Hi, Make the group a background. That should allow it to catch the selectedObjectChanged message. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za On 2 mrt 2012, at 07:48, Scott Rossi wrote: > Is there any way for an object to know when it is unselected using only > scripts within the object itself? > > The selectedObjectChanged is sent to an object when it is selected, but when > the object is deselected, the object will only get the selectedObjectChanged > message if the selection is changed to nothing. Is there some way for the > object to know it is no longer selected without resorting to an external > script? (no front, back, card or stack). > > I have a group of objects that needs to reorganize itself when it is > deselected, but I'd like to avoid using external scripts to do this so the > object is easily portable. > > Thanks for any suggestions. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design From bonnmike at gmail.com Fri Mar 2 08:17:18 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 2 Mar 2012 06:17:18 -0700 Subject: Can An Object Know About Itself? In-Reply-To: References: Message-ID: Another thought, use a frontscript. As a test I created a group with several objects including 1 button to use as frontscript. For the group, this: on selectedobjectchanged if the long id of button "fscriptb" of me is not among the lines of the frontscripts then insert script of button "fScriptb" of me into front end if end selectedobjectchanged command rossiObjectDeselected put the long id of me & random(1000) end rossiObjectDeselected For the button this: on selectedobjectchanged pVar set the oldSelected of this stack to the nowSelected of this stack set the nowselected of this stack to the selectedobjects put the oldselected of this stack if the oldselected of this stack is not empty then dispatch "rossiObjectDeselected" to (the oldselected of this stack) pass selectedobjectchanged end selectedobjectchanged It seems to work ok, though it doesn't take into account multiple instances of the group, so perhaps another property to determine if the script has been inserted into front already or not. Then use that property rather than the contents of the frontscripts to decide whether or not to insert the script into front. On Fri, Mar 2, 2012 at 5:59 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi, > > Make the group a background. That should allow it to catch the > selectedObjectChanged message. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Download the Installer Maker Plugin 1.7 for LiveCode here > http://qery.us/za > > On 2 mrt 2012, at 07:48, Scott Rossi wrote: > > > Is there any way for an object to know when it is unselected using only > > scripts within the object itself? > > > > The selectedObjectChanged is sent to an object when it is selected, but > when > > the object is deselected, the object will only get the > selectedObjectChanged > > message if the selection is changed to nothing. Is there some way for > the > > object to know it is no longer selected without resorting to an external > > script? (no front, back, card or stack). > > > > I have a group of objects that needs to reorganize itself when it is > > deselected, but I'd like to avoid using external scripts to do this so > the > > object is easily portable. > > > > Thanks for any suggestions. > > > > Regards, > > > > Scott Rossi > > Creative Director > > Tactile Media, UX Design > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Fri Mar 2 08:20:00 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 2 Mar 2012 06:20:00 -0700 Subject: Can An Object Know About Itself? In-Reply-To: References: Message-ID: Oops, of course remove the "put the oldselected" of this stack" line from the inserted button script. On Fri, Mar 2, 2012 at 6:17 AM, Mike Bonner wrote: > Another thought, use a frontscript. > > As a test I created a group with several objects including 1 button to use > as frontscript. > > For the group, this: > > on selectedobjectchanged > if the long id of button "fscriptb" of me is not among the lines of the > frontscripts then > insert script of button "fScriptb" of me into front > end if > end selectedobjectchanged > > command rossiObjectDeselected > put the long id of me & random(1000) > end rossiObjectDeselected > > > > For the button this: > > on selectedobjectchanged pVar > set the oldSelected of this stack to the nowSelected of this stack > set the nowselected of this stack to the selectedobjects > put the oldselected of this stack > if the oldselected of this stack is not empty then dispatch > "rossiObjectDeselected" to (the oldselected of this stack) > pass selectedobjectchanged > end selectedobjectchanged > > > It seems to work ok, though it doesn't take into account multiple > instances of the group, so perhaps another property to determine if the > script has been inserted into front already or not. Then use that property > rather than the contents of the frontscripts to decide whether or not to > insert the script into front. > > > On Fri, Mar 2, 2012 at 5:59 AM, Mark Schonewille < > m.schonewille at economy-x-talk.com> wrote: > >> Hi, >> >> Make the group a background. That should allow it to catch the >> selectedObjectChanged message. >> >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> Homepage: http://economy-x-talk.com >> Twitter: http://twitter.com/xtalkprogrammer >> KvK: 50277553 >> >> Download the Installer Maker Plugin 1.7 for LiveCode here >> http://qery.us/za >> >> On 2 mrt 2012, at 07:48, Scott Rossi wrote: >> >> > Is there any way for an object to know when it is unselected using only >> > scripts within the object itself? >> > >> > The selectedObjectChanged is sent to an object when it is selected, but >> when >> > the object is deselected, the object will only get the >> selectedObjectChanged >> > message if the selection is changed to nothing. Is there some way for >> the >> > object to know it is no longer selected without resorting to an external >> > script? (no front, back, card or stack). >> > >> > I have a group of objects that needs to reorganize itself when it is >> > deselected, but I'd like to avoid using external scripts to do this so >> the >> > object is easily portable. >> > >> > Thanks for any suggestions. >> > >> > Regards, >> > >> > Scott Rossi >> > Creative Director >> > Tactile Media, UX Design >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From bvlahos at mac.com Fri Mar 2 10:49:45 2012 From: bvlahos at mac.com (Bill Vlahos) Date: Fri, 02 Mar 2012 07:49:45 -0800 Subject: How do I add items to the colorize text list of the Script Editor? Message-ID: <2E15C68F-03F5-47BE-9653-D1CF174BA50A@mac.com> I'm writing a plugin for the IDE that will index certain words in the Script Editor. I would like to add those words to the colorize list that the Script Editor uses so the user knows that those words are special but I don't know how to do that. How do I make sure these new words get colorized in the Script Editor? Bill Vlahos From bobs at twft.com Fri Mar 2 11:12:09 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 2 Mar 2012 08:12:09 -0800 Subject: repositioning list-field lines In-Reply-To: References: Message-ID: No, the selectionChanged handler is my own. But remember I have to click in the field to change the selected line (I have behave as list enabled) and if the field gets the mouseDown message but NOT the mouseUp message, well you can see that a dragdrop operation will be initiated but never stopped. The issue is that the field is not getting a mouseUp after the mouseDown. Bob On Mar 1, 2012, at 3:49 PM, Nicolas Cueto wrote: > Bob, > > Perhaps your have a different (older?) version of Scott Rossi's "getinline"? > > Cause in the one Scott kindly linked to in this thread, there was no > selectionChanged handler. > > Actually, I'm also not clear on what you meant by the second sentence > in the following: > >> Apparently the field was receiving the mouseDown message but not >> receiving the mouseUp message. I fixed it by putting finishReorder at >> the end of the selectionChanged handler. > > In the script of field "_main", "finishReorder" is called in mouseUp > and mouseRelease. > > In the meantime, thank you to everyone for the scripts and the stack offers. > > Cheers. > -- > Nicolas Cueto > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From calhorner at xtra.co.nz Fri Mar 2 18:39:16 2012 From: calhorner at xtra.co.nz (Cal Horner) Date: Sat, 3 Mar 2012 12:39:16 +1300 (New Zealand Daylight Time) Subject: Data Grid Templates 1330583110740 Message-ID: <4F515A12.000003.05772@CALS_BIG_PC> I started developing a stack that uses the command "openstacks" and this stack "Data Grid Templates 1330583110740 popped up its sneaky head. I know I didn't load it in to the Development environment. So, I started up the Development Environment by itself and using the app browser, just to check my sanity. Surprise, surprise - there it was again. Is this some kind of a mistake? Shouldn't this stackname be prefixed by rev? Should I be concerned? Does anyone know of a reason this stack should be floating around in limbo? Or is it just an insidious plot to keep me from being productive? Cal From bobs at twft.com Fri Mar 2 18:53:17 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 2 Mar 2012 15:53:17 -0800 Subject: Data Grid Templates 1330583110740 In-Reply-To: <4F515A12.000003.05772@CALS_BIG_PC> References: <4F515A12.000003.05772@CALS_BIG_PC> Message-ID: <7D52A046-50A4-4266-B1FE-62C3C2E1E259@twft.com> Do you open a stack either in a front or back script or anywhere else that uses a datagrid? Bob On Mar 2, 2012, at 3:39 PM, Cal Horner wrote: > I started developing a stack that uses the command "openstacks" and this > stack "Data Grid Templates 1330583110740 popped up its sneaky head. > > I know I didn't load it in to the Development environment. So, I started up > the Development Environment by itself and using the app browser, just to > check my sanity. > > Surprise, surprise - there it was again. > Is this some kind of a mistake? Shouldn't this stackname be prefixed by rev? > Should I be concerned? > Does anyone know of a reason this stack should be floating around in limbo? > Or is it just an insidious plot to keep me from being productive? > > Cal > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lfredricks at proactive-intl.com Fri Mar 2 19:55:19 2012 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Fri, 2 Mar 2012 16:55:19 -0800 Subject: Learn LiveCode: Writing Code Generators Using LiveCode Message-ID: http://www.omegabundle.com/writing-code-generators-using-livecode Brought to you by writer David Simpson of .com technologies and the Omegabundle Group. Dave introduces how to write code that writes code for your projects, using LiveCode of course! Omegabundle 2012 for LiveCode is here! Get $3700 of the best add-ons, extensions and partner products for LiveCode development at an 89% savings. Check out our top page for other great deals related to LiveCode and development at http://www.omegabundle.com. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From bogdanoff at me.com Sat Mar 3 01:27:28 2012 From: bogdanoff at me.com (Peter Bogdanoff) Date: Fri, 2 Mar 2012 22:27:28 -0800 Subject: User's System In-Reply-To: <4F515A12.000003.05772@CALS_BIG_PC> References: <4F515A12.000003.05772@CALS_BIG_PC> Message-ID: I want to determine if the user is using Windows or Mac. I see in the LiveCode Dictionary that the machine function returns "x86" for Windows, but doesn't say what to expect from OS X. On my OS X desktop it returns "unknown". Is there more complete documentation about this? Peter UCLA From mwieder at ahsoftware.net Sat Mar 3 01:31:27 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 2 Mar 2012 22:31:27 -0800 Subject: User's System In-Reply-To: References: <4F515A12.000003.05772@CALS_BIG_PC> Message-ID: <147273891796.20120302223127@ahsoftware.net> Peter- Friday, March 2, 2012, 10:27:28 PM, you wrote: > I want to determine if the user is using Windows or Mac. put the platform -- -Mark Wieder mwieder at ahsoftware.net From bogdanoff at me.com Sat Mar 3 01:37:20 2012 From: bogdanoff at me.com (Peter Bogdanoff) Date: Fri, 2 Mar 2012 22:37:20 -0800 Subject: User's System In-Reply-To: <147273891796.20120302223127@ahsoftware.net> References: <4F515A12.000003.05772@CALS_BIG_PC> <147273891796.20120302223127@ahsoftware.net> Message-ID: <32EF579B-C176-416E-838A-A71A4A3121D2@me.com> Hah! Thanks. On Mar 2, 2012, at 10:31 PM, Mark Wieder wrote: > Peter- > > Friday, March 2, 2012, 10:27:28 PM, you wrote: > >> I want to determine if the user is using Windows or Mac. > > put the platform > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sat Mar 3 02:08:37 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 03 Mar 2012 09:08:37 +0200 Subject: User's System In-Reply-To: References: <4F515A12.000003.05772@CALS_BIG_PC> Message-ID: <4F51C375.2090400@gmail.com> On 03/03/2012 08:27 AM, Peter Bogdanoff wrote: > I want to determine if the user is using Windows or Mac. > > I see in the LiveCode Dictionary that the machine function returns "x86" for Windows, but doesn't say what to expect from OS X. > > On my OS X desktop it returns "unknown". > > Is there more complete documentation about this? > > Peter > UCLA > _______________________________________________ > The documentation is a bit 'dicky', and on my Linux box "put the machine" gives me i686 (which presumably is going to be exactly what "put the machine" would do if the same machine were running Windows); so, a fat lot of good. My macMini PPC gets 'unknown' from "put the machine'; also fairly useless. HOWEVER: "put the platform" yields 'Linux' and 'MacOS' respectively; and, I assume, this should give you 'Windows' or somesuch for Windows. I wonder what the purpose of 'machine' is as it is so obviously incomplete? Richmond. From richmondmathewson at gmail.com Sat Mar 3 02:42:29 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 03 Mar 2012 09:42:29 +0200 Subject: CAE + Message-ID: <4F51CB65.1020807@gmail.com> https://www.teachers.cambridgeesol.org/ts/exams/generalenglish/cae/writing?tab=marked Police state Britain: http://nannyknowsbest.blogspot.com/2012/03/nanny-bans-jolly-roger.html From richmondmathewson at gmail.com Sat Mar 3 02:47:32 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 03 Mar 2012 09:47:32 +0200 Subject: [OT] wandering off topic Message-ID: <4F51CC94.2070901@gmail.com> Sorry chaps: The posting entitled "CAE +' was meant for somebody else; at this time of the morning my brain automatically types "use" into the 'to' line of Mozilla Thunderbird. Mind you, the article about the Jolly Roger is symptomatic of what is happening in "the Mother of Demoocracy". From richmondmathewson at gmail.com Sat Mar 3 03:14:17 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 03 Mar 2012 10:14:17 +0200 Subject: [OT] Become a man with staying power Message-ID: <4F51D2D9.8090502@gmail.com> More joyous messages in my in-box! I have indeed become a man with staying power, just having passed the 3 year mark since I began my quest to write the ultimate Sanskrit input system; and working hard towards the finishing line. ---------------------------------------------------------------------------------- Another word that, for some strange reason, I associate with men with staying power is 'mate'; and, unfortunately, I have to report I am having a small problem with my MATE: This morning, while messing around to try and answer that posting about 'machine' and 'platform' I found that trying to scroll down the documentation in LC 4.5 crashes the IDE under Ubuntu 12.04 with MATE. Oddly enough, 'LC' Runtime Revolution 2.2.1 for Linux is rock-solid. So, obviously, older versions have more staying power . . . :) Richmond Mathewson (50 years old at the last count). From bvg at mac.com Sat Mar 3 05:13:07 2012 From: bvg at mac.com (Bjoernke von Gierke) Date: Sat, 03 Mar 2012 11:13:07 +0100 Subject: User's System In-Reply-To: <4F51C375.2090400@gmail.com> References: <4F515A12.000003.05772@CALS_BIG_PC> <4F51C375.2090400@gmail.com> Message-ID: <3C6D371F-5822-4DEE-85F5-45171ACBD3C4@mac.com> It used to be complete, but when RunRev took the engine over, they neglected to update any of that information since then. Because it's somehow hardcoded, and doesn't actually expose any OS-delivered information directly, it's been wrong, misleading and/or simply deprecated since then. On 03.03.2012, at 08:08, Richmond wrote: > On 03/03/2012 08:27 AM, Peter Bogdanoff wrote: >> I want to determine if the user is using Windows or Mac. >> >> I see in the LiveCode Dictionary that the machine function returns "x86" for Windows, but doesn't say what to expect from OS X. >> >> On my OS X desktop it returns "unknown". >> >> Is there more complete documentation about this? >> >> Peter >> UCLA >> _______________________________________________ >> > > The documentation is a bit 'dicky', and on my Linux box "put the machine" gives me i686 (which presumably is going to be > exactly what "put the machine" would do if the same machine were running Windows); so, a fat lot of good. > > My macMini PPC gets 'unknown' from "put the machine'; also fairly useless. > > HOWEVER: "put the platform" yields 'Linux' and 'MacOS' respectively; and, I assume, this should give you 'Windows' or somesuch > for Windows. > > I wonder what the purpose of 'machine' is as it is so obviously incomplete? > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Sat Mar 3 11:19:30 2012 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 3 Mar 2012 11:19:30 -0500 Subject: User's System In-Reply-To: <4F51C375.2090400@gmail.com> References: <4F515A12.000003.05772@CALS_BIG_PC> <4F51C375.2090400@gmail.com> Message-ID: On Sat, Mar 3, 2012 at 2:08 AM, Richmond wrote: > The documentation is a bit 'dicky', and on my Linux box "put the machine" > gives me i686 (which presumably is going to be > exactly what "put the machine" would do if the same machine were running > Windows); so, a fat lot of good. > > My macMini PPC gets 'unknown' from "put the machine'; also fairly useless. > > HOWEVER: "put the platform" yields 'Linux' and 'MacOS' respectively; and, > I assume, this should give you 'Windows' or somesuch > for Windows. > > I wonder what the purpose of 'machine' is as it is so obviously incomplete? > > Richmond. Windows returns "Win32" as the platform (even when running a 64-bit OS). This is probably because the LC engine itself is still 32-bit, and therefore doesn't see the machine beyond it's own encapsulation in 32-bit space. ~Roger From richmondmathewson at gmail.com Sat Mar 3 12:34:30 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 03 Mar 2012 19:34:30 +0200 Subject: User's System In-Reply-To: References: <4F515A12.000003.05772@CALS_BIG_PC> <4F51C375.2090400@gmail.com> Message-ID: <4F525626.6020300@gmail.com> On 03/03/2012 06:19 PM, Roger Eller wrote: > On Sat, Mar 3, 2012 at 2:08 AM, Richmond wrote: > >> The documentation is a bit 'dicky', and on my Linux box "put the machine" >> gives me i686 (which presumably is going to be >> exactly what "put the machine" would do if the same machine were running >> Windows); so, a fat lot of good. >> >> My macMini PPC gets 'unknown' from "put the machine'; also fairly useless. >> >> HOWEVER: "put the platform" yields 'Linux' and 'MacOS' respectively; and, >> I assume, this should give you 'Windows' or somesuch >> for Windows. >> >> I wonder what the purpose of 'machine' is as it is so obviously incomplete? >> >> Richmond. > > Windows returns "Win32" as the platform (even when running a 64-bit OS). > This is probably because the LC engine itself is still 32-bit, and > therefore doesn't see the machine beyond it's own encapsulation in 32-bit > space. I wouldn't really fuss unduly about the '32' (at least its not '42' !!!!). I would be most grateful if you could do a "put the machine" in your Message Box to see what that returns. I wonder what 'put the platform' yields for all the mobile platforms? > > ~Roger > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Sat Mar 3 12:45:44 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 3 Mar 2012 09:45:44 -0800 Subject: [OT] wandering off topic In-Reply-To: <4F51CC94.2070901@gmail.com> References: <4F51CC94.2070901@gmail.com> Message-ID: <18314348734.20120303094544@ahsoftware.net> Richmond- Friday, March 2, 2012, 11:47:32 PM, you wrote: > what is happening in "the Mother of Demoocracy". Greece? -- -Mark Wieder mwieder at ahsoftware.net From richmondmathewson at gmail.com Sat Mar 3 12:51:58 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 03 Mar 2012 19:51:58 +0200 Subject: [OT] wandering off topic In-Reply-To: <18314348734.20120303094544@ahsoftware.net> References: <4F51CC94.2070901@gmail.com> <18314348734.20120303094544@ahsoftware.net> Message-ID: <4F525A3E.6090001@gmail.com> On 03/03/2012 07:45 PM, Mark Wieder wrote: > Richmond- > > Friday, March 2, 2012, 11:47:32 PM, you wrote: > >> what is happening in "the Mother of Demoocracy". > Greece? > Sorry; both for "DemOOcracy" and missing Greece. What I meant was "the mother of all Parliaments". Which, of course, as just as much poppycock as the bit about "democracy". From richmondmathewson at gmail.com Sat Mar 3 13:12:28 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 03 Mar 2012 20:12:28 +0200 Subject: User's System In-Reply-To: <4F525626.6020300@gmail.com> References: <4F515A12.000003.05772@CALS_BIG_PC> <4F51C375.2090400@gmail.com> <4F525626.6020300@gmail.com> Message-ID: <4F525F0C.9050507@gmail.com> Having noted that the opening the Documentation stack in RR/LC 4.5 under Linux-with-MATE crashes the IDE I should, perhaps, point out that exactly the same happens with RR/LC 4.0. Metacard IDE 4.1 with engine 4.5.0-dp-4 behaves impeccably. Perhaps, more informative than either PLATFORM or MACHINE is SYSTEMVERSION: this yields "Linux 3.2.0-17-generic" (i.e. the kernel) on my Ubuntu-MATE box, and "10.4.11" on my macMini PPC. 'put the platform && the systemVersion' gives me "MacOS 10.4.11" on the macMini, HOWEVER; in Virtual Box running Windows XP I get "Win32 NT 5.1" which is not quite what I expected. From bdrunrev at gmail.com Sat Mar 3 14:02:55 2012 From: bdrunrev at gmail.com (Bernard Devlin) Date: Sat, 3 Mar 2012 19:02:55 +0000 Subject: User's System In-Reply-To: <4F525F0C.9050507@gmail.com> References: <4F515A12.000003.05772@CALS_BIG_PC> <4F51C375.2090400@gmail.com> <4F525626.6020300@gmail.com> <4F525F0C.9050507@gmail.com> Message-ID: Windows 3.1 was Win16. Windows 95 and Windows NT (3.5 and 4) were Win32 and were NT. It was around Windows 3.11 that Microsoft threw in Win32s, which was apparently a deliberate move to stop Windows 3.1 working inside OS/2's virtualisation system (where Windows ran better than it did outside of OS/2). Even though Microsoft dropped the NT naming from Windows 2000 and XP, they were still NT beneath the branding. Bernard On Sat, Mar 3, 2012 at 6:12 PM, Richmond wrote: > HOWEVER; in Virtual Box running Windows XP I get "Win32 NT 5.1" which is not > quite what I expected. From bdrunrev at gmail.com Sat Mar 3 14:05:02 2012 From: bdrunrev at gmail.com (Bernard Devlin) Date: Sat, 3 Mar 2012 19:05:02 +0000 Subject: User's System In-Reply-To: References: <4F515A12.000003.05772@CALS_BIG_PC> <4F51C375.2090400@gmail.com> <4F525626.6020300@gmail.com> <4F525F0C.9050507@gmail.com> Message-ID: I'm not saying Win95 was based on NT (it wasnt'). I mean NT 3.5 and 4 were Win32 and NT. Bernard On Sat, Mar 3, 2012 at 7:02 PM, Bernard Devlin wrote: > Windows 3.1 was Win16. ?Windows 95 and Windows NT (3.5 and 4) were > Win32 and were NT. From kray at sonsothunder.com Sat Mar 3 14:29:26 2012 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 3 Mar 2012 13:29:26 -0600 Subject: User's System In-Reply-To: <4F525F0C.9050507@gmail.com> References: <4F515A12.000003.05772@CALS_BIG_PC> <4F51C375.2090400@gmail.com> <4F525626.6020300@gmail.com> <4F525F0C.9050507@gmail.com> Message-ID: <8FE2348D-92C5-4D8F-8501-69422157D6AA@sonsothunder.com> > HOWEVER; in Virtual Box running Windows XP I get "Win32 NT 5.1" which is not quite what I expected. This might help: http://www.sonsothunder.com/devres/livecode/tips/env003.htm :D Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From richmondmathewson at gmail.com Sat Mar 3 15:19:41 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 03 Mar 2012 22:19:41 +0200 Subject: User's System In-Reply-To: <8FE2348D-92C5-4D8F-8501-69422157D6AA@sonsothunder.com> References: <4F515A12.000003.05772@CALS_BIG_PC> <4F51C375.2090400@gmail.com> <4F525626.6020300@gmail.com> <4F525F0C.9050507@gmail.com> <8FE2348D-92C5-4D8F-8501-69422157D6AA@sonsothunder.com> Message-ID: <4F527CDD.8000103@gmail.com> On 03/03/2012 09:29 PM, Ken Ray wrote: >> HOWEVER; in Virtual Box running Windows XP I get "Win32 NT 5.1" which is not quite what I expected. > This might help: > > http://www.sonsothunder.com/devres/livecode/tips/env003.htm > > :D That's useful; even if rather inconsistent of Microsoft. Are we take it that Windows 8 will show up as NT 6.2 ? > > Ken Ray > Sons of Thunder Software, Inc. > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sat Mar 3 15:50:13 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 03 Mar 2012 14:50:13 -0600 Subject: [iOS] Suspending and quitting Message-ID: <4F528405.2060005@hyperactivesw.com> I have code in my iOS app that fakes a "suspend" so it can pick up where the user left off when they come back to the app. Now I'm trying to figure out when to use it. Is it logical to assume that if the user presses the Home button, they mean to quit? And if they push up the window to switch to another app, they mean to suspend? And if that's true, how would I know when the Home button is pressed? I don't think it's possible. Also, if the app is "resuming" I don't want the splash screen to show, the app should just appear in the state the user left it. Is there a way to avoid the splash? How do you handle the situation in general? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Sat Mar 3 15:58:02 2012 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 03 Mar 2012 12:58:02 -0800 Subject: [iOS] Suspending and quitting In-Reply-To: <4F528405.2060005@hyperactivesw.com> Message-ID: Recently, Jacque Landman Gay wrote: > Also, if the app is "resuming" I don't want the splash screen to show, > the app should just appear in the state the user left it. Is there a way > to avoid the splash? Isn't this a case where you avoid the splash screen setting of the SB and show your own splash screen in the app? Regards, Scott Rossi Creative Director Tactile Media, UX Design From mwieder at ahsoftware.net Sat Mar 3 16:12:27 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 3 Mar 2012 13:12:27 -0800 Subject: User's System In-Reply-To: <4F527CDD.8000103@gmail.com> References: <4F515A12.000003.05772@CALS_BIG_PC> <4F51C375.2090400@gmail.com> <4F525626.6020300@gmail.com> <4F525F0C.9050507@gmail.com> <8FE2348D-92C5-4D8F-8501-69422157D6AA@sonsothunder.com> <4F527CDD.8000103@gmail.com> Message-ID: <29326751921.20120303131227@ahsoftware.net> Richmond- Saturday, March 3, 2012, 12:19:41 PM, you wrote: > Are we take it that Windows 8 will show up as NT 6.2 ? 6.1, at least so far in the Consumer Preview in Virtualbox. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Sat Mar 3 16:20:16 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 03 Mar 2012 15:20:16 -0600 Subject: [iOS] Suspending and quitting In-Reply-To: References: Message-ID: <4F528B10.3090305@hyperactivesw.com> On 3/3/12 2:58 PM, Scott Rossi wrote: > Recently, Jacque Landman Gay wrote: > >> Also, if the app is "resuming" I don't want the splash screen to show, >> the app should just appear in the state the user left it. Is there a way >> to avoid the splash? > > Isn't this a case where you avoid the splash screen setting of the SB and > show your own splash screen in the app? I think you're right. But I still haven't figured out when to do that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From m.schonewille at economy-x-talk.com Sat Mar 3 16:22:46 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 3 Mar 2012 22:22:46 +0100 Subject: Installer Maker Plugin for LiveCode 25% Off Message-ID: <69FA02C9-E104-4F84-BE5F-679D7E3969AE@economy-x-talk.com> Hi everyone, It's Spring and that's a good time to do something nice. Economy-x-Talk is offering all new customers a 25% discount on a license for the Installer Maker Plugin for LiveCode. IM for LC is an easy way to make installers for Windows and Mac OS X with nothing but LiveCode. please go to http://qery.us/1v7 for more info about the discount and the Installer Maker Plugin. The discount is available until Friday 9th March 2012. -- 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 1.7 for LiveCode here http://qery.us/za From richmondmathewson at gmail.com Sat Mar 3 16:39:12 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 03 Mar 2012 23:39:12 +0200 Subject: User's System In-Reply-To: <29326751921.20120303131227@ahsoftware.net> References: <4F515A12.000003.05772@CALS_BIG_PC> <4F51C375.2090400@gmail.com> <4F525626.6020300@gmail.com> <4F525F0C.9050507@gmail.com> <8FE2348D-92C5-4D8F-8501-69422157D6AA@sonsothunder.com> <4F527CDD.8000103@gmail.com> <29326751921.20120303131227@ahsoftware.net> Message-ID: <4F528F80.8020606@gmail.com> On 03/03/2012 11:12 PM, Mark Wieder wrote: > Richmond- > > Saturday, March 3, 2012, 12:19:41 PM, you wrote: > >> Are we take it that Windows 8 will show up as NT 6.2 ? > 6.1, at least so far in the Consumer Preview in Virtualbox. > Well, that's going to be a bit confusing, as Windows 7 will also show up as 6.1 From gerry.orkin at gmail.com Sat Mar 3 17:40:51 2012 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Sun, 4 Mar 2012 09:40:51 +1100 Subject: [iOS] Suspending and quitting In-Reply-To: <4F528B10.3090305@hyperactivesw.com> References: <4F528B10.3090305@hyperactivesw.com> Message-ID: <2AF780CA-5096-4149-91EC-1FB1638E7061@gmail.com> I'm pretty sure you can't suppress the splash screen. As for the best place to run your code for saving the current state of the app...I use the shutdown message. Gerry -- Sent from my iPhone. From jrosat at mac.com Sat Mar 3 18:00:55 2012 From: jrosat at mac.com (=?iso-8859-1?Q?J=E9r=F4me_Rosat?=) Date: Sun, 04 Mar 2012 00:00:55 +0100 Subject: Sqlite and performances in LiveCode Message-ID: Hi all, I have to create a small application to access an SQLite database. This database contains approximately 150,000 records and it increases by about 5,000 records per month. Before beginning, I read the lesson "Displaying Large Amounts of Data" on the site of RunRev and I did tests with the sample stack and database (50'000 records). I was surprised by the performance of LiveCode. When I use the stack (or the standalone app, the query of all the records takes about 932 milliseconds. But when I use SQLiteManager (an app that I use to manage sqlite files) with the same table, at the same place, the query of all the records takes about 194 milliseconds. Does LiveCode is less efficient to query databases than others development tools? Do you have any ideas to improve performance? Thank you for your feedback. J?r?me From jacque at hyperactivesw.com Sat Mar 3 18:17:23 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 03 Mar 2012 17:17:23 -0600 Subject: [iOS] Suspending and quitting In-Reply-To: <2AF780CA-5096-4149-91EC-1FB1638E7061@gmail.com> References: <4F528B10.3090305@hyperactivesw.com> <2AF780CA-5096-4149-91EC-1FB1638E7061@gmail.com> Message-ID: <4F52A683.2040902@hyperactivesw.com> On 3/3/12 4:40 PM, Gerry Orkin wrote: > I'm pretty sure you can't suppress the splash screen. Yes, sounds that way. > > As for the best place to run your code for saving the current state > of the app...I use the shutdown message. I'm doing that too, but I need a way to know when to reload the saved state. If the user has "quit" by pressing the Home button then I don't want to restore the previous state, I want to start new. I suspect it's impossible to know. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tsj at unimelb.edu.au Sat Mar 3 18:46:23 2012 From: tsj at unimelb.edu.au (Terry Judd) Date: Sat, 3 Mar 2012 23:46:23 +0000 Subject: [iOS] Suspending and quitting In-Reply-To: <4F52A683.2040902@hyperactivesw.com> References: <4F528B10.3090305@hyperactivesw.com> <2AF780CA-5096-4149-91EC-1FB1638E7061@gmail.com> <4F52A683.2040902@hyperactivesw.com> Message-ID: <7E73E4E8-8D22-4BD9-A665-30A9FC99654E@unimelb.edu.au> On 04/03/2012, at 10:17 AM, J. Landman Gay wrote: On 3/3/12 4:40 PM, Gerry Orkin wrote: I'm pretty sure you can't suppress the splash screen. Yes, sounds that way. As for the best place to run your code for saving the current state of the app...I use the shutdown message. I'm doing that too, but I need a way to know when to reload the saved state. If the user has "quit" by pressing the Home button then I don't want to restore the previous state, I want to start new. I suspect it's impossible to know. I don't think you can. My apps use logins and session tokens so if the user 'restarts' the app while the session token is still valid I ask them whether they want to resume or start afresh. Terry... -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From jacque at hyperactivesw.com Sat Mar 3 19:16:28 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 03 Mar 2012 18:16:28 -0600 Subject: [iOS] Suspending and quitting In-Reply-To: <7E73E4E8-8D22-4BD9-A665-30A9FC99654E@unimelb.edu.au> References: <4F528B10.3090305@hyperactivesw.com> <2AF780CA-5096-4149-91EC-1FB1638E7061@gmail.com> <4F52A683.2040902@hyperactivesw.com> <7E73E4E8-8D22-4BD9-A665-30A9FC99654E@unimelb.edu.au> Message-ID: <4F52B45C.4080004@hyperactivesw.com> On 3/3/12 5:46 PM, Terry Judd wrote: > I don't think you can. My apps use logins and session tokens so if > the user 'restarts' the app while the session token is still valid I > ask them whether they want to resume or start afresh. Thanks, I guess I'll keep it as it is. It just looks funny when the user returns from a brief excursion to another app and the first card loads instead of the one they were on when they left. I'd like it to pick up where they left off so that it really looks "resumed". -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gerry.orkin at gmail.com Sat Mar 3 19:25:48 2012 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Sun, 4 Mar 2012 11:25:48 +1100 Subject: [iOS] Suspending and quitting In-Reply-To: <4F52A683.2040902@hyperactivesw.com> References: <4F528B10.3090305@hyperactivesw.com> <2AF780CA-5096-4149-91EC-1FB1638E7061@gmail.com> <4F52A683.2040902@hyperactivesw.com> Message-ID: <546A5B76-1EE4-4A0C-A0C6-8DFCAFC7C9E8@gmail.com> Oh right, sorry...misunderstood. No, you can't tell the method by which the user has switched or quit from an app, as far as I've been able to tell. But it's probably not a big issue - I don't think the average user uses the "task list" method of switching to other apps. Gerry On 04/03/2012, at 10:17 AM, J. Landman Gay wrote: > I'm doing that too, but I need a way to know when to reload the saved state. If the user has "quit" by pressing the Home button then I don't want to restore the previous state, I want to start new. > > I suspect it's impossible to know. From gerry.orkin at gmail.com Sat Mar 3 19:28:37 2012 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Sun, 4 Mar 2012 11:28:37 +1100 Subject: Sqlite and performances in LiveCode In-Reply-To: References: Message-ID: It could be the difference in the time taken to display the returned records? I've found SQLite in LC to be pretty fast in searching large data sets. Gerry On 04/03/2012, at 10:00 AM, J?r?me Rosat wrote: > Do you have any ideas to improve performance? From dsc at swcp.com Sat Mar 3 19:34:26 2012 From: dsc at swcp.com (Dar Scott) Date: Sat, 3 Mar 2012 17:34:26 -0700 Subject: [iOS] Suspending and quitting In-Reply-To: <4F528405.2060005@hyperactivesw.com> References: <4F528405.2060005@hyperactivesw.com> Message-ID: I'm still learning how things are supposed to be on iOS, so this is just a thought. I think you almost always "suspend" unless the user pushed a button on the app to "quit". I can't point to any guidelines. Maybe there is some clear function that can also bring the state of the app to the same as after a "quit". Dar On Mar 3, 2012, at 1:50 PM, J. Landman Gay wrote: > I have code in my iOS app that fakes a "suspend" so it can pick up where the user left off when they come back to the app. Now I'm trying to figure out when to use it. > > Is it logical to assume that if the user presses the Home button, they mean to quit? And if they push up the window to switch to another app, they mean to suspend? And if that's true, how would I know when the Home button is pressed? I don't think it's possible. > > Also, if the app is "resuming" I don't want the splash screen to show, the app should just appear in the state the user left it. Is there a way to avoid the splash? > > How do you handle the situation in general? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Sat Mar 3 19:42:07 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sun, 4 Mar 2012 01:42:07 +0100 Subject: [iOS] Suspending and quitting In-Reply-To: <4F52B45C.4080004@hyperactivesw.com> References: <4F528B10.3090305@hyperactivesw.com> <2AF780CA-5096-4149-91EC-1FB1638E7061@gmail.com> <4F52A683.2040902@hyperactivesw.com> <7E73E4E8-8D22-4BD9-A665-30A9FC99654E@unimelb.edu.au> <4F52B45C.4080004@hyperactivesw.com> Message-ID: Hi Jacque, couldn?t you add an user option in the settings of the app e.g. "always resume from where i left?". If the user checks this option, the app always resume to the last opened card. If not checked, the app starts with the first card. So the user might not be confused. Regards, Matthias Am 04.03.2012 um 01:16 schrieb J. Landman Gay: > On 3/3/12 5:46 PM, Terry Judd wrote: > >> I don't think you can. My apps use logins and session tokens so if >> the user 'restarts' the app while the session token is still valid I >> ask them whether they want to resume or start afresh. > > Thanks, I guess I'll keep it as it is. It just looks funny when the user returns from a brief excursion to another app and the first card loads instead of the one they were on when they left. I'd like it to pick up where they left off so that it really looks "resumed". > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lan.kc.macmail at gmail.com Sat Mar 3 21:37:29 2012 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sun, 4 Mar 2012 10:37:29 +0800 Subject: Sqlite and performances in LiveCode In-Reply-To: References: Message-ID: On Sun, Mar 4, 2012 at 7:00 AM, J?r?me Rosat wrote: > Do you have any ideas to improve performance? > > If the 'SQLiteManager' you refer to is the same one I use with FireFox, in my case it only displays 100 records at a time, you have to click the Next button to see more - so this is a performance trick you can do with LC. Instead of extracting 150000 records in one go, and displaying it in a field in one go( which will take a long time) only extract 100 records (which will take significantly less time) and have a Next button, just like SQLIte Manager, to retrieve the next 100 records. If I'm right, the the fact that LC only took 4.4 times longer to display 1500 times more records would suggest that you'll be able to do a lot better with LC HTH From gerry.orkin at gmail.com Sat Mar 3 22:08:26 2012 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Sun, 4 Mar 2012 14:08:26 +1100 Subject: [iOS] Suspending and quitting In-Reply-To: References: <4F528405.2060005@hyperactivesw.com> Message-ID: <2611A714-BDF4-4493-90E3-95E959413BBF@gmail.com> Dar Scott wrote: > I think you almost always "suspend" unless the user pushed a button on the app to "quit". I can't point to any guidelines. LC iOS apps don't suspend - they only quit. We might get the ability to suspend them in the future, but we don't have it right now. I've never seen an iOS app with a quit button. See here for more information: https://developer.apple.com/library/ios/#qa/qa1561/_index.html Gerry From capellan2000 at gmail.com Sat Mar 3 22:39:59 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 3 Mar 2012 19:39:59 -0800 (PST) Subject: Spinning object animation Message-ID: <1330832399694-4442898.post@n4.nabble.com> Hi All, This handler change the frames of an animated gif to simulate a rotating object, but is not working as expected. One of these animations moves in the opposite direction in which it is dragged with the mouse... :-( The user should click inside the image, holding down the mouse button and moving inside the image from left to right or viceversa and the animation should change of frames. If you want to see this strange effect download, for example, these gif images: http://www.createdesignsolutions.com/images/spinning_globe.gif http://www.tabletopstudio.com/images/3d/ezspins/vase_nb.gif Create a new stack, with two cards and import each image to a different card. Now, paste the following script in the stack script editor: local tMouse,tLoc,tImageFrame on mouseenter if word 1 of the target is "image" then set the lockCursor to true set the cursor to hand end if end mouseenter on mouseleave mouseup if word 1 of the target is "image" then set the lockCursor to false end mouseleave on mousedown put 1 into tMouse put the mouseloc into tLoc put item 1 of tLoc into tLoc put the currentframe of img 1 into tImageFrame put tImageFrame && the currentframe of img 1 end mousedown on mouseup put empty into tMouse put empty into tLoc put empty into tImageFrame end mouseup on mouseMove x,y if tMouse = 1 then if (abs(tLoc - x) mod 12) = 0 then switch case (tLoc - x) > 0 put tImageFrame && the currentframe of img 1 if the currentframe of img 1 = the framecount of img 1 then set the currentframe of img 1 to 1 put tImageFrame && the currentframe of img 1 else set the currentframe of img 1 to the currentframe of img 1 + 1 put tImageFrame && the currentframe of img 1 end if break case (tLoc - x) < 0 put tImageFrame && the currentframe of img 1 if the currentframe of img 1 = 1 then set the currentframe of img 1 to the framecount of img 1 put tImageFrame && the currentframe of img 1 else set the currentframe of img 1 to the currentframe of img 1 - 1 put tImageFrame && the currentframe of img 1 end if break end switch end if end if end mouseMove Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Spinning-object-animation-tp4442898p4442898.html Sent from the Revolution - User mailing list archive at Nabble.com. From sl at trackandfieldnews.com Sat Mar 3 22:56:01 2012 From: sl at trackandfieldnews.com (Sieg Lindstrom) Date: Sat, 3 Mar 2012 19:56:01 -0800 Subject: en- & em-dash paste from Word (followup) In-Reply-To: References: Message-ID: <84E2D2BD-7C65-43F4-8624-9D724E4E6123@trackandfieldnews.com> I brought this up in December and got a suggestion I thought would work. Alas, it didn't. I have a parsing tool running on OSX in which I paste text from Word (Mac Office, was using 2004 in December, using 2011 now) into a field. When I paste en and em dashes (charToNums 208 and 209) disappear. It's true that pasting from Word to TextEdit and then into the LiveCode field solves the problem and these characters don't disappear. But that's a real pain if you have to do it dozens of times a day. The suggested solution was basically... put the clipboardData into tText ... then find the en and em dashes and replace as needed in tText and put tText into the relevant field. Turns out that LiveCode still doesn't see the characters. If I paste a single en- or em-dash, LiveCode sees the clipboardData as being type "text" but its length is 0 and charToNum of the character returns nothing. Inquiring again in case anybody knows more about clipboardData that might suggest a solution. I tried workarounds that turned these characters into plain-vanilla hyphens but the three dash types key too many actions by the parser and I wound up down an ever-more complicated trail of unintended consequences in multiple handlers, and misparsed data. This copy and paste worked fine in RunRev. Thank you. Sieg Lindstrom From sl at trackandfieldnews.com Sat Mar 3 23:10:41 2012 From: sl at trackandfieldnews.com (Sieg Lindstrom) Date: Sat, 3 Mar 2012 20:10:41 -0800 Subject: "can't find handler" error in script that worked before In-Reply-To: References: Message-ID: <5FFAE192-8491-44F4-AD78-55F2169CEF20@trackandfieldnews.com> My second post tonight while I'm thinking of it. I have an app that ran flawlessly under RunRev. Now, using LiveCode 5.0.2, a handler in a button script that calls another handler in the stack script returns a "can't find handler" error. It was easy to fix by moving the "unfindable" handler into the button script, but shouldn't a button be able to call a handler in the stack script? It worked before, hasn't been modified and all variables are properly made global. ???? Thanks. Sieg Lindstrom From dsc at swcp.com Sat Mar 3 23:22:17 2012 From: dsc at swcp.com (Dar Scott) Date: Sat, 3 Mar 2012 21:22:17 -0700 Subject: [iOS] Suspending and quitting In-Reply-To: <2611A714-BDF4-4493-90E3-95E959413BBF@gmail.com> References: <4F528405.2060005@hyperactivesw.com> <2611A714-BDF4-4493-90E3-95E959413BBF@gmail.com> Message-ID: <5DC630AA-2EB0-476B-BD20-ACE9CB30B07C@swcp.com> I apologize. I was not clear. I was trying to suggest that one can design the app so that every launch is a virtual resume. Dar On Mar 3, 2012, at 8:08 PM, Gerry Orkin wrote: > Dar Scott wrote: > >> I think you almost always "suspend" unless the user pushed a button on the app to "quit". I can't point to any guidelines. > > LC iOS apps don't suspend - they only quit. We might get the ability to suspend them in the future, but we don't have it right now. > > I've never seen an iOS app with a quit button. See here for more information: https://developer.apple.com/library/ios/#qa/qa1561/_index.html > > Gerry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode --------------------------- Dar Scott dba Dar Scott Consulting 8637 Horacio Place NE Albuquerque, NM 87111 Lab, home, office phone: +1 505 299 9497 For Skype and fax, please contact. dsc at swcp.com Computer Programming and tinkering, often making LiveCode libraries and externals, sometimes writing associated microcontroller firmware. --------------------------- From lan.kc.macmail at gmail.com Sun Mar 4 00:09:22 2012 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sun, 4 Mar 2012 13:09:22 +0800 Subject: [iOS] Suspending and quitting In-Reply-To: <2611A714-BDF4-4493-90E3-95E959413BBF@gmail.com> References: <4F528405.2060005@hyperactivesw.com> <2611A714-BDF4-4493-90E3-95E959413BBF@gmail.com> Message-ID: On Sun, Mar 4, 2012 at 11:08 AM, Gerry Orkin wrote: > > I've never seen an iOS app with a quit button. > > Same here. Nor have I seen any app that behaves differently depending on how you leave, only if you really Quit or not. Some apps (eReaders particularly) always return you to where you left off, whether you leave the app by Home button, Task list, actually Quit the app (which most people don't know how to do) and return, or turn your iPhone off and back on again. Other apps (think games) seem to always start at the beginning if you've turned your phone off and back on, or actual Quit, but otherwise they too always resume if you leave them by Home button or Task list. Some ask if you want to resume. If you wanted to fake Resuming, when LC is inappropriately Quitting, what about using time. Store a time and if the user comes back within a predetermined time either automatically have your app resume or ask if they want to. Ironic how a program (LC) that is based on an evironment (HC) that bought us the Home button, is having trouble dealing with a Home button. From lan.kc.macmail at gmail.com Sun Mar 4 00:16:18 2012 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sun, 4 Mar 2012 13:16:18 +0800 Subject: "can't find handler" error in script that worked before In-Reply-To: <5FFAE192-8491-44F4-AD78-55F2169CEF20@trackandfieldnews.com> References: <5FFAE192-8491-44F4-AD78-55F2169CEF20@trackandfieldnews.com> Message-ID: Is this in a standalone or a stack you are running in the IDE. There is a know problem with the start-up sequence of 5.0.2 that effects some stacks when run in the IDE. To figure if this is effecting you, start the IDE, then open your stack and see if it works OK. If it does, then this was the problem. If so you just can't open your stack by double clicking it. Hopefullly this will be resolved in the next update. HTH On Sun, Mar 4, 2012 at 12:10 PM, Sieg Lindstrom wrote: > My second post tonight while I'm thinking of it. I have an app that ran > flawlessly under RunRev. Now, using LiveCode 5.0.2, a handler in a button > script that calls another handler in the stack script returns a "can't > find handler" error. > > It was easy to fix by moving the "unfindable" handler into the button > script, but shouldn't a button be able to call a handler in the stack > script? It worked before, hasn't been modified and all variables are > properly made global. ???? > > Thanks. > > Sieg Lindstrom > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Sun Mar 4 00:17:41 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 03 Mar 2012 23:17:41 -0600 Subject: [iOS] Suspending and quitting In-Reply-To: <5DC630AA-2EB0-476B-BD20-ACE9CB30B07C@swcp.com> References: <4F528405.2060005@hyperactivesw.com> <2611A714-BDF4-4493-90E3-95E959413BBF@gmail.com> <5DC630AA-2EB0-476B-BD20-ACE9CB30B07C@swcp.com> Message-ID: <4F52FAF5.4000009@hyperactivesw.com> On 3/3/12 10:22 PM, Dar Scott wrote: > I apologize. I was not clear. > > I was trying to suggest that one can design the app so that every > launch is a virtual resume. That could work but in this case it isn't ideal. I'm thinking of my solitaire game. The main card is the gameboard. The other cards are Settings, Help, Score History, and so forth. They aren't particularly critical. It isn't a huge deal to just find yourself back at the gameboard the next time you open it. But if you're on, say, the Settings page and you switch over to check your email for moment, when you come back you'd logically expect to be at Settings again. Only you aren't, you're back at the gameboard. Nothing is particularly lost, but it's disorienting. I tend to think of a single press on the Home button as a Quit action (like the Android "back" button) because if I press that, I generally mean to stop and do something else. Maybe others don't see it that way. That's part of what I'd like to know. I'm already managing the "resume" behavior by storing the game progress and restoring it on launch. I could easily store the last-visited card as well and go there on launch instead of the gameboard. I guess my question is: should I? And when? And does anyone even care? In my world, the Home button would mean "start over next time" and any other method would mean "come back to this card." In either case, game progress would always be restored. The goal is just a more visually consistent behavior. Maybe it isn't an issue. I only thought of it because the card-jump happened to me today and it looked weird. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Mar 4 00:22:59 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 03 Mar 2012 23:22:59 -0600 Subject: [iOS] Suspending and quitting In-Reply-To: References: <4F528B10.3090305@hyperactivesw.com> <2AF780CA-5096-4149-91EC-1FB1638E7061@gmail.com> <4F52A683.2040902@hyperactivesw.com> <7E73E4E8-8D22-4BD9-A665-30A9FC99654E@unimelb.edu.au> <4F52B45C.4080004@hyperactivesw.com> Message-ID: <4F52FC33.3000603@hyperactivesw.com> On 3/3/12 6:42 PM, Matthias Rebbe wrote: > Hi Jacque, > > couldn?t you add an user option in the settings of the app e.g. "always resume from where i left?". > If the user checks this option, the app always resume to the last opened card. If not checked, the app starts with the first card. > So the user might not be confused. I could, but it seems like overkill in this case. (See my longer post.) Most of the cards aren't critical and in any case, no data is ever lost. It's the esthetics that bother me. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Sun Mar 4 00:29:30 2012 From: dsc at swcp.com (Dar Scott) Date: Sat, 3 Mar 2012 22:29:30 -0700 Subject: [iOS] Suspending and quitting In-Reply-To: <4F528405.2060005@hyperactivesw.com> References: <4F528405.2060005@hyperactivesw.com> Message-ID: When I touch an app icon, the splash image expands and then the app shows the first card. I usually leave an app by the five finger pull. The image of the current card shrinks. This is similar to the shrink of pushing the home button. If I use the four-finger flip to the side to switch apps when I get back to a LiveCode app it slides in the image of the card I left and then shows the first card. That is, it seems the image of the current card is saved and used when I flip back to may app. (I think this is the same as double clicking home.) If I resume from using the menu at the bottom after a four-finger slide up, the splash image flies in and then I get the first card. I think that shown by the 4-finger slide up is called the "running" app bar, but those are really recent apps. (I think this is the same as double clicking home.) But if I use a 4-finger side slide while the "running" app bar is shown while the LC app is showing, when I slide back, I get the splash and not the image of the current card. So, I get splash from touching the icon whether from the home screen or from the "running" app bar. In side flips, I get either an image of the old card or a splash. Maybe the splash screen can be generic rather than the first screen. That is, it can have the background colors and logos and the app name and is appropriate for any card as controls seem to pop up. Maybe you can somehow make this a feature. As far as resuming from suspend, you can make everything a virtual resume. Dar On Mar 3, 2012, at 1:50 PM, J. Landman Gay wrote: > I have code in my iOS app that fakes a "suspend" so it can pick up where the user left off when they come back to the app. Now I'm trying to figure out when to use it. > > Is it logical to assume that if the user presses the Home button, they mean to quit? And if they push up the window to switch to another app, they mean to suspend? And if that's true, how would I know when the Home button is pressed? I don't think it's possible. > > Also, if the app is "resuming" I don't want the splash screen to show, the app should just appear in the state the user left it. Is there a way to avoid the splash? > > How do you handle the situation in general? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode --------------------------- Dar Scott dba Dar Scott Consulting 8637 Horacio Place NE Albuquerque, NM 87111 Lab, home, office phone: +1 505 299 9497 For Skype and fax, please contact. dsc at swcp.com Computer Programming and tinkering, often making LiveCode libraries and externals, sometimes writing associated microcontroller firmware. --------------------------- From lan.kc.macmail at gmail.com Sun Mar 4 00:31:27 2012 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sun, 4 Mar 2012 13:31:27 +0800 Subject: [iOS] Suspending and quitting In-Reply-To: <4F52FAF5.4000009@hyperactivesw.com> References: <4F528405.2060005@hyperactivesw.com> <2611A714-BDF4-4493-90E3-95E959413BBF@gmail.com> <5DC630AA-2EB0-476B-BD20-ACE9CB30B07C@swcp.com> <4F52FAF5.4000009@hyperactivesw.com> Message-ID: On Sun, Mar 4, 2012 at 1:17 PM, J. Landman Gay wrote: > Maybe others don't see it that way. That's part of what I'd like to know. > > If I was on your Settings card, and pressed the Home button so I could send and SMS (which is how I always get to Messages) when I return to your game I'd expect to be at the Settings card. Anything else would be weird. From kdjanz at gmail.com Sun Mar 4 00:51:14 2012 From: kdjanz at gmail.com (kdjanz) Date: Sat, 3 Mar 2012 21:51:14 -0800 (PST) Subject: [iOS] Suspending and quitting In-Reply-To: References: <4F528405.2060005@hyperactivesw.com> <2611A714-BDF4-4493-90E3-95E959413BBF@gmail.com> <5DC630AA-2EB0-476B-BD20-ACE9CB30B07C@swcp.com> <4F52FAF5.4000009@hyperactivesw.com> Message-ID: <1330840274684-4443021.post@n4.nabble.com> Couldn't the splash screen have two buttons - New Game and Resume. If there is saved data from a game in progress the resume is active, but if there is no information to restore, then you just have the choice of New Game (or Settings etc). I don't see the Home button as being "Quit" - nothing in iOS to me is quit - I'm always just moving on to a different app or different context. Some apps restore you to exactly where you were, but many games, especially the action games, start another round. "Resuming" an app is not well defined or fixed and different apps deal with it differently. As long as their method is reasonably logical, I don't really mind as long as I don't lose data. My 2 cents Kelly -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/iOS-Suspending-and-quitting-tp4442267p4443021.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Sun Mar 4 01:12:24 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 04 Mar 2012 00:12:24 -0600 Subject: "can't find handler" error in script that worked before In-Reply-To: <5FFAE192-8491-44F4-AD78-55F2169CEF20@trackandfieldnews.com> References: <5FFAE192-8491-44F4-AD78-55F2169CEF20@trackandfieldnews.com> Message-ID: <4F5307C8.2020101@hyperactivesw.com> On 3/3/12 10:10 PM, Sieg Lindstrom wrote: > My second post tonight while I'm thinking of it. I have an app that > ran flawlessly under RunRev. Now, using LiveCode 5.0.2, a handler in > a button script that calls another handler in the stack script > returns a "can't find handler" error. > > It was easy to fix by moving the "unfindable" handler into the button > script, but shouldn't a button be able to call a handler in the stack > script? It worked before, hasn't been modified and all variables are > properly made global. ???? Is your button in a group? There was a change to how background and card groups receive messages. If the button is in a background group, try changing it to not be a background group (untick the checkbox in the inspector.) You can still share the group across several cards if you want, but the messaging order should correct itself. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Mar 4 01:16:35 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 04 Mar 2012 00:16:35 -0600 Subject: en- & em-dash paste from Word (followup) In-Reply-To: <84E2D2BD-7C65-43F4-8624-9D724E4E6123@trackandfieldnews.com> References: <84E2D2BD-7C65-43F4-8624-9D724E4E6123@trackandfieldnews.com> Message-ID: <4F5308C3.9090401@hyperactivesw.com> On 3/3/12 9:56 PM, Sieg Lindstrom wrote: > When I paste en and em dashes (charToNums 208 and 209) disappear. This has come up before and I can never remember the exact answer, but I think it has something to do with Word using high-ascii or unicode characters. You might try saving the Word file as HTML and looking at the character entities to see if they really are 208 and 209. Maybe they're something else. If they are high ascii numbers then a unicode translation might fix it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Sun Mar 4 05:21:34 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 04 Mar 2012 12:21:34 +0200 Subject: Enlarge with sample Message-ID: <4F53422E.5090001@gmail.com> Almost every day I get these marvellous e-mail messages from well-wishers that spur me onto new ideas with Livecode! Well, for want of anything else to do, I have been trying to enlarge . . . . . . a standalone, after it has been built as a standalone: While a stack is a stack one can drag the lower-right-hand corner if resizeable is set to true, and the stack will resize. Now, at the risk of looking very inexperienced, how can one set a standalone so the end-user can resize that stack? From jrosat at mac.com Sun Mar 4 05:52:27 2012 From: jrosat at mac.com (=?iso-8859-1?Q?J=E9r=F4me_Rosat?=) Date: Sun, 04 Mar 2012 11:52:27 +0100 Subject: Sqlite and performances in LiveCode In-Reply-To: References: Message-ID: <1302DEC3-4247-4912-9940-F1726B6D8B71@mac.com> No, in LiveCode, it takes 138 milliseconds more to display the result. In SQLiteManager, I don't now how many time it takes to display the result. But visually, it takes about 1 second to query and display the records in LiveCode and it is nearly instantaneous in SQLiteManager. Le 4 mars 2012 ? 01:28, Gerry Orkin a ?crit : > It could be the difference in the time taken to display the returned records? > > Gerry > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jrosat at mac.com Sun Mar 4 06:12:53 2012 From: jrosat at mac.com (=?iso-8859-1?Q?J=E9r=F4me_Rosat?=) Date: Sun, 04 Mar 2012 12:12:53 +0100 Subject: Sqlite and performances in LiveCode In-Reply-To: References: Message-ID: <2B9F1B7F-19ED-4738-BF9E-A570457D2938@mac.com> I don't know if SQLiteManager for Firefox is the same one I use (from SQLabs) but it display all the records in one time (I can scroll all the list). But thank you for the suggestion, If necessary I'm going to display only a part of the records with a next button, even if I don't like very much this approach. Le 4 mars 2012 ? 03:37, Kay C Lan a ?crit : > If the 'SQLiteManager' you refer to is the same one I use with FireFox, in > my case it only displays 100 records at a time, you have to click the Next > button to see more - so this is a performance trick you can do with LC. > Instead of extracting 150000 records in one go, and displaying it in a > field in one go( which will take a long time) only extract 100 records > (which will take significantly less time) and have a Next button, just like > SQLIte Manager, to retrieve the next 100 records. > > If I'm right, the the fact that LC only took 4.4 times longer to display > 1500 times more records would suggest that you'll be able to do a lot > better with LC > > HTH > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ken at kencorey.com Sun Mar 4 06:13:11 2012 From: ken at kencorey.com (Ken Corey) Date: Sun, 04 Mar 2012 11:13:11 +0000 Subject: Spinning object animation In-Reply-To: <1330832399694-4442898.post@n4.nabble.com> References: <1330832399694-4442898.post@n4.nabble.com> Message-ID: <4F534E47.6020604@kencorey.com> The frames of the vase are in the opposite order of the globe. Rearrange the frames in the opposite order (I did it in GIMP in < 1 minute). For the vase, frame 2 becomes frame 12, frame 3 becomes 11, 4->10, 5->9, 6->8. It's just swapping the two frames. Also, the movement felt wrong to me. If you started moving towards the right, but now are moving back towards the left, shouldn't the item you appear to have grabbed also be moving towards the left? Something like this: on mouseMove x,y if tMouse = 1 then put trunc((tLoc-x)/5) into tDiff put (tImageFrame + tDiff) mod (the framecount of img 1) \ into tCFrame if tCFrame<0 then add the framecount of img 1 to tCFrame end if set the currentframe of img 1 to tCFrame end if end mouseMove -Ken From lc at pbh.on-rev.com Sun Mar 4 07:25:46 2012 From: lc at pbh.on-rev.com (Paul Hibbert) Date: Sun, 4 Mar 2012 12:25:46 +0000 Subject: Enlarge with sample In-Reply-To: <4F53422E.5090001@gmail.com> References: <4F53422E.5090001@gmail.com> Message-ID: <0D34E501-55E8-40B5-A53C-8F1193A6CED5@pbh.on-rev.com> See 'resizeable' in the dictionary for a full explanation, you can set the property in any script, (preOpenStack makes sense) with? set the resizable of this stack to true ?or use the checkbox in the 'size & position' pane of the stack inspector. Whichever setting you use for the stack should translate to the standalone, you should see the same re-size handle in the lower right corner on a Mac or see the same re-size cursors when you mouse over the window extremities on Windows. If it's not working for you, check that you have the Geometry script library included or use the automatic search for required inclusions under File > Standalone Application Settings. I'm not sure that the Geometry script library affects the standalone window re-sizeing, but it certainly affects the controls on the cards. HTH Paul On 4 Mar 2012, at 10:21, Richmond wrote: > Almost every day I get these marvellous e-mail messages from well-wishers that spur me onto new ideas > with Livecode! > > Well, for want of anything else to do, I have been trying to enlarge . . . > > . . . a standalone, after it has been built as a standalone: > > While a stack is a stack one can drag the lower-right-hand corner if resizeable is set to true, and the stack will resize. > > Now, at the risk of looking very inexperienced, how can one set a standalone so the end-user can resize that stack? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ken at kencorey.com Sun Mar 4 11:35:03 2012 From: ken at kencorey.com (Ken Corey) Date: Sun, 04 Mar 2012 16:35:03 +0000 Subject: Directories on iOS? Message-ID: <4F5399B7.2070607@kencorey.com> Hi All, I found a /hugely/ useful error message just now. My app is called "WriteOn.app", at least for the moment. Hi All, I'm hoping someone can help. I called 'create folder' with the path to my app on my iPad: /var/mobile/Applications/706ECCCF-DC1D-42F1-B71E-F3D96610DAEF/WriteOn.app/Downloaded The error in 'the result' is "can't create that directory". Just lovely. Might as well put the "engine" light on my iPad. It would tell me as much. Can anyone shed a tiny bit more light on that error message? It /shouldn't/ be permissions, because it's within my app's sandbox. It can't be space, as I've got 2.4GB remaining. It shouldn't be rights, as the standalone downloads to the iPad just fine and is attempting to run when this error happens. I don't have AFAICT any other app using the same signature (but that shouldn't matter anyway, should it)? Are there any other reasons why one can't create a folder on iOS from within LiveCode? Thanks, -Ken kcorey ? Posts: 59 Joined: Fri Nov 25, 2011 5:06 pm From mcgrath3 at mac.com Sun Mar 4 11:48:05 2012 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sun, 04 Mar 2012 11:48:05 -0500 Subject: Directories on iOS? In-Reply-To: <4F5399B7.2070607@kencorey.com> References: <4F5399B7.2070607@kencorey.com> Message-ID: There are a few reserved names for folders and places where you can put them. A little code could help figure this one out. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Mar 4, 2012, at 11:35 AM, Ken Corey wrote: > Hi All, > > I found a /hugely/ useful error message just now. > > My app is called "WriteOn.app", at least for the moment. > > Hi All, > > I'm hoping someone can help. > > I called 'create folder' with the path to my app on my iPad: > /var/mobile/Applications/706ECCCF-DC1D-42F1-B71E-F3D96610DAEF/WriteOn.app/Downloaded > > The error in 'the result' is "can't create that directory". Just lovely. Might as well put the "engine" light on my iPad. It would tell me as much. > > Can anyone shed a tiny bit more light on that error message? > It /shouldn't/ be permissions, because it's within my app's sandbox. > It can't be space, as I've got 2.4GB remaining. > It shouldn't be rights, as the standalone downloads to the iPad just fine and is attempting to run when this error happens. > I don't have AFAICT any other app using the same signature (but that shouldn't matter anyway, should it)? > > Are there any other reasons why one can't create a folder on iOS from within LiveCode? > > Thanks, > > -Ken > kcorey > ? > Posts: 59 > Joined: Fri Nov 25, 2011 5:06 pm > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Sun Mar 4 12:09:47 2012 From: coiin at verizon.net (Colin Holgate) Date: Sun, 04 Mar 2012 12:09:47 -0500 Subject: Directories on iOS? In-Reply-To: <4F5399B7.2070607@kencorey.com> References: <4F5399B7.2070607@kencorey.com> Message-ID: <7BA3F0B0-1E52-422B-B228-1875DB842098@verizon.net> You can't write into the application engine directory, but you can write into the application document directory. Instead of using: specialFolderPath("engine") use: specialFolderPath("Documents") From ken at kencorey.com Sun Mar 4 12:54:34 2012 From: ken at kencorey.com (Ken Corey) Date: Sun, 04 Mar 2012 17:54:34 +0000 Subject: Directories on iOS? In-Reply-To: <7BA3F0B0-1E52-422B-B228-1875DB842098@verizon.net> References: <4F5399B7.2070607@kencorey.com> <7BA3F0B0-1E52-422B-B228-1875DB842098@verizon.net> Message-ID: <4F53AC5A.2030807@kencorey.com> Hi Colin & Thomas, Thanks for writing on a Sunday afternoon! Yes, this was it exactly. On 04/03/2012 17:09, Colin Holgate wrote: > specialFolderPath("engine") > use: > specialFolderPath("Documents") My code now gets a little bit farther...and then crashed with one of those cryptic errors about 'revZip'. Ah, yes, I didn't have the revZip checkbox ticked for .zipping. All good now. Thanks guys! -Ken From capellan2000 at gmail.com Sun Mar 4 13:30:42 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 4 Mar 2012 10:30:42 -0800 (PST) Subject: Spinning object animation In-Reply-To: <4F534E47.6020604@kencorey.com> References: <1330832399694-4442898.post@n4.nabble.com> <4F534E47.6020604@kencorey.com> Message-ID: <1330885842391-4443973.post@n4.nabble.com> Hi Ken, Excellent script! :-D Many Thanks for sharing this gem. Works better and faster than my first script. Your comment about the frame order of the spinning vase is correct too. It was really easy to reorder the frames using gimp. Many thanks again! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Spinning-object-animation-tp4442898p4443973.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Sun Mar 4 13:46:22 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 4 Mar 2012 10:46:22 -0800 (PST) Subject: Enlarge with sample In-Reply-To: <0D34E501-55E8-40B5-A53C-8F1193A6CED5@pbh.on-rev.com> References: <4F53422E.5090001@gmail.com> <0D34E501-55E8-40B5-A53C-8F1193A6CED5@pbh.on-rev.com> Message-ID: <1330886782183-4444014.post@n4.nabble.com> Does exists a list of recommended layout styles for resizable programs? Or at least a guide of Do's and Dont's... Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Enlarge-with-sample-tp4443249p4444014.html Sent from the Revolution - User mailing list archive at Nabble.com. From calhorner at xtra.co.nz Sun Mar 4 14:04:43 2012 From: calhorner at xtra.co.nz (Cal Horner) Date: Mon, 5 Mar 2012 08:04:43 +1300 (New Zealand Daylight Time) Subject: Data Grid Templates 1330583110740 Message-ID: <4F53BCCB.000003.02344@CALS_BIG_PC> Hi Bob No, nothing as sophisticated as that. Check the second paragraph of my first posting. It was vanilla LC 5.0.2. Cal From cszasz at mac.com Sun Mar 4 14:43:54 2012 From: cszasz at mac.com (Charles Szasz) Date: Sun, 04 Mar 2012 14:43:54 -0500 Subject: Copying and pasting text into a word processing document Message-ID: <9E9C5E70-64EC-4D0E-80A2-5E05A8314B8C@mac.com> I have completed a number of projects with Rev but none has every involved creating an app that copies text to a clipboard to paste into a word processing document. I want to code an small utility app where the user selects statements by checking a checkbox for each statement so that it is put into the clipboard where the user can then paste them into a word document. I do not want to reinvent the wheel to code this. Any suggestions on how to do this? By the way, I am using Rev 4.0. Charles Szasz cszasz at mac.com From pmbrig at gmail.com Sun Mar 4 15:24:02 2012 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Sun, 4 Mar 2012 15:24:02 -0500 Subject: Data Grid Templates 1330583110740 In-Reply-To: <4F53BCCB.000003.02344@CALS_BIG_PC> References: <4F53BCCB.000003.02344@CALS_BIG_PC> Message-ID: <2EB15CA7-FC00-4930-AC7B-AB5248932357@gmail.com> Impossible to understand this out of context. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Mar 4, 2012, at 2:04 PM, Cal Horner wrote: > Hi Bob > > No, nothing as sophisticated as that. > > Check the second paragraph of my first posting. It was vanilla LC 5.0.2. > > Cal > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Sun Mar 4 15:45:50 2012 From: coiin at verizon.net (Colin Holgate) Date: Sun, 04 Mar 2012 15:45:50 -0500 Subject: Copying and pasting text into a word processing document In-Reply-To: <9E9C5E70-64EC-4D0E-80A2-5E05A8314B8C@mac.com> References: <9E9C5E70-64EC-4D0E-80A2-5E05A8314B8C@mac.com> Message-ID: The function to do that is: set the clipboardData["text"] to "whatever text you want" From dunbarx at aol.com Sun Mar 4 16:53:25 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 4 Mar 2012 16:53:25 -0500 (EST) Subject: Copying and pasting text into a word processing document In-Reply-To: <9E9C5E70-64EC-4D0E-80A2-5E05A8314B8C@mac.com> References: <9E9C5E70-64EC-4D0E-80A2-5E05A8314B8C@mac.com> Message-ID: <8CEC8685C53A5C3-1744-23BEC@webmail-m028.sysops.aol.com> Charles. I don't know how your data is set up. Do you have fields associated with each checkBox? Is the name of the checkBox the actual statement? Or perhaps a property of each checkBox holds the statement? Anyway, if you have a few checkBox buttons, each with a behavior or maybe a mouseUp handler in the card: on mouseup if the hilite of the target then put the short name of the target after the clipBoardData --"name" option if the hilite of the target then put the yourProp of the target after the clipBoardData --"property" option -- this does not handle unchecking. Does this matter? A somewhat larger issue. end mouseUp And in another button: on mouseUp open file "yourFile" write the clipboardData to file "yourFile" close file "yourFile" end mouseup Craig -----Original Message----- From: Charles Szasz To: use-livecode Sent: Sun, Mar 4, 2012 2:47 pm Subject: Copying and pasting text into a word processing document I have completed a number of projects with Rev but none has every involved creating an app that copies text to a clipboard to paste into a word processing document. I want to code an small utility app where the user selects statements by checking a checkbox for each statement so that it is put into the clipboard where the user can then paste them into a word document. I do not want to reinvent the wheel to code this. Any suggestions on how to do this? By the way, I am using Rev 4.0. Charles Szasz cszasz at mac.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Sun Mar 4 16:57:41 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 4 Mar 2012 16:57:41 -0500 (EST) Subject: Copying and pasting text into a word processing document In-Reply-To: <8CEC8685C53A5C3-1744-23BEC@webmail-m028.sysops.aol.com> References: <9E9C5E70-64EC-4D0E-80A2-5E05A8314B8C@mac.com> <8CEC8685C53A5C3-1744-23BEC@webmail-m028.sysops.aol.com> Message-ID: <8CEC868F4D59D89-1744-23C41@webmail-m028.sysops.aol.com> Sorry, the clipBoardData is a property, of course: on mouseup get the clipBoardData if the hilite of the target then set the clipBoardData to it & return & the short name of the target --"name" option if the hilite of the target then set the clipBoardData to it & return & the yourProp of the target --"name" option -- this does not handle unchecking. Does this matter? A somewhat larger issue. end mouseUp -----Original Message----- From: dunbarx To: use-livecode Sent: Sun, Mar 4, 2012 4:55 pm Subject: Re: Copying and pasting text into a word processing document Charles. I don't know how your data is set up. Do you have fields associated with each checkBox? Is the name of the checkBox the actual statement? Or perhaps a property of each checkBox holds the statement? Anyway, if you have a few checkBox buttons, each with a behavior or maybe a mouseUp handler in the card: on mouseup if the hilite of the target then put the short name of the target after the clipBoardData --"name" option if the hilite of the target then put the yourProp of the target after the clipBoardData --"property" option -- this does not handle unchecking. Does this matter? A somewhat larger issue. end mouseUp And in another button: on mouseUp open file "yourFile" write the clipboardData to file "yourFile" close file "yourFile" end mouseup Craig -----Original Message----- From: Charles Szasz To: use-livecode Sent: Sun, Mar 4, 2012 2:47 pm Subject: Copying and pasting text into a word processing document I have completed a number of projects with Rev but none has every involved creating an app that copies text to a clipboard to paste into a word processing document. I want to code an small utility app where the user selects statements by checking a checkbox for each statement so that it is put into the clipboard where the user can then paste them into a word document. I do not want to reinvent the wheel to code this. Any suggestions on how to do this? By the way, I am using Rev 4.0. Charles Szasz cszasz at mac.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From mikedoub at gmail.com Sun Mar 4 20:02:08 2012 From: mikedoub at gmail.com (mikedoub at gmail.com) Date: Mon, 5 Mar 2012 01:02:08 +0000 Subject: Jpeg meta data Message-ID: <1428109436-1330909326-cardhu_decombobulator_blackberry.rim.net-634141882-@b27.c31.bise6.blackberry> Is there a livecode library that allows editing of a jpeg image meta data? Thanks -= Mike Sent from my BlackBerry device on the Rogers Wireless Network From yoshino at sys.wakayama-u.ac.jp Sun Mar 4 21:42:08 2012 From: yoshino at sys.wakayama-u.ac.jp (=?iso-2022-jp?B?GyRCNUhMbhsoQiAbJEI5JxsoQg==?=) Date: Mon, 5 Mar 2012 11:42:08 +0900 Subject: How can I get string width? Message-ID: Hi, Experts! How can I get string width? I would like to string width? _.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ Takashi Yoshino http://www.wakayama-u.ac.jp/~yoshino/lab/ Tel: +81-73-457-8441 From devin_asay at byu.edu Sun Mar 4 21:44:43 2012 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 5 Mar 2012 02:44:43 +0000 Subject: How can I get string width? In-Reply-To: References: Message-ID: <1CC558F5-6897-4A0C-BCFE-B542F00A53BF@byu.edu> On Mar 4, 2012, at 7:42 PM, ?? ? wrote: > Hi, Experts! > > How can I get string width? > > I would like to string width? Try the formattedWidth of [chunk]. For example: put the formattedWidth of word 2 to 5 of fld 1 into stringWidth Hope this helps. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From monte at sweattechnologies.com Sun Mar 4 21:47:49 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 5 Mar 2012 13:47:49 +1100 Subject: How can I get string width? In-Reply-To: References: Message-ID: <49658D5E-4538-4650-A5E3-10FE8E1892A1@sweattechnologies.com> Do you mean the number of characters? put the number of characters of X or put length(X) Or do you mean the width in a field to take into account the font etc? put the formattedWidth of field X Cheers Monte On 05/03/2012, at 1:42 PM, ?? ? wrote: > Hi, Experts! > > How can I get string width? > > I would like to string width? > > _.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ > Takashi Yoshino > http://www.wakayama-u.ac.jp/~yoshino/lab/ > Tel: +81-73-457-8441 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sl at trackandfieldnews.com Sun Mar 4 22:30:33 2012 From: sl at trackandfieldnews.com (Sieg Lindstrom) Date: Sun, 4 Mar 2012 19:30:33 -0800 Subject: "can't find handler" error in script that worked before In-Reply-To: References: Message-ID: <2067F586-AC6C-4624-9083-6EA9AF9D96E7@trackandfieldnews.com> Thanks, Kay. This was running in the IDE. I tried starting the IDE, then opening the stack. Still didn't work OK. Then I tried saving as a standalone and that revealed the apparent problem, which was two lines of code in another handler in the stack script. This handler also ran OK previously under RunRev. The two lines were these; not contiguous in the script. put "; . {}" into findString put "; . {w, w, w}" into findString Seems the compiler didn't like the semi-colons (keyword) at the front of the literal. FYI, two interesting things about this: 1) there were other put commands in the script in which a semi-colon led a literal, and they compiled OK. 2) Eventually, simply retyping the lines solved the problem. Sieg Lindstrom On Mar 3, 2012, at 9:29 PM, Kay C Lan wrote: > Is this in a standalone or a stack you are running in the IDE. > > There is a know problem with the start-up sequence of 5.0.2 that effects > some stacks when run in the IDE. To figure if this is effecting you, start > the IDE, then open your stack and see if it works OK. If it does, then this > was the problem. If so you just can't open your stack by double clicking > it. Hopefullly this will be resolved in the next update. > > HTH > > On Sun, Mar 4, 2012 at 12:10 PM, Sieg Lindstrom wrote: > >> My second post tonight while I'm thinking of it. I have an app that ran >> flawlessly under RunRev. Now, using LiveCode 5.0.2, a handler in a button >> script that calls another handler in the stack script returns a "can't >> find handler" error. >> >> It was easy to fix by moving the "unfindable" handler into the button >> script, but shouldn't a button be able to call a handler in the stack >> script? It worked before, hasn't been modified and all variables are >> properly made global. ???? >> >> Thanks. >> >> Sieg Lindstrom From capellan2000 at gmail.com Sun Mar 4 23:31:48 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 4 Mar 2012 20:31:48 -0800 (PST) Subject: How can I get string width? In-Reply-To: References: Message-ID: <1330921908317-4445141.post@n4.nabble.com> Hi Mr. Yoshino, Takashi Yoshino wrote > > How can I get string width? > Iwas ready to answer, when I noticed the message from Devin Asay: > Try the formattedWidth of [chunk]. For example: > put the formattedWidth of word 2 to 5 of fld 1 into stringWidth Hopefully this property works fine with double-byte languages. Just for curiosity, Mr. Yoshino, Which of these softwares from Yoshino Lab was created using LiveCode? http://www.wakayama-u.ac.jp/~yoshino/lab/software/index.html Have a nice week! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-can-I-get-string-width-tp4444971p4445141.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Sun Mar 4 23:38:20 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 4 Mar 2012 20:38:20 -0800 (PST) Subject: Jpeg meta data In-Reply-To: <1428109436-1330909326-cardhu_decombobulator_blackberry.rim.net-634141882-@b27.c31.bise6.blackberry> References: <1428109436-1330909326-cardhu_decombobulator_blackberry.rim.net-634141882-@b27.c31.bise6.blackberry> Message-ID: <1330922300499-4445145.post@n4.nabble.com> Hi Michael, Michael Doub wrote > > Is there a livecode library that allows editing of a jpeg image meta data? > Some years ago, Alex Tweedly wrote the stack "Exif Lib" http://www.tweedly.org/showpage.lc?page=EXIFLib If you use Nabble to search this mail list, you would find many more messages threads about the same topic: http://runtime-revolution.278305.n4.nabble.com/template/NamlServlet.jtp?macro=search_page&node=278306&query=exif Have a nice week! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Jpeg-meta-data-tp4444798p4445145.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Mon Mar 5 00:02:27 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 4 Mar 2012 21:02:27 -0800 (PST) Subject: Jpeg meta data In-Reply-To: <1330922300499-4445145.post@n4.nabble.com> References: <1428109436-1330909326-cardhu_decombobulator_blackberry.rim.net-634141882-@b27.c31.bise6.blackberry> <1330922300499-4445145.post@n4.nabble.com> Message-ID: <1330923747778-4445166.post@n4.nabble.com> Check these command-line utilities that you could use from LiveCode: jHead and ExifTools http://runtime-revolution.278305.n4.nabble.com/OT-Free-EXIF-command-line-utility-td293858.html Chipp Walters wrote: >[OT] Free EXIF command line utility > I noticed this today: > http://www.sentex.net/~mwandel/jhead/ > Looks like they have a command line utility available to read and edit > EXIF (digital photo headers) and you can ship it with your product for > free. > Mac OSX, Windows and Linux version available. http://runtime-revolution.278305.n4.nabble.com/Cleaning-Exif-Data-from-an-image-td3491102.html#a3491716 Warren Samples wrote: > Exiftool is available for all platforms as a gui and cli tool, > for those interested. As a cli tool, it can be > use with Livecode's 'shell()' to return exif data > as well as write/edit/delete it. http://www.sno.phy.queensu.ca/~phil/exiftool/ Have a nice week! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Jpeg-meta-data-tp4444798p4445166.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Mon Mar 5 01:06:59 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 4 Mar 2012 22:06:59 -0800 (PST) Subject: Jpeg meta data In-Reply-To: <1428109436-1330909326-cardhu_decombobulator_blackberry.rim.net-634141882-@b27.c31.bise6.blackberry> References: <1428109436-1330909326-cardhu_decombobulator_blackberry.rim.net-634141882-@b27.c31.bise6.blackberry> Message-ID: <1330927619863-4445222.post@n4.nabble.com> Check these stacks from UDI: getEXIF http://homepage.mac.com/udi/stack/getExif11.hqx http://homepage.mac.com/udi/stack/getExif12.hqx http://homepage.mac.com/udi/stack/getExif13.hqx If you are using Windows, you could use UUDeview to extract the stacks from these HQX files: http://www.miken.com/uud/ Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Jpeg-meta-data-tp4444798p4445222.html Sent from the Revolution - User mailing list archive at Nabble.com. From lan.kc.macmail at gmail.com Mon Mar 5 01:22:52 2012 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 5 Mar 2012 14:22:52 +0800 Subject: Sqlite and performances in LiveCode In-Reply-To: <2B9F1B7F-19ED-4738-BF9E-A570457D2938@mac.com> References: <2B9F1B7F-19ED-4738-BF9E-A570457D2938@mac.com> Message-ID: No, it's not the same one. Looking at the SQLabs site, SQLabs "developed from scratch a brand new ListBox that is able to display an infinite number of rows and columns in just few milliseconds. This is a fundamental base control for the app." They've been optemising their product since 2003, it would be surprising if you can match them on your first try. I did a few tests with FireFox's SQLite Manager and for 50,000 records (11MB) it took 504ms to display in a field that could display ALL records. Testing with LC I could extract the same records in 409ms but to display them all in a field took it out to 917ms. By reducing the number of records displayed to the size of the field, it took 410ms. Clearly LC fields are the limiting factor here. I then noticed that in FireFox, although all the rows could be scrolled down to the bottom, the columns were all truncated. So I then changed my LC field to a 'Basic table object', set the 'Maximum editable columns' to match exactly the number of columns I had, and then set the tab stops so only a small portion of data of each column was displayed - similar to how FireFox truncated it's columns. In this way I was able to display ALL the rows in 491 ms. This may not be as fast as SQLabs, but I think they maybe the speed kings. Compared to another SQLite tool I was able to get LC to perform just as fast, if not a little faster. HTH On Sun, Mar 4, 2012 at 7:12 PM, J?r?me Rosat wrote: > I don't know if SQLiteManager for Firefox is the same one I use (from > SQLabs) but it display all the records in one time (I can scroll all the > list). > > But thank you for the suggestion, If necessary I'm going to display only a > part of the records with a next button, even if I don't like very much this > approach. > > > Le 4 mars 2012 ? 03:37, Kay C Lan a ?crit : > > > > If the 'SQLiteManager' you refer to is the same one I use with FireFox, > in > > my case it only displays 100 records at a time, you have to click the > Next > > button to see more - so this is a performance trick you can do with LC. > > Instead of extracting 150000 records in one go, and displaying it in a > > field in one go( which will take a long time) only extract 100 records > > (which will take significantly less time) and have a Next button, just > like > > SQLIte Manager, to retrieve the next 100 records. > > > > If I'm right, the the fact that LC only took 4.4 times longer to display > > 1500 times more records would suggest that you'll be able to do a lot > > better with LC > > > > HTH > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at mollysrevenge.com Mon Mar 5 02:45:02 2012 From: pete at mollysrevenge.com (Pete) Date: Sun, 4 Mar 2012 23:45:02 -0800 Subject: Sqlite and performances in LiveCode In-Reply-To: References: <2B9F1B7F-19ED-4738-BF9E-A570457D2938@mac.com> Message-ID: I think the acid test here is to use sqlite3 vs Livecode, since sqlite3 is the official command line tool for sqlite and likely to be more efficient than any other browsing tool. I tested a select * from a table with about 48,000 records in it, using a datagrid versus an LC screen that invoked sqlite3, passing it all the necessary parameters, reading the output and displayed it in a scrolling field. I did not do any coded timings but retrieving and displaying the records in an LC datagrid took around 3-4 times longer than in sqlite3. The datagrid was using the dgNumberOfRecords/GetDataForLine techniques outlined in the datagrid manual and there was no data formatting involved. The crazy thing about this is that, using those techniques, I believe the datagrid loads only enough database rows to fill the number of rows that are visible in the datagrid, adding more rows as the user scrolls. So the comparison is really between selecting and displaying all 48,000 rows in sqlite3 vs selecting 48,000 rows and displaying only 11 rows (the number of rows in my datagrid). It's pretty clear that using a datagrid to display large datasets is not a good idea if you want to maximize performance unless you really need the the functionality that a datagrid provides. On the other hand, the original post seemed to indicate that, even though the elapsed time using a datagrid was several times longer than the SQLabs tool, it was still less than a second. While it's interesting to figure out why that should be, I'd guess that a response time of less than a second is acceptable from a user's perspective. Pete On Sun, Mar 4, 2012 at 10:22 PM, Kay C Lan wrote: > No, it's not the same one. > > Looking at the SQLabs site, SQLabs "developed from scratch a brand new > ListBox that is able to display an infinite number of rows and columns in > just few milliseconds. This is a fundamental base control for the app." > They've been optemising their product since 2003, it would be surprising if > you can match them on your first try. > > I did a few tests with FireFox's SQLite Manager and for 50,000 records > (11MB) it took 504ms to display in a field that could display ALL records. > > Testing with LC I could extract the same records in 409ms but to display > them all in a field took it out to 917ms. By reducing the number of records > displayed to the size of the field, it took 410ms. Clearly LC fields are > the limiting factor here. > > I then noticed that in FireFox, although all the rows could be scrolled > down to the bottom, the columns were all truncated. So I then changed my LC > field to a 'Basic table object', set the 'Maximum editable columns' to > match exactly the number of columns I had, and then set the tab stops so > only a small portion of data of each column was displayed - similar to how > FireFox truncated it's columns. In this way I was able to display ALL the > rows in 491 ms. > > This may not be as fast as SQLabs, but I think they maybe the speed kings. > Compared to another SQLite tool I was able to get LC to perform just as > fast, if not a little faster. > > HTH > > > On Sun, Mar 4, 2012 at 7:12 PM, J?r?me Rosat wrote: > > > I don't know if SQLiteManager for Firefox is the same one I use (from > > SQLabs) but it display all the records in one time (I can scroll all the > > list). > > > > But thank you for the suggestion, If necessary I'm going to display only > a > > part of the records with a next button, even if I don't like very much > this > > approach. > > > > > > Le 4 mars 2012 ? 03:37, Kay C Lan a ?crit : > > > > > > > If the 'SQLiteManager' you refer to is the same one I use with FireFox, > > in > > > my case it only displays 100 records at a time, you have to click the > > Next > > > button to see more - so this is a performance trick you can do with LC. > > > Instead of extracting 150000 records in one go, and displaying it in a > > > field in one go( which will take a long time) only extract 100 records > > > (which will take significantly less time) and have a Next button, just > > like > > > SQLIte Manager, to retrieve the next 100 records. > > > > > > If I'm right, the the fact that LC only took 4.4 times longer to > display > > > 1500 times more records would suggest that you'll be able to do a lot > > > better with LC > > > > > > HTH > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From m.schonewille at economy-x-talk.com Mon Mar 5 06:46:23 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 5 Mar 2012 12:46:23 +0100 Subject: [ANN] Installer Maker 1.7.4 Message-ID: Hi guys, Economy-x-Talk released Installer Maker 1.7.4 this weekend. This is a small maintenance release correcting an Italian language issue and making a few things work more smoothly behind the scenes. You can find the new version at http://qery.us/za -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za From stephenREVOLUTION2 at barncard.com Mon Mar 5 12:05:14 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 5 Mar 2012 11:05:14 -0600 Subject: Sqlite and performances in LiveCode In-Reply-To: References: <2B9F1B7F-19ED-4738-BF9E-A570457D2938@mac.com> Message-ID: Well, that's the "downside" of using Livecode and expecting blazing speed for large data sets; the LC data grid is 100% Livecode based, not a 'binary object'. The upside is that it is infinitely customizable, and very easy to use. There's a lot of 'stuff' going on under the hood! Basically what you said. On 5 March 2012 01:45, Pete wrote: > I think the acid test here is to use sqlite3 vs Livecode, since sqlite3 is > the official command line tool for sqlite and likely to be more efficient > than any other browsing tool. I tested a select * from a table with about > 48,000 records in it, using a datagrid versus an LC screen that invoked > sqlite3, passing it all the necessary parameters, reading the output and > displayed it in a scrolling field. I did not do any coded timings but > retrieving and displaying the records in an LC datagrid took around 3-4 > times longer than in sqlite3. The datagrid was using the > dgNumberOfRecords/GetDataForLine techniques outlined in the datagrid manual > and there was no data formatting involved. > > The crazy thing about this is that, using those techniques, I believe the > datagrid loads only enough database rows to fill the number of rows that > are visible in the datagrid, adding more rows as the user scrolls. So the > comparison is really between selecting and displaying all 48,000 rows in > sqlite3 vs selecting 48,000 rows and displaying only 11 rows (the number of > rows in my datagrid). > > It's pretty clear that using a datagrid to display large datasets is not a > good idea if you want to maximize performance unless you really need the > the functionality that a datagrid provides. > > On the other hand, the original post seemed to indicate that, even though > the elapsed time using a datagrid was several times longer than the SQLabs > tool, it was still less than a second. While it's interesting to figure > out why that should be, I'd guess that a response time of less than a > second is acceptable from a user's perspective. > > Pete > Stephen Barncard San Francisco Ca. USA more about sqb From guglielmo at braguglia.ch Mon Mar 5 12:23:03 2012 From: guglielmo at braguglia.ch (Guglielmo Braguglia) Date: Mon, 05 Mar 2012 18:23:03 +0100 Subject: Sqlite and performances in LiveCode In-Reply-To: References: <2B9F1B7F-19ED-4738-BF9E-A570457D2938@mac.com> Message-ID: <4F54F677.1030103@braguglia.ch> Hi Pete, what you believe "... /I believe the datagrid loads only enough database rows to fill the number of rows that are visible in the datagrid .../", unfortunately, is incorrect ... ... to have this behavior you have to manually code a procedure, named "GetDataForLine", which fill in the data that the data grid needs. Please see here : http://lessons.runrev.com/s/lessons/m/datagrid/l/7341-displaying-large-amounts-of-data Guglielmo On 05.03.2012 08:45, Pete wrote: > ... omissis ... I did not do any coded timings but > retrieving and displaying the records in an LC datagrid took around 3-4 > times longer than in sqlite3. The datagrid was using the > dgNumberOfRecords/GetDataForLine techniques outlined in the datagrid manual > and there was no data formatting involved. > > The crazy thing about this is that, using those techniques,*I believe the > datagrid loads only enough database rows to fill the number of rows that > are visible in the datagrid*, adding more rows as the user scrolls. So the > comparison is really between selecting and displaying all 48,000 rows in > sqlite3 vs selecting 48,000 rows and displaying only 11 rows (the number of > rows in my datagrid). > ... omissis ... > Pete > From livfoss at mac.com Mon Mar 5 12:39:24 2012 From: livfoss at mac.com (Graham Samuel) Date: Mon, 05 Mar 2012 18:39:24 +0100 Subject: Changing mobile horses in midstream? Message-ID: <70DA1C2A-04A5-4000-B03F-6D48142E2129@mac.com> I'm developing an app that is supposed to work on iOS devices - iPhones or iPads, so to keep a single code base, I need to set up the layout of the app at startup. This has been discussed before and I feel it's not so tough. I did a lot of similar stuff on Windows apps in the past, to cater for different monitor sizes, and even multiple monitors. My question may be a nonsensical one, but is it conceivable that an app could start on one device and somehow be transferred to or woken up on another, so that the layout work would have to be done again during the operation of the device? This is kind of an extension of the issue that the orientation of a device (portrait <--> landscape) can change at any time (if the app permits it). I am just trying to cover for the idea that the working screenrect might actually change during execution, apart from the obvious 90 degree switch. Graham From coiin at verizon.net Mon Mar 5 12:54:10 2012 From: coiin at verizon.net (Colin Holgate) Date: Mon, 05 Mar 2012 12:54:10 -0500 Subject: Changing mobile horses in midstream? In-Reply-To: <70DA1C2A-04A5-4000-B03F-6D48142E2129@mac.com> References: <70DA1C2A-04A5-4000-B03F-6D48142E2129@mac.com> Message-ID: <858D8F61-3B1F-4CEE-8572-FE627044D457@verizon.net> Conceivable, yes. Imagine if iOS or Android OS allowed a teacher to connect a device to an HD projector, only instead of mirroring it changed the desktop area from 1024x768 to 1920x1080. That doesn't happen at the moment, but it's something that could in the future. Can't you check for the resize event, and redo the layout then? From mwieder at ahsoftware.net Mon Mar 5 13:04:39 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 5 Mar 2012 18:04:39 +0000 (UTC) Subject: User's System References: <4F515A12.000003.05772@CALS_BIG_PC> <4F51C375.2090400@gmail.com> <4F525626.6020300@gmail.com> <4F525F0C.9050507@gmail.com> <8FE2348D-92C5-4D8F-8501-69422157D6AA@sonsothunder.com> <4F527CDD.8000103@gmail.com> <29326751921.20120303131227@ahsoftware.net> <4F528F80.8020606@gmail.com> Message-ID: Richmond writes: > Well, that's going to be a bit confusing, as Windows 7 will also show up > as 6.1 Now that I've gotten back to my vm on my work machine, I have to correct myself. I was misremembering (aka I was wrong...) about this. The Windows 8 consumer preview reports the systemVersion as "NT 6.2". -- Mark Wieder From lfredricks at proactive-intl.com Mon Mar 5 13:11:25 2012 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Mon, 5 Mar 2012 10:11:25 -0800 Subject: Last Chance to Pick Up Shade for $99 - 3D Models, Quicktime Message-ID: <7E77A4F476E042FB932CACB430805E3D@GATEWAY> Today is the last day to save on Shade Standard (usually $349) for only $99. http://www.mirye.net/shade-12-overview http://www.mirye.net/compare-shade-12-versions Please note its got great Quicktime export features if that matters to you. This is a limited time special offer done in conjunction with Omegabundle.com. Another, different special offer will appear soon! Best regards, Lynn Fredricks Mirye Software Publishing http://www.mirye.com From richmondmathewson at gmail.com Mon Mar 5 13:11:55 2012 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 05 Mar 2012 20:11:55 +0200 Subject: Changing mobile horses in midstream? In-Reply-To: <70DA1C2A-04A5-4000-B03F-6D48142E2129@mac.com> References: <70DA1C2A-04A5-4000-B03F-6D48142E2129@mac.com> Message-ID: <4F5501EB.1010401@gmail.com> On 03/05/2012 07:39 PM, Graham Samuel wrote: > I'm developing an app that is supposed to work on iOS devices - iPhones or iPads, so to keep a single code base, I need to set up the layout of the app at startup. This has been discussed before and I feel it's not so tough. I did a lot of similar stuff on Windows apps in the past, to cater for different monitor sizes, and even multiple monitors. > > My question may be a nonsensical one, but is it conceivable that an app could start on one device and somehow be transferred to or woken up on another, so that the layout work would have to be done again during the operation of the device? This is kind of an extension of the issue that the orientation of a device (portrait<--> landscape) can change at any time (if the app permits it). I am just trying to cover for the idea that the working screenrect might actually change during execution, apart from the obvious 90 degree switch. > > Graham > Just for the sake of argument I made a stack called REKKER, with a button containing the following script: on mouseUp put item 3 of the screenrect into WIDD put item 4 of the screenRect into HITE set the width of stack "REKKER" to (WIDD-100) set the height of stack "REKKER" to (HITE-100) set the loc of stack "REKKER" to the screenLoc on mouseUp all amazingly, goofily, obvious. AND, on changing the screenRect of my monitor it does what it should WHEN I click on the button. And its the 'WHEN' that's the rub . . . what is not clear to me is how the stack is going to detect when the end-user resizes his/her monitor resolution. > From richmondmathewson at gmail.com Mon Mar 5 13:14:13 2012 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 05 Mar 2012 20:14:13 +0200 Subject: User's System In-Reply-To: References: <4F515A12.000003.05772@CALS_BIG_PC> <4F51C375.2090400@gmail.com> <4F525626.6020300@gmail.com> <4F525F0C.9050507@gmail.com> <8FE2348D-92C5-4D8F-8501-69422157D6AA@sonsothunder.com> <4F527CDD.8000103@gmail.com> <29326751921.20120303131227@ahsoftware.net> <4F528F80.8020606@gmail.com> Message-ID: <4F550275.50406@gmail.com> On 03/05/2012 08:04 PM, Mark Wieder wrote: > Richmond writes: > >> Well, that's going to be a bit confusing, as Windows 7 will also show up >> as 6.1 > Now that I've gotten back to my vm on my work machine, I have to correct myself. > I was misremembering (aka I was wrong...) about this. > > The Windows 8 consumer preview reports the systemVersion as "NT 6.2". > Thanks Mark; that saved me a lot of time messing around with Virtual Box and the Windows 8 Developer preview as my Pentium 4 does run to hardware virtualisation acceleration (gosh, even typing that makes me feel out of breath). From pete at mollysrevenge.com Mon Mar 5 13:25:05 2012 From: pete at mollysrevenge.com (Pete) Date: Mon, 5 Mar 2012 10:25:05 -0800 Subject: Sqlite and performances in LiveCode In-Reply-To: <4F54F677.1030103@braguglia.ch> References: <2B9F1B7F-19ED-4738-BF9E-A570457D2938@mac.com> <4F54F677.1030103@braguglia.ch> Message-ID: Scott: I agree with you - datagrids are powerful, complex structures and come with a cost. They're a great tool for sure and I use them a lot when I need their functionality, especially if I need to include option menus, checkboxes, or any other column customizations. But I'm increasingly starting to use scrolling lists and table fields when all I need is to present a simple list of data for the user to select from and display more information or carry out some action on the selected line. It feels like there's room for another type type of control that goes a bit further than basic tables but not as complex as datagrids, kind of a datagrid-lite. Guglielmo: Actually, the datagrid only fills the visible rows at any given time whether you are using GetDataForLine or not. You can verify that by setting the selectGroupedControls of a datagird to true, then looking at its structure in the Application Browser (you'll probably need to to refresh the right pane of the app browser to see it.) You will see that it includes only enough controls for however many rows are visible in the datagrid. So if you've loaded 100k rows of data into your datagrid but there are only 20 visible lines, you will see that the datagrid contains only 20 sets of controls, not 100k sets. Remember to set the selectGroupedControls of the datagrid back to false again or your datagrid will stop working. I think the difference when using GetDataForLine is that the datagrid does not keep internal copies of the data you load into it and makes a call to GetDataForLine whenever it needs more data. It's up to you to keep your own copies of the data, format it for display, and take care of any of the other functions normally handled by the datagrid. That means that you are in complete control of how and when to retrieve the data from your datasource. Instead of reading 100k rows from your database, you can read just enough to fill the datagrid and read more when needed. Or you can read all 100k rows and keep them in your own data storage, supplying them to the datagrid only when GetDataForLine is called. It's definitely more complex doing it that way but it can improve performance a lot. Pete On Mon, Mar 5, 2012 at 9:23 AM, Guglielmo Braguglia wrote: > Hi Pete, > > what you believe "... /I believe the datagrid loads only enough database > rows to fill the number of rows that are visible in the datagrid .../", > unfortunately, is incorrect ... > ... to have this behavior you have to manually code a procedure, named > "GetDataForLine", which fill in the data that the data grid needs. > > Please see here : http://lessons.runrev.com/s/**lessons/m/datagrid/l/7341- > **displaying-large-amounts-of-**data > > Guglielmo > > > On 05.03.2012 08:45, Pete wrote: > >> ... omissis ... I did not do any coded timings but >> >> retrieving and displaying the records in an LC datagrid took around 3-4 >> times longer than in sqlite3. The datagrid was using the >> dgNumberOfRecords/**GetDataForLine techniques outlined in the datagrid >> manual >> and there was no data formatting involved. >> >> The crazy thing about this is that, using those techniques,*I believe the >> >> datagrid loads only enough database rows to fill the number of rows that >> are visible in the datagrid*, adding more rows as the user scrolls. So >> the >> >> comparison is really between selecting and displaying all 48,000 rows in >> sqlite3 vs selecting 48,000 rows and displaying only 11 rows (the number >> of >> rows in my datagrid). >> ... omissis ... >> Pete >> >> ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From pete at mollysrevenge.com Mon Mar 5 13:39:42 2012 From: pete at mollysrevenge.com (Pete) Date: Mon, 5 Mar 2012 10:39:42 -0800 Subject: Fwd: Sqlite and performances in LiveCode In-Reply-To: References: <2B9F1B7F-19ED-4738-BF9E-A570457D2938@mac.com> <4F54F677.1030103@braguglia.ch> Message-ID: Apologies Stephen and Scott for confusing you! I meant Stephen! Pete ---------- Forwarded message ---------- From: Pete Date: Mon, Mar 5, 2012 at 10:25 AM Subject: Re: Sqlite and performances in LiveCode To: How to use LiveCode Scott: I agree with you - datagrids are powerful, complex structures and come with a cost. They're a great tool for sure and I use them a lot when I need their functionality, especially if I need to include option menus, checkboxes, or any other column customizations. But I'm increasingly starting to use scrolling lists and table fields when all I need is to present a simple list of data for the user to select from and display more information or carry out some action on the selected line. It feels like there's room for another type type of control that goes a bit further than basic tables but not as complex as datagrids, kind of a datagrid-lite. -- Pete Molly's Revenge From mwieder at ahsoftware.net Mon Mar 5 13:51:51 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 5 Mar 2012 18:51:51 +0000 (UTC) Subject: User's System References: <4F515A12.000003.05772@CALS_BIG_PC> <4F51C375.2090400@gmail.com> <4F525626.6020300@gmail.com> <4F525F0C.9050507@gmail.com> <8FE2348D-92C5-4D8F-8501-69422157D6AA@sonsothunder.com> <4F527CDD.8000103@gmail.com> <29326751921.20120303131227@ahsoftware.net> <4F528F80.8020606@gmail.com> <4F550275.50406@gmail.com> Message-ID: Richmond writes: > Thanks Mark; that saved me a lot of time messing around with Virtual Box > and the Windows 8 Developer preview as my > Pentium 4 does run to hardware virtualisation acceleration (gosh, even > typing that makes me feel out of breath). Note that the Developer Preview has now been superseded by the Consumer Preview. The interface has been cleaned up a bit, and much to my dismay I find I'm getting used to it the more I play around with it. -- Mark Wieder From bdrunrev at gmail.com Mon Mar 5 13:54:26 2012 From: bdrunrev at gmail.com (Bernard Devlin) Date: Mon, 5 Mar 2012 18:54:26 +0000 Subject: Sqlite and performances in LiveCode In-Reply-To: References: <2B9F1B7F-19ED-4738-BF9E-A570457D2938@mac.com> <4F54F677.1030103@braguglia.ch> Message-ID: There was such a datagrid-lite control a few years back, produced by Eric Chatonet. Sadly Eric died, and ListMagic appears to no longer be maintained. It used the basic field object, and well, it did some quite magical things with it. I think ListMagic stopped working with some changes introduced in the LC 4.x series (at least, it stopped working for me). However, I have been truly astonished with what Trevor's Data Grid can achieve (and IMO it is far more than a data grid, it is almost a framework). Have you tried setting the dgText rather than the dgData? In my experience the former is much faster than the latter, which goes against some of the things I've heard people say here, namely that the Data Grid control will convert an such dgText into dgData before displaying it. The relative speediness of setting dgText makes me think that cannot be true (although I haven't bothered to dig into the code to see what is going on). When working with the dgText and Sql Yoga, I've found that retrieving results from a database as "data" (i.e. a list) rather than array, in order to feed that list to the dgText is by far the quickest way to go. Even with dgText one can still do formatting/transformations on columns. Bernard. On Mon, Mar 5, 2012 at 6:25 PM, Pete wrote: > I agree with you - datagrids are powerful, complex structures and come with > a cost. ?They're a great tool for sure and I use them a lot when I need > their functionality, especially if I need to include option menus, > checkboxes, or any other column customizations. ?But I'm increasingly > starting to use scrolling lists and table fields when all I need is to > present a simple list of data for the user to select from and display more > information or carry out some action on the selected line. > > It feels like there's room for another type type of control that goes a bit > further than basic tables but not as complex as datagrids, kind of a > datagrid-lite. From lists at mangomultimedia.com Mon Mar 5 14:00:26 2012 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 5 Mar 2012 14:00:26 -0500 Subject: Sqlite and performances in LiveCode In-Reply-To: References: Message-ID: On Sat, Mar 3, 2012 at 6:00 PM, J?r?me Rosat wrote: > > This database contains approximately 150,000 records and it increases by > about 5,000 records per month. > > Before beginning, I read the lesson "Displaying Large Amounts of Data" on > the site of RunRev and I did tests with the sample stack and database > (50'000 records). > > I was surprised by the performance of LiveCode. When I use the stack (or > the standalone app, the query of all the records takes about 932 > milliseconds. But when I use SQLiteManager (an app that I use to manage > sqlite files) with the same table, at the same place, the query of all the > records takes about 194 milliseconds. > J?r?me, What are the exact calls you make in LiveCode during the 932 milliseconds? -- Trevor DeVore Blue Mango Learning Systems www.clarify-it.com - www.screensteps.com From jacque at hyperactivesw.com Mon Mar 5 14:23:44 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 05 Mar 2012 13:23:44 -0600 Subject: Changing mobile horses in midstream? In-Reply-To: <70DA1C2A-04A5-4000-B03F-6D48142E2129@mac.com> References: <70DA1C2A-04A5-4000-B03F-6D48142E2129@mac.com> Message-ID: <4F5512C0.1060204@hyperactivesw.com> On 3/5/12 11:39 AM, Graham Samuel wrote: > My question may be a nonsensical one, but is it conceivable that an > app could start on one device and somehow be transferred to or woken > up on another, so that the layout work would have to be done again > during the operation of the device? I don't think that's currently possible. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pepetoo at cox.net Mon Mar 5 14:47:44 2012 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Mon, 5 Mar 2012 11:47:44 -0800 Subject: Changing mobile horses in midstream? In-Reply-To: <4F5512C0.1060204@hyperactivesw.com> References: <70DA1C2A-04A5-4000-B03F-6D48142E2129@mac.com> <4F5512C0.1060204@hyperactivesw.com> Message-ID: <1D29B524-0F4D-495A-B9BF-0CA0501298D4@cox.net> What if an app were being used on a Desktop computer with two Monitors and one of the stacks was moved from one of the monitors over to the other and it was a different size? This whole topic is most confusing I'm sure and I suspect that merely using resizable windows might allow this to be handled most of the time. Personally, I've not confronted this issue with the things I'm building; instead I'm just establishing limits under which my app may be used. Mine are far too large to ever be used with current mobile devices, though I anticipate that one day the users of my stuff will have very large monitors. We're in a state of flux right now whereby we're all struggling to define the nature of the various devices we'll be using one day. So I think we just need to define the devices and systems upon which our apps will work and leave it to that, and not even try to make one size fits all apps. Joe Wilkins On Mar 5, 2012, at 11:23 AM, J. Landman Gay wrote: > On 3/5/12 11:39 AM, Graham Samuel wrote: > >> My question may be a nonsensical one, but is it conceivable that an >> app could start on one device and somehow be transferred to or woken >> up on another, so that the layout work would have to be done again >> during the operation of the device? > > I don't think that's currently possible. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From ken at kencorey.com Mon Mar 5 14:47:56 2012 From: ken at kencorey.com (Ken Corey) Date: Mon, 05 Mar 2012 19:47:56 +0000 Subject: Changing mobile horses in midstream? In-Reply-To: <4F5512C0.1060204@hyperactivesw.com> References: <70DA1C2A-04A5-4000-B03F-6D48142E2129@mac.com> <4F5512C0.1060204@hyperactivesw.com> Message-ID: <4F55186C.1030903@kencorey.com> On 05/03/2012 19:23, J. Landman Gay wrote: >> My question may be a nonsensical one, but is it conceivable that an >> app could start on one device and somehow be transferred to or woken >> up on another, so that the layout work would have to be done again >> during the operation of the device? > > I don't think that's currently possible. Well, transferring the app from one physical machine to another might not be possible (though it'd be decidedly impressive, methinks)...however... Could the screen resolution change if the user plugs in the Apple TV adapter for the iPad? Could it be possible for the user to change resolution (rotation)? If there's use cases where the format changes that we know about, seems to make sense to assume that the screen is rather a temporary window, not a permanent fixture. -Ken From ambassador at fourthworld.com Mon Mar 5 14:54:55 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 05 Mar 2012 11:54:55 -0800 Subject: Changing mobile horses in midstream? In-Reply-To: <4F55186C.1030903@kencorey.com> References: <4F55186C.1030903@kencorey.com> Message-ID: <4F551A0F.8050504@fourthworld.com> For a slightly different take on this: -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From revolution at derbrill.de Mon Mar 5 15:04:21 2012 From: revolution at derbrill.de (Malte Brill) Date: Mon, 5 Mar 2012 21:04:21 +0100 Subject: Sqlite and performances in LiveCode In-Reply-To: References: Message-ID: <09EC65B7-0A44-4E37-A19C-0EC8E0BF1F1A@derbrill.de> *Fetches Popcorn and takes a seat* Now I am curious how quickly this will be at the end. :-) Malte Trevor wrote: > > What are the exact calls you make in LiveCode during the 932 milliseconds? From bobs at twft.com Mon Mar 5 15:10:15 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 5 Mar 2012 12:10:15 -0800 Subject: [iOS] Suspending and quitting In-Reply-To: <4F528405.2060005@hyperactivesw.com> References: <4F528405.2060005@hyperactivesw.com> Message-ID: I guess it depends on the app. A role player shootemup game for instance, would be poorly designed if a player could simply bail at the last possible moment and relaunch to avoid a bad score. Al accounting app however might want to have the user log in from the start for security reasons. Bob On Mar 3, 2012, at 12:50 PM, J. Landman Gay wrote: > I have code in my iOS app that fakes a "suspend" so it can pick up where the user left off when they come back to the app. Now I'm trying to figure out when to use it. > > Is it logical to assume that if the user presses the Home button, they mean to quit? And if they push up the window to switch to another app, they mean to suspend? And if that's true, how would I know when the Home button is pressed? I don't think it's possible. > > Also, if the app is "resuming" I don't want the splash screen to show, the app should just appear in the state the user left it. Is there a way to avoid the splash? > > How do you handle the situation in general? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Mar 5 15:14:14 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 5 Mar 2012 12:14:14 -0800 Subject: "can't find handler" error in script that worked before In-Reply-To: <2067F586-AC6C-4624-9083-6EA9AF9D96E7@trackandfieldnews.com> References: <2067F586-AC6C-4624-9083-6EA9AF9D96E7@trackandfieldnews.com> Message-ID: OIC I have had problems also where a script stopped dead in it's tracks because something was wrong but it didn't visibly throw an error. Certain sqlYoga commands will do this, for instance if you use sqlquery_set on a query object that doesn't exist yet. Bob On Mar 4, 2012, at 7:30 PM, Sieg Lindstrom wrote: > Thanks, Kay. This was running in the IDE. I tried starting the IDE, then opening the stack. Still didn't work OK. > > Then I tried saving as a standalone and that revealed the apparent problem, which was two lines of code in another handler in the stack script. This handler also ran OK previously under RunRev. > > The two lines were these; not contiguous in the script. > > put "; . {}" into findString > > put "; . {w, w, w}" into findString > > Seems the compiler didn't like the semi-colons (keyword) at the front of the literal. > > FYI, two interesting things about this: > > 1) there were other put commands in the script in which a semi-colon led a literal, and they compiled OK. > > 2) Eventually, simply retyping the lines solved the problem. > > Sieg Lindstrom > > On Mar 3, 2012, at 9:29 PM, Kay C Lan wrote: > >> Is this in a standalone or a stack you are running in the IDE. >> >> There is a know problem with the start-up sequence of 5.0.2 that effects >> some stacks when run in the IDE. To figure if this is effecting you, start >> the IDE, then open your stack and see if it works OK. If it does, then this >> was the problem. If so you just can't open your stack by double clicking >> it. Hopefullly this will be resolved in the next update. >> >> HTH >> >> On Sun, Mar 4, 2012 at 12:10 PM, Sieg Lindstrom wrote: >> >>> My second post tonight while I'm thinking of it. I have an app that ran >>> flawlessly under RunRev. Now, using LiveCode 5.0.2, a handler in a button >>> script that calls another handler in the stack script returns a "can't >>> find handler" error. >>> >>> It was easy to fix by moving the "unfindable" handler into the button >>> script, but shouldn't a button be able to call a handler in the stack >>> script? It worked before, hasn't been modified and all variables are >>> properly made global. ???? >>> >>> Thanks. >>> >>> Sieg Lindstrom > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Mon Mar 5 16:02:56 2012 From: pete at mollysrevenge.com (Pete) Date: Mon, 5 Mar 2012 13:02:56 -0800 Subject: Sqlite and performances in LiveCode In-Reply-To: References: <2B9F1B7F-19ED-4738-BF9E-A570457D2938@mac.com> <4F54F677.1030103@braguglia.ch> Message-ID: Hi Bernard, Sorry to hear about Eric and ListMagic. I'm certainly not knocking the datagrid, it was a great addition to the Livecode arsenal of controls, no doubt about that. I have used both dgText and dgData and have not noticed a significant difference in performance which, as you say, is contrary to some of the posts on that subject. Maybe it depends on other variables such as how much column customization has been done. Pete On Mon, Mar 5, 2012 at 10:54 AM, Bernard Devlin wrote: > There was such a datagrid-lite control a few years back, produced by > Eric Chatonet. Sadly Eric died, and ListMagic appears to no longer be > maintained. It used the basic field object, and well, it did some > quite magical things with it. I think ListMagic stopped working with > some changes introduced in the LC 4.x series (at least, it stopped > working for me). > > However, I have been truly astonished with what Trevor's Data Grid can > achieve (and IMO it is far more than a data grid, it is almost a > framework). > > Have you tried setting the dgText rather than the dgData? In my > experience the former is much faster than the latter, which goes > against some of the things I've heard people say here, namely that the > Data Grid control will convert an such dgText into dgData before > displaying it. The relative speediness of setting dgText makes me > think that cannot be true (although I haven't bothered to dig into the > code to see what is going on). > > When working with the dgText and Sql Yoga, I've found that retrieving > results from a database as "data" (i.e. a list) rather than array, in > order to feed that list to the dgText is by far the quickest way to > go. Even with dgText one can still do formatting/transformations on > columns. > > Bernard. > > On Mon, Mar 5, 2012 at 6:25 PM, Pete wrote: > > I agree with you - datagrids are powerful, complex structures and come > with > > a cost. They're a great tool for sure and I use them a lot when I need > > their functionality, especially if I need to include option menus, > > checkboxes, or any other column customizations. But I'm increasingly > > starting to use scrolling lists and table fields when all I need is to > > present a simple list of data for the user to select from and display > more > > information or carry out some action on the selected line. > > > > It feels like there's room for another type type of control that goes a > bit > > further than basic tables but not as complex as datagrids, kind of a > > datagrid-lite. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From livfoss at mac.com Mon Mar 5 16:15:07 2012 From: livfoss at mac.com (Graham Samuel) Date: Mon, 05 Mar 2012 22:15:07 +0100 Subject: Changing mobile horses in midstream? In-Reply-To: References: Message-ID: <4EA4DDB6-240C-486D-A045-A5FCEF5D350F@mac.com> Thanks - you were able to do something I couldn't, which is to imagine a realistic example! Yes, I can and will check for the resize event, although my home-grown geometry manager will only work with a few fixed sizes. thanks again Graham On Mon, 05 Mar 2012 12:54:10 -0500, Colin Holgate wrote: > > Conceivable, yes. Imagine if iOS or Android OS allowed a teacher to connect a device to an HD projector, only instead of mirroring it changed the desktop area from 1024x768 to 1920x1080. That doesn't happen at the moment, but it's something that could in the future. > > Can't you check for the resize event, and redo the layout then? From jrosat at mac.com Mon Mar 5 17:43:13 2012 From: jrosat at mac.com (=?iso-8859-1?Q?J=E9r=F4me_Rosat?=) Date: Mon, 05 Mar 2012 23:43:13 +0100 Subject: Sqlite and performances in LiveCode In-Reply-To: References: <2B9F1B7F-19ED-4738-BF9E-A570457D2938@mac.com> Message-ID: <90B62172-AC09-49BA-BE35-9D13B70D495C@mac.com> Thank you Kay for your feedback. I didn't realize that SQLiteManager was "the King of the speed" and I am reassured to see that LiveCode is not so slow compared to other tools. Le 5 mars 2012 ? 07:22, Kay C Lan a ?crit : > No, it's not the same one. > > Looking at the SQLabs site, SQLabs "developed from scratch a brand new > ListBox that is able to display an infinite number of rows and columns in > just few milliseconds. This is a fundamental base control for the app." > They've been optemising their product since 2003, it would be surprising if > you can match them on your first try. > > I did a few tests with FireFox's SQLite Manager and for 50,000 records > (11MB) it took 504ms to display in a field that could display ALL records. > > Testing with LC I could extract the same records in 409ms but to display > them all in a field took it out to 917ms. By reducing the number of records > displayed to the size of the field, it took 410ms. Clearly LC fields are > the limiting factor here. > > I then noticed that in FireFox, although all the rows could be scrolled > down to the bottom, the columns were all truncated. So I then changed my LC > field to a 'Basic table object', set the 'Maximum editable columns' to > match exactly the number of columns I had, and then set the tab stops so > only a small portion of data of each column was displayed - similar to how > FireFox truncated it's columns. In this way I was able to display ALL the > rows in 491 ms. > > This may not be as fast as SQLabs, but I think they maybe the speed kings. > Compared to another SQLite tool I was able to get LC to perform just as > fast, if not a little faster. > > HTH > > > On Sun, Mar 4, 2012 at 7:12 PM, J?r?me Rosat wrote: > >> I don't know if SQLiteManager for Firefox is the same one I use (from >> SQLabs) but it display all the records in one time (I can scroll all the >> list). >> >> But thank you for the suggestion, If necessary I'm going to display only a >> part of the records with a next button, even if I don't like very much this >> approach. >> >> >> Le 4 mars 2012 ? 03:37, Kay C Lan a ?crit : >> >> >>> If the 'SQLiteManager' you refer to is the same one I use with FireFox, >> in >>> my case it only displays 100 records at a time, you have to click the >> Next >>> button to see more - so this is a performance trick you can do with LC. >>> Instead of extracting 150000 records in one go, and displaying it in a >>> field in one go( which will take a long time) only extract 100 records >>> (which will take significantly less time) and have a Next button, just >> like >>> SQLIte Manager, to retrieve the next 100 records. >>> >>> If I'm right, the the fact that LC only took 4.4 times longer to display >>> 1500 times more records would suggest that you'll be able to do a lot >>> better with LC >>> >>> HTH >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From katir at hindu.org Mon Mar 5 17:46:08 2012 From: katir at hindu.org (Sivakatirswami) Date: Mon, 05 Mar 2012 12:46:08 -1000 Subject: How to set initial appearance of all buttons on UI using behaviors Message-ID: <4F554230.2030402@hindu.org> I have studied out behaviors a bit, but can we use a behavior button as a kind of template for all the static props of other objects? e.g. you have twenty buttons on a GUI and you want to change the look and feel of them all at the same time. I know you can set the script of buttons 1,2,3,4 using button A as a behavior for each of them. but what about their default colors, transparency shape button mode (round rectangle or regular or rectangle) etc. ??? perhaps behaviors is not the way to go for this... Om Shanti Sivakatirswami Kauai Aadheenam From jrosat at mac.com Mon Mar 5 17:53:56 2012 From: jrosat at mac.com (=?iso-8859-1?Q?J=E9r=F4me_Rosat?=) Date: Mon, 05 Mar 2012 23:53:56 +0100 Subject: Sqlite and performances in LiveCode In-Reply-To: References: <2B9F1B7F-19ED-4738-BF9E-A570457D2938@mac.com> Message-ID: <71851923-1B82-4130-897A-C13F8874CED3@mac.com> Your "acid test" is very interesting. Using sqlite3 directly is one solution to increase performance of LiveCode. And you're right, a response time of less than a second is acceptable from a user's perspective and and limit the number of registration is a way to reach this "performance". Le 5 mars 2012 ? 08:45, Pete a ?crit : > I think the acid test here is to use sqlite3 vs Livecode, since sqlite3 is > the official command line tool for sqlite and likely to be more efficient > than any other browsing tool. I tested a select * from a table with about > 48,000 records in it, using a datagrid versus an LC screen that invoked > sqlite3, passing it all the necessary parameters, reading the output and > displayed it in a scrolling field. I did not do any coded timings but > retrieving and displaying the records in an LC datagrid took around 3-4 > times longer than in sqlite3. The datagrid was using the > dgNumberOfRecords/GetDataForLine techniques outlined in the datagrid manual > and there was no data formatting involved. > > The crazy thing about this is that, using those techniques, I believe the > datagrid loads only enough database rows to fill the number of rows that > are visible in the datagrid, adding more rows as the user scrolls. So the > comparison is really between selecting and displaying all 48,000 rows in > sqlite3 vs selecting 48,000 rows and displaying only 11 rows (the number of > rows in my datagrid). > > It's pretty clear that using a datagrid to display large datasets is not a > good idea if you want to maximize performance unless you really need the > the functionality that a datagrid provides. > > On the other hand, the original post seemed to indicate that, even though > the elapsed time using a datagrid was several times longer than the SQLabs > tool, it was still less than a second. While it's interesting to figure > out why that should be, I'd guess that a response time of less than a > second is acceptable from a user's perspective. > > Pete > > On Sun, Mar 4, 2012 at 10:22 PM, Kay C Lan wrote: > >> No, it's not the same one. >> >> Looking at the SQLabs site, SQLabs "developed from scratch a brand new >> ListBox that is able to display an infinite number of rows and columns in >> just few milliseconds. This is a fundamental base control for the app." >> They've been optemising their product since 2003, it would be surprising if >> you can match them on your first try. >> >> I did a few tests with FireFox's SQLite Manager and for 50,000 records >> (11MB) it took 504ms to display in a field that could display ALL records. >> >> Testing with LC I could extract the same records in 409ms but to display >> them all in a field took it out to 917ms. By reducing the number of records >> displayed to the size of the field, it took 410ms. Clearly LC fields are >> the limiting factor here. >> >> I then noticed that in FireFox, although all the rows could be scrolled >> down to the bottom, the columns were all truncated. So I then changed my LC >> field to a 'Basic table object', set the 'Maximum editable columns' to >> match exactly the number of columns I had, and then set the tab stops so >> only a small portion of data of each column was displayed - similar to how >> FireFox truncated it's columns. In this way I was able to display ALL the >> rows in 491 ms. >> >> This may not be as fast as SQLabs, but I think they maybe the speed kings. >> Compared to another SQLite tool I was able to get LC to perform just as >> fast, if not a little faster. >> >> HTH >> >> >> On Sun, Mar 4, 2012 at 7:12 PM, J?r?me Rosat wrote: >> >>> I don't know if SQLiteManager for Firefox is the same one I use (from >>> SQLabs) but it display all the records in one time (I can scroll all the >>> list). >>> >>> But thank you for the suggestion, If necessary I'm going to display only >> a >>> part of the records with a next button, even if I don't like very much >> this >>> approach. >>> >>> >>> Le 4 mars 2012 ? 03:37, Kay C Lan a ?crit : >>> >>> >>>> If the 'SQLiteManager' you refer to is the same one I use with FireFox, >>> in >>>> my case it only displays 100 records at a time, you have to click the >>> Next >>>> button to see more - so this is a performance trick you can do with LC. >>>> Instead of extracting 150000 records in one go, and displaying it in a >>>> field in one go( which will take a long time) only extract 100 records >>>> (which will take significantly less time) and have a Next button, just >>> like >>>> SQLIte Manager, to retrieve the next 100 records. >>>> >>>> If I'm right, the the fact that LC only took 4.4 times longer to >> display >>>> 1500 times more records would suggest that you'll be able to do a lot >>>> better with LC >>>> >>>> HTH >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > > -- > Pete > Molly's Revenge > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bdrunrev at gmail.com Mon Mar 5 18:08:15 2012 From: bdrunrev at gmail.com (Bernard Devlin) Date: Mon, 5 Mar 2012 23:08:15 +0000 Subject: How to set initial appearance of all buttons on UI using behaviors In-Reply-To: <4F554230.2030402@hindu.org> References: <4F554230.2030402@hindu.org> Message-ID: Look in the dictionary at the templateButton. If you set the properties of that, then any button you set will have those properties. I think it is a local property, so will only apply within the script where you set it. Bernard On Mon, Mar 5, 2012 at 10:46 PM, Sivakatirswami wrote: > I have studied out behaviors a bit, but can we use a behavior button as a > kind of template for all the static props of other objects? From jrosat at mac.com Mon Mar 5 18:09:23 2012 From: jrosat at mac.com (=?iso-8859-1?Q?J=E9r=F4me_Rosat?=) Date: Tue, 06 Mar 2012 00:09:23 +0100 Subject: Sqlite and performances in LiveCode In-Reply-To: References: Message-ID: <7049BBBA-A811-45C2-AEFF-A112E7D0194B@mac.com> Trevor, I use the stack provided here: http://www.bluemangolearning.com/download/revolution/tools/datagrid_databases.zip I don't know if I understand your question, but the code is: put the milliseconds into theStart put revQueryDatabase(sConnID,"SELECT * FROM movies") into sCursorID put the milliseconds - theStart into theDuration Log "Opening movies cursor took" && theDuration && "milliseconds" There is only one call "revQueryDatabase". Le 5 mars 2012 ? 20:00, Trevor DeVore a ?crit : > On Sat, Mar 3, 2012 at 6:00 PM, J?r?me Rosat wrote: > >> >> This database contains approximately 150,000 records and it increases by >> about 5,000 records per month. >> >> Before beginning, I read the lesson "Displaying Large Amounts of Data" on >> the site of RunRev and I did tests with the sample stack and database >> (50'000 records). >> >> I was surprised by the performance of LiveCode. When I use the stack (or >> the standalone app, the query of all the records takes about 932 >> milliseconds. But when I use SQLiteManager (an app that I use to manage >> sqlite files) with the same table, at the same place, the query of all the >> records takes about 194 milliseconds. >> > > J?r?me, > > What are the exact calls you make in LiveCode during the 932 milliseconds? > > -- > Trevor DeVore > Blue Mango Learning Systems > www.clarify-it.com - www.screensteps.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Mar 5 18:51:11 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 05 Mar 2012 17:51:11 -0600 Subject: How to set initial appearance of all buttons on UI using behaviors In-Reply-To: <4F554230.2030402@hindu.org> References: <4F554230.2030402@hindu.org> Message-ID: <4F55516F.9010905@hyperactivesw.com> On 3/5/12 4:46 PM, Sivakatirswami wrote: > I have studied out behaviors a bit, but can we use a behavior button as > a kind of template for all the static props of other objects? > > e.g. you have twenty buttons on a GUI and you want to change the look > and feel of them all at the same time. > > I know you can set the script of buttons 1,2,3,4 using button A as a > behavior for each of them. but what about their default colors, > transparency shape button mode (round rectangle or regular or rectangle) > etc. > > ??? > > perhaps behaviors is not the way to go for this... You could do it with the "properties" property in conjunction with behaviors. Make your behavior button look exactly the way you want, and then loop through the other buttons and set their properties to the properties of the behavior button. One caveat: the rectangle and name will be changed too (since they're both properties,) which you probably don't want. So you should remove those entries from the array, along with any others you don't want to change, before actually setting anything. The dictionary explains it. The first time I did this I got disasterous results and had to revert the stack. Now I always look at the values in the debugger before I actually go ahead and set anything. It's easy to get all your buttons named the same and piled up on top of each other, but once it's properly edited and working, it's very fast and efficient. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From m.schonewille at economy-x-talk.com Mon Mar 5 19:39:09 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 6 Mar 2012 01:39:09 +0100 Subject: Compiling with XCode 10.4.2, LC 5.0.2 on OSX 10.6.8 Message-ID: Hi, I'm trying to build an external for Mac OS X (not iOS) using ExternalsEnvironmentV3, XCode 10.4.2 and LiveCode 5.0.2 on Mac OS X 10.6.8. I'm getting many error messages complaining about SDK's that are too new and compilers that are too new and when I think that everything should work I get the error "Building for Intel is not supported in 10.3.9 SDK" (obviously). Could someone tell me what I need to change in the build settings of the project and the targets to get my external to compile? I've posted this on the forum as well: http://qery.us/1vf -- 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 1.7 for LiveCode here http://qery.us/za From m.schonewille at economy-x-talk.com Mon Mar 5 21:43:33 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 6 Mar 2012 03:43:33 +0100 Subject: [ANN] Installer Maker 1.7.4Sb01 Available for Testing Message-ID: <15065071-8320-430E-A0B8-E080C960DD63@economy-x-talk.com> Hi everyone, Installer Maker is a programme that wraps your software in a nice and easy installer. Installer Maker 1.7.4Sb01 contains more than 20 new features and bug fixes. Installer Maker creates installers of your software for Mac OS X and Windows and is especially convenient for users of RAD environments such as RealStudio, SuperCard and LiveCode. Currently, the official standalone version of Standalone Maker is 1.6.1. This version is almost a year old. During that year, we added many new features, which were included in the plugin version for LiveCode but not in the standalone version. We are now releasing Installer Maker 1.7.4Sb01, which includes all new features. Note that 1.7.4Sb01 is a beta version. It may work or fail completely. Economy-x-Talk doesn't bear any responsibility for any problems caused by Installer Maker. See also our business terms and the license included with the software. There are 4 different versions (for Mac OS X PPC, Mac OS X Intel, Mac OS X Universal and for Windows), which you can download http://qery.us/oc here. Do you like Installer Maker? You can buy a license with a 25% discount until Friday 9 March! Go to http://qery.us/1v7 to get your discount! The discount applies to both the standalone and the plugin version of Installer Maker. -- 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 1.7 for LiveCode here http://qery.us/za From pmbrig at gmail.com Mon Mar 5 22:29:28 2012 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Mon, 5 Mar 2012 22:29:28 -0500 Subject: How to set initial appearance of all buttons on UI using behaviors In-Reply-To: <4F55516F.9010905@hyperactivesw.com> References: <4F554230.2030402@hindu.org> <4F55516F.9010905@hyperactivesw.com> Message-ID: Mar 5, 2012, at 6:51 PM, J. Landman Gay wrote: > On 3/5/12 4:46 PM, Sivakatirswami wrote: > >> I have studied out behaviors a bit, but can we use a behavior button as >> a kind of template for all the static props of other objects? >> >> e.g. you have twenty buttons on a GUI and you want to change the look >> and feel of them all at the same time. >> >> I know you can set the script of buttons 1,2,3,4 using button A as a >> behavior for each of them. but what about their default colors, >> transparency shape button mode (round rectangle or regular or rectangle) >> etc. >> >> ??? >> >> perhaps behaviors is not the way to go for this... > > You could do it with the "properties" property in conjunction with behaviors. Make your behavior button look exactly the way you want, and then loop through the other buttons and set their properties to the properties of the behavior button. > > One caveat: the rectangle and name will be changed too (since they're both properties,) which you probably don't want. So you should remove those entries from the array, along with any others you don't want to change, before actually setting anything. The dictionary explains it. > > The first time I did this I got disasterous results and had to revert the stack. Now I always look at the values in the debugger before I actually go ahead and set anything. It's easy to get all your buttons named the same and piled up on top of each other, but once it's properly edited and working, it's very fast and efficient. I put together a little plugin that does just what Jacque suggests -- it uses the "properties" property to save and store properties of buttons, fields, and scrollbars so you can then apply them to new objects. From the help text: "The ObjectFormats plugin helps you apply stored properties to buttons, fields, or scrollbars in any stack. Set up a field, button, or scrollbar the way you want it and save its properties in this plugin, then apply the whole set of properties to future controls with a mouseclick. You can store a list of formats and use them repeatedly, eg, for consistency in GUI design, etc." Properties that would be inadvisable to save and apply to new objects, such as the name, label, ID and altID, behavior, layer, text, icon, etc., are screened out automatically. The height and width (without the location) can be saved or not as part of the properties stored. Try it out by downloading it at: http://db.tt/DNER1cZC See if that helps you. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From lists at mangomultimedia.com Mon Mar 5 23:22:46 2012 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 5 Mar 2012 23:22:46 -0500 Subject: Sqlite and performances in LiveCode In-Reply-To: <7049BBBA-A811-45C2-AEFF-A112E7D0194B@mac.com> References: <7049BBBA-A811-45C2-AEFF-A112E7D0194B@mac.com> Message-ID: On Mon, Mar 5, 2012 at 6:09 PM, J?r?me Rosat wrote: > I use the stack provided here: > http://www.bluemangolearning.com/download/revolution/tools/datagrid_databases.zip > > I don't know if I understand your question, but the code is: > > put the milliseconds into theStart > put revQueryDatabase(sConnID,"SELECT * FROM movies") into sCursorID > put the milliseconds - theStart into theDuration > Log "Opening movies cursor took" && theDuration && "milliseconds" > > There is only one call "revQueryDatabase". > Yes, that is what I was interested in knowing. I just wanted to get a handle on where the bottleneck is exactly. I did a test with SQLiteManager 2 and when viewing all movies in the manage tab the query takes anywhere from 685 milliseconds to over 1 second (looking at the Query time at the bottom of the window). It usually stays right around 700 milliseconds, however. Results are the same if I use the SQL tab and execute the query "SELECT * FROM movies". In LiveCode 4.6.4 on the same machine the same query averages around 850 milliseconds. Next I downloaded the demo version of SQLiteManager 3 and ran the same query from the Manage tab. The query took ~240 milliseconds on average. I then switched to the SQL tab and typed in "SELECT * FROM movies" (the query from your stack) and the query took ~450 milliseconds on average. This makes me wonder if SQLiteManager 3 is fetching data in the Manage tab using an approach other than generating a query string and passing that off to SQLite. I haven't studied the SQLite API in depth so I don't know what sorts of options are available in the C API. The equivalent of what RevDB is doing is the SQL tab in SQLite Manager. SQLiteManager 3 is roughly twice as fast at running this query as RevDB. I wonder if there are updated API calls that SQLiteManager 3 is using that RevDB could take advantage of. It might be worth pinging RunRev, sharing your test with them and seeing if revQueryDatabase can't be optimized a bit. Your data grid has been set up correctly. I get rendering times of 120 milliseconds on average so it isn't the bottle neck you need to be concerned with at the moment. Looking at your original post it doesn't look like you were trying to troubleshoot the data grid, though. -- Trevor DeVore Blue Mango Learning Systems www.clarify-it.com - www.screensteps.com From lists at mangomultimedia.com Mon Mar 5 23:25:45 2012 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 5 Mar 2012 23:25:45 -0500 Subject: Sqlite and performances in LiveCode In-Reply-To: References: <7049BBBA-A811-45C2-AEFF-A112E7D0194B@mac.com> Message-ID: On Mon, Mar 5, 2012 at 11:22 PM, Trevor DeVore wrote: > > Your data grid has been set up correctly. I get rendering times of 120 > milliseconds on average so it isn't the bottle neck you need to be > concerned with at the moment. > I just realized that was the example stack from the lesson you referenced. I thought that code looked familiar? :-) -- Trevor DeVore Blue Mango Learning Systems www.clarify-it.com - www.screensteps.com From jacque at hyperactivesw.com Mon Mar 5 23:53:09 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 05 Mar 2012 22:53:09 -0600 Subject: How to set initial appearance of all buttons on UI using behaviors In-Reply-To: References: <4F554230.2030402@hindu.org> <4F55516F.9010905@hyperactivesw.com> Message-ID: <4F559835.80501@hyperactivesw.com> On 3/5/12 9:29 PM, Peter M. Brigham, MD wrote: > I put together a little plugin that does just what Jacque suggests -- > it uses the "properties" property to save and store properties of > buttons, fields, and scrollbars so you can then apply them to new > objects. How useful. Thanks. You've done all the filtering work. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From edljr at mac.com Tue Mar 6 00:17:00 2012 From: edljr at mac.com (Edward D Lavieri Jr) Date: Mon, 05 Mar 2012 23:17:00 -0600 Subject: Charts Engine v. Chart Maker Message-ID: Hi All, Does anyone know the difference between the third party add-ons Charts Engine and Chart Maker. Their descriptions in the RR Store are too brief to make a determination. I am getting to develop an App that will include graphical reports and one of these two products is probably just what I need. Any insights would be greatly appreciated. Thanks, Ed Ed Lavieri ed at three19.com www.three19.com From littlejamesw at mac.com Tue Mar 6 00:26:33 2012 From: littlejamesw at mac.com (Jim Little) Date: Mon, 05 Mar 2012 21:26:33 -0800 Subject: Charts Engine v. Chart Maker In-Reply-To: References: Message-ID: <74D95D8F-68AF-4674-8D90-6F05FE7E9E70@mac.com> Hi Ed, I recommend you go to flexiblelearning.com for a free trial of ChartMaker. There's a learning curve but it has a good manual & examples. I've not used Charts Engine for quite awhile. http://www.flexiblelearning.com/chartmaker/ Best, Jim L. On Mar 5, 2012, at 9:17 PM, Edward D Lavieri Jr wrote: > Hi All, > > Does anyone know the difference between the third party add-ons Charts Engine and Chart Maker. Their descriptions in the RR Store are too brief to make a determination. I am getting to develop an App that will include graphical reports and one of these two products is probably just what I need. > > Any insights would be greatly appreciated. > > Thanks, > Ed > > Ed Lavieri > ed at three19.com > www.three19.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From edljr at mac.com Tue Mar 6 00:37:29 2012 From: edljr at mac.com (Edward D Lavieri Jr) Date: Mon, 05 Mar 2012 23:37:29 -0600 Subject: Charts Engine v. Chart Maker In-Reply-To: <74D95D8F-68AF-4674-8D90-6F05FE7E9E70@mac.com> References: <74D95D8F-68AF-4674-8D90-6F05FE7E9E70@mac.com> Message-ID: <8A4F68D4-E295-4C35-9F11-21ABE6A2F4C8@mac.com> Thanks, Jim. I appreciate the link and advice. Thanks again, Ed On Mar 5, 2012, at 11:26 PM, Jim Little wrote: > Hi Ed, > > I recommend you go to flexiblelearning.com for a free trial of ChartMaker. There's a learning curve but it has a good manual & examples. I've not used Charts Engine for quite awhile. > > http://www.flexiblelearning.com/chartmaker/ > > Best, > > Jim L. > > > On Mar 5, 2012, at 9:17 PM, Edward D Lavieri Jr wrote: > >> Hi All, >> >> Does anyone know the difference between the third party add-ons Charts Engine and Chart Maker. Their descriptions in the RR Store are too brief to make a determination. I am getting to develop an App that will include graphical reports and one of these two products is probably just what I need. >> >> Any insights would be greatly appreciated. >> >> Thanks, >> Ed >> >> Ed Lavieri >> ed at three19.com >> www.three19.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Tue Mar 6 01:28:15 2012 From: pete at mollysrevenge.com (Pete) Date: Mon, 5 Mar 2012 22:28:15 -0800 Subject: Sqlite and performances in LiveCode In-Reply-To: References: <7049BBBA-A811-45C2-AEFF-A112E7D0194B@mac.com> Message-ID: Hi Trevor, I'm pretty sure that LC 5.0 included a more recent version of the sqlite library so there could be some performance improvements there. I don't know how to find out what version they are using but the current sqlite library version is 3.7.10, released in January this year so it's probably not in LC yet but maybe SQLite Manager ahs it.. I'm not familiar with the sqlite API either but I doubt there's any way of retrieving data other than using a SELECT command. Pete On Mon, Mar 5, 2012 at 8:22 PM, Trevor DeVore wrote: > On Mon, Mar 5, 2012 at 6:09 PM, J?r?me Rosat wrote: > > > I use the stack provided here: > > > http://www.bluemangolearning.com/download/revolution/tools/datagrid_databases.zip > > > > I don't know if I understand your question, but the code is: > > > > put the milliseconds into theStart > > put revQueryDatabase(sConnID,"SELECT * FROM movies") into sCursorID > > put the milliseconds - theStart into theDuration > > Log "Opening movies cursor took" && theDuration && "milliseconds" > > > > There is only one call "revQueryDatabase". > > > > Yes, that is what I was interested in knowing. I just wanted to get a > handle on where the bottleneck is exactly. > > I did a test with SQLiteManager 2 and when viewing all movies in the manage > tab the query takes anywhere from 685 milliseconds to over 1 second > (looking at the Query time at the bottom of the window). It usually stays > right around 700 milliseconds, however. Results are the same if I use the > SQL tab and execute the query "SELECT * FROM movies". > > In LiveCode 4.6.4 on the same machine the same query averages around 850 > milliseconds. > > Next I downloaded the demo version of SQLiteManager 3 and ran the same > query from the Manage tab. The query took ~240 milliseconds on average. I > then switched to the SQL tab and typed in "SELECT * FROM movies" (the query > from your stack) and the query took ~450 milliseconds on average. > > This makes me wonder if SQLiteManager 3 is fetching data in the Manage tab > using an approach other than generating a query string and passing that off > to SQLite. I haven't studied the SQLite API in depth so I don't know what > sorts of options are available in the C API. The equivalent of what RevDB > is doing is the SQL tab in SQLite Manager. SQLiteManager 3 is roughly twice > as fast at running this query as RevDB. I wonder if there are updated API > calls that SQLiteManager 3 is using that RevDB could take advantage of. It > might be worth pinging RunRev, sharing your test with them and seeing if > revQueryDatabase can't be optimized a bit. > > Your data grid has been set up correctly. I get rendering times of 120 > milliseconds on average so it isn't the bottle neck you need to be > concerned with at the moment. Looking at your original post it doesn't look > like you were trying to troubleshoot the data grid, though. > > -- > Trevor DeVore > Blue Mango Learning Systems > www.clarify-it.com - www.screensteps.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From yvescoppe at skynet.be Tue Mar 6 01:41:39 2012 From: yvescoppe at skynet.be (Yves COPPE) Date: Tue, 6 Mar 2012 07:41:39 +0100 Subject: Charts Engine v. Chart Maker In-Reply-To: References: Message-ID: <7F062815-E439-4B2C-B5F1-03C25DBE5D24@skynet.be> Le 6 mars 2012 ? 06:17, Edward D Lavieri Jr a ?crit : > Hi All, > > Does anyone know the difference between the third party add-ons Charts Engine and Chart Maker. Their descriptions in the RR Store are too brief to make a determination. I am getting to develop an App that will include graphical reports and one of these two products is probably just what I need. > > Any insights would be greatly appreciated. re, I'm using chartMaker since the product exists and am very happy with. Very good plug in. Greetings. Yves COPPE yvescoppe at skynet.be From toolbook at kestner.de Tue Mar 6 03:19:19 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 6 Mar 2012 09:19:19 +0100 Subject: Windows 8 Message-ID: <001e01ccfb71$d4769840$7d63c8c0$@de> Hello, I wonder if anybody has reflected yet, what the windows 8 metro paradigm means for our standard LiveCode applications? I didn't downloaded yet the beta version, but I think most programs will run also under windows 8. But what would we have to change in our programs to be "fully win8 compliant"? It's probably not only just a "Metro" Icon for the App? What about making a program "really" touch screen compatible for tablet PCs? Making all menus, fields and fonts larger? Or what has to be done behind the screens? What will have runrev to do in livecode? Any ideas yet? Tiemo From yoshino at sys.wakayama-u.ac.jp Tue Mar 6 05:13:48 2012 From: yoshino at sys.wakayama-u.ac.jp (=?iso-2022-jp?B?GyRCNUhMbiEhOScbKEI=?=) Date: Tue, 6 Mar 2012 19:13:48 +0900 Subject: How can I get string width? In-Reply-To: <49658D5E-4538-4650-A5E3-10FE8E1892A1@sweattechnologies.com> References: <49658D5E-4538-4650-A5E3-10FE8E1892A1@sweattechnologies.com> Message-ID: <8D0F5AC9-B43F-4E4A-BFA0-7690B4C85642@sys.wakayama-u.ac.jp> Thanks Monte ! It works very well. The functions of formattedHeight and formattedWidth are good for me. It can work well in double-byte character. Takashi On 2012/03/05, at 11:47, Monte Goulding wrote: > Do you mean the number of characters? > > put the number of characters of X > > or > > put length(X) > > Or do you mean the width in a field to take into account the font etc? > > put the formattedWidth of field X > > Cheers > > Monte > > On 05/03/2012, at 1:42 PM, ?? ? wrote: > >> Hi, Experts! >> >> How can I get string width? >> >> I would like to string width? >> >> _.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ >> Takashi Yoshino >> http://www.wakayama-u.ac.jp/~yoshino/lab/ >> Tel: +81-73-457-8441 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ Takashi Yoshino http://www.wakayama-u.ac.jp/~yoshino/lab/ Tel: +81-73-457-8441 From yoshino at sys.wakayama-u.ac.jp Tue Mar 6 05:24:15 2012 From: yoshino at sys.wakayama-u.ac.jp (=?iso-2022-jp?B?GyRCNUhMbiEhOScbKEI=?=) Date: Tue, 6 Mar 2012 19:24:15 +0900 Subject: How can I get string width? In-Reply-To: <1330921908317-4445141.post@n4.nabble.com> References: <1330921908317-4445141.post@n4.nabble.com> Message-ID: Hi, Al Thank you very much. It work well with japanese language. > > Just for curiosity, Mr. Yoshino, Which of these softwares > from Yoshino Lab was created using LiveCode? > > http://www.wakayama-u.ac.jp/~yoshino/lab/software/index.html Thank you for your curiosity. And sorry for only Japanese web page. We have developed M3 Multilingual Medical Reception Support System (M-cube). I am developing new system (Android devices) using LiveCode now. It is not on the page now. We have developed PC system for hospital using C#. But now I am developing the same system for Android devices. The following is the PC system. http://www.tabunkakyoto.org/multilingual-medical-system/ http://www.wakayama-u.ac.jp/~yoshino/lab/research/miyabe_2010_1/index.html http://www.tabunkakyoto.org/????-ict/???????????m3-?????/ On 2012/03/05, at 13:31, Alejandro Tejada wrote: > Hi Mr. Yoshino, > > > Takashi Yoshino wrote >> >> How can I get string width? >> > > Iwas ready to answer, when I noticed the message > from Devin Asay: > >> Try the formattedWidth of [chunk]. For example: >> put the formattedWidth of word 2 to 5 of fld 1 into stringWidth > > Hopefully this property works fine with double-byte languages. > > Just for curiosity, Mr. Yoshino, Which of these softwares > from Yoshino Lab was created using LiveCode? > > http://www.wakayama-u.ac.jp/~yoshino/lab/software/index.html > > Have a nice week! > > Al > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-can-I-get-string-width-tp4444971p4445141.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ Takashi Yoshino http://www.wakayama-u.ac.jp/~yoshino/lab/ Tel: +81-73-457-8441 From yoshino at sys.wakayama-u.ac.jp Tue Mar 6 05:24:15 2012 From: yoshino at sys.wakayama-u.ac.jp (=?iso-2022-jp?B?GyRCNUhMbiEhOScbKEI=?=) Date: Tue, 6 Mar 2012 19:24:15 +0900 Subject: How can I get string width? In-Reply-To: <1330921908317-4445141.post@n4.nabble.com> References: <1330921908317-4445141.post@n4.nabble.com> Message-ID: Hi, Al Thank you very much. It work well with japanese language. > > Just for curiosity, Mr. Yoshino, Which of these softwares > from Yoshino Lab was created using LiveCode? > > http://www.wakayama-u.ac.jp/~yoshino/lab/software/index.html Thank you for your curiosity. And sorry for only Japanese web page. We have developed M3 Multilingual Medical Reception Support System (M-cube). I am developing new system (Android devices) using LiveCode now. It is not on the page now. We have developed PC system for hospital using C#. But now I am developing the same system for Android devices. The following is the PC system. http://www.tabunkakyoto.org/multilingual-medical-system/ http://www.wakayama-u.ac.jp/~yoshino/lab/research/miyabe_2010_1/index.html http://www.tabunkakyoto.org/????-ict/???????????m3-?????/ On 2012/03/05, at 13:31, Alejandro Tejada wrote: > Hi Mr. Yoshino, > > > Takashi Yoshino wrote >> >> How can I get string width? >> > > Iwas ready to answer, when I noticed the message > from Devin Asay: > >> Try the formattedWidth of [chunk]. For example: >> put the formattedWidth of word 2 to 5 of fld 1 into stringWidth > > Hopefully this property works fine with double-byte languages. > > Just for curiosity, Mr. Yoshino, Which of these softwares > from Yoshino Lab was created using LiveCode? > > http://www.wakayama-u.ac.jp/~yoshino/lab/software/index.html > > Have a nice week! > > Al > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-can-I-get-string-width-tp4444971p4445141.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ Takashi Yoshino http://www.wakayama-u.ac.jp/~yoshino/lab/ Tel: +81-73-457-8441 From bvg at mac.com Tue Mar 6 05:34:29 2012 From: bvg at mac.com (Bjoernke von Gierke) Date: Tue, 06 Mar 2012 11:34:29 +0100 Subject: Charts Engine v. Chart Maker In-Reply-To: References: Message-ID: the store page of chartsengine does also have a trial version for you to download: http://www.runrev.com/store/product/charts-engine-1-0-4/ On 06.03.2012, at 06:17, Edward D Lavieri Jr wrote: > Hi All, > > Does anyone know the difference between the third party add-ons Charts Engine and Chart Maker. Their descriptions in the RR Store are too brief to make a determination. I am getting to develop an App that will include graphical reports and one of these two products is probably just what I need. > > Any insights would be greatly appreciated. > > Thanks, > Ed > > Ed Lavieri > ed at three19.com > www.three19.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Tue Mar 6 05:52:37 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 6 Mar 2012 11:52:37 +0100 Subject: How to close a modal stack by keyboard? Message-ID: <002401ccfb87$3f11f540$bd35dfc0$@de> Hello, When I have opened (in the IDE) a modal stack without closebox, how can I close it by a windows keyboard shortcut? The messagebox window isn't reachable, because of the modal state of my stack. Thanks Tiemo From m.schonewille at economy-x-talk.com Tue Mar 6 06:01:02 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 6 Mar 2012 12:01:02 +0100 Subject: How to close a modal stack by keyboard? In-Reply-To: <002401ccfb87$3f11f540$bd35dfc0$@de> References: <002401ccfb87$3f11f540$bd35dfc0$@de> Message-ID: Hi Tiemo, If you're lucky, you can right-click in the modal dialog and change the stack mode to toplevel. -- 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 1.7 for LiveCode here http://qery.us/za On 6 mrt 2012, at 11:52, Tiemo Hollmann TB wrote: > Hello, > > When I have opened (in the IDE) a modal stack without closebox, how can I > close it by a windows keyboard shortcut? The messagebox window isn't > reachable, because of the modal state of my stack. > > Thanks > > Tiemo From bdrunrev at gmail.com Tue Mar 6 06:02:32 2012 From: bdrunrev at gmail.com (Bernard Devlin) Date: Tue, 6 Mar 2012 11:02:32 +0000 Subject: Sqlite and performances in LiveCode In-Reply-To: References: <7049BBBA-A811-45C2-AEFF-A112E7D0194B@mac.com> Message-ID: The difference might be explained due to Livecode setting a smaller cache size than other applications. http://web.utk.edu/~jplyon/sqlite/SQLite_optimization_FAQ.html http://www.sqlite.org/pragma.html#pragma_cache_size I don't know if the cache size is under one's control with sqlite. I know it is with Valentina. I can't see that the call to revOpenDatabase allows a cache size to be set for sqlite. Perhaps those options can be set in a sqlite configuration file and picked up when LC makes a sqlite connection? I guess that the sqlite command line tool would enable the cache size to be set, so one could test if cache size is significant. Selecting largish result sets on Valentina, I haven't noticed any significant difference by going beyond the default cache sizes (but then since Valentian is a column-based database that might be significant). But then I don't think that 50k or even 150k is such a large result set either (of course, it would be different on a database with a huge number of columns or very wide columns). Bernard On Tue, Mar 6, 2012 at 4:22 AM, Trevor DeVore wrote: > I did a test with SQLiteManager 2 and when viewing all movies in the manage > tab the query takes anywhere from 685 milliseconds to over 1 second > (looking at the Query time at the bottom of the window). It usually stays > right around 700 milliseconds, however. Results are the same if I use the > SQL tab and execute the query "SELECT * FROM movies". > > In LiveCode 4.6.4 on the same machine the same query averages around 850 > milliseconds. > > Next I downloaded the demo version of SQLiteManager 3 and ran the same > query from the Manage tab. The query took ~240 milliseconds on average. I > then switched to the SQL tab and typed in "SELECT * FROM movies" (the query > from your stack) and the query took ~450 milliseconds on average. > > This makes me wonder if SQLiteManager 3 is fetching data in the Manage tab > using an approach other than generating a query string and passing that off > to SQLite. I haven't studied the SQLite API in depth so I don't know what > sorts of options are available in the C API. The equivalent of what RevDB > is doing is the SQL tab in SQLite Manager. From guglielmo at braguglia.ch Tue Mar 6 06:31:50 2012 From: guglielmo at braguglia.ch (Guglielmo Braguglia) Date: Tue, 06 Mar 2012 12:31:50 +0100 Subject: Compiling with XCode 10.4.2, LC 5.0.2 on OSX 10.6.8 In-Reply-To: References: Message-ID: <4F55F5A6.2010102@braguglia.ch> Hi Mark, I suppose you want to say XCode 4.2 ... ;-) ... please, see this post ... maybe helps ... : http://forums.runrev.com/viewtopic.php?f=49&t=9658 Guglielmo On 06.03.2012 01:39, Mark Schonewille wrote: > Hi, > > I'm trying to build an external for Mac OS X (not iOS) using ExternalsEnvironmentV3, XCode 10.4.2 and LiveCode 5.0.2 on Mac OS X 10.6.8. I'm getting many error messages complaining about SDK's that are too new and compilers that are too new and when I think that everything should work I get the error "Building for Intel is not supported in 10.3.9 SDK" (obviously). Could someone tell me what I need to change in the build settings of the project and the targets to get my external to compile? > > I've posted this on the forum as well: http://qery.us/1vf > > -- > 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 1.7 for LiveCode here http://qery.us/za > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From m.schonewille at economy-x-talk.com Tue Mar 6 06:36:47 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 6 Mar 2012 12:36:47 +0100 Subject: Compiling with XCode 10.4.2, LC 5.0.2 on OSX 10.6.8 In-Reply-To: <4F55F5A6.2010102@braguglia.ch> References: <4F55F5A6.2010102@braguglia.ch> Message-ID: <5F42A901-7DE0-4C51-BA26-357BAEBE34F7@economy-x-talk.com> I wrote: > I'm trying to build an external for Mac OS X (not iOS) using ExternalsEnvironmentV3,... Indeed, XCode 4.2. -- 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 1.7 for LiveCode here http://qery.us/za On 6 mrt 2012, at 12:31, Guglielmo Braguglia wrote: > Hi Mark, > I suppose you want to say XCode 4.2 ... ;-) > > ... please, see this post ... maybe helps ... : http://forums.runrev.com/viewtopic.php?f=49&t=9658 > > Guglielmo > From guglielmo at braguglia.ch Tue Mar 6 06:49:10 2012 From: guglielmo at braguglia.ch (Guglielmo Braguglia) Date: Tue, 06 Mar 2012 12:49:10 +0100 Subject: Compiling with XCode 10.4.2, LC 5.0.2 on OSX 10.6.8 In-Reply-To: <5F42A901-7DE0-4C51-BA26-357BAEBE34F7@economy-x-talk.com> References: <4F55F5A6.2010102@braguglia.ch> <5F42A901-7DE0-4C51-BA26-357BAEBE34F7@economy-x-talk.com> Message-ID: <4F55F9B6.4030604@braguglia.ch> Ooopsss ... sorry ... my mistake :) Guglielmo On 06.03.2012 12:36, Mark Schonewille wrote: > I wrote: > >> I'm trying to build an external for Mac OS X (not iOS) using ExternalsEnvironmentV3,... > Indeed, XCode 4.2. > > -- > 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 1.7 for LiveCode here http://qery.us/za > > On 6 mrt 2012, at 12:31, Guglielmo Braguglia wrote: > >> Hi Mark, >> I suppose you want to say XCode 4.2 ... ;-) >> >> ... please, see this post ... maybe helps ... : http://forums.runrev.com/viewtopic.php?f=49&t=9658 >> >> Guglielmo >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From smudge.andy at googlemail.com Tue Mar 6 06:50:05 2012 From: smudge.andy at googlemail.com (AndyP) Date: Tue, 6 Mar 2012 03:50:05 -0800 (PST) Subject: How to close a modal stack by keyboard? In-Reply-To: <002401ccfb87$3f11f540$bd35dfc0$@de> References: <002401ccfb87$3f11f540$bd35dfc0$@de> Message-ID: <1331034605769-4449574.post@n4.nabble.com> Hi Tiemo, A work around for this situation is to test if you are in the IDE or not, as below: if the environment is "development" then go to card "MyCard" of stack "MyStack" else go to card "MyCard" of stack "MyStack" as modal end if ----- Andy Piddock My software never has bugs. It just develops random features. PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode (v1.4.1 released 26/08/2011) -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-to-close-a-modal-stack-by-keyboard-tp4449367p4449574.html Sent from the Revolution - User mailing list archive at Nabble.com. From ken at kencorey.com Tue Mar 6 07:21:17 2012 From: ken at kencorey.com (Ken Corey) Date: Tue, 06 Mar 2012 12:21:17 +0000 Subject: How to close a modal stack by keyboard? In-Reply-To: <002401ccfb87$3f11f540$bd35dfc0$@de> References: <002401ccfb87$3f11f540$bd35dfc0$@de> Message-ID: <4F56013D.6070806@kencorey.com> On 06/03/2012 10:52, Tiemo Hollmann TB wrote: > When I have opened (in the IDE) a modal stack without closebox, how can I > close it by a windows keyboard shortcut? The messagebox window isn't > reachable, because of the modal state of my stack. I just had a quick play around... On my machine (Windows 7, LiveCode 5.x), I can bring up a new main stack, and set it to be modal (it has no buttons to close, remove or anything). Hold Ctrl-Shift, right click in the window, and you'll get a menu, where you can change the 'Stack Mode' to toplevel, where your controls come back. (On my Mac, it seems to be Command-Ctrl-Shift left-click). -Ken From toolbook at kestner.de Tue Mar 6 07:48:43 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 6 Mar 2012 13:48:43 +0100 Subject: AW: How to close a modal stack by keyboard? In-Reply-To: <4F56013D.6070806@kencorey.com> References: <002401ccfb87$3f11f540$bd35dfc0$@de> <4F56013D.6070806@kencorey.com> Message-ID: <002c01ccfb97$775d79f0$66186dd0$@de> Ctrl-Shift, right click did it! Thank you! Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Ken Corey > Gesendet: Dienstag, 6. M?rz 2012 13:21 > An: use-livecode at lists.runrev.com > Betreff: Re: How to close a modal stack by keyboard? > > On 06/03/2012 10:52, Tiemo Hollmann TB wrote: > > When I have opened (in the IDE) a modal stack without closebox, how can I > > close it by a windows keyboard shortcut? The messagebox window isn't > > reachable, because of the modal state of my stack. > > I just had a quick play around... > > On my machine (Windows 7, LiveCode 5.x), I can bring up a new main > stack, and set it to be modal (it has no buttons to close, remove or > anything). > > Hold Ctrl-Shift, right click in the window, and you'll get a menu, where > you can change the 'Stack Mode' to toplevel, where your controls come back. > > (On my Mac, it seems to be Command-Ctrl-Shift left-click). > > -Ken > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lists at mangomultimedia.com Tue Mar 6 07:56:42 2012 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 6 Mar 2012 07:56:42 -0500 Subject: Sqlite and performances in LiveCode In-Reply-To: References: <7049BBBA-A811-45C2-AEFF-A112E7D0194B@mac.com> Message-ID: On Tue, Mar 6, 2012 at 1:28 AM, Pete wrote: > I'm pretty sure that LC 5.0 included a more recent version of the sqlite > library so there could be some performance improvements there. In 5.0.2 the SQLite version is 3.7.4 but it has no affect on the speed. To check the version of SQLite that is included with LiveCode I use the following code in a plugin: *on* preopenCard *put* revOpenDatabase("sqlite",,,,,) into theConn *put* revDataFromQuery(tab, cr, theConn, "SELECT sqlite_version()") intotheData revCloseDatabase theConn *put* "Installed SQLite version:" && theData into fld 1 *end* preopenCard I'm not familiar with the sqlite API either but I doubt there's any way of > retrieving data other than using a SELECT command. > You're probably right. I just tried SQLiteManager 3 on my primary computer and I'm seeing similar results. The Manage tab (which provides a UI for generating queries) reports that the same query is twice as fast as the SQL tab (where you enter your own query string). I'm intrigued as to why this is. -- Trevor DeVore Blue Mango Learning Systems www.clarify-it.com - www.screensteps.com From ken at kencorey.com Tue Mar 6 07:57:56 2012 From: ken at kencorey.com (Ken Corey) Date: Tue, 06 Mar 2012 12:57:56 +0000 Subject: AW: How to close a modal stack by keyboard? In-Reply-To: <002c01ccfb97$775d79f0$66186dd0$@de> References: <002401ccfb87$3f11f540$bd35dfc0$@de> <4F56013D.6070806@kencorey.com> <002c01ccfb97$775d79f0$66186dd0$@de> Message-ID: <4F5609D4.1050605@kencorey.com> On 06/03/2012 12:48, Tiemo Hollmann TB wrote: > Ctrl-Shift, right click did it! > Thank you! My pleasure! One other thing: I *never* use the 'Apply' button any more. I always apply by using the 'Ctrl-S' save function. (Of course, it's Command-S on Macs). That way, when I bork the IDE, or do something silly with 'answer' or 'modal' or whatever, I am 10 seconds away from restarting LiveCode and being right where I was. This happens often enough that IMNSHO the 'Apply' button should simply be removed. I've been burned a few times by programming for 1/2 an hour, hitting 'Apply' and not saving, only for the IDE to lock, break, obscure itself with too many dialogs, or some other such thing. Teeth-gritting kinds of stuff. -Ken From lists at mangomultimedia.com Tue Mar 6 08:01:58 2012 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 6 Mar 2012 08:01:58 -0500 Subject: Sqlite and performances in LiveCode In-Reply-To: References: <7049BBBA-A811-45C2-AEFF-A112E7D0194B@mac.com> Message-ID: On Tue, Mar 6, 2012 at 6:02 AM, Bernard Devlin wrote: > The difference might be explained due to Livecode setting a smaller > cache size than other applications. > > http://web.utk.edu/~jplyon/sqlite/SQLite_optimization_FAQ.html > http://www.sqlite.org/pragma.html#pragma_cache_size > > I don't know if the cache size is under one's control with sqlite. I just tried changing the cache size using the PRAGMA statement. While SQLite reports the new value I set the query speed does not change. The SQLite docs say that the value can be changed on the fly so that the value can be optimized for specific queries. -- Trevor DeVore Blue Mango Learning Systems www.clarify-it.com - www.screensteps.com From toolbook at kestner.de Tue Mar 6 08:12:19 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 6 Mar 2012 14:12:19 +0100 Subject: AW: AW: How to close a modal stack by keyboard? In-Reply-To: <4F5609D4.1050605@kencorey.com> References: <002401ccfb87$3f11f540$bd35dfc0$@de> <4F56013D.6070806@kencorey.com> <002c01ccfb97$775d79f0$66186dd0$@de> <4F5609D4.1050605@kencorey.com> Message-ID: <002d01ccfb9a$c2ed51d0$48c7f570$@de> Good advice, Thanks! Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Ken Corey > Gesendet: Dienstag, 6. M?rz 2012 13:58 > An: use-livecode at lists.runrev.com > Betreff: Re: AW: How to close a modal stack by keyboard? > > On 06/03/2012 12:48, Tiemo Hollmann TB wrote: > > Ctrl-Shift, right click did it! > > Thank you! > > My pleasure! > > One other thing: I *never* use the 'Apply' button any more. I always > apply by using the 'Ctrl-S' save function. (Of course, it's Command-S on > Macs). > > That way, when I bork the IDE, or do something silly with 'answer' or > 'modal' or whatever, I am 10 seconds away from restarting LiveCode and > being right where I was. This happens often enough that IMNSHO the > 'Apply' button should simply be removed. > > I've been burned a few times by programming for 1/2 an hour, hitting > 'Apply' and not saving, only for the IDE to lock, break, obscure itself > with too many dialogs, or some other such thing. Teeth-gritting kinds of > stuff. > > -Ken > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ken at kencorey.com Tue Mar 6 08:39:13 2012 From: ken at kencorey.com (Ken Corey) Date: Tue, 06 Mar 2012 13:39:13 +0000 Subject: Font of menu on the Mac? Message-ID: <4F561381.7050405@kencorey.com> Hi All, I have an oddball problem. I'm using a custom font to display cursive english writing. This uses unicode characters, and non-standard glyphs (e.g. the left square bracket character U005B is a character to join between letters, not a bracket). I would like to write a little tool to let me easily compare joins between letters. I thought of three letters in a label like this: left-letter join-letter right-letter To control this just needs 3 option menus, which when selected updates the label... So I set the option buttons, and with the help of this brilliantly written article: http://livecode.byu.edu/unicode/unicodeInRev.php Have the correct letters showing in my option buttons (mostly). However, on the Mac, when I do a pull down, it reverts to the system font, which shows "incorrect" characters (for my purposes). Is there a way to control the font of menus on the Mac? -Ken From benr_mc at cogapp.com Tue Mar 6 08:41:41 2012 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 06 Mar 2012 13:41:41 +0000 Subject: iPad screenrecording: how? In-Reply-To: References: Message-ID: <4F561415.5040103@cogapp.com> This was a request at the end of last year, to which there weren't any great answers. Now there is! Reflection can act as an AirPlay receiver, displaying the result on your Mac desktop. So you can mirror from your device to the Mac, then you can make a screen recording of that. Only works with late model iPhones and iPads running iOS 5. I've been playing with it this morning, it works great. Ben On 21/12/2011 17:56, William de Smet wrote: > Hi there, > > I want to make a screen recording of my new iPad app. > How do you people do this? > There are no iPad screen recording apps yet. Are there? > > For now I started to use the iPad simulator and use Quicktime to make a > screenrecording (OSX Lion). > This gives a fairly good .mov file but the sound is terrible because it > uses the internal mic of my iMac. > I use iMovie to do the editing. > > Any ideas and advice is welcome. > > greetings, > > William From coiin at verizon.net Tue Mar 6 09:22:32 2012 From: coiin at verizon.net (Colin Holgate) Date: Tue, 06 Mar 2012 09:22:32 -0500 Subject: iPad screenrecording: how? In-Reply-To: <4F561415.5040103@cogapp.com> References: <4F561415.5040103@cogapp.com> Message-ID: <24D5DA2E-E0A4-444A-941C-00BAA3585B8C@verizon.net> Unfortunately he only takes PayPal, which I don't like to use, and there isn't the usual option of paying via PayPal with a credit card, you have to log in with a PayPal account. On Mar 6, 2012, at 8:41 AM, Ben Rubinstein wrote: > Now there is! Reflection can act as an AirPlay receiver, displaying the result on your Mac desktop. So you can mirror from your device to the Mac, then you can make a screen recording of that. From coiin at verizon.net Tue Mar 6 09:33:30 2012 From: coiin at verizon.net (Colin Holgate) Date: Tue, 06 Mar 2012 09:33:30 -0500 Subject: iPad screenrecording: how? In-Reply-To: <4F561415.5040103@cogapp.com> References: <4F561415.5040103@cogapp.com> Message-ID: <25685010-ABFD-477E-A82B-F780CEB45999@verizon.net> It does allow 10 minutes of use in the demo mode, which for what I need right now is fine! Have you found a way for it to show an iPad at 100%? the image is more like 852x639. It's also somewhat poor quality video when there is a lot going on. From m.schonewille at economy-x-talk.com Tue Mar 6 09:35:41 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 6 Mar 2012 15:35:41 +0100 Subject: Charts Engine v. Chart Maker In-Reply-To: <7F062815-E439-4B2C-B5F1-03C25DBE5D24@skynet.be> References: <7F062815-E439-4B2C-B5F1-03C25DBE5D24@skynet.be> Message-ID: <5B0176E2-35A4-432F-AE0F-D5A948B48385@economy-x-talk.com> Hi, I had an extensive look at ChartsEngine and am very impressed. -- 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 1.7 for LiveCode here http://qery.us/za On 6 mrt 2012, at 07:41, Yves COPPE wrote: > > re, > > I'm using chartMaker since the product exists and am very happy with. > Very good plug in. > > Greetings. > > Yves COPPE > yvescoppe at skynet.be From kray at sonsothunder.com Tue Mar 6 10:48:45 2012 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 6 Mar 2012 09:48:45 -0600 Subject: Font of menu on the Mac? In-Reply-To: <4F561381.7050405@kencorey.com> References: <4F561381.7050405@kencorey.com> Message-ID: <2B1D4FF8-B1DE-412C-9EEB-366F8AC40987@sonsothunder.com> > Is there a way to control the font of menus on the Mac? Not from LC, AFAIK? you'd need an external, I'd think. I tried popping up a stack, put that doesn't work in the menu baron a Mac. Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From benr_mc at cogapp.com Tue Mar 6 11:09:06 2012 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 06 Mar 2012 16:09:06 +0000 Subject: iPad screenrecording: how? In-Reply-To: <25685010-ABFD-477E-A82B-F780CEB45999@verizon.net> References: <4F561415.5040103@cogapp.com> <25685010-ABFD-477E-A82B-F780CEB45999@verizon.net> Message-ID: <4F5636A2.6020308@cogapp.com> On 06/03/2012 14:22, Colin Holgate wrote: > Unfortunately he only takes PayPal, which I don't like to use, and there > isn't the usual option of paying via PayPal with a credit card Yes I feel the same way - I wimped out and got one of my colleagues to buy the license for me! On 06/03/2012 14:33, Colin Holgate wrote: > It does allow 10 minutes of use in the demo mode, which for what I need right now is fine! Have you found a way for it to show an iPad at 100%? the image is more like 852x639. It's also somewhat poor quality video when there is a lot going on. I think part of the answer may be to get a really large monitor! (Or force orientation to landscape.) You can switch off the 'frame'; and you can adjust the size of the window (invisible grow box in the corner) - however that lets you get bigger than true size. On a 1920 x 1200 monitor, I can get the iPad screen at 864 x 1157; presumably if I fiddled around enough I could get it just right. There is a 'zoom' menu item, which seems to be like the green "+" button: toggle between maximum visible size and whatever the size was before; I suggest that's options for exact sizes would a good feature request (along with a paypal alternative). The missing element for me is displaying touches, which I think it would be unreasonable to ask for - I don't suppose it's in the AirPlay stream. I've been experimenting with sending touch info over the network to another LiveCode app on the Mac, that can then use a tiny 'system window' stack to show where the touch is. Sort of worked but (a) NO SOCKET SUPPORT ON IOS so I hacked it with HTTP, very inefficient and (b) my app crashes if I touch it a lot... Ben ... hoping socket support on mobile is addressed soon From coiin at verizon.net Tue Mar 6 11:25:56 2012 From: coiin at verizon.net (Colin Holgate) Date: Tue, 06 Mar 2012 11:25:56 -0500 Subject: iPad screenrecording: how? In-Reply-To: <4F5636A2.6020308@cogapp.com> References: <4F561415.5040103@cogapp.com> <25685010-ABFD-477E-A82B-F780CEB45999@verizon.net> <4F5636A2.6020308@cogapp.com> Message-ID: <88D64617-ADE4-475A-A86A-13F396C41468@verizon.net> It turns out you can resize the window by dragging the corner, even if the frame is hidden. Haven't found an easy way to set it to be 1024x768. From andrew at rjdfarm.com Tue Mar 6 11:57:11 2012 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Tue, 6 Mar 2012 08:57:11 -0800 (PST) Subject: Windows 8 In-Reply-To: <001e01ccfb71$d4769840$7d63c8c0$@de> References: <001e01ccfb71$d4769840$7d63c8c0$@de> Message-ID: <1331053031208-4450531.post@n4.nabble.com> I don't really foresee livecode being able to build metro apps anytime in next couple of years. Chances are that livecode apps will work almost like they do in win7, but will require some tweeks to fix some of the compatibility issues with the new api. But livecode building metro apps? I just don't see runrev thinking about putting that up as any kind of priority. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Windows-8-tp4449030p4450531.html Sent from the Revolution - User mailing list archive at Nabble.com. From francois.chaplais at mines-paristech.fr Tue Mar 6 12:10:29 2012 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Tue, 6 Mar 2012 18:10:29 +0100 Subject: Windows 8 In-Reply-To: <1331053031208-4450531.post@n4.nabble.com> References: <001e01ccfb71$d4769840$7d63c8c0$@de> <1331053031208-4450531.post@n4.nabble.com> Message-ID: <2F6FC4C3-3D95-4691-B3F3-DA4AD2399468@mines-paristech.fr> Look Metro, Look Mountain Lion, look Mobile... I think the motto "code once, deploy everywhere..." should be severely reevaluated. This is not the 90s anymore. The future (if any) for livecode looks more, to me, like "faceless code once, easily build a GUI for every platform". The times, they are a-changin'.... Best regards, Fran?ois Le 6 mars 2012 ? 17:57, Andrew Kluthe a ?crit : > I don't really foresee livecode being able to build metro apps anytime in > next couple of years. Chances are that livecode apps will work almost like > they do in win7, but will require some tweeks to fix some of the > compatibility issues with the new api. But livecode building metro apps? I > just don't see runrev thinking about putting that up as any kind of > priority. > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Windows-8-tp4449030p4450531.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Tue Mar 6 12:15:17 2012 From: pete at mollysrevenge.com (Pete) Date: Tue, 6 Mar 2012 09:15:17 -0800 Subject: Sqlite and performances in LiveCode In-Reply-To: References: <7049BBBA-A811-45C2-AEFF-A112E7D0194B@mac.com> Message-ID: I got the same results on the movies database and even more pronounced differences on a table in one of my own databases with ~48k records in it: SQL tab 0.519secs, Manage tab 0.045 secs, more than a 10-fold difference! Just a straight SELECT * in each case. Pete On Tue, Mar 6, 2012 at 4:56 AM, Trevor DeVore wrote: > just tried SQLiteManager 3 on my primary computer and I'm seeing similar > results. The Manage tab (which provides a UI for generating queries) > reports that the same query is twice as fast as the SQL tab (where you > enter your own query string). I'm intrigued as to why this is. > -- Pete Molly's Revenge From toolbook at kestner.de Tue Mar 6 12:19:01 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 6 Mar 2012 18:19:01 +0100 Subject: AW: Windows 8 In-Reply-To: <1331053031208-4450531.post@n4.nabble.com> References: <001e01ccfb71$d4769840$7d63c8c0$@de> <1331053031208-4450531.post@n4.nabble.com> Message-ID: <005401ccfbbd$397a9f70$ac6fde50$@de> Hi Andrew, I am actually not in this matter yet. What do you think of, that would be necessary to build metro Apps? And which tweaks to you think of to be Win8 compatible? Do you think the current Apps won't run under Win8? Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Andrew Kluthe > Gesendet: Dienstag, 6. M?rz 2012 17:57 > An: use-revolution at lists.runrev.com > Betreff: Re: Windows 8 > > I don't really foresee livecode being able to build metro apps anytime in > next couple of years. Chances are that livecode apps will work almost like > they do in win7, but will require some tweeks to fix some of the > compatibility issues with the new api. But livecode building metro apps? I > just don't see runrev thinking about putting that up as any kind of > priority. > > From m.schonewille at economy-x-talk.com Tue Mar 6 12:24:24 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 6 Mar 2012 18:24:24 +0100 Subject: Windows 8 In-Reply-To: <1331053031208-4450531.post@n4.nabble.com> References: <001e01ccfb71$d4769840$7d63c8c0$@de> <1331053031208-4450531.post@n4.nabble.com> Message-ID: Hi, I just installed an app with an installer created by the Installer Maker Plugin and it seems to work fine. The app appears in the overview of colorized bricks, next to LiveCode. It looks like LiveCode apps won't work "almost like they do in Windows 7" but they will work just fine, as they do in Win XP up to and including 7. After all, Windows 8 is just like Windows 7 once you have found the door in the brick wall. The secret entrance is a brick called Desktop. The usual door in the bottom-left is gone. I hope we'll soon be able to get to the desktop on startup automatically. -- 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 1.7 for LiveCode here http://qery.us/za On 6 mrt 2012, at 17:57, Andrew Kluthe wrote: > I don't really foresee livecode being able to build metro apps anytime in > next couple of years. Chances are that livecode apps will work almost like > they do in win7, but will require some tweeks to fix some of the > compatibility issues with the new api. But livecode building metro apps? I > just don't see runrev thinking about putting that up as any kind of > priority. > > From jacque at hyperactivesw.com Tue Mar 6 12:25:23 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 06 Mar 2012 11:25:23 -0600 Subject: AW: How to close a modal stack by keyboard? In-Reply-To: <4F5609D4.1050605@kencorey.com> References: <002401ccfb87$3f11f540$bd35dfc0$@de> <4F56013D.6070806@kencorey.com> <002c01ccfb97$775d79f0$66186dd0$@de> <4F5609D4.1050605@kencorey.com> Message-ID: <4F564883.5020006@hyperactivesw.com> On 3/6/12 6:57 AM, Ken Corey wrote: > That way, when I bork the IDE, or do something silly with 'answer' or > 'modal' or whatever, I am 10 seconds away from restarting LiveCode and > being right where I was. This happens often enough that IMNSHO the > 'Apply' button should simply be removed. Removing Apply would seriously affect my work flow. I routinely try out new things and if I bork it too much to backtrack, I revert the stack. I save manually immediately after every change I want to keep. That's often enough that I rarely lose anything -- but I don't seem to have much trouble with the IDE locking up. I almost never experience it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at mollysrevenge.com Tue Mar 6 12:37:27 2012 From: pete at mollysrevenge.com (Pete) Date: Tue, 6 Mar 2012 09:37:27 -0800 Subject: AW: How to close a modal stack by keyboard? In-Reply-To: <4F564883.5020006@hyperactivesw.com> References: <002401ccfb87$3f11f540$bd35dfc0$@de> <4F56013D.6070806@kencorey.com> <002c01ccfb97$775d79f0$66186dd0$@de> <4F5609D4.1050605@kencorey.com> <4F564883.5020006@hyperactivesw.com> Message-ID: Hi Jacque, What do you mean by "revert the stack"? Pete On Tue, Mar 6, 2012 at 9:25 AM, J. Landman Gay wrote: > Removing Apply would seriously affect my work flow. I routinely try out > new things and if I bork it too much to backtrack, I revert the stack -- Pete Molly's Revenge From coiin at verizon.net Tue Mar 6 12:44:21 2012 From: coiin at verizon.net (Colin Holgate) Date: Tue, 06 Mar 2012 12:44:21 -0500 Subject: AW: How to close a modal stack by keyboard? In-Reply-To: References: <002401ccfb87$3f11f540$bd35dfc0$@de> <4F56013D.6070806@kencorey.com> <002c01ccfb97$775d79f0$66186dd0$@de> <4F5609D4.1050605@kencorey.com> <4F564883.5020006@hyperactivesw.com> Message-ID: <207C1996-4B45-4173-BC59-67C93095BEF3@verizon.net> File menu, Revert to Saved... I work the same way as Jacque, other than I sometimes just close the script window and say Yes to the question about if I want to keep the changes. The main advantage of the Apply button is that you can keep the script window open while you try out different things, without committing to the changes just yet. If Undo worked as well as it does in Flash, then doing a Save wouldn't be such a big deal, you could quickly get back to how it was before the change you were trying. If you're editing an internal script in Flash, you don't even have to Apply either, the changes are already applied as soon as you've typed them. It can get away with that because Flash isn't constantly running in the way that LiveCode is. On Mar 6, 2012, at 12:37 PM, Pete wrote: > Hi Jacque, > What do you mean by "revert the stack"? From bobs at twft.com Tue Mar 6 12:50:21 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 6 Mar 2012 09:50:21 -0800 Subject: AW: How to close a modal stack by keyboard? In-Reply-To: <4F564883.5020006@hyperactivesw.com> References: <002401ccfb87$3f11f540$bd35dfc0$@de> <4F56013D.6070806@kencorey.com> <002c01ccfb97$775d79f0$66186dd0$@de> <4F5609D4.1050605@kencorey.com> <4F564883.5020006@hyperactivesw.com> Message-ID: <2AC3EFE3-A681-4D6B-B534-B4B5689B8C1C@twft.com> Boy I sure do! But it is an issue with doing something stupid like trying to make changes to code and compile it while I am still debugging using PowerDebug. Don't know if it would happen with the normal debugger so I cannot say it is power debug, and anyway the proper response to compiling code during debugging should be, "Don't do that!" :-) Also, having tabs open in GLX2 for a stack that has been removed from memory is another great way to lock up the IDE. Again, not sure if the stock editor would behave the same way. I just throw that out there as vectors on IDE lockups that some may not have considered yet. Also, I think Mark Wieder may have addressed this one in the latest release of GLX2. Bob On Mar 6, 2012, at 9:25 AM, J. Landman Gay wrote: > On 3/6/12 6:57 AM, Ken Corey wrote: > >> That way, when I bork the IDE, or do something silly with 'answer' or >> 'modal' or whatever, I am 10 seconds away from restarting LiveCode and >> being right where I was. This happens often enough that IMNSHO the >> 'Apply' button should simply be removed. > > Removing Apply would seriously affect my work flow. I routinely try out new things and if I bork it too much to backtrack, I revert the stack. I save manually immediately after every change I want to keep. That's often enough that I rarely lose anything -- but I don't seem to have much trouble with the IDE locking up. I almost never experience it. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Tue Mar 6 12:51:16 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 6 Mar 2012 09:51:16 -0800 Subject: AW: How to close a modal stack by keyboard? In-Reply-To: References: <002401ccfb87$3f11f540$bd35dfc0$@de> <4F56013D.6070806@kencorey.com> <002c01ccfb97$775d79f0$66186dd0$@de> <4F5609D4.1050605@kencorey.com> <4F564883.5020006@hyperactivesw.com> Message-ID: <34A0B7F9-0421-4108-B677-28BC45E7C875@twft.com> Menu File/Revert To Saved... Bob On Mar 6, 2012, at 9:37 AM, Pete wrote: > Hi Jacque, > What do you mean by "revert the stack"? > Pete > > On Tue, Mar 6, 2012 at 9:25 AM, J. Landman Gay wrote: > >> Removing Apply would seriously affect my work flow. I routinely try out >> new things and if I bork it too much to backtrack, I revert the stack > > > > > -- > Pete > Molly's Revenge > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Tue Mar 6 12:53:47 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 6 Mar 2012 09:53:47 -0800 Subject: AW: How to close a modal stack by keyboard? In-Reply-To: <207C1996-4B45-4173-BC59-67C93095BEF3@verizon.net> References: <002401ccfb87$3f11f540$bd35dfc0$@de> <4F56013D.6070806@kencorey.com> <002c01ccfb97$775d79f0$66186dd0$@de> <4F5609D4.1050605@kencorey.com> <4F564883.5020006@hyperactivesw.com> <207C1996-4B45-4173-BC59-67C93095BEF3@verizon.net> Message-ID: <52497C80-3DE0-4247-A6A1-028CC535D7E4@twft.com> For those using GLX2, you can just hit Command-R (or CTRL-R I suspect in Windows) to revert a script to the last compiled version. Bob On Mar 6, 2012, at 9:44 AM, Colin Holgate wrote: > File menu, Revert to Saved... I work the same way as Jacque, other than I sometimes just close the script window and say Yes to the question about if I want to keep the changes. The main advantage of the Apply button is that you can keep the script window open while you try out different things, without committing to the changes just yet. > > If Undo worked as well as it does in Flash, then doing a Save wouldn't be such a big deal, you could quickly get back to how it was before the change you were trying. If you're editing an internal script in Flash, you don't even have to Apply either, the changes are already applied as soon as you've typed them. It can get away with that because Flash isn't constantly running in the way that LiveCode is. > > > On Mar 6, 2012, at 12:37 PM, Pete wrote: > >> Hi Jacque, >> What do you mean by "revert the stack"? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Tue Mar 6 12:57:36 2012 From: livfoss at mac.com (Graham Samuel) Date: Tue, 06 Mar 2012 18:57:36 +0100 Subject: iOS screen size problem Message-ID: <80946F2B-F865-48E6-9B05-E3E2CF77A6DF@mac.com> I have successfully created a simple app for the iPad which uses the whole screen (1024 x 768). Now I've started working on a second app, where I can't see any real difference in my setting up compared to the first one, but the screenrect is reported to be 0,0,320,480, and there's no way I can fill the iPad screen - instead I get a simulated iPhone screen in the middle of my simulated iPad screen. I checked and the Simulator thinks it's simulating an iPad - so what did I do wrong? I just can't see it. TIA for any suggestions. Graham From tolistim at me.com Tue Mar 6 13:04:54 2012 From: tolistim at me.com (Tim Jones) Date: Tue, 06 Mar 2012 11:04:54 -0700 Subject: Windows 8 In-Reply-To: References: <001e01ccfb71$d4769840$7d63c8c0$@de> <1331053031208-4450531.post@n4.nabble.com> Message-ID: <094ECF37-35B1-4D1F-9DFA-477A6DBC0BF4@me.com> On Mar 6, 2012, at 10:24 AM, Mark Schonewille wrote: > Hi, > > I just installed an app with an installer created by the Installer Maker Plugin and it seems to work fine. The app appears in the overview of colorized bricks, next to LiveCode. > > It looks like LiveCode apps won't work "almost like they do in Windows 7" but they will work just fine, as they do in Win XP up to and including 7. After all, Windows 8 is just like Windows 7 once you have found the door in the brick wall. The secret entrance is a brick called Desktop. The usual door in the bottom-left is gone. I hope we'll soon be able to get to the desktop on startup automatically. In Win8 DP1, you could set the Desktop as your staring point. Apparently, they discovered that the vast majority of developers were doing just that and ignoring the Metro screen so they removed the ability in CP1. "We've ignored our customers and put far too much effort into this, so you will run Metro, and you WILL like it!" Tim From cmsheffield at me.com Tue Mar 6 13:08:11 2012 From: cmsheffield at me.com (Chris Sheffield) Date: Tue, 06 Mar 2012 11:08:11 -0700 Subject: iOS screen size problem In-Reply-To: <80946F2B-F865-48E6-9B05-E3E2CF77A6DF@mac.com> References: <80946F2B-F865-48E6-9B05-E3E2CF77A6DF@mac.com> Message-ID: Make sure you have "iPad" selected in the standalone builder settings. Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com On Mar 6, 2012, at 10:57 AM, Graham Samuel wrote: > I have successfully created a simple app for the iPad which uses the whole screen (1024 x 768). > > Now I've started working on a second app, where I can't see any real difference in my setting up compared to the first one, but the screenrect is reported to be 0,0,320,480, and there's no way I can fill the iPad screen - instead I get a simulated iPhone screen in the middle of my simulated iPad screen. I checked and the Simulator thinks it's simulating an iPad - so what did I do wrong? > > I just can't see it. > > TIA for any suggestions. > > Graham > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Tue Mar 6 13:08:30 2012 From: livfoss at mac.com (Graham Samuel) Date: Tue, 06 Mar 2012 19:08:30 +0100 Subject: iOS screen size problem Message-ID: Answered my own question: I had picked the wrong set of supported devices. I wanted "iPad and iPhone", but that option doesn't exist, so I picked "iPod and iPhone" with a mixture of wishful thinking and foggy eyes. I don't see why my preferred option doesn't exist (for example the app might want anything with a microphone, and an iPod only has one courtesy of its earphones). Sorry for wasting your time. Graham > I have successfully created a simple app for the iPad which uses the whole screen (1024 x 768). > > Now I've started working on a second app, where I can't see any real difference in my setting up compared to the first one, but the screenrect is reported to be 0,0,320,480, and there's no way I can fill the iPad screen - instead I get a simulated iPhone screen in the middle of my simulated iPad screen. I checked and the Simulator thinks it's simulating an iPad - so what did I do wrong? > > I just can't see it. > > TIA for any suggestions. > > Graham From pete at mollysrevenge.com Tue Mar 6 13:11:00 2012 From: pete at mollysrevenge.com (Pete) Date: Tue, 6 Mar 2012 10:11:00 -0800 Subject: AW: How to close a modal stack by keyboard? In-Reply-To: <207C1996-4B45-4173-BC59-67C93095BEF3@verizon.net> References: <002401ccfb87$3f11f540$bd35dfc0$@de> <4F56013D.6070806@kencorey.com> <002c01ccfb97$775d79f0$66186dd0$@de> <4F5609D4.1050605@kencorey.com> <4F564883.5020006@hyperactivesw.com> <207C1996-4B45-4173-BC59-67C93095BEF3@verizon.net> Message-ID: How did I miss that! Is that somehow different than just quitting the IDE without saving then opening it again? The IDE Undo is a mystery to me. Most of the time when I really need to undo, it doesn't work, particularly when moving/deleting controls on a card. I've learned to save after almost any single change to a card layout before making another change. Pete On Tue, Mar 6, 2012 at 9:44 AM, Colin Holgate wrote: > File menu, Revert to Saved... I work the same way as Jacque, other than I > sometimes just close the script window and say Yes to the question about if > I want to keep the changes. The main advantage of the Apply button is that > you can keep the script window open while you try out different things, > without committing to the changes just yet. > > If Undo worked as well as it does in Flash, then doing a Save wouldn't be > such a big deal, you could quickly get back to how it was before the change > you were trying. If you're editing an internal script in Flash, you don't > even have to Apply either, the changes are already applied as soon as > you've typed them. It can get away with that because Flash isn't constantly > running in the way that LiveCode is. > > > On Mar 6, 2012, at 12:37 PM, Pete wrote: > > > Hi Jacque, > > What do you mean by "revert the stack"? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From jacque at hyperactivesw.com Tue Mar 6 13:17:25 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 06 Mar 2012 12:17:25 -0600 Subject: AW: How to close a modal stack by keyboard? In-Reply-To: References: <002401ccfb87$3f11f540$bd35dfc0$@de> <4F56013D.6070806@kencorey.com> <002c01ccfb97$775d79f0$66186dd0$@de> <4F5609D4.1050605@kencorey.com> <4F564883.5020006@hyperactivesw.com> Message-ID: <4F5654B5.4070608@hyperactivesw.com> On 3/6/12 11:37 AM, Pete wrote: > Hi Jacque, > What do you mean by "revert the stack"? The command is in the File menu, though I usually just type it into the message box to avoid the verification dialog. "Revert" is a LiveCode command that just means "reload this stack from the last-saved version on disk." It lets me dink around and then discard all changes in one go. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From coiin at verizon.net Tue Mar 6 13:21:08 2012 From: coiin at verizon.net (Colin Holgate) Date: Tue, 06 Mar 2012 13:21:08 -0500 Subject: iOS screen size problem In-Reply-To: References: Message-ID: That choice is more about sizes that devices. Over to the right you'll see long list of required features, if you set it to require microphone, then the app wouldn't be offered to people using a device that doesn't have a microphone. On Mar 6, 2012, at 1:08 PM, Graham Samuel wrote: > Answered my own question: I had picked the wrong set of supported devices. I wanted "iPad and iPhone", but that option doesn't exist, so I picked "iPod and iPhone" with a mixture of wishful thinking and foggy eyes. I don't see why my preferred option doesn't exist (for example the app might want anything with a microphone, and an iPod only has one courtesy of its earphones). From bobs at twft.com Tue Mar 6 13:21:56 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 6 Mar 2012 10:21:56 -0800 Subject: AW: How to close a modal stack by keyboard? In-Reply-To: <4F5654B5.4070608@hyperactivesw.com> References: <002401ccfb87$3f11f540$bd35dfc0$@de> <4F56013D.6070806@kencorey.com> <002c01ccfb97$775d79f0$66186dd0$@de> <4F5609D4.1050605@kencorey.com> <4F564883.5020006@hyperactivesw.com> <4F5654B5.4070608@hyperactivesw.com> Message-ID: <5C1BA326-390A-4CEF-B9B4-E02672AC36CF@twft.com> Oh nice tip. Bob On Mar 6, 2012, at 10:17 AM, J. Landman Gay wrote: > On 3/6/12 11:37 AM, Pete wrote: >> Hi Jacque, >> What do you mean by "revert the stack"? > > The command is in the File menu, though I usually just type it into the message box to avoid the verification dialog. "Revert" is a LiveCode command that just means "reload this stack from the last-saved version on disk." > > It lets me dink around and then discard all changes in one go. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Tue Mar 6 13:23:09 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 6 Mar 2012 19:23:09 +0100 Subject: Windows 8 In-Reply-To: <094ECF37-35B1-4D1F-9DFA-477A6DBC0BF4@me.com> References: <001e01ccfb71$d4769840$7d63c8c0$@de> <1331053031208-4450531.post@n4.nabble.com> <094ECF37-35B1-4D1F-9DFA-477A6DBC0BF4@me.com> Message-ID: Thanks for the reply, Tim. In one word: awful. -- 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 1.7 for LiveCode here http://qery.us/za On 6 mrt 2012, at 19:04, Tim Jones wrote: > In Win8 DP1, you could set the Desktop as your staring point. Apparently, they discovered that the vast majority of developers were doing just that and ignoring the Metro screen so they removed the ability in CP1. > > "We've ignored our customers and put far too much effort into this, so you will run Metro, and you WILL like it!" > > Tim From toolbook at kestner.de Tue Mar 6 13:36:11 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 6 Mar 2012 19:36:11 +0100 Subject: AW: Windows 8 In-Reply-To: References: <001e01ccfb71$d4769840$7d63c8c0$@de> <1331053031208-4450531.post@n4.nabble.com> Message-ID: <005801ccfbc8$01367980$03a36c80$@de> Thanks Mark for your first experiences! Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Mark Schonewille > Gesendet: Dienstag, 6. M?rz 2012 18:24 > An: How to use LiveCode > Betreff: Re: Windows 8 > > Hi, > > I just installed an app with an installer created by the Installer Maker > Plugin and it seems to work fine. The app appears in the overview of > colorized bricks, next to LiveCode. > > It looks like LiveCode apps won't work "almost like they do in Windows 7" > but they will work just fine, as they do in Win XP up to and including 7. > After all, Windows 8 is just like Windows 7 once you have found the door in > the brick wall. The secret entrance is a brick called Desktop. The usual > door in the bottom-left is gone. I hope we'll soon be able to get to the > desktop on startup automatically. > From ken at kencorey.com Tue Mar 6 13:37:54 2012 From: ken at kencorey.com (Ken Corey) Date: Tue, 06 Mar 2012 18:37:54 +0000 Subject: AW: How to close a modal stack by keyboard? In-Reply-To: <4F564883.5020006@hyperactivesw.com> References: <002401ccfb87$3f11f540$bd35dfc0$@de> <4F56013D.6070806@kencorey.com> <002c01ccfb97$775d79f0$66186dd0$@de> <4F5609D4.1050605@kencorey.com> <4F564883.5020006@hyperactivesw.com> Message-ID: <4F565982.9020201@kencorey.com> On 06/03/2012 17:25, J. Landman Gay wrote: > On 3/6/12 6:57 AM, Ken Corey wrote: > Removing Apply would seriously affect my work flow. I routinely try out > new things and if I bork it too much to backtrack, I revert the stack. I > save manually immediately after every change I want to keep. That's > often enough that I rarely lose anything -- but I don't seem to have > much trouble with the IDE locking up. I almost never experience it. I haven't experienced it much on Windows, but boy do I see it a lot on Mac...at least 3 times per week. When I've just saved and it happens, I simply force quit and restart. If I haven't saved for a while, steam comes out of my ears. -Ken From jacque at hyperactivesw.com Tue Mar 6 13:58:42 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 06 Mar 2012 12:58:42 -0600 Subject: AW: How to close a modal stack by keyboard? In-Reply-To: <4F565982.9020201@kencorey.com> References: <002401ccfb87$3f11f540$bd35dfc0$@de> <4F56013D.6070806@kencorey.com> <002c01ccfb97$775d79f0$66186dd0$@de> <4F5609D4.1050605@kencorey.com> <4F564883.5020006@hyperactivesw.com> <4F565982.9020201@kencorey.com> Message-ID: <4F565E62.7060307@hyperactivesw.com> On 3/6/12 12:37 PM, Ken Corey wrote: > On 06/03/2012 17:25, J. Landman Gay wrote: >> On 3/6/12 6:57 AM, Ken Corey wrote: >> Removing Apply would seriously affect my work flow. I routinely try out >> new things and if I bork it too much to backtrack, I revert the stack. I >> save manually immediately after every change I want to keep. That's >> often enough that I rarely lose anything -- but I don't seem to have >> much trouble with the IDE locking up. I almost never experience it. > > I haven't experienced it much on Windows, but boy do I see it a lot on > Mac...at least 3 times per week. When I've just saved and it happens, I > simply force quit and restart. If I haven't saved for a while, steam > comes out of my ears. I develop exclusively on Mac and only use other operating systems for testing. Do you use any third-party tools? I keep my IDE native. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Tue Mar 6 14:18:50 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 6 Mar 2012 19:18:50 +0000 (UTC) Subject: Windows 8 References: <001e01ccfb71$d4769840$7d63c8c0$@de> <1331053031208-4450531.post@n4.nabble.com> <094ECF37-35B1-4D1F-9DFA-477A6DBC0BF4@me.com> Message-ID: Tim Jones writes: > In Win8 DP1, you could set the Desktop as your staring point. Apparently, they discovered that the vast > majority of developers were doing just that and ignoring the Metro screen so they removed the ability in CP1. Yeah - I miss that in the new release, but at least it's only one more click. > "We've ignored our customers and put far too much effort into this, so you will run Metro, and you WILL like it!" I don't *like* it yet, but I'm getting closer to not hating it. -- Mark Wieder From ken at kencorey.com Tue Mar 6 14:32:32 2012 From: ken at kencorey.com (Ken Corey) Date: Tue, 06 Mar 2012 19:32:32 +0000 Subject: AW: How to close a modal stack by keyboard? In-Reply-To: <4F565E62.7060307@hyperactivesw.com> References: <002401ccfb87$3f11f540$bd35dfc0$@de> <4F56013D.6070806@kencorey.com> <002c01ccfb97$775d79f0$66186dd0$@de> <4F5609D4.1050605@kencorey.com> <4F564883.5020006@hyperactivesw.com> <4F565982.9020201@kencorey.com> <4F565E62.7060307@hyperactivesw.com> Message-ID: <4F566650.1060906@kencorey.com> On 06/03/2012 18:58, J. Landman Gay wrote: > On 3/6/12 12:37 PM, Ken Corey wrote: > I develop exclusively on Mac and only use other operating systems for > testing. Do you use any third-party tools? I keep my IDE native. Come to mention it, I have installed a few things that installed plug-ins on 5.0.2, but haven't used them. Now, of course, I'm running 5.5.0 dp2, but still seeing the crashes. Could the things I've played with in the past (glx2, mobgui, etc) be leaving a plug-in somewhere that 5.5.0 is picking up on? I tried looking in my Users/ken/Library directory, but only saw the preferences file there. -Ken From bdrunrev at gmail.com Tue Mar 6 14:35:32 2012 From: bdrunrev at gmail.com (Bernard Devlin) Date: Tue, 6 Mar 2012 19:35:32 +0000 Subject: Sqlite and performances in LiveCode In-Reply-To: References: <7049BBBA-A811-45C2-AEFF-A112E7D0194B@mac.com> Message-ID: I notice from things discussed on the Valentina list that they recommend using API methods rather than SQL calls, because the former will be faster due to less overhead. So these different ways of interacting with a sqlite database might well represent an application using the sqlite API. Although when I use the Valentina VStudio SQL interface I will still see results being returned in 25 ms, compared to 500 ms going through sql yoga > revdb > v4rev sql > valentina. This is doing a "select *" from a table with 22k rows (10mb in size). That's not to say that I'm outraged at 500ms. There are other steps one can take to make an interface responsive at these timescales. The Valentina guys are pretty used to comparing Livecode with the other platforms for which they provide Valentina. On 19/12/2010 Ruslan had this to say about Livecode: "REALbasic - as I remember -- was very fast, near to C code...so it gives e.g. 5% overhead to pure C engine... Revolution and Director give me x4-x10 overhead I think....Revolution because all params are packed to strings ... Director because quite complex SDK similar to MS COM ..." This conclusion by Ruslan appears to be only in the discussion of calling the Valentina API, therefore one would expect that adding other layers (sql, revdb, etc.) one would see other layers adding their own torpor to the action. Does using explict transation control make any difference with sqlite? It shouldn't matter in a case where the data is only being read. I know on MVCC databases this is still a factor if one has a cursor containing the read data, as such data might still be altered from the cursor and the currency control of the MVCC requires a handle on such data to be able to maintain consistency. I can't see that it would apply to sqlite, and this site confirms that sqlite does not implement MVCC: http://www.sqliteconcepts.org/SI_index.html Bernard On Tue, Mar 6, 2012 at 5:15 PM, Pete wrote: > I got the same results on the movies database and even more pronounced > differences on a table in one of my own databases with ~48k records in it: > SQL tab 0.519secs, Manage tab 0.045 secs, more than a 10-fold difference! > ?Just a straight SELECT * in each case. > Pete From zryip.theslug at gmail.com Tue Mar 6 19:44:12 2012 From: zryip.theslug at gmail.com (zryip theSlug) Date: Wed, 7 Mar 2012 01:44:12 +0100 Subject: [ANN] Data Grid Helper 1.6 Message-ID: Dear LiveCode & DGH Users, A new update for DGH is available. Here is a list of the features, changes and fixes for this new version. Features: 1. New column properties relatives to the datagrid's Template Field Editor properties, are supported: - Text selection: if true, selects all text in the field editor when the cell is edited. - Text displayed: can be one of the following values: text, htmltext, rtftext, unicodetext or utf8text - Text edited: supports the same values than the text displayed property - Default Edited value: when an empty cell is edited, sets the cell content to a default value. All this properties are grouped in a new "Cell content" topic. For using these properties, the installation of a DGH's custom script is required. Once this custom script installed, the properties are also settable by code for each column, using a new DGH property: dgh_ColumnCellContent. A Lesson will follow soon, for explaining in detail how to use this new property in your projects. 2. New scripts for the DGH's script installer: - Column Encoding Behavior: this script is an alternative to the addition of a custom cell content script in all the columns of a datagrid, if you have the need to encode all the columns of a datagrid in a format such as utf-8 or unicode. - Column Label Unicode Encoding: changes the dgLabel property of the datagrid's default header behavior, for supporting unicode chars in columns headers. 3. Datagrid TMPL manager This new DGH's tool, allows: - check the existence of a template for a datagrid. - creation of a new template in the datagrid template substack or creation of a template substack it if this substack is missing. - selection of a row template group for the datagrid. This is the DGH's answer for users experiencing problems with orphan datagrids (an orphan datagrid is a datagrid which lost its link with the template group). This behavior can for example, occurring after have done a copy/paste of a datagrid, then have deleted the original datagrid and at last have confirmed the deletion of its record template. Changes: - The DGH's column builder preview, supports now unicode - The DGH's column label value, supports now unicode - Column builder: the column properties and the delete column button are now disabled when the column builder preview not contains column. - Column builder: addition of a special color for invisible selected column in the column builder preview - When opened, the property editor window (style, behavior, margins, template), follows now the moves of the DGH's properties palette - Datagrid table: a datagrid with a missing template is now treated as a datagrid with an empty template. Creation of column still possible, but some actions such as editing a column template, are forbidden. - DGH's column builder: formatting cell script and script for simple fields have been improved. Fixes: - DGH no longer complaining, during the edition of a datagrid with a missing template - DGH no longer making visible, invisible columns when the name or the alignment of a column was edited with the "Always hide invisibles columns" option off. If you have not tried DGH yet, a trial version free for 30 days can be downloaded here: http://www.aslugontheroad.com/index.php?option=com_phocadownload&view=category&id=12:trial&Itemid=63 You can also reach the Data Grid Helper plugin on the LiveCode Marketplace: http://www.runrev.com/store/product/data-grid-helper-1-2-0/ DGH is also part of the OmegaBundle limited time offer: http://www.omegabundle.com/ Best Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.com From pete at mollysrevenge.com Tue Mar 6 20:47:03 2012 From: pete at mollysrevenge.com (Pete) Date: Tue, 6 Mar 2012 17:47:03 -0800 Subject: Sqlite and performances in LiveCode In-Reply-To: References: <7049BBBA-A811-45C2-AEFF-A112E7D0194B@mac.com> Message-ID: I just noticed that the same vendor that makes SQLiteManager also makes an SQLite server package (cubeSQL) that does implement MVCC. But you're right, it's definitely not there in standard SQLite. An SQLite server sounds interesting though. Pete On Tue, Mar 6, 2012 at 11:35 AM, Bernard Devlin wrote: > I notice from things discussed on the Valentina list that they > recommend using API methods rather than SQL calls, because the former > will be faster due to less overhead. So these different ways of > interacting with a sqlite database might well represent an application > using the sqlite API. > > Although when I use the Valentina VStudio SQL interface I will still > see results being returned in 25 ms, compared to 500 ms going through > sql yoga > revdb > v4rev sql > valentina. This is doing a "select *" > from a table with 22k rows (10mb in size). That's not to say that I'm > outraged at 500ms. There are other steps one can take to make an > interface responsive at these timescales. > > The Valentina guys are pretty used to comparing Livecode with the > other platforms for which they provide Valentina. On 19/12/2010 > Ruslan had this to say about Livecode: > > "REALbasic - as I remember -- was very fast, near to C code...so it > gives e.g. 5% overhead to pure C engine... Revolution and Director > give me x4-x10 overhead I think....Revolution because all params are > packed to strings ... Director because quite complex SDK similar to MS > COM ..." This conclusion by Ruslan appears to be only in the > discussion of calling the Valentina API, therefore one would expect > that adding other layers (sql, revdb, etc.) one would see other layers > adding their own torpor to the action. > > Does using explict transation control make any difference with sqlite? > It shouldn't matter in a case where the data is only being read. I > know on MVCC databases this is still a factor if one has a cursor > containing the read data, as such data might still be altered from the > cursor and the currency control of the MVCC requires a handle on such > data to be able to maintain consistency. I can't see that it would > apply to sqlite, and this site confirms that sqlite does not implement > MVCC: http://www.sqliteconcepts.org/SI_index.html > > Bernard > > On Tue, Mar 6, 2012 at 5:15 PM, Pete wrote: > > I got the same results on the movies database and even more pronounced > > differences on a table in one of my own databases with ~48k records in > it: > > SQL tab 0.519secs, Manage tab 0.045 secs, more than a 10-fold difference! > > Just a straight SELECT * in each case. > > Pete > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From jacque at hyperactivesw.com Wed Mar 7 00:00:26 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 06 Mar 2012 23:00:26 -0600 Subject: AW: How to close a modal stack by keyboard? In-Reply-To: <4F566650.1060906@kencorey.com> References: <002401ccfb87$3f11f540$bd35dfc0$@de> <4F56013D.6070806@kencorey.com> <002c01ccfb97$775d79f0$66186dd0$@de> <4F5609D4.1050605@kencorey.com> <4F564883.5020006@hyperactivesw.com> <4F565982.9020201@kencorey.com> <4F565E62.7060307@hyperactivesw.com> <4F566650.1060906@kencorey.com> Message-ID: <4F56EB6A.7040306@hyperactivesw.com> On 3/6/12 1:32 PM, Ken Corey wrote: > Could the things I've played with in the past (glx2, mobgui, etc) be > leaving a plug-in somewhere that 5.5.0 is picking up on? I tried looking > in my Users/ken/Library directory, but only saw the preferences file there. Doubtful, if you've restarted and haven't used those, but I'm not sure how GLX works; maybe it always loads. It would be in your plugins folder I think (it's been a very long time since I looked at it.) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From andrew at rjdfarm.com Wed Mar 7 03:08:47 2012 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Wed, 7 Mar 2012 00:08:47 -0800 (PST) Subject: Windows 8 In-Reply-To: References: <001e01ccfb71$d4769840$7d63c8c0$@de> <1331053031208-4450531.post@n4.nabble.com> Message-ID: <1331107727201-4452576.post@n4.nabble.com> I assumed that there would be some hiccups here and there seeing as how they removed win32 api for winRT api, Mark. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Windows-8-tp4449030p4452576.html Sent from the Revolution - User mailing list archive at Nabble.com. From livfoss at mac.com Wed Mar 7 03:35:06 2012 From: livfoss at mac.com (Graham Samuel) Date: Wed, 07 Mar 2012 09:35:06 +0100 Subject: Pasting into a group Message-ID: <1189AE88-9ADB-4EDB-9E0F-3B928A40668D@mac.com> When I'm editing a group in the IDE (LC 5.0.2), if I copy an object before the edit starts, I can't seem to paste it into the group I'm editing. It seems there's nothing to paste. Why not, and what's the workaround? I don't know why I've never done this before, but it seems obvious that one might want to add to a group rather than re-group it with additional objects. Probably a daft question? nothing in the docs that I can find, though. Graham From iowahengst at mac.com Wed Mar 7 07:46:29 2012 From: iowahengst at mac.com (Randy Hengst) Date: Wed, 07 Mar 2012 06:46:29 -0600 Subject: Pasting into a group In-Reply-To: <1189AE88-9ADB-4EDB-9E0F-3B928A40668D@mac.com> References: <1189AE88-9ADB-4EDB-9E0F-3B928A40668D@mac.com> Message-ID: <92FBE2CA-10AE-4C71-8EEA-55AFCDCB307D@mac.com> Hi Graham, I do this regularly LC 5.0.2 OSX10.6.8. Here are my steps. Copy or cut the object to move. Select the group Edit the group Paste. be well, randy ----- On Mar 7, 2012, at 2:35 AM, Graham Samuel wrote: > When I'm editing a group in the IDE (LC 5.0.2), if I copy an object before the edit starts, I can't seem to paste it into the group I'm editing. It seems there's nothing to paste. Why not, and what's the workaround? I don't know why I've never done this before, but it seems obvious that one might want to add to a group rather than re-group it with additional objects. > > Probably a daft question? nothing in the docs that I can find, though. > > Graham > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major.on-rev.com Wed Mar 7 07:55:33 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 7 Mar 2012 13:55:33 +0100 Subject: Pasting into a group In-Reply-To: <92FBE2CA-10AE-4C71-8EEA-55AFCDCB307D@mac.com> References: <1189AE88-9ADB-4EDB-9E0F-3B928A40668D@mac.com> <92FBE2CA-10AE-4C71-8EEA-55AFCDCB307D@mac.com> Message-ID: Hi all, Am 07.03.2012 um 13:46 schrieb Randy Hengst: > Hi Graham, > > I do this regularly LC 5.0.2 OSX10.6.8. > > Here are my steps. > Copy or cut the object to move. > Select the group > Edit the group > Paste. I do something similar: 1. Create new object(s) to be pasted into a group on the card first 2. CUT these objects 3. Right-click the target group and 4. Select "Paste into group" from the context menu 5. Smile :-) > be well, > randy > ----- > On Mar 7, 2012, at 2:35 AM, Graham Samuel wrote: > >> When I'm editing a group in the IDE (LC 5.0.2), if I copy an object before the edit starts, I can't seem to paste it into the group I'm editing. It seems there's nothing to paste. Why not, and what's the workaround? I don't know why I've never done this before, but it seems obvious that one might want to add to a group rather than re-group it with additional objects. >> >> Probably a daft question? nothing in the docs that I can find, though. >> >> Graham Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From david at dvglasgow.wanadoo.co.uk Wed Mar 7 08:31:29 2012 From: david at dvglasgow.wanadoo.co.uk (David Glasgow) Date: Wed, 7 Mar 2012 13:31:29 +0000 Subject: Become a man with staying power In-Reply-To: References: Message-ID: On 3 Mar 2012, at 6:00 pm, Richmond wrote: > the ultimate Sanskrit input system; and working hard towards the finishing line. Colonel Pickering would be proud of you! ;-) Best Wishes, David Glasgow Carlton Glasgow Partnership i-psych.co.uk LinkedIn From richmondmathewson at gmail.com Wed Mar 7 08:40:59 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 07 Mar 2012 15:40:59 +0200 Subject: Become a man with staying power In-Reply-To: References: Message-ID: <4F57656B.6060502@gmail.com> On 03/07/2012 03:31 PM, David Glasgow wrote: > On 3 Mar 2012, at 6:00 pm, Richmond wrote: > >> the ultimate Sanskrit input system; and working hard towards the finishing line. > Colonel Pickering would be proud of you! The rain falls mainly on the plain. > > ;-) > > > Best Wishes, > > David Glasgow > Carlton Glasgow Partnership > > i-psych.co.uk > > LinkedIn > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From kray at sonsothunder.com Wed Mar 7 08:44:59 2012 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 7 Mar 2012 07:44:59 -0600 Subject: [ANN] Data Grid Helper 1.6 In-Reply-To: References: Message-ID: <10D31C75-3DAE-4014-BEA8-58602DBDBD58@sonsothunder.com> Hey Zyrip, there's some "version confusion" going on? > If you have not tried DGH yet, a trial version free for 30 days can be > downloaded here: > http://www.aslugontheroad.com/index.php?option=com_phocadownload&view=category&id=12:trial&Itemid=63 > > You can also reach the Data Grid Helper plugin on the LiveCode Marketplace: > http://www.runrev.com/store/product/data-grid-helper-1-2-0/ The trial at your site and at the LC Marketplace downloads version 1.3.4 of the stack, and the info at the LC Marketplace shows 1.2.0. Is there a trial of 1.6 available, or can the 1.3.4 trial version get updated to 1.6 somehow? Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From m.schonewille at economy-x-talk.com Wed Mar 7 09:36:16 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 7 Mar 2012 15:36:16 +0100 Subject: Pasting into a group In-Reply-To: References: <1189AE88-9ADB-4EDB-9E0F-3B928A40668D@mac.com> <92FBE2CA-10AE-4C71-8EEA-55AFCDCB307D@mac.com> Message-ID: Hi, With Livecode, you never know whether your control will still be in memory. I copy and paste first and then delete the original control. -- 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 1.7 for LiveCode here http://qery.us/za On 7 mrt 2012, at 13:55, Klaus on-rev wrote: > Hi all, > > Am 07.03.2012 um 13:46 schrieb Randy Hengst: > >> Hi Graham, >> >> I do this regularly LC 5.0.2 OSX10.6.8. >> >> Here are my steps. >> Copy or cut the object to move. >> Select the group >> Edit the group >> Paste. > > I do something similar: > 1. Create new object(s) to be pasted into a group on the card first > 2. CUT these objects > 3. Right-click the target group and > 4. Select "Paste into group" from the context menu > 5. Smile :-) > >> be well, >> randy >> ----- >> On Mar 7, 2012, at 2:35 AM, Graham Samuel wrote: >> >>> When I'm editing a group in the IDE (LC 5.0.2), if I copy an object before the edit starts, I can't seem to paste it into the group I'm editing. It seems there's nothing to paste. Why not, and what's the workaround? I don't know why I've never done this before, but it seems obvious that one might want to add to a group rather than re-group it with additional objects. >>> >>> Probably a daft question? nothing in the docs that I can find, though. >>> >>> Graham > > Best > > Klaus From gbojsza at gmail.com Wed Mar 7 11:32:39 2012 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 7 Mar 2012 09:32:39 -0700 Subject: Allowing user to change size and location of a field Message-ID: Hello, I would like to allow a user to be able to change the size and location of a text field in an application. The following allows the user to select the field via right-shift click and then with the pointer tool move the field to where they want and resize the field. With the next right-shift click the field is deselected and the browse tool is shown. Problem is the user cannot put text into the field anymore? Am I approaching this correctly? on mouseDown theButton if theButton is 3 AND the shiftkey is down then get the selected of me switch it case "true" set the selected of me to false set the tool to browse select empty break case "false" set the selected of me to true set the tool to pointer break end switch else pass mouseDown end if end mouseDown Another question which may not be able to be answered is... can you limit the number of characters in the field based on the new size the user has made? thanks, Glen From pete at mollysrevenge.com Wed Mar 7 11:37:27 2012 From: pete at mollysrevenge.com (Pete) Date: Wed, 7 Mar 2012 08:37:27 -0800 Subject: Sqlite and performances in LiveCode In-Reply-To: References: <7049BBBA-A811-45C2-AEFF-A112E7D0194B@mac.com> Message-ID: I emailed sqlitemanager support re the manage/sql tab performance difference. Mystery solved by the reply: "In the Manage panel when you see SELECT * FROM table the real query executed is SELECT rowid FROM table and then a SELECT * FROM table WHERE rowid=N is execute for each visible row of the listbox. In the SQL panel query executed is just what you type" On Mar 6, 2012 5:47 PM, "Pete" wrote: > I just noticed that the same vendor that makes SQLiteManager also makes an > SQLite server package (cubeSQL) that does implement MVCC. But you're > right, it's definitely not there in standard SQLite. An SQLite server > sounds interesting though. > Pete > > On Tue, Mar 6, 2012 at 11:35 AM, Bernard Devlin wrote: > >> I notice from things discussed on the Valentina list that they >> recommend using API methods rather than SQL calls, because the former >> will be faster due to less overhead. So these different ways of >> interacting with a sqlite database might well represent an application >> using the sqlite API. >> >> Although when I use the Valentina VStudio SQL interface I will still >> see results being returned in 25 ms, compared to 500 ms going through >> sql yoga > revdb > v4rev sql > valentina. This is doing a "select *" >> from a table with 22k rows (10mb in size). That's not to say that I'm >> outraged at 500ms. There are other steps one can take to make an >> interface responsive at these timescales. >> >> The Valentina guys are pretty used to comparing Livecode with the >> other platforms for which they provide Valentina. On 19/12/2010 >> Ruslan had this to say about Livecode: >> >> "REALbasic - as I remember -- was very fast, near to C code...so it >> gives e.g. 5% overhead to pure C engine... Revolution and Director >> give me x4-x10 overhead I think....Revolution because all params are >> packed to strings ... Director because quite complex SDK similar to MS >> COM ..." This conclusion by Ruslan appears to be only in the >> discussion of calling the Valentina API, therefore one would expect >> that adding other layers (sql, revdb, etc.) one would see other layers >> adding their own torpor to the action. >> >> Does using explict transation control make any difference with sqlite? >> It shouldn't matter in a case where the data is only being read. I >> know on MVCC databases this is still a factor if one has a cursor >> containing the read data, as such data might still be altered from the >> cursor and the currency control of the MVCC requires a handle on such >> data to be able to maintain consistency. I can't see that it would >> apply to sqlite, and this site confirms that sqlite does not implement >> MVCC: http://www.sqliteconcepts.org/SI_index.html >> >> Bernard >> >> On Tue, Mar 6, 2012 at 5:15 PM, Pete wrote: >> > I got the same results on the movies database and even more pronounced >> > differences on a table in one of my own databases with ~48k records in >> it: >> > SQL tab 0.519secs, Manage tab 0.045 secs, more than a 10-fold >> difference! >> > Just a straight SELECT * in each case. >> > Pete >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > > -- > Pete > Molly's Revenge > > > From richmondmathewson at gmail.com Wed Mar 7 12:31:10 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 07 Mar 2012 19:31:10 +0200 Subject: [OT] New Wine in old skins. Message-ID: <4F579B5E.90605@gmail.com> WINE 1.4 http://www.winehq.org/ From m.schonewille at economy-x-talk.com Wed Mar 7 12:58:35 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 7 Mar 2012 18:58:35 +0100 Subject: Allowing user to change size and location of a field In-Reply-To: References: Message-ID: Hi Glen, Your script works for me, but not in the IDE. I have created a front script. I do also see the behaviour you describe. You can solve this by adding another field. The field can be off-window but should not be invisible. Use the following as a front script: on mouseDown theButton if the cResize of the target is true then if theButton is 3 AND the shiftkey is down then get the selected of the target switch it case "true" set the selected of the target to false set the tool to browse select empty focus on fld 2 break case "false" set the selected of the target to true set the tool to pointer break end switch else pass mouseDown end if else pass mouseDown end if end mouseDown The user will now be able to click in the first field and edit the text. I'd adjust the mouseDown script to make sure that other objects can't be selected or you could set the cantSelect of all other objects to false. -- 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 1.7 for LiveCode here http://qery.us/za On 7 mrt 2012, at 17:32, Glen Bojsza wrote: > Hello, > > I would like to allow a user to be able to change the size and location of > a text field in an application. > > The following allows the user to select the field via right-shift click and > then with the pointer tool move the field to where they want and resize the > field. > > With the next right-shift click the field is deselected and the browse tool > is shown. > > Problem is the user cannot put text into the field anymore? > > Am I approaching this correctly? > > on mouseDown theButton > if theButton is 3 AND the shiftkey is down then > get the selected of me > switch it > case "true" > set the selected of me to false > set the tool to browse > select empty > break > case "false" > set the selected of me to true > set the tool to pointer > break > end switch > else > pass mouseDown > end if > end mouseDown > > Another question which may not be able to be answered is... can you limit > the number of characters in the field based on the new size the user has > made? > > thanks, > > Glen From bobs at twft.com Wed Mar 7 13:16:30 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 7 Mar 2012 10:16:30 -0800 Subject: AW: How to close a modal stack by keyboard? In-Reply-To: <4F56EB6A.7040306@hyperactivesw.com> References: <002401ccfb87$3f11f540$bd35dfc0$@de> <4F56013D.6070806@kencorey.com> <002c01ccfb97$775d79f0$66186dd0$@de> <4F5609D4.1050605@kencorey.com> <4F564883.5020006@hyperactivesw.com> <4F565982.9020201@kencorey.com> <4F565E62.7060307@hyperactivesw.com> <4F566650.1060906@kencorey.com> <4F56EB6A.7040306@hyperactivesw.com> Message-ID: <9B75CD25-4E10-4367-808E-844121D5AD54@twft.com> Yes it's in the plugins folder. If 5.5 does not alter what that is then GLX2 will load if it's there. Bob On Mar 6, 2012, at 9:00 PM, J. Landman Gay wrote: > On 3/6/12 1:32 PM, Ken Corey wrote: > >> Could the things I've played with in the past (glx2, mobgui, etc) be >> leaving a plug-in somewhere that 5.5.0 is picking up on? I tried looking >> in my Users/ken/Library directory, but only saw the preferences file there. > > Doubtful, if you've restarted and haven't used those, but I'm not sure how GLX works; maybe it always loads. It would be in your plugins folder I think (it's been a very long time since I looked at it.) > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Wed Mar 7 13:18:13 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 7 Mar 2012 10:18:13 -0800 Subject: [OT] New Wine in old skins. In-Reply-To: <4F579B5E.90605@gmail.com> References: <4F579B5E.90605@gmail.com> Message-ID: Hi Richmond. What are the ups and downs to using Wine as opposed to a VM like Parallels? Bob On Mar 7, 2012, at 9:31 AM, Richmond wrote: > WINE 1.4 > > http://www.winehq.org/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tolistim at me.com Wed Mar 7 13:21:40 2012 From: tolistim at me.com (Tim Jones) Date: Wed, 07 Mar 2012 11:21:40 -0700 Subject: [OT] New Wine in old skins. In-Reply-To: References: <4F579B5E.90605@gmail.com> Message-ID: <3D92363F-5FA6-4497-A5EB-2DE97229A1A4@me.com> Simply put - no Windows license required; your app runs natively on the hosting platform (Linux, OS X, FreeBSD, etc.). On the other hand, there are a number of apps that don't run quite right. Tim On Mar 7, 2012, at 11:18 AM, Bob Sneidar wrote: > Hi Richmond. What are the ups and downs to using Wine as opposed to a VM like Parallels? > > Bob > > > On Mar 7, 2012, at 9:31 AM, Richmond wrote: > >> WINE 1.4 >> >> http://www.winehq.org/ >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Mar 7 13:28:10 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 07 Mar 2012 20:28:10 +0200 Subject: [OT] New Wine in old skins. In-Reply-To: References: <4F579B5E.90605@gmail.com> Message-ID: <4F57A8BA.5050501@gmail.com> On 03/07/2012 08:18 PM, Bob Sneidar wrote: > Hi Richmond. What are the ups and downs to using Wine as opposed to a VM like Parallels? Pretty hopeless for Livecode as WINE does not render PNG images. Personally I check Windows builds in XP in VirtualBox. > > Bob > > > On Mar 7, 2012, at 9:31 AM, Richmond wrote: > >> WINE 1.4 >> >> http://www.winehq.org/ >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gbojsza at gmail.com Wed Mar 7 13:31:35 2012 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 7 Mar 2012 11:31:35 -0700 Subject: Allowing user to change size and location of a field In-Reply-To: References: Message-ID: Thanks Mark. Good point about making certain no other objects can be selected (also that the second field shouldn't be invisible). Glen On Wed, Mar 7, 2012 at 10:58 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi Glen, > > Your script works for me, but not in the IDE. I have created a front > script. I do also see the behaviour you describe. You can solve this by > adding another field. The field can be off-window but should not be > invisible. Use the following as a front script: > > on mouseDown theButton > if the cResize of the target is true then > if theButton is 3 AND the shiftkey is down then > get the selected of the target > switch it > case "true" > set the selected of the target to false > set the tool to browse > select empty > focus on fld 2 > break > case "false" > set the selected of the target to true > set the tool to pointer > break > end switch > else > pass mouseDown > end if > else > pass mouseDown > end if > end mouseDown > > The user will now be able to click in the first field and edit the text. > > I'd adjust the mouseDown script to make sure that other objects can't be > selected or you could set the cantSelect of all other objects to false. > > -- > 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 1.7 for LiveCode here > http://qery.us/za > > On 7 mrt 2012, at 17:32, Glen Bojsza wrote: > > > Hello, > > > > I would like to allow a user to be able to change the size and location > of > > a text field in an application. > > > > The following allows the user to select the field via right-shift click > and > > then with the pointer tool move the field to where they want and resize > the > > field. > > > > With the next right-shift click the field is deselected and the browse > tool > > is shown. > > > > Problem is the user cannot put text into the field anymore? > > > > Am I approaching this correctly? > > > > on mouseDown theButton > > if theButton is 3 AND the shiftkey is down then > > get the selected of me > > switch it > > case "true" > > set the selected of me to false > > set the tool to browse > > select empty > > break > > case "false" > > set the selected of me to true > > set the tool to pointer > > break > > end switch > > else > > pass mouseDown > > end if > > end mouseDown > > > > Another question which may not be able to be answered is... can you limit > > the number of characters in the field based on the new size the user has > > made? > > > > thanks, > > > > Glen > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Wed Mar 7 13:40:58 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 07 Mar 2012 20:40:58 +0200 Subject: [OT] New Wine in old skins. In-Reply-To: <3D92363F-5FA6-4497-A5EB-2DE97229A1A4@me.com> References: <4F579B5E.90605@gmail.com> <3D92363F-5FA6-4497-A5EB-2DE97229A1A4@me.com> Message-ID: <4F57ABBA.2090208@gmail.com> On 03/07/2012 08:21 PM, Tim Jones wrote: > Simply put - It's NOT Windows, and it's free, so don't expect everything to work as well as it does with real Windows. Not any good really with the Livecode IDE as doesn't work at all well with PNG images. If, however, you are developing Livecode stuff for Windows that only uses JPG images (which, considering the overheads and lack of transparency is fairly daft) then you could use WINE for beta testing. WINE is useful for a few Windows-only programs, although as Desktop Linux matures, even though WINE matures as well, WINE begins to look a bit unnecessary. I use it for Fontographer only. The myth that there are a vast number of Windows-only programs that Linux cannot duplicate is what sustains WINE; but it is increasingly a myth. So, probably better, in terms of Beta-testing at least, to have XP running in a Virtual Box, or on an old Pentium 4 [here in Bulgaria at 3 GHz, 2 GB RAM Pentium 4s going for about 40 Euros a pop (I mean, I've got 2 spare ones under my bed, "just in case") the question is fairly academic - just link the whole lot together with a cheap-N-nasty switch and a few LAN cables]. Of course, One can buy Windows XP for about the same price hereabouts; so 80 Euros is probably worth it (plus a monitor I got free from my bank when they were going "all flat") for 'real' Windows. > no Windows license required; your app runs natively on the hosting platform (Linux, OS X, FreeBSD, etc.). NO, they don't "run natively"; some of them do, some of them "screw up at crucial moments" and some of them don't budge. It is a bit like that strange cabinet in the corner in Woody Allen's "Sleeper"; not really the real thing . . . :) > On the other hand, there are a number of apps that don't run quite right. Livecode being the one that is signally relevant right here. Until WINE gets into PNG rendering forget it. > > Tim > > On Mar 7, 2012, at 11:18 AM, Bob Sneidar wrote: > >> Hi Richmond. What are the ups and downs to using Wine as opposed to a VM like Parallels? >> >> Bob >> >> >> On Mar 7, 2012, at 9:31 AM, Richmond wrote: >> >>> WINE 1.4 >>> >>> http://www.winehq.org/ >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jrosat at mac.com Wed Mar 7 15:08:09 2012 From: jrosat at mac.com (=?iso-8859-1?Q?J=E9r=F4me_Rosat?=) Date: Wed, 07 Mar 2012 21:08:09 +0100 Subject: Sqlite and performances in LiveCode In-Reply-To: References: <7049BBBA-A811-45C2-AEFF-A112E7D0194B@mac.com> Message-ID: <6E66603E-A49A-42C1-B259-3EFA7931E468@mac.com> Thank you Pete for that clarification. J?r?me Le 7 mars 2012 ? 17:37, Pete a ?crit : > I emailed sqlitemanager support re the manage/sql tab performance > difference. Mystery solved by the reply: > > "In the Manage panel when you see SELECT * FROM table the real query > executed is SELECT rowid FROM table and then a SELECT * FROM table WHERE > rowid=N is execute for each visible row of the listbox. In the SQL panel > query executed is just what you type" > On Mar 6, 2012 5:47 PM, "Pete" wrote: > >> I just noticed that the same vendor that makes SQLiteManager also makes an >> SQLite server package (cubeSQL) that does implement MVCC. But you're >> right, it's definitely not there in standard SQLite. An SQLite server >> sounds interesting though. >> Pete >> >> On Tue, Mar 6, 2012 at 11:35 AM, Bernard Devlin wrote: >> >>> I notice from things discussed on the Valentina list that they >>> recommend using API methods rather than SQL calls, because the former >>> will be faster due to less overhead. So these different ways of >>> interacting with a sqlite database might well represent an application >>> using the sqlite API. >>> >>> Although when I use the Valentina VStudio SQL interface I will still >>> see results being returned in 25 ms, compared to 500 ms going through >>> sql yoga > revdb > v4rev sql > valentina. This is doing a "select *" >>> from a table with 22k rows (10mb in size). That's not to say that I'm >>> outraged at 500ms. There are other steps one can take to make an >>> interface responsive at these timescales. >>> >>> The Valentina guys are pretty used to comparing Livecode with the >>> other platforms for which they provide Valentina. On 19/12/2010 >>> Ruslan had this to say about Livecode: >>> >>> "REALbasic - as I remember -- was very fast, near to C code...so it >>> gives e.g. 5% overhead to pure C engine... Revolution and Director >>> give me x4-x10 overhead I think....Revolution because all params are >>> packed to strings ... Director because quite complex SDK similar to MS >>> COM ..." This conclusion by Ruslan appears to be only in the >>> discussion of calling the Valentina API, therefore one would expect >>> that adding other layers (sql, revdb, etc.) one would see other layers >>> adding their own torpor to the action. >>> >>> Does using explict transation control make any difference with sqlite? >>> It shouldn't matter in a case where the data is only being read. I >>> know on MVCC databases this is still a factor if one has a cursor >>> containing the read data, as such data might still be altered from the >>> cursor and the currency control of the MVCC requires a handle on such >>> data to be able to maintain consistency. I can't see that it would >>> apply to sqlite, and this site confirms that sqlite does not implement >>> MVCC: http://www.sqliteconcepts.org/SI_index.html >>> >>> Bernard >>> >>> On Tue, Mar 6, 2012 at 5:15 PM, Pete wrote: >>>> I got the same results on the movies database and even more pronounced >>>> differences on a table in one of my own databases with ~48k records in >>> it: >>>> SQL tab 0.519secs, Manage tab 0.045 secs, more than a 10-fold >>> difference! >>>> Just a straight SELECT * in each case. >>>> Pete >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >> >> >> -- >> Pete >> Molly's Revenge >> >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Wed Mar 7 16:35:48 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 7 Mar 2012 16:35:48 -0500 (EST) Subject: Allowing user to change size and location of a field In-Reply-To: References: Message-ID: <8CECAC16594E64B-CF4-3F8B@webmail-d060.sysops.aol.com> Your second one is a poser. The formatted widths and heights do not help, I think, if you do not already have the field populated with text. You are asking for the "potentialFormattedWidth", essentially. Without using a monospaced font like courier, I would not know how to begin. If you did use such a font, though, you could calculate the number of chars and lines that would fit, based on the rect of the field. I made a field in courier 12. I know how many chars per pixel width I can fit, and how many lines I can fit as well. A simple function will give the number of chars for any field size. Once you have that, you can trap keydown to limit the total char count. But someone smarter will have to answer for dynamically spaced fonts. Maybe this is a start? Craig Newman -----Original Message----- From: Glen Bojsza To: How to use LiveCode Sent: Wed, Mar 7, 2012 11:35 am Subject: Allowing user to change size and location of a field Hello, I would like to allow a user to be able to change the size and location of a text field in an application. The following allows the user to select the field via right-shift click and then with the pointer tool move the field to where they want and resize the field. With the next right-shift click the field is deselected and the browse tool is shown. Problem is the user cannot put text into the field anymore? Am I approaching this correctly? on mouseDown theButton if theButton is 3 AND the shiftkey is down then get the selected of me switch it case "true" set the selected of me to false set the tool to browse select empty break case "false" set the selected of me to true set the tool to pointer break end switch else pass mouseDown end if end mouseDown Another question which may not be able to be answered is... can you limit the number of characters in the field based on the new size the user has made? thanks, Glen _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From tolistim at me.com Wed Mar 7 16:43:11 2012 From: tolistim at me.com (Tim Jones) Date: Wed, 07 Mar 2012 14:43:11 -0700 Subject: Apple iPad announcement evokes yawn Message-ID: <95EDC3DD-CC2A-4BE9-9FE4-A965D5DAED20@me.com> So, it's not the iPad 3, it's the "New iPad". Seems to me that the only thing that has happened is that we (developers) now need to worry about 3 display sizes for our iOS apps. Does this mean that iPod / iPhone apps now get a 2x and a 3x button when running on the new iPad? I'm digging through the iOS developer docs to see what we can uncover today. Tim From francois.chaplais at mines-paristech.fr Wed Mar 7 16:54:53 2012 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Wed, 7 Mar 2012 22:54:53 +0100 Subject: Apple iPad announcement evokes yawn In-Reply-To: <95EDC3DD-CC2A-4BE9-9FE4-A965D5DAED20@me.com> References: <95EDC3DD-CC2A-4BE9-9FE4-A965D5DAED20@me.com> Message-ID: <4E419FF2-5420-414C-8151-13F0E44AC046@mines-paristech.fr> Much of my work consists in reading PDF research articles. The retina display is a killer feature for that. And, mind you, PDF is resolution independent. Le 7 mars 2012 ? 22:43, Tim Jones a ?crit : > So, it's not the iPad 3, it's the "New iPad". > > Seems to me that the only thing that has happened is that we (developers) now need to worry about 3 display sizes for our iOS apps. Does this mean that iPod / iPhone apps now get a 2x and a 3x button when running on the new iPad? I'm digging through the iOS developer docs to see what we can uncover today. > > Tim > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Wed Mar 7 17:02:02 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 07 Mar 2012 16:02:02 -0600 Subject: Allowing user to change size and location of a field In-Reply-To: <8CECAC16594E64B-CF4-3F8B@webmail-d060.sysops.aol.com> References: <8CECAC16594E64B-CF4-3F8B@webmail-d060.sysops.aol.com> Message-ID: <4F57DADA.1010501@hyperactivesw.com> Glen Bojsza wrote: > Another question which may not be able to be answered is... can you limit > the number of characters in the field based on the new size the user has > made? What I usually do is trap keydown and check the formattedheight while the user is typing. If the text is too long then either truncate it or warn the user some other way. If the field has just been resized, then check the formattedheight after the resizing and take action if the contents are too long. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rdimola at evergreeninfo.net Wed Mar 7 17:06:00 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 7 Mar 2012 17:06:00 -0500 Subject: Allowing user to change size and location of a field In-Reply-To: <8CECAC16594E64B-CF4-3F8B@webmail-d060.sysops.aol.com> References: <8CECAC16594E64B-CF4-3F8B@webmail-d060.sysops.aol.com> Message-ID: <00d101ccfcae$7b31ebc0$7195c340$@net> I was generating a file of InDesign Tags for a publishing project. The request was for me to break lines and pages manually because of some crazy header and footer requirements not handled by the $2,000 InDesign SW. I used the formattedwidth on a dummy fields to determine where the line breaks should be. After I realized that the font point size of an LC field is not a physical point size (72 per inch) but pixels AND the 12 point type in InDesign was actually 65 "point" in LC at my PC resolution on my monitor, I successfully fit the most number of words on a line and broke the line lines very accurately. To LC's credit a non-breaking space (ASCII 160) does not constitute a LC word break. This allowed me to keep say the city, state and zip code on a single line as requested. Formattedwidth for proportional fonts was very accurate and worked out for me. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of dunbarx at aol.com Sent: Wednesday, March 07, 2012 4:36 PM To: use-livecode at lists.runrev.com Subject: Re: Allowing user to change size and location of a field Your second one is a poser. The formatted widths and heights do not help, I think, if you do not already have the field populated with text. You are asking for the "potentialFormattedWidth", essentially. Without using a monospaced font like courier, I would not know how to begin. If you did use such a font, though, you could calculate the number of chars and lines that would fit, based on the rect of the field. I made a field in courier 12. I know how many chars per pixel width I can fit, and how many lines I can fit as well. A simple function will give the number of chars for any field size. Once you have that, you can trap keydown to limit the total char count. But someone smarter will have to answer for dynamically spaced fonts. Maybe this is a start? Craig Newman -----Original Message----- From: Glen Bojsza To: How to use LiveCode Sent: Wed, Mar 7, 2012 11:35 am Subject: Allowing user to change size and location of a field Hello, I would like to allow a user to be able to change the size and location of a text field in an application. The following allows the user to select the field via right-shift click and then with the pointer tool move the field to where they want and resize the field. With the next right-shift click the field is deselected and the browse tool is shown. Problem is the user cannot put text into the field anymore? Am I approaching this correctly? on mouseDown theButton if theButton is 3 AND the shiftkey is down then get the selected of me switch it case "true" set the selected of me to false set the tool to browse select empty break case "false" set the selected of me to true set the tool to pointer break end switch else pass mouseDown end if end mouseDown Another question which may not be able to be answered is... can you limit the number of characters in the field based on the new size the user has made? thanks, Glen _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From tolistim at me.com Wed Mar 7 17:04:54 2012 From: tolistim at me.com (Tim Jones) Date: Wed, 07 Mar 2012 15:04:54 -0700 Subject: Apple iPad announcement evokes yawn In-Reply-To: <4E419FF2-5420-414C-8151-13F0E44AC046@mines-paristech.fr> References: <95EDC3DD-CC2A-4BE9-9FE4-A965D5DAED20@me.com> <4E419FF2-5420-414C-8151-13F0E44AC046@mines-paristech.fr> Message-ID: <65C362F9-5D09-4894-98AF-A7616DC0C9E4@me.com> I was viewing the announcement more from a developer's point of view rather than a user's. I agree that the higher pixel density will provide for more comfortable reading, but it also means that we'll now need to add still another screen size to the three that we already must check for (iPhone, iPhone Retina, and iPad). It will also be interesting to see what happens to the gaming world with the 4 core graphics processor. Tim On Mar 7, 2012, at 2:54 PM, Fran?ois Chaplais wrote: > Much of my work consists in reading PDF research articles. The retina display is a killer feature for that. And, mind you, PDF is resolution independent. > Le 7 mars 2012 ? 22:43, Tim Jones a ?crit : > >> So, it's not the iPad 3, it's the "New iPad". >> >> Seems to me that the only thing that has happened is that we (developers) now need to worry about 3 display sizes for our iOS apps. Does this mean that iPod / iPhone apps now get a 2x and a 3x button when running on the new iPad? I'm digging through the iOS developer docs to see what we can uncover today. >> >> Tim From dunbarx at aol.com Wed Mar 7 17:39:18 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 7 Mar 2012 17:39:18 -0500 (EST) Subject: Allowing user to change size and location of a field In-Reply-To: <4F57DADA.1010501@hyperactivesw.com> References: <8CECAC16594E64B-CF4-3F8B@webmail-d060.sysops.aol.com> <4F57DADA.1010501@hyperactivesw.com> Message-ID: <8CECACA440DF8DC-CF4-4623@webmail-d060.sysops.aol.com> What Jacque is saying is to load the formatted height, maybe into a custom property, right after you resize. Then, as the user types, check the current formattedheight, at each keystroke, and if it exceeds the initial value, disallow that text entry. I played around with this too, etting a custom property to the formattedHeight upon resizing, but ran up against a wall if the field is made smaller. Then the text already is too full for it. Jacque will find a way, though. Craig Newman -----Original Message----- From: J. Landman Gay To: How to use LiveCode Sent: Wed, Mar 7, 2012 5:03 pm Subject: Re: Allowing user to change size and location of a field Glen Bojsza wrote: > Another question which may not be able to be answered is... can you limit > the number of characters in the field based on the new size the user has > made? What I usually do is trap keydown and check the formattedheight while the user is typing. If the text is too long then either truncate it or warn the user some other way. If the field has just been resized, then check the formattedheight after the resizing and take action if the contents are too long. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Wed Mar 7 17:23:15 2012 From: coiin at verizon.net (Colin Holgate) Date: Wed, 07 Mar 2012 17:23:15 -0500 Subject: Apple iPad announcement evokes yawn In-Reply-To: <95EDC3DD-CC2A-4BE9-9FE4-A965D5DAED20@me.com> References: <95EDC3DD-CC2A-4BE9-9FE4-A965D5DAED20@me.com> Message-ID: It was already three sizes, now it's four. If you read some of the "iPad 3" topic you'll see we've been theorizing about what LiveCode will do in handling the new iPad Retina display. If you yourself did nothing to try and support Retina, then your iPad sized app should scale up seamlessly to the larger size without needing to show a 2X button. The problem case would be if you have asked for the Retina display (with "iphoneUseDeviceResolution true"), there's a chance that you'll be greeted with a 2048x1536 sized card window. On Mar 7, 2012, at 4:43 PM, Tim Jones wrote: > > >Seems to me that the only thing that has happened is that we (developers) now need to worry about 3 display sizes for our iOS apps. From gbojsza at gmail.com Wed Mar 7 17:58:24 2012 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 7 Mar 2012 15:58:24 -0700 Subject: Allowing user to change size and location of a field In-Reply-To: <8CECACA440DF8DC-CF4-4623@webmail-d060.sysops.aol.com> References: <8CECAC16594E64B-CF4-3F8B@webmail-d060.sysops.aol.com> <4F57DADA.1010501@hyperactivesw.com> <8CECACA440DF8DC-CF4-4623@webmail-d060.sysops.aol.com> Message-ID: For now I can check the height with the formattedHeight after the user has resized the field and take action appropriately. thanks, Glen On Wed, Mar 7, 2012 at 3:39 PM, wrote: > > What Jacque is saying is to load the formatted height, maybe into a custom > property, right after you resize. Then, as the user types, check the > current formattedheight, at each keystroke, and if it exceeds the initial > value, disallow that text entry. > > > I played around with this too, etting a custom property to the > formattedHeight upon resizing, but ran up against a wall if the field is > made smaller. Then the text already is too full for it. > > > Jacque will find a way, though. > > > Craig Newman > > > From matthias_livecode_150811 at m-r-d.de Wed Mar 7 17:59:11 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 7 Mar 2012 23:59:11 +0100 Subject: iOS: text field is coverd by the keyboard Message-ID: <08061D9B-24DE-474D-AFD0-03F742137F3E@m-r-d.de> Hi, maybe a dumb question, but how do you take track of the iOS keyboard layering over a field. I have here a multiline field near the botton. When i enter the field most part of the field is covered by the keyboard. Do i have to group all objects on the card and move them up? Or what is the right way? Regards, Matthias From monte at sweattechnologies.com Wed Mar 7 18:07:50 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 8 Mar 2012 10:07:50 +1100 Subject: iOS: text field is coverd by the keyboard In-Reply-To: <08061D9B-24DE-474D-AFD0-03F742137F3E@m-r-d.de> References: <08061D9B-24DE-474D-AFD0-03F742137F3E@m-r-d.de> Message-ID: <6F3878FF-6F80-43A9-8376-71B31A25DC90@sweattechnologies.com> See the keyboardActivated message. I had thought folks might be interested in a modal text editor for iOS (combines keyboard+field) but it didn't get any votes on the last mergExt poll. Cheers Monte On 08/03/2012, at 9:59 AM, Matthias Rebbe wrote: > Hi, > > maybe a dumb question, but how do you take track of the iOS keyboard layering over a field. > I have here a multiline field near the botton. When i enter the field most part of the field is covered by the keyboard. > Do i have to group all objects on the card and move them up? Or what is the right way? > > Regards, > > Matthias > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Wed Mar 7 18:17:30 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 07 Mar 2012 17:17:30 -0600 Subject: Allowing user to change size and location of a field In-Reply-To: References: <8CECAC16594E64B-CF4-3F8B@webmail-d060.sysops.aol.com> <4F57DADA.1010501@hyperactivesw.com> <8CECACA440DF8DC-CF4-4623@webmail-d060.sysops.aol.com> Message-ID: <4F57EC8A.5090606@hyperactivesw.com> On 3/7/12 4:58 PM, Glen Bojsza wrote: > For now I can check the height with the formattedHeight after the user has > resized the field and take action appropriately. That's pretty much what I meant. I don't think you'd need to store any previous values, just see what it is at this moment. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tsj at unimelb.edu.au Wed Mar 7 18:27:58 2012 From: tsj at unimelb.edu.au (Terry Judd) Date: Wed, 7 Mar 2012 23:27:58 +0000 Subject: iOS: text field is coverd by the keyboard In-Reply-To: <6F3878FF-6F80-43A9-8376-71B31A25DC90@sweattechnologies.com> References: <08061D9B-24DE-474D-AFD0-03F742137F3E@m-r-d.de> <6F3878FF-6F80-43A9-8376-71B31A25DC90@sweattechnologies.com> Message-ID: <5D8F29AE-F42C-4EF7-8F5B-AE647F0E0BF4@unimelb.edu.au> On 08/03/2012, at 10:07 AM, Monte Goulding wrote: See the keyboardActivated message. I had thought folks might be interested in a modal text editor for iOS (combines keyboard+field) but it didn't get any votes on the last mergExt poll. That does sound quite useful. Terry... Cheers Monte On 08/03/2012, at 9:59 AM, Matthias Rebbe wrote: Hi, maybe a dumb question, but how do you take track of the iOS keyboard layering over a field. I have here a multiline field near the botton. When i enter the field most part of the field is covered by the keyboard. Do i have to group all objects on the card and move them up? Or what is the right way? Regards, Matthias _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From gerry.orkin at gmail.com Wed Mar 7 19:17:20 2012 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Thu, 8 Mar 2012 11:17:20 +1100 Subject: Apple iPad announcement evokes yawn In-Reply-To: <65C362F9-5D09-4894-98AF-A7616DC0C9E4@me.com> References: <95EDC3DD-CC2A-4BE9-9FE4-A965D5DAED20@me.com> <4E419FF2-5420-414C-8151-13F0E44AC046@mines-paristech.fr> <65C362F9-5D09-4894-98AF-A7616DC0C9E4@me.com> Message-ID: Tim Jones wrote: > I agree that the higher pixel density will provide for more comfortable reading, but it also means that we'll now need to add still another screen size to the three that we already must check for (iPhone, iPhone Retina, and iPad). I know! Horrendous! Android would never treat us so poorly :) Gerry From bonnmike at gmail.com Wed Mar 7 19:28:26 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 7 Mar 2012 17:28:26 -0700 Subject: Apple iPad announcement evokes yawn In-Reply-To: References: <95EDC3DD-CC2A-4BE9-9FE4-A965D5DAED20@me.com> <4E419FF2-5420-414C-8151-13F0E44AC046@mines-paristech.fr> <65C362F9-5D09-4894-98AF-A7616DC0C9E4@me.com> Message-ID: Ok. This made me guffaw. > I know! Horrendous! Android would never treat us so poorly :) > > From coiin at verizon.net Wed Mar 7 22:35:46 2012 From: coiin at verizon.net (Colin Holgate) Date: Wed, 07 Mar 2012 22:35:46 -0500 Subject: Apple iPad announcement evokes yawn In-Reply-To: References: <95EDC3DD-CC2A-4BE9-9FE4-A965D5DAED20@me.com> <4E419FF2-5420-414C-8151-13F0E44AC046@mines-paristech.fr> <65C362F9-5D09-4894-98AF-A7616DC0C9E4@me.com> Message-ID: Android resolutions are more consistent than iOS. By which I mean that consistently every new Android device is a resolution that you haven't heard of before! I'm kidding, sort of. From andre at andregarzia.com Wed Mar 7 22:49:07 2012 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 8 Mar 2012 00:49:07 -0300 Subject: Apple iPad announcement evokes yawn In-Reply-To: References: <95EDC3DD-CC2A-4BE9-9FE4-A965D5DAED20@me.com> <4E419FF2-5420-414C-8151-13F0E44AC046@mines-paristech.fr> <65C362F9-5D09-4894-98AF-A7616DC0C9E4@me.com> Message-ID: On Thu, Mar 8, 2012 at 12:35 AM, Colin Holgate wrote: > Android resolutions are more consistent than iOS. By which I mean that > consistently every new Android device is a resolution that you haven't > heard of before! > I've heard that Google is dealing with that by shipping a new Android Emulator in the SDK. This new emulator will randomize the rect of the device upon every launch with values between 124 and 2048. =) > > I'm kidding, sort of. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From lists at mangomultimedia.com Wed Mar 7 23:19:59 2012 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 7 Mar 2012 23:19:59 -0500 Subject: Sqlite and performances in LiveCode In-Reply-To: References: <7049BBBA-A811-45C2-AEFF-A112E7D0194B@mac.com> Message-ID: On Wed, Mar 7, 2012 at 11:37 AM, Pete wrote: > I emailed sqlitemanager support re the manage/sql tab performance > difference. Mystery solved by the reply: > > "In the Manage panel when you see SELECT * FROM table the real query > executed is SELECT rowid FROM table and then a SELECT * FROM table WHERE > rowid=N is execute for each visible row of the listbox. In the SQL panel > query executed is just what you type" Thanks for following up on that Pete. J?r?me - you might try something like this in LiveCode. If you set up the data grid like the example stack then you would call "SELECT rowid FROM table" to get the number of records and a list of ids. Then in GetDataForLine you would execute "SELECT * FROM table WHERE rowid=N" to fill in the row data that is being displayed. -- Trevor DeVore Blue Mango Learning Systems www.clarify-it.com - www.screensteps.com From pete at mollysrevenge.com Thu Mar 8 01:16:48 2012 From: pete at mollysrevenge.com (Pete) Date: Wed, 7 Mar 2012 22:16:48 -0800 Subject: Sqlite and performances in LiveCode In-Reply-To: References: <7049BBBA-A811-45C2-AEFF-A112E7D0194B@mac.com> Message-ID: Hi Trevor, I tried this approach in Livecode an it works great. I do have one strange thing going on which I hope you can help with. There are 12 lines in my datagird. I put a breakpoint in GetDataForLine and I see it being called 12 times followed by a slight pause, then it's called another 12 times. I've double checked my code and I'm certain I'm only setting dgNumber ofRecords once. Any ideas? Pete On Wed, Mar 7, 2012 at 8:19 PM, Trevor DeVore wrote: > On Wed, Mar 7, 2012 at 11:37 AM, Pete wrote: > > > I emailed sqlitemanager support re the manage/sql tab performance > > difference. Mystery solved by the reply: > > > > "In the Manage panel when you see SELECT * FROM table the real query > > executed is SELECT rowid FROM table and then a SELECT * FROM table WHERE > > rowid=N is execute for each visible row of the listbox. In the SQL panel > > query executed is just what you type" > > > Thanks for following up on that Pete. > > J?r?me - you might try something like this in LiveCode. If you set up the > data grid like the example stack then you would call "SELECT rowid FROM > table" to get the number of records and a list of ids. Then in > GetDataForLine you would execute "SELECT * FROM table WHERE > rowid=N" to fill in the row data that is being displayed. > > -- > Trevor DeVore > Blue Mango Learning Systems > www.clarify-it.com - www.screensteps.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From pete at mollysrevenge.com Thu Mar 8 01:23:31 2012 From: pete at mollysrevenge.com (Pete) Date: Wed, 7 Mar 2012 22:23:31 -0800 Subject: Help with C externals Message-ID: I'm seriously considering trying to use the C API for sqlite databases instead of the rev db functions. I'm finding too many little inconsistencies and inefficiencies in the rev routines. The problem is I know nothing about using external libraries with LC or the sqlite C API. I'm hoping there's someone out there who can at least tell me if this is feasible. Check out http://www.sqlite.org/c3ref/intro.html for documentation of the C APIs for sqlite Thanks -- Pete Molly's Revenge From monte at sweattechnologies.com Thu Mar 8 01:27:45 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 8 Mar 2012 17:27:45 +1100 Subject: Help with C externals In-Reply-To: References: Message-ID: <782280D2-A3FF-4726-8F8E-34427033BC45@sweattechnologies.com> Hmm... what are the issues you are finding? Cheers Monte From pderocco at ix.netcom.com Thu Mar 8 02:04:18 2012 From: pderocco at ix.netcom.com (Paul D. DeRocco) Date: Wed, 7 Mar 2012 23:04:18 -0800 Subject: Help with C externals In-Reply-To: Message-ID: <81F3191AFD3344749A457C7C5F31F2AD@PAULD> > From: Pete > > I'm seriously considering trying to use the C API for sqlite > databases instead of the rev db functions. I'm finding too > many little inconsistencies and inefficiencies in the rev routines. > > The problem is I know nothing about using external libraries > with LC or the sqlite C API. I'm hoping there's someone out > there who can at least tell me if this is feasible. Check > out http://www.sqlite.org/c3ref/intro.html for documentation > of the C APIs for sqlite My experience with externals is that it is just a load of busywork to write an interface layer that calls external functions. The difficulty arises when you need to deal with callbacks, and I assume SQLite uses some mechanism like this for reporting progress or timeouts, or allowing long operations to be aborted. So that's what you should investigate first, to decide whether you can do everything you need with an external. In the past, I've dealt with the issue of callbacks from asynchronous events by having those callbacks record their state in a variable or fifo, and then use timer messages to poll the variable or fifo at a rate sufficient to the application. But that doesn't deal with callbacks that occur during the time when a function called by your code is in progress, since you're not handling timer messages during that time. -- Ciao, Paul D. DeRocco Paul mailto:pderocco at ix.netcom.com From ruslan_zasukhin at valentina-db.com Thu Mar 8 02:54:16 2012 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Thu, 08 Mar 2012 09:54:16 +0200 Subject: Help with C externals In-Reply-To: Message-ID: On 3/8/12 8:23 AM, "Pete" wrote: Hi Pete, 1) I believe in the past there was at least 1-2-3 externals from third party developers around SQLite. They was even sold at price 150$ So you going invent a bike ... 2) why tease self with SQLite if exists Valentina DB and now many ways with Valentina DB & Reports are FREE! Even for deployment and sales. For example, -- everybody can download VSERVER and get free license for 5 connections. -- everybody can download ANY Valentina ADK and develop application, which is CLIENT to that VSERVER. You can even sale this app millions copies, but without bundling of VSERVER. Your users will need download and install own free copy of vserver. -- with VSERVER and any Valentina ADK you also can integrate Valentina Reports into your app, which will work under VSERVER/5. For this you need spend 199$ to buy one copy of Valentina Studio Pro to design your reports. But when you have design N reports with Vstudio, you can deploy that with your apps and your users still will be able to use them for free with their VSERVER/5 -- why to care about reports? We have development team, which have push us to idea develop reports. They develop big online system using PHP and REALbasic. And they just draw many forms as reports. Later PHP or RB code in one line of code ask for that report and show it into browser as PDF or HTML ... > I'm seriously considering trying to use the C API for sqlite databases > instead of the rev db functions. I'm finding too many little > inconsistencies and inefficiencies in the rev routines. > > The problem is I know nothing about using external libraries with LC or the > sqlite C API. I'm hoping there's someone out there who can at least tell > me if this is feasible. Check out http://www.sqlite.org/c3ref/intro.html for > documentation of the C APIs for sqlite > > Thanks -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From bdrunrev at gmail.com Thu Mar 8 05:19:09 2012 From: bdrunrev at gmail.com (Bernard Devlin) Date: Thu, 8 Mar 2012 10:19:09 +0000 Subject: Help with C externals In-Reply-To: References: Message-ID: Ruslan, you might need to include some information about why someone might prefer to learn the Valentina API (accessible from V4REV) by citing some features of Valentina that are superior or unavailable in sqlite e.g. encryption, full-text searching (I'm not sure if the latter has been enabled with Runrev's distribution of sqlite). You might also want to provide benchmarks or design-decisions that make Valentina a better choice. Perhaps provide some links to show what is possible with Valentina Reports - but since Valentina Reports works with sqlite, that's not much of a reason for learning to use Valentina as a database :) I looked around for embeddable encrypted databases, and Valentina was one of the only databases that offered on-the-fly encryption. Bernard On Thu, Mar 8, 2012 at 7:54 AM, Ruslan Zasukhin wrote: > 2) why tease self with SQLite if exists Valentina DB and now many ways with > Valentina DB & Reports are FREE! ?Even for deployment and sales. From niconiko at gmail.com Thu Mar 8 06:34:11 2012 From: niconiko at gmail.com (Nicolas Cueto) Date: Thu, 8 Mar 2012 20:34:11 +0900 Subject: post command on Android not working (?) Message-ID: Hello, I'm having problems getting a "post command" routine which works fine between an onrev cgi file and my Windows desktop standalones to also work fine on Android. Whereas on the desktop setup the cgi sends back data as expected, on Android nothing seems to be happening. And this happens both on the target device (Android tablet) and in the LC IDE environment itself. Here are the barebones of the stack's mouseUp/urlProgress script and the cgi scripts, with comments interspersed: /////////////////////////////////////////////////// local pURL on mouseUp put "http://kweto.com/cgi-bin/TheCGI.cgi" into tURL put URLEncode(tURL) into tURL put tURL into pURL put "ThePassword" & cr & "theStatement" into tQueryFormat put URLEncode(tQueryFormat) into tQueryFormat post tQueryFormat to URL tURL -- HAVE ALSO TRIED post tQueryFormat to URL(tURL) put it into tSQLqueryResult -- on Windows, "it" contains data, but on Android "it" is empty end mouseUp on urlProgress pUrl, pStatus -- I don't actually understand how to implement urlProgress! if pStatus is "contacted" then answer "Contacted" with "Okay" end if end urlProgress -------------------------------------------------------- /* [the "http://kweto.com/cgi-bin/TheCGI.cgi" cgi file:] */ #!TheLiveCodeEngine -ui on startup -- put $REQUEST_METHOD into buffer put "Hello world" into buffer put "Content-Type: text/plain" & cr put "Content-Length:" && the length of buffer & cr & cr put buffer end startup /////////////////////////////////////////////////// The result from this is that tSQLqueryResult is empty. But oughtn't it to be "Hello world"? I hope I'm overlooking something simple... Thanks for your consideration. -- Nicolas Cueto From effendi at wanadoo.fr Thu Mar 8 07:18:19 2012 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Thu, 8 Mar 2012 13:18:19 +0100 Subject: Become a man with staying power Message-ID: Hi from Beautiful Brittany, >> On 3 Mar 2012, at 6:00 pm, Richmond wrote: >> >>> the ultimate Sanskrit input system; and working hard towards the >>> finishing line. >> Colonel Pickering would be proud of you! > > The rain falls mainly on the plain. "I think he's got it ! By George, he's got it !" -Francis "Windows is just a series of panes" From effendi at wanadoo.fr Thu Mar 8 07:28:38 2012 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Thu, 8 Mar 2012 13:28:38 +0100 Subject: [OT] New Wine in old skins Message-ID: <783979AA-7324-4B79-90BC-EA8D3828D1CF@wanadoo.fr> Hi from Beautiful Brittany, Richard wrote : > don't expect everything to work as > well as it does with real Windows. Richmond. I hope you don't mind if I pass on that statement ! However, it reminds me of the definition of Real and Virtual Memory on the IBM computers of the 70's. 1 - If it's there, and you can see it - it's "Real". 2 - If it's not there, and you can see it, it's "Virtual" 3 - If it's not there, and you can't see it, it's "Gone" ! -Francis "Windows is just a long series of panes" From m.schonewille at economy-x-talk.com Thu Mar 8 09:07:27 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 8 Mar 2012 15:07:27 +0100 Subject: post command on Android not working (?) In-Reply-To: References: Message-ID: <8DFEBC97-211F-4C3A-BE6B-30F89567F933@economy-x-talk.com> Hi Nicolas, You're right, this doesn't work. It is a bug. Currently, I don't know of any solution, except for using GET instead of POST. -- 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 1.7 for LiveCode here http://qery.us/za On 8 mrt 2012, at 12:34, Nicolas Cueto wrote: > Hello, > > I'm having problems getting a "post command" routine which works fine > between an onrev cgi file and my Windows desktop standalones to also > work fine on Android. > > Whereas on the desktop setup the cgi sends back data as expected, on > Android nothing seems to be happening. > > And this happens both on the target device (Android tablet) and in the > LC IDE environment itself. > > Here are the barebones of the stack's mouseUp/urlProgress script and > the cgi scripts, with comments interspersed: From m.schonewille at economy-x-talk.com Thu Mar 8 09:21:10 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 8 Mar 2012 15:21:10 +0100 Subject: Installer Maker Plugin Discount Action Message-ID: <389009BE-B87C-449A-A335-45119E25AC7E@economy-x-talk.com> Hi, Tomorrow is the last day to get a license for Installer Maker Plugin with 10 euro (13 dollar) discount, i.e. you pay 29 instead of 39 euro. Get it here http://qery.us/1v7 -- 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 1.7 for LiveCode here http://qery.us/za From andre at andregarzia.com Thu Mar 8 09:26:38 2012 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 8 Mar 2012 11:26:38 -0300 Subject: post command on Android not working (?) In-Reply-To: <8DFEBC97-211F-4C3A-BE6B-30F89567F933@economy-x-talk.com> References: <8DFEBC97-211F-4C3A-BE6B-30F89567F933@economy-x-talk.com> Message-ID: That bugs prevents anyone from implementing any social network stuff on Android, should be marked as blocker. =/ On Thu, Mar 8, 2012 at 11:07 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi Nicolas, > > You're right, this doesn't work. It is a bug. Currently, I don't know of > any solution, except for using GET instead of POST. > > -- > 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 1.7 for LiveCode here > http://qery.us/za > > On 8 mrt 2012, at 12:34, Nicolas Cueto wrote: > > > Hello, > > > > I'm having problems getting a "post command" routine which works fine > > between an onrev cgi file and my Windows desktop standalones to also > > work fine on Android. > > > > Whereas on the desktop setup the cgi sends back data as expected, on > > Android nothing seems to be happening. > > > > And this happens both on the target device (Android tablet) and in the > > LC IDE environment itself. > > > > Here are the barebones of the stack's mouseUp/urlProgress script and > > the cgi scripts, with comments interspersed: > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From mcgrath3 at mac.com Thu Mar 8 09:31:36 2012 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 08 Mar 2012 09:31:36 -0500 Subject: Test using 5.1 Retina Simulator Message-ID: Since the new xCode is an App bundle it isn't recognized as a folder for dev in LC. But you can still run LC apps in the simulator. As long as you have not deleted the old xCode /developer folder (or if you did and then moved it back after install) and you are using Lion 10.7.3 & xCode 4.3.1 and iOS 5.1 SDK and LiveCode 5 + Here's how: Find the new Simulator at: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/ and copy it to the old simulator folder here: /Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/ Then in LC just select Test and then from within the 'new' Simulator choose Hardware/Device/iPad (Retina) -- Then choose scale 50% from the Window menu. Also, even though the screen is reduced to 50% the Copy Screen command and the Save Screen Shot command both produce the 1536 ? 2048 pixel png. SDK next? -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net From lists at mangomultimedia.com Thu Mar 8 09:43:20 2012 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 8 Mar 2012 09:43:20 -0500 Subject: Sqlite and performances in LiveCode In-Reply-To: References: <7049BBBA-A811-45C2-AEFF-A112E7D0194B@mac.com> Message-ID: On Thu, Mar 8, 2012 at 1:16 AM, Pete wrote: > Hi Trevor, > I tried this approach in Livecode an it works great. > > I do have one strange thing going on which I hope you can help with. There > are 12 lines in my datagird. I put a breakpoint in GetDataForLine and I > see it being called 12 times followed by a slight pause, then it's called > another 12 times. I've double checked my code and I'm certain I'm only > setting dgNumber ofRecords once. Any ideas? > Not sure. I just tested the example stack by logging calls to the message box and GetDataForLine is only called 7 times for 5 lines of data. Not sure if either will make a difference but make sure "cache controls" = false and that "fixed row height" = true. You could try logging the executioncontexts on every call to GetDataForLine and seeing where the 2nd set of twelve are originating from. -- Trevor DeVore Blue Mango Learning Systems www.clarify-it.com - www.screensteps.com From jeff at siphonophore.com Thu Mar 8 10:06:22 2012 From: jeff at siphonophore.com (Jeff Reynolds) Date: Thu, 8 Mar 2012 10:06:22 -0500 Subject: use-livecode Digest, Vol 102, Issue 12 In-Reply-To: References: Message-ID: <283D98EE-347F-4897-A053-2276BDE8FEF9@siphonophore.com> Andre you almost made coffee come out my nose! Apple damned by the stock market if they dont make things bigger, brighter and better at least twice a year and damned by their developers when they do! jeff On Mar 8, 2012, at 2:04 AM, use-livecode-request at lists.runrev.com wrote: > I've heard that Google is dealing with that by shipping a new Android > Emulator in the SDK. This new emulator will randomize the rect of the > device upon every launch with values between 124 and 2048. > > =) From niconiko at gmail.com Thu Mar 8 10:28:35 2012 From: niconiko at gmail.com (Nicolas Cueto) Date: Fri, 9 Mar 2012 00:28:35 +0900 Subject: post command on Android not working (?) In-Reply-To: <8DFEBC97-211F-4C3A-BE6B-30F89567F933@economy-x-talk.com> References: <8DFEBC97-211F-4C3A-BE6B-30F89567F933@economy-x-talk.com> Message-ID: > You're right, this doesn't work. It is a bug. Mark, That got me thinking that there might be a bug report on this already. And there is! Report# 9964. That report offers this workaround: ---------------------------------------- I can confirm there is a bug in Android "post to URL". The post data is transmitted to the server, but the Content-Type header is not being set. By default, the Content-Type header should be set to "application/x-www-form-urlencoded" but this is not being done. As a workaround, you can set this header manually using the httpHeaders property: set the httpHeaders to "Content-Type: application/x-www-form-urlencoded" You should set the httpHeaders to empty once the post command has completed to avoid it affecting any subsequent url access. ----------------------------------------- That bug report also states this bug has been fixed for 5.5.0-dp-1. But, apparently it hasn't. At least, not on 5.5.0-dp-2. So, I tried that "set the httpHeaders" workaround. Also not working. Here's something else very odd that's happened after further experimentation. If on my stack I >>first<< click a button with this script: get url get url ("http://www.google.com") put it into field "text" and then after that click the button with the "post (plus workaround)" script: set the httpHeaders to "Content-Type: application/x-www-form-urlencoded" put URLEncode(tQueryFormat) into tQueryFormat put URLEncode("http://helloWorld.cgi") into tURL post tQueryFormat to URL tURL put it into field "text" that second "it" contains the google.com page's data. And I tried that "get url" with a different url, and the same odd result happened. So, whereas in my first post, "it" was returning empty, now "it" contains pre-fetched data. Guess that bug report ought not to be resolved as "Fixed"? -- Nicolas Cueto From tolistim at me.com Thu Mar 8 12:02:30 2012 From: tolistim at me.com (Tim Jones) Date: Thu, 08 Mar 2012 10:02:30 -0700 Subject: Apple iPad announcement evokes yawn In-Reply-To: References: <95EDC3DD-CC2A-4BE9-9FE4-A965D5DAED20@me.com> <4E419FF2-5420-414C-8151-13F0E44AC046@mines-paristech.fr> <65C362F9-5D09-4894-98AF-A7616DC0C9E4@me.com> Message-ID: <321CA05D-A362-4529-90FC-8D4DBD8FE03A@me.com> On Mar 7, 2012, at 5:17 PM, Gerry Orkin wrote: > Tim Jones wrote: > >> I agree that the higher pixel density will provide for more comfortable reading, but it also means that we'll now need to add still another screen size to the three that we already must check for (iPhone, iPhone Retina, and iPad). > > I know! Horrendous! Android would never treat us so poorly :) But that's another discussion. This was about another overblown Apple launch event that was much ado about nothing. A lot of catch-up on things, but nothing truly new. I'm happy that Apple management haven't lost Jobs' flair for the dramatic, but a new screen, an updated camera, and finally getting to 1080p isn't something that I'd have been happy about traveling to San Francisco for as a journalist. Show me a Mac Book Air Pad (touch screen MBA) and I'll get excited. Show me a new rack-friendly Mac Pro, and I'll shout to the heavens. Show me Thunderbolt peripherals that are actually available and I'll most likely faint. But a new screen and an overdue update on existing products??? Sorry to sound so jaded and cynical, but I've been in this space for too long (since the Apple ][ circa 1982), and I just expect more. Tim From bobs at twft.com Thu Mar 8 12:30:52 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 8 Mar 2012 09:30:52 -0800 Subject: Apple iPad announcement evokes yawn In-Reply-To: <321CA05D-A362-4529-90FC-8D4DBD8FE03A@me.com> References: <95EDC3DD-CC2A-4BE9-9FE4-A965D5DAED20@me.com> <4E419FF2-5420-414C-8151-13F0E44AC046@mines-paristech.fr> <65C362F9-5D09-4894-98AF-A7616DC0C9E4@me.com> <321CA05D-A362-4529-90FC-8D4DBD8FE03A@me.com> Message-ID: Would a quad core make you a bit happier? How about 4G LTE? I don't think it was about nothing. These are all somethings, and all together they comprise a significant upgrade. Also, I think that in the midst of economic uncertainty, it would be foolish of Apple to embark on some great new technology. They DID have a rack mounted Mac Pro. It was called Xserve, and very few people (relatively speaking) bought them. They are AWESOME servers (I have 6 in my network here) but they were pricey, and it took a long time for the Server OS to get to where an enterprise would feel comfortable integrating it into their existing Active Directory infrastructure, and there was no real benefit to doing so. Apple understandably canned the product line. A touchscreen in and of itself is not a very good interface for a laptop IMHO. I have had the opportunity to use one running Windows, and I found myself going back to the trackball or touchpad in frustration. If you interact with the system a lot, reaching out your hand and touching the screen multiple times in a minute can get tiring after not too long. Try doing it all day! Even with an iPad I would not like to have to use it all day as my main computing device. The times, they ARE a changin', and not necessarily for the better. Gas prices are going through the roof and businesses will not absorb this cost themselves. They will predictably pass that cost on to the consumer, in the form of more expensive utilities, food, pretty much everything. Consumers will then have even less free cash to spend on new technology. I think Apple did just enough. Bob On Mar 8, 2012, at 9:02 AM, Tim Jones wrote: > This was about another overblown Apple launch event that was much ado about nothing. A lot of catch-up on things, but nothing truly new. I'm happy that Apple management haven't lost Jobs' flair for the dramatic, but a new screen, an updated camera, and finally getting to 1080p isn't something that I'd have been happy about traveling to San Francisco for as a journalist. From pete at mollysrevenge.com Thu Mar 8 12:33:51 2012 From: pete at mollysrevenge.com (Pete) Date: Thu, 8 Mar 2012 09:33:51 -0800 Subject: Sqlite and performances in LiveCode In-Reply-To: References: <7049BBBA-A811-45C2-AEFF-A112E7D0194B@mac.com> Message-ID: Hi Trevor, The properties you mentioned are both set correctly. I tried logging executioncontexts but everything looked exactly the same each time though. I also logged the line number parameter of GetDataForLine each time through and displayed them immediatly after the line of code that sets dgnumberofrecords and it showed the line numbers there twice. I'm concluding that it's not something in my code, since the display is right after setting dgnumberofrecords and there's only one call to it. However, it's not really a big deal, the amount of time consumed in setting up 12 lines twice instead of once isn't worth worrying about. I was really letting you know about it in case it was a known bug. Incidentally, I was wrong on the number of lines in my datagrid. As in your example, GetDataForLine seems to get called a couple more times than there are lines in the datagrid. Theer are eleven lines in mine and it is being called 12 times. Pete On Thu, Mar 8, 2012 at 6:43 AM, Trevor DeVore wrote: > On Thu, Mar 8, 2012 at 1:16 AM, Pete wrote: > > > Hi Trevor, > > I tried this approach in Livecode an it works great. > > > > I do have one strange thing going on which I hope you can help with. > There > > are 12 lines in my datagird. I put a breakpoint in GetDataForLine and I > > see it being called 12 times followed by a slight pause, then it's called > > another 12 times. I've double checked my code and I'm certain I'm only > > setting dgNumber ofRecords once. Any ideas? > > > > Not sure. I just tested the example stack by logging calls to the message > box and GetDataForLine is only called 7 times for 5 lines of data. Not sure > if either will make a difference but make sure "cache controls" = false and > that "fixed row height" = true. > > You could try logging the executioncontexts on every call to GetDataForLine > and seeing where the 2nd set of twelve are originating from. > > -- > Trevor DeVore > Blue Mango Learning Systems > www.clarify-it.com - www.screensteps.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From tolistim at me.com Thu Mar 8 12:55:24 2012 From: tolistim at me.com (Tim Jones) Date: Thu, 08 Mar 2012 10:55:24 -0700 Subject: [WOT] Warning - long winded discussion - was Re: Apple iPad announcement evokes yawn In-Reply-To: References: <95EDC3DD-CC2A-4BE9-9FE4-A965D5DAED20@me.com> <4E419FF2-5420-414C-8151-13F0E44AC046@mines-paristech.fr> <65C362F9-5D09-4894-98AF-A7616DC0C9E4@me.com> <321CA05D-A362-4529-90FC-8D4DBD8FE03A@me.com> Message-ID: <69AB42E9-3DA0-4A12-A5B8-B62C60A2388C@me.com> Whoa - I touched a sensitive nerve ending with that one.. Everything that you mention was all stuff that could have been announced via press release. The quad core is the GPU only. The 4G-LTE support is again - catch up. Economic uncertainty is not part of the reality of Apple. They made the largest net profit in the company's history last quarter. The Xserve was never anything like a Mac Pro (or a PowerMac). the Mac Pro is used for serious M&E production and is NOT designed to be a server while the Xserve was primarily an enterprise server system and was never designed (or sold) for desktop use - the two can never be confused. Apple canned the Xserve because they underestimated the efforts of supporting an enterprise environment. For another company, $415M a year is big money. For Apple, it's not worth maintaining since it's so far removed from their core efforts. Get on the phone and call any major studio's system support team and ask them what the best thing Apple could give them and you'll get the same story from all of them - new licenses for Final Cut Pro 7 and a 12 core Mac Pro that will fit in a rack. This is what I do for a living. I - and a lot of folks in the M&E space - regularly use our iPads 10 to 12 hours (or more) a day and we love them. Just because it's something you wouldn't appreciate doesn't mean that the rest of the world also doesn't appreciate it. In fact, this is sent from my iPad, but I remove that silly tag at the bottom. Heck, Peter Frampton even used one on stage last night. I love my Apple products, and I own multiple, but I am confused by your statement relating gas prices to the Apple event (??). Tim On Mar 8, 2012, at 10:30 AM, Bob Sneidar wrote: > Would a quad core make you a bit happier? How about 4G LTE? I don't think it was about nothing. These are all somethings, and all together they comprise a significant upgrade. Also, I think that in the midst of economic uncertainty, it would be foolish of Apple to embark on some great new technology. > > They DID have a rack mounted Mac Pro. It was called Xserve, and very few people (relatively speaking) bought them. They are AWESOME servers (I have 6 in my network here) but they were pricey, and it took a long time for the Server OS to get to where an enterprise would feel comfortable integrating it into their existing Active Directory infrastructure, and there was no real benefit to doing so. Apple understandably canned the product line. > > A touchscreen in and of itself is not a very good interface for a laptop IMHO. I have had the opportunity to use one running Windows, and I found myself going back to the trackball or touchpad in frustration. If you interact with the system a lot, reaching out your hand and touching the screen multiple times in a minute can get tiring after not too long. Try doing it all day! Even with an iPad I would not like to have to use it all day as my main computing device. > > The times, they ARE a changin', and not necessarily for the better. Gas prices are going through the roof and businesses will not absorb this cost themselves. They will predictably pass that cost on to the consumer, in the form of more expensive utilities, food, pretty much everything. Consumers will then have even less free cash to spend on new technology. > > I think Apple did just enough. > > Bob > > > On Mar 8, 2012, at 9:02 AM, Tim Jones wrote: > >> This was about another overblown Apple launch event that was much ado about nothing. A lot of catch-up on things, but nothing truly new. I'm happy that Apple management haven't lost Jobs' flair for the dramatic, but a new screen, an updated camera, and finally getting to 1080p isn't something that I'd have been happy about traveling to San Francisco for as a journalist. > From pete at mollysrevenge.com Thu Mar 8 13:05:42 2012 From: pete at mollysrevenge.com (Pete) Date: Thu, 8 Mar 2012 10:05:42 -0800 Subject: Help with C externals In-Reply-To: <782280D2-A3FF-4726-8F8E-34427033BC45@sweattechnologies.com> References: <782280D2-A3FF-4726-8F8E-34427033BC45@sweattechnologies.com> Message-ID: Hi Monte, The callbacks that Paul mentions in his reply is one thing - would be great to be able to display some sort of progress messages during a lengthy db operation. But seems like that might be a problem according to Paul. I guess I've come across several niggling issues in the last few months. The latest one I found is that revDatabaseColumnNames took around 1.5 seconds to retrieve the column names for one table. I'd been chasing my tail trying to find the cause of slow performance thinking it was something to do with datagrids or slow sqlite performance, but turns out to be LC. Using the equivalent PRAGMA to get the column names took hardly any measurable time. During the same exercise, I create a cursor with a "SELECT rowid FROM " statement. Right after that, I issue a revDatabaseColumnNamed call for rowid and get an error that the column doesn't exist. I found from calling revDatabaseColumnNames that the cursor has used the primary key column of the table instead of rowid. Arguably, that shouldn;t be a problem but I I select rowid, then rowid is what should be in the cursor. I can get round it by using revDatabaseColumnNumbered. If you followed the recent thread on putting empty into integer column in sqlite, you'll know that when you get the data back out agin, it comes back as zero, not empty. Similar to the rpevious example - you should get back whatever you put in. I should add that QCC folks have recognised this as a bug and plan to fix it. On a performance front, there's been a recent thread regarding how much faster SQLiteManager is than the LC equivalent calls. Turns out a lot of that was because of a neat technique used by SQLiteManager but there's still a performance issue. Issuing "SELECT rowid FROM
" in LC takes about 5 times longer than it does in SQLIteManager for the same table. I'll admit that the numbers are small but for tables with large enough number of rows, that's a significant amount of time. There's a number of useful SQLite externals out there. These are usually funcations that you can include in SELECT statements or expressions. SQLite provides a function to load external libraries but it only works if that functionality is enabled when the database is opened. LC doesn't provide a way to make that happen and there is no PRAGMA way to do it. There's more but this is already too long! I'll finish by saying that most of the stuff I'm writing is in the nature of general purpose tools for SQLite db administrators and developers so I'm probably using LC calls that wouldn;t be used by the majority of people who develop a standard app using a database with a known structure. Pete On Wed, Mar 7, 2012 at 10:27 PM, Monte Goulding wrote: > Hmm... what are the issues you are finding? > > Cheers > > Monte > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From pete at mollysrevenge.com Thu Mar 8 13:08:31 2012 From: pete at mollysrevenge.com (Pete) Date: Thu, 8 Mar 2012 10:08:31 -0800 Subject: Help with C externals In-Reply-To: <81F3191AFD3344749A457C7C5F31F2AD@PAULD> References: <81F3191AFD3344749A457C7C5F31F2AD@PAULD> Message-ID: Hi Paul, Yes the callbacks are certainly one of the things I want to get access to but you're raising doubts as to how feasible that might be. But there are other things too. I guess the first thing I'm trying to ascertain is if it will be possible to call the C API's directly from LC or if there will have to be some intermediate external glue that sits between LC and the SQLite C API. Pete On Wed, Mar 7, 2012 at 11:04 PM, Paul D. DeRocco wrote: > > From: Pete > > > > I'm seriously considering trying to use the C API for sqlite > > databases instead of the rev db functions. I'm finding too > > many little inconsistencies and inefficiencies in the rev routines. > > > > The problem is I know nothing about using external libraries > > with LC or the sqlite C API. I'm hoping there's someone out > > there who can at least tell me if this is feasible. Check > > out http://www.sqlite.org/c3ref/intro.html for documentation > > of the C APIs for sqlite > > My experience with externals is that it is just a load of busywork to write > an interface layer that calls external functions. The difficulty arises > when > you need to deal with callbacks, and I assume SQLite uses some mechanism > like this for reporting progress or timeouts, or allowing long operations > to > be aborted. So that's what you should investigate first, to decide whether > you can do everything you need with an external. > > In the past, I've dealt with the issue of callbacks from asynchronous > events > by having those callbacks record their state in a variable or fifo, and > then > use timer messages to poll the variable or fifo at a rate sufficient to the > application. But that doesn't deal with callbacks that occur during the > time > when a function called by your code is in progress, since you're not > handling timer messages during that time. > > -- > > Ciao, Paul D. DeRocco > Paul mailto:pderocco at ix.netcom.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From bobs at twft.com Thu Mar 8 13:38:24 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 8 Mar 2012 10:38:24 -0800 Subject: [WOT] Warning - long winded discussion - was Re: Apple iPad announcement evokes yawn In-Reply-To: <69AB42E9-3DA0-4A12-A5B8-B62C60A2388C@me.com> References: <95EDC3DD-CC2A-4BE9-9FE4-A965D5DAED20@me.com> <4E419FF2-5420-414C-8151-13F0E44AC046@mines-paristech.fr> <65C362F9-5D09-4894-98AF-A7616DC0C9E4@me.com> <321CA05D-A362-4529-90FC-8D4DBD8FE03A@me.com> <69AB42E9-3DA0-4A12-A5B8-B62C60A2388C@me.com> Message-ID: <63D7AD12-1AE4-41A6-9CD0-7AFD4656A599@twft.com> I also seemed to have touched a nerve! :-) I wasn't relating gas prices to the apple event (a drastic oversimplification of what I was saying) I was relating an unstable economy that has all the signs of destabilizing even more (using the rising gas prices as one vector on the issue as an example, perhaps I didn't make that clear,) to the seemingly apparent unwillingness of Apple to produce any dramatically new products or technology into the market right now. And sure Apple is catching up. Why wouldn't they? After they released the revolutionary iPad, other companies one upped them. As is so often the case, Apple does the innovation and takes the chance. Once other companies see that there is a market they come along with Me Too products. No surprises there. If Apple didn't bring the iPad up to speed, they would be roundly criticized for THAT! The Xserve was never anything like a Mac Pro? Really? Sure they were different products optimized for different purposes, but nothing like?? Same chip set, same bus architecture, they used the same memory in Mac Pro's of the same chipset, etc. No high end graphics card true, and precious little space to put one, but still, nothing like is a bit of an overstatement, don't you think? There is nothing about the Xserve to prevent it from running the stock non-server OS X except perhaps the installer will refuse to run on it and that is something Apple decided to do, as far as I know. And you CAN run OS X Server on the Mac Pro. Really, the only thing to prevent someone from using an Xserve as a desktop computer is the horribly loud fans, and the (once) excessively high price tag on the OS. I run Parallels and up to 4 virtual machines running Windows on two of my Xserves. There is no software I can run on a Mac Pro that I cannot run on an Xserve. Nothing like is another drastic oversimplification in my opinion. Economic uncertainty IS a part of EVERY company's reality, ESPECIALLY companies who produce what amounts to luxury products to the consumer market. And I could argue just as easily that Apple's profits last quarter are due at least in part to them not overextending themselves by developing any radically new products until they are certain the economy is really recovering. I do agree however that there needs to be more done with Thunderbolt. It's way too expensive right now, and not a lot of peripherals are available that use it. I'm just not sure what Apple can do to change that. They cannot really twist the arm of the 3rd party hardware developers. Let's agree to disagree. Bob On Mar 8, 2012, at 9:55 AM, Tim Jones wrote: > Whoa - I touched a sensitive nerve ending with that one.. > > Everything that you mention was all stuff that could have been announced via press release. The quad core is the GPU only. The 4G-LTE support is again - catch up. Economic uncertainty is not part of the reality of Apple. They made the largest net profit in the company's history last quarter. > > The Xserve was never anything like a Mac Pro (or a PowerMac). the Mac Pro is used for serious M&E production and is NOT designed to be a server while the Xserve was primarily an enterprise server system and was never designed (or sold) for desktop use - the two can never be confused. Apple canned the Xserve because they underestimated the efforts of supporting an enterprise environment. For another company, $415M a year is big money. For Apple, it's not worth maintaining since it's so far removed from their core efforts. Get on the phone and call any major studio's system support team and ask them what the best thing Apple could give them and you'll get the same story from all of them - new licenses for Final Cut Pro 7 and a 12 core Mac Pro that will fit in a rack. This is what I do for a living. > > I - and a lot of folks in the M&E space - regularly use our iPads 10 to 12 hours (or more) a day and we love them. Just because it's something you wouldn't appreciate doesn't mean that the rest of the world also doesn't appreciate it. In fact, this is sent from my iPad, but I remove that silly tag at the bottom. > > Heck, Peter Frampton even used one on stage last night. > > I love my Apple products, and I own multiple, but I am confused by your statement relating gas prices to the Apple event (??). > > Tim From pderocco at ix.netcom.com Thu Mar 8 13:48:37 2012 From: pderocco at ix.netcom.com (Paul D. DeRocco) Date: Thu, 8 Mar 2012 10:48:37 -0800 Subject: Help with C externals In-Reply-To: Message-ID: > From: Pete > > I guess the first thing I'm trying to ascertain is if it will > be possible to call the C API's directly from LC or if there > will have to be some intermediate external glue that sits > between LC and the SQLite C API. I haven't written an external since Rev 3.5, but I don't think anything fundamental has changed. Yes, you have to write a wrapper layer, because everything called from LiveCode has to accept arguments and return results as null-terminated ASCII strings. So you spend a lot of time converting between decimal ASCII and binary, and so forth. (If current LC has advanced beyond that, I'd be interested to hear.) But like I said, it's just busywork, and on modern machines it's not so slow as to be a problem. -- Ciao, Paul D. DeRocco Paul mailto:pderocco at ix.netcom.com From jrosat at mac.com Thu Mar 8 14:47:56 2012 From: jrosat at mac.com (=?iso-8859-1?Q?J=E9r=F4me_Rosat?=) Date: Thu, 08 Mar 2012 20:47:56 +0100 Subject: Sqlite and performances in LiveCode In-Reply-To: References: <7049BBBA-A811-45C2-AEFF-A112E7D0194B@mac.com> Message-ID: <690278B0-41D6-45B2-9829-24B5AF0F3893@mac.com> Trevor, yes I'm going to try. But I think it would be a good idea if you could change your stack in the lesson "Displaying Large Amounts of Data" to demonstrate the performance of LiveCode. J?r?me Le 8 mars 2012 ? 05:19, Trevor DeVore a ?crit : > J?r?me - you might try something like this in LiveCode. If you set up the > data grid like the example stack then you would call "SELECT rowid FROM > table" to get the number of records and a list of ids. Then in > GetDataForLine you would execute "SELECT * FROM table WHERE > rowid=N" to fill in the row data that is being displayed. > > -- > Trevor DeVore > Blue Mango Learning Systems > www.clarify-it.com - www.screensteps.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From katir at hindu.org Thu Mar 8 15:02:44 2012 From: katir at hindu.org (Web Admin Himalayan Academy) Date: Thu, 08 Mar 2012 10:02:44 -1000 Subject: Sqlite and performances in LiveCode In-Reply-To: <71851923-1B82-4130-897A-C13F8874CED3@mac.com> References: <2B9F1B7F-19ED-4738-BF9E-A570457D2938@mac.com> <71851923-1B82-4130-897A-C13F8874CED3@mac.com> Message-ID: <4F591064.5020608@hindu.org> On 3/5/12 12:53 PM, ? wrote: > Your "acid test" is very interesting. Using sqlite3 directly is one solution to increase performance of LiveCode. > > And you're right, a response time of less than a second is acceptable from a user's perspective and and limit the number of registration is a way to reach this "performance". Also the method you use for displaying records in a field is important. Perhaps you already know this: Never push your data to the field one line at a time. Build a var with results first and then put the var into the field. From richard at richardmac.com Thu Mar 8 15:27:41 2012 From: richard at richardmac.com (Richard MacLemale) Date: Thu, 8 Mar 2012 15:27:41 -0500 Subject: [WOT] Warning - long winded discussion - was Re: Apple iPad announcement evokes yawn In-Reply-To: <63D7AD12-1AE4-41A6-9CD0-7AFD4656A599@twft.com> References: <95EDC3DD-CC2A-4BE9-9FE4-A965D5DAED20@me.com> <4E419FF2-5420-414C-8151-13F0E44AC046@mines-paristech.fr> <65C362F9-5D09-4894-98AF-A7616DC0C9E4@me.com> <321CA05D-A362-4529-90FC-8D4DBD8FE03A@me.com> <69AB42E9-3DA0-4A12-A5B8-B62C60A2388C@me.com> <63D7AD12-1AE4-41A6-9CD0-7AFD4656A599@twft.com> Message-ID: Can I agree to disagree too? :) I think that when people actually SEE the iPad 3 they'll get what the big deal is. It's the best tablet screen you can buy as of right now. But yeah, iPad 3 is an evolutionary not revolutionary product. Heck in the K-12 market, the much bigger announcement was that the iPad 2 is going to be $399 for the general public. So hopefully education can score package deals with an even better price. This will be a big deal in the K-12 market. Regarding the XServe vs. Mac Pro. From our perspective (I'm basically a District level network admin for a large school district) Apple killing the XServe was a big deal. It didn't necessarily run faster than the Mac Pro, but it had dual power supplies, fit in a rack mount, and was designed so that you could stock spare parts and very easily swap them out. It was a great server for a data center, whereas the Mac Pro tower sucks - can't rack mount it (without using a shelf and taking up tons of space), no dual power supplies, harder to swap components out. Apple was stupid to discontinue the XServe because there are tons of data centers that require specs like "can be rack mounted" and "has dual power supply." We run Moodle on 3 XServes - the next time we update our hardware we'll be switching to Linux because the XServe is gone and we need enterprise worthy servers. The XServe was doing a good job getting Apple into IT shops and server rooms. It was a foot in the door with the server nerds. And now that's gone. They looked at the spreadsheet but they should have looked further. They're doing the same thing with OS X Server. They've taken out a lot of stuff that the education market was still using. --- Richard MacLemale Music = http://www.richardmac.com Programming = http://www.macandchee.se On Mar 8, 2012, at 1:38 PM, Bob Sneidar wrote: > I also seemed to have touched a nerve! :-) I wasn't relating gas prices to the apple event (a drastic oversimplification of what I was saying) I was relating an unstable economy that has all the signs of destabilizing even more (using the rising gas prices as one vector on the issue as an example, perhaps I didn't make that clear,) to the seemingly apparent unwillingness of Apple to produce any dramatically new products or technology into the market right now. And sure Apple is catching up. Why wouldn't they? After they released the revolutionary iPad, other companies one upped them. As is so often the case, Apple does the innovation and takes the chance. Once other companies see that there is a market they come along with Me Too products. No surprises there. If Apple didn't bring the iPad up to speed, they would be roundly criticized for THAT! > > The Xserve was never anything like a Mac Pro? Really? Sure they were different products optimized for different purposes, but nothing like?? Same chip set, same bus architecture, they used the same memory in Mac Pro's of the same chipset, etc. No high end graphics card true, and precious little space to put one, but still, nothing like is a bit of an overstatement, don't you think? There is nothing about the Xserve to prevent it from running the stock non-server OS X except perhaps the installer will refuse to run on it and that is something Apple decided to do, as far as I know. And you CAN run OS X Server on the Mac Pro. Really, the only thing to prevent someone from using an Xserve as a desktop computer is the horribly loud fans, and the (once) excessively high price tag on the OS. I run Parallels and up to 4 virtual machines running Windows on two of my Xserves. There is no software I can run on a Mac Pro that I cannot run on an Xserve. Nothing like is another drastic oversimplification in my opinion. > > Economic uncertainty IS a part of EVERY company's reality, ESPECIALLY companies who produce what amounts to luxury products to the consumer market. And I could argue just as easily that Apple's profits last quarter are due at least in part to them not overextending themselves by developing any radically new products until they are certain the economy is really recovering. I do agree however that there needs to be more done with Thunderbolt. It's way too expensive right now, and not a lot of peripherals are available that use it. I'm just not sure what Apple can do to change that. They cannot really twist the arm of the 3rd party hardware developers. > > Let's agree to disagree. > > Bob > From francois.chaplais at mines-paristech.fr Thu Mar 8 15:42:25 2012 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Thu, 8 Mar 2012 21:42:25 +0100 Subject: Help with C externals In-Reply-To: References: Message-ID: <9F9BA482-CB08-4196-B720-F30B4B7D2380@mines-paristech.fr> please consider voting for report #2783 in quality center which calls for typed variables (an example being for passing parameters to externals) http://quality.runrev.com/show_bug.cgi?id=2783 Best regards Fran?ois Le 8 mars 2012 ? 19:48, Paul D. DeRocco a ?crit : >> From: Pete >> >> I guess the first thing I'm trying to ascertain is if it will >> be possible to call the C API's directly from LC or if there >> will have to be some intermediate external glue that sits >> between LC and the SQLite C API. > > I haven't written an external since Rev 3.5, but I don't think anything > fundamental has changed. Yes, you have to write a wrapper layer, because > everything called from LiveCode has to accept arguments and return results > as null-terminated ASCII strings. So you spend a lot of time converting > between decimal ASCII and binary, and so forth. (If current LC has advanced > beyond that, I'd be interested to hear.) But like I said, it's just > busywork, and on modern machines it's not so slow as to be a problem. > > -- > > Ciao, Paul D. DeRocco > Paul mailto:pderocco at ix.netcom.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Thu Mar 8 15:54:54 2012 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 08 Mar 2012 22:54:54 +0200 Subject: [OT] New Wine in old skins In-Reply-To: <783979AA-7324-4B79-90BC-EA8D3828D1CF@wanadoo.fr> References: <783979AA-7324-4B79-90BC-EA8D3828D1CF@wanadoo.fr> Message-ID: <4F591C9E.7010102@gmail.com> On 03/08/2012 02:28 PM, Francis Nugent Dixon wrote: > Hi from Beautiful Brittany, > > Richard wrote : > >> don't expect everything to work as >> well as it does with real Windows. > > Richmond. I hope you don't mind if I pass on > that statement ! You are very welcome to. I don't like Windows to be honest, as I feel it is shoddy, and wonder what on earth would make people pay for something prone to viruses when there are FREE alternatives around that do not suffer from viruses. It would, however, be dishonest to claim that WINE "does Windows", because it doesn't; it does run a lot of Windows programs well, but it is not a replacement for Windows. The replacement for Windows is Linux; and to run a machine with Linux, but then use some system to run Windows programs is a half-cock job. If you want Windows, then run a machine with Windows (and pay the price; both the Windows licence fee, and what happens if a virus hoses your computer), and if you want Linux, run Linux; or, run both on separate machines, or partitions on the same machine. > > However, it reminds me of the definition of Real and > Virtual Memory on the IBM computers of the 70's. > > 1 - If it's there, and you can see it - it's "Real". > 2 - If it's not there, and you can see it, it's "Virtual" > 3 - If it's not there, and you can't see it, it's "Gone" ! > > -Francis > > "Windows is just a long series of panes" > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Thu Mar 8 16:11:29 2012 From: livfoss at mac.com (Graham Samuel) Date: Thu, 08 Mar 2012 22:11:29 +0100 Subject: Test using 5.1 Retina Simulator In-Reply-To: References: Message-ID: Tom, you understand this so much better than me - could you explain whether and what upgrades on the Apple side I can do and still work with the current version of LC (5.0.2). Presumably you've seen the email from Apple "Update your apps for iOS 5.1". Can we? I understand your point about the Simulator (just), but I don't know really understand your 'app bundle' point and what prevents LC being compatible with the new xCode. Really the mother ship should explain all this, but I'm not holding my breath, so I would be grateful for any clarification, and I suspect I will not be the only one. TIA Graham On Thu, 08 Mar 2012 09:31:36 -0500, Thomas McGrath III wrote: > Since the new xCode is an App bundle it isn't recognized as a folder for dev in LC. > > But you can still run LC apps in the simulator. > > As long as you have not deleted the old xCode /developer folder (or if you did and then moved it back after install) and you are using Lion 10.7.3 & xCode 4.3.1 and iOS 5.1 SDK and LiveCode 5 + > Here's how: > > Find the new Simulator at: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/ and copy it to the old simulator folder here: /Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/ > > Then in LC just select Test and then from within the 'new' Simulator choose Hardware/Device/iPad (Retina) -- Then choose scale 50% from the Window menu. > > Also, even though the screen is reduced to 50% the Copy Screen command and the Save Screen Shot command both produce the 1536 ? 2048 pixel png. > > SDK next? > > > -- Tom McGrath III From bdrunrev at gmail.com Thu Mar 8 16:34:20 2012 From: bdrunrev at gmail.com (Bernard Devlin) Date: Thu, 8 Mar 2012 21:34:20 +0000 Subject: Help with C externals In-Reply-To: <9F9BA482-CB08-4196-B720-F30B4B7D2380@mines-paristech.fr> References: <9F9BA482-CB08-4196-B720-F30B4B7D2380@mines-paristech.fr> Message-ID: Would something like SWIG help with the construction of LC externals? I confess to not knowing anything about externals, and almost nothing about C. But I've used some products which are cross-platform and provide interfaces in many different languages. At their base they use SWIG (or something similar) to generate the interfacing code. Bernard From bdrunrev at gmail.com Thu Mar 8 16:34:43 2012 From: bdrunrev at gmail.com (Bernard Devlin) Date: Thu, 8 Mar 2012 21:34:43 +0000 Subject: Help with C externals In-Reply-To: References: <9F9BA482-CB08-4196-B720-F30B4B7D2380@mines-paristech.fr> Message-ID: Probably helps if I provide a link: http://www.swig.org/ On Thu, Mar 8, 2012 at 9:34 PM, Bernard Devlin wrote: > Would something like SWIG help with the construction of LC externals? > I confess to not knowing anything about externals, and almost nothing > about C. ?But I've used some products which are cross-platform and > provide interfaces in many different languages. ?At their base they > use SWIG (or something similar) to generate the interfacing code. > > Bernard From ruslan_zasukhin at valentina-db.com Thu Mar 8 17:43:34 2012 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Fri, 09 Mar 2012 00:43:34 +0200 Subject: Help with C externals -> some explain of Valentina DB ideas In-Reply-To: Message-ID: On 3/8/12 12:19 PM, "Bernard Devlin" wrote: Hi Bernard, Well, question on N hours of lecture :-) I will try expose only few major points. 1) ENCRYPTION? Well I do not consider it major kill feature of Valentina, although 5-10 years ago and may be up to know it was and is useful. 2) MAIN IDEA behind Valentina DB, why it was even born give into hands of developer Object-Relational Data Model. I hate to be a stupid monkey, which need transfer nice logical ER model into physical model of RDBMS, when you - developer must do manual switch of LINKS into TABLES. I did have feeling yet in 1995 that relational dbs have stick in 70th ... This is like write in ASM or at least procedural lang instead of OO lang. And wow, already 2012 year ... We still use mostly relational dbs ... And in the same way in fact as in 80-90-00 ... When in 1993 I have made first notes on paper, I have write: okay, I want a new SMART db engine, and will be okay if it will be slower. 3) It is magic that Valentina DB is not only smarter, but x60-x100 times faster of regular dbs... If somebody want see numbers, you can jump to our page where users expose that http://www.valentina-db.com/en/company/testimonials 4) So my personal love of Valentina DB engine is because it allows us instead of 100 tables in db schema to have only about 50. All rest converted to links. Also this reduce 30-50% size of complex selects ... Details can be found in Valentina WIKI / Articles section. http://www.valentina-db.com/dokuwiki/doku.php?id=valentina:articles:articles If you need write smaller SQL, then this means faster coding, less bugs. 5) Bernard, very important point now !! - Valentina is design to be extension of popular RDBMS. - because I self have grow up on C++ and I have see switch of the world from C to C++. Compiler of C++ do not force you change habits immediately. Millions of existed C code still works in new C++ compilers. - for Valentina we did the same: you can do just all the sme you are used in Postgre, mySQL, SQLite, Access, 4D, FoxPro, MS SQL, Oracle. Because Relational model still here. No need even change habits in API: connect db.query( "CREATE TABLE ..." ) db.query( "SELECT" ) db.query( "INSERT ..." ) db.query( "UPDATE ..." ) I.e. Use minimal API: connection, db, cursor and all rest via SQL. No problems. LATER, step by step you can learn that exists other ways, which can be more comfortable, faster, easier ... ** But again, not API makes Valentina so fine in my opinion. E.g. exists FAT-API-Frameworks around relational dbs for years ... Main thing is supported MODEL. You have Tables, Links, Properties, Enums ... Our next step implement wonderful Table Inheritance. * Do not say me Postgre have inheritance :) It is wrong and weak near to zero ... 6) about Valentina Reports and SQLite. Yes, VReports can use SQLite as datasource now. And yes, free Valentina Server/5 also can use some SQLlite, which is on the HDD near to VSERVER. Just such Lite db on (remote)? Server most probably can be in read only state... Who will change it ? For Vserver and Postgre dbs all clear. DB SERVER can modify db, VREPORT when needed connects and get data to build report ... Of course can be used copy of Lite db copied by some scripts ... But that is tasks for developers ... 7) just to give light. If you have postgre server db, and you want to use Valentina Reports You or your users can install free Valentina Server/5 This can be done for example in 100 your clients offices. Then YOU need Valentina Studio Pro to design report(s), And put .vsp file under vserver. After this, VSERVER will be able connect to to Postgre server, load data and build reports PDF/HTML/... > Ruslan, you might need to include some information about why someone > might prefer to learn the Valentina API (accessible from V4REV) by > citing some features of Valentina that are superior or unavailable in > sqlite e.g. encryption, full-text searching (I'm not sure if the > latter has been enabled with Runrev's distribution of sqlite). You > might also want to provide benchmarks or design-decisions that make > Valentina a better choice. Perhaps provide some links to show what is > possible with Valentina Reports - but since Valentina Reports works > with sqlite, that's not much of a reason for learning to use Valentina > as a database :) > > I looked around for embeddable encrypted databases, and Valentina was > one of the only databases that offered on-the-fly encryption. > Bernard > > On Thu, Mar 8, 2012 at 7:54 AM, Ruslan Zasukhin > wrote: >> 2) why tease self with SQLite if exists Valentina DB and now many ways with >> Valentina DB & Reports are FREE! ?Even for deployment and sales. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From mcgrath3 at mac.com Thu Mar 8 18:16:18 2012 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 08 Mar 2012 18:16:18 -0500 Subject: Test using 5.1 Retina Simulator In-Reply-To: References: Message-ID: This is not an easy egg to crack. I have been trying for a few hours now. When and if I get somewhere I will get back to you. Tom -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Mar 8, 2012, at 4:11 PM, Graham Samuel wrote: > Tom, you understand this so much better than me - could you explain whether and what upgrades on the Apple side I can do and still work with the current version of LC (5.0.2). Presumably you've seen the email from Apple "Update your apps for iOS 5.1". Can we? I understand your point about the Simulator (just), but I don't know really understand your 'app bundle' point and what prevents LC being compatible with the new xCode. > > Really the mother ship should explain all this, but I'm not holding my breath, so I would be grateful for any clarification, and I suspect I will not be the only one. > > TIA > > Graham > > On Thu, 08 Mar 2012 09:31:36 -0500, Thomas McGrath III wrote: > >> Since the new xCode is an App bundle it isn't recognized as a folder for dev in LC. >> >> But you can still run LC apps in the simulator. >> >> As long as you have not deleted the old xCode /developer folder (or if you did and then moved it back after install) and you are using Lion 10.7.3 & xCode 4.3.1 and iOS 5.1 SDK and LiveCode 5 + >> Here's how: >> >> Find the new Simulator at: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/ and copy it to the old simulator folder here: /Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/ >> >> Then in LC just select Test and then from within the 'new' Simulator choose Hardware/Device/iPad (Retina) -- Then choose scale 50% from the Window menu. >> >> Also, even though the screen is reduced to 50% the Copy Screen command and the Save Screen Shot command both produce the 1536 ? 2048 pixel png. >> >> SDK next? >> >> >> -- Tom McGrath III > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Thu Mar 8 19:45:55 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 9 Mar 2012 00:45:55 +0000 (UTC) Subject: [WOT] Warning - long winded discussion - was Re: Apple =?utf-8?b?aVBhZAlhbm5vdW5jZW1lbnQ=?= evokes yawn References: <95EDC3DD-CC2A-4BE9-9FE4-A965D5DAED20@me.com> <4E419FF2-5420-414C-8151-13F0E44AC046@mines-paristech.fr> <65C362F9-5D09-4894-98AF-A7616DC0C9E4@me.com> <321CA05D-A362-4529-90FC-8D4DBD8FE03A@me.com> <69AB42E9-3DA0-4A12-A5B8-B62C60A2388C@me.com> <63D7AD12-1AE4-41A6-9CD0-7AFD4656A599@twft.com> Message-ID: Richard MacLemale writes: > They're doing the same thing with OS X Server. They've taken out a lot of stuff that the education market was > still using. Speaking of which, has anyone tried out Lion Server? -- Mark Wieder From bobs at twft.com Thu Mar 8 19:55:06 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 8 Mar 2012 16:55:06 -0800 Subject: [WOT] Warning - long winded discussion - was Re: Apple iPad announcement evokes yawn In-Reply-To: References: <95EDC3DD-CC2A-4BE9-9FE4-A965D5DAED20@me.com> <4E419FF2-5420-414C-8151-13F0E44AC046@mines-paristech.fr> <65C362F9-5D09-4894-98AF-A7616DC0C9E4@me.com> <321CA05D-A362-4529-90FC-8D4DBD8FE03A@me.com> <69AB42E9-3DA0-4A12-A5B8-B62C60A2388C@me.com> <63D7AD12-1AE4-41A6-9CD0-7AFD4656A599@twft.com> Message-ID: <49FB48F8-EDBF-4978-9270-B9CB1EE5E607@twft.com> I would, but most of my servers are too old to run anything beyond Leopard, and the ones that could are not doing anything that would benefit from it. Bob On Mar 8, 2012, at 4:45 PM, Mark Wieder wrote: > Richard MacLemale writes: > >> They're doing the same thing with OS X Server. They've taken out a lot of > stuff that the education market was >> still using. > > Speaking of which, has anyone tried out Lion Server? > > -- > Mark Wieder > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jhj at jhj.com Thu Mar 8 19:56:52 2012 From: jhj at jhj.com (Jerry Jensen) Date: Thu, 8 Mar 2012 16:56:52 -0800 Subject: [WOT] Warning - long winded discussion - was Re: Apple iPad announcement evokes yawn In-Reply-To: References: <95EDC3DD-CC2A-4BE9-9FE4-A965D5DAED20@me.com> <4E419FF2-5420-414C-8151-13F0E44AC046@mines-paristech.fr> <65C362F9-5D09-4894-98AF-A7616DC0C9E4@me.com> <321CA05D-A362-4529-90FC-8D4DBD8FE03A@me.com> <69AB42E9-3DA0-4A12-A5B8-B62C60A2388C@me.com> <63D7AD12-1AE4-41A6-9CD0-7AFD4656A599@twft.com> Message-ID: On Mar 8, 2012, at 4:45 PM, Mark Wieder wrote: > Richard MacLemale writes: > >> They're doing the same thing with OS X Server. They've taken out a lot of > stuff that the education market was >> still using. > > Speaking of which, has anyone tried out Lion Server? I'm a-scared. 10.6 server is running fine and stable. I hear unfortunate things on Apple's server email list about capabilities removed or just moved around or messed with for no apparent reason. No experience personally, and loving it. .Jerry From richard at richardmac.com Thu Mar 8 19:58:19 2012 From: richard at richardmac.com (Richard MacLemale) Date: Thu, 8 Mar 2012 19:58:19 -0500 Subject: [WOT] Warning - long winded discussion - was Re: Apple iPad announcement evokes yawn In-Reply-To: References: <95EDC3DD-CC2A-4BE9-9FE4-A965D5DAED20@me.com> <4E419FF2-5420-414C-8151-13F0E44AC046@mines-paristech.fr> <65C362F9-5D09-4894-98AF-A7616DC0C9E4@me.com> <321CA05D-A362-4529-90FC-8D4DBD8FE03A@me.com> <69AB42E9-3DA0-4A12-A5B8-B62C60A2388C@me.com> <63D7AD12-1AE4-41A6-9CD0-7AFD4656A599@twft.com> Message-ID: <72A91E29-2819-49A1-9C40-469FDA64A068@richardmac.com> I'v tried out Lion Server and Mountain Lion (10.8) Server. But I'm under NDA for 10.8 Server. I can say that in my District we're skipping 10.7 Server and will be deploying 10.8 Server. I can also say that for schools using Workgroup Manager for clients, they'll want to keep a 10.6 Server to manage 10.4, 10.5, and 10.6 clients, and then a 10.8 Server to manage 10.7, 10.8, and the iOS devices. But that's not my biggest pet peeve with Apple. My biggest pet peeve is that the Color Vampire attacked the side bar in the Finder in 10.7. Seriously, they removed all of the color from the sidebar. What moron came up with that brilliant idea? Are we Goth now or something? OS X - Goth Edition. --- Richard MacLemale Music = http://www.richardmac.com Programming = http://www.macandchee.se On Mar 8, 2012, at 7:45 PM, Mark Wieder wrote: > Speaking of which, has anyone tried out Lion Server? From pete at mollysrevenge.com Thu Mar 8 20:39:14 2012 From: pete at mollysrevenge.com (Pete) Date: Thu, 8 Mar 2012 17:39:14 -0800 Subject: Help with C externals In-Reply-To: References: <9F9BA482-CB08-4196-B720-F30B4B7D2380@mines-paristech.fr> Message-ID: Brenard, Havn't looked in detail but this sounds like it might help with developing some sort of wrapper for the C externals. Plus I always a good SWIG makes my code so much nicer! Pete On Thu, Mar 8, 2012 at 1:34 PM, Bernard Devlin wrote: > Probably helps if I provide a link: http://www.swig.org/ > > On Thu, Mar 8, 2012 at 9:34 PM, Bernard Devlin wrote: > > Would something like SWIG help with the construction of LC externals? > > I confess to not knowing anything about externals, and almost nothing > > about C. But I've used some products which are cross-platform and > > provide interfaces in many different languages. At their base they > > use SWIG (or something similar) to generate the interfacing code. > > > > Bernard > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From bobs at twft.com Thu Mar 8 20:41:42 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 8 Mar 2012 17:41:42 -0800 Subject: [WOT] Warning - long winded discussion - was Re: Apple iPad announcement evokes yawn In-Reply-To: <72A91E29-2819-49A1-9C40-469FDA64A068@richardmac.com> References: <95EDC3DD-CC2A-4BE9-9FE4-A965D5DAED20@me.com> <4E419FF2-5420-414C-8151-13F0E44AC046@mines-paristech.fr> <65C362F9-5D09-4894-98AF-A7616DC0C9E4@me.com> <321CA05D-A362-4529-90FC-8D4DBD8FE03A@me.com> <69AB42E9-3DA0-4A12-A5B8-B62C60A2388C@me.com> <63D7AD12-1AE4-41A6-9CD0-7AFD4656A599@twft.com> <72A91E29-2819-49A1-9C40-469FDA64A068@richardmac.com> Message-ID: <39D5B922-7E7D-4EF6-B5D9-32440B98AC63@twft.com> And what really eats at this long time mac aficionado is that soon I will be forced to upgrade. I LIKE Leopard/Snow Leopard! I don't wanna give it up! Bob On Mar 8, 2012, at 4:58 PM, Richard MacLemale wrote: > I'v tried out Lion Server and Mountain Lion (10.8) Server. But I'm under NDA for 10.8 Server. I can say that in my District we're skipping 10.7 Server and will be deploying 10.8 Server. I can also say that for schools using Workgroup Manager for clients, they'll want to keep a 10.6 Server to manage 10.4, 10.5, and 10.6 clients, and then a 10.8 Server to manage 10.7, 10.8, and the iOS devices. > > But that's not my biggest pet peeve with Apple. My biggest pet peeve is that the Color Vampire attacked the side bar in the Finder in 10.7. Seriously, they removed all of the color from the sidebar. What moron came up with that brilliant idea? Are we Goth now or something? OS X - Goth Edition. > > > --- > Richard MacLemale > Music = http://www.richardmac.com > Programming = http://www.macandchee.se > > > > > On Mar 8, 2012, at 7:45 PM, Mark Wieder wrote: > >> Speaking of which, has anyone tried out Lion Server? > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Thu Mar 8 20:42:52 2012 From: pete at mollysrevenge.com (Pete) Date: Thu, 8 Mar 2012 17:42:52 -0800 Subject: Help with C externals In-Reply-To: <9F9BA482-CB08-4196-B720-F30B4B7D2380@mines-paristech.fr> References: <9F9BA482-CB08-4196-B720-F30B4B7D2380@mines-paristech.fr> Message-ID: Done. Although it looks like this goes back to 2005 so doesn't seem like it's likley to get fixed after all this time. Pete 2012/3/8 Fran?ois Chaplais > please consider voting for report #2783 in quality center which calls for > typed variables (an example being for passing parameters to externals) > http://quality.runrev.com/show_bug.cgi?id=2783 > Best regards > Fran?ois > > Le 8 mars 2012 ? 19:48, Paul D. DeRocco a ?crit : > > >> From: Pete > >> > >> I guess the first thing I'm trying to ascertain is if it will > >> be possible to call the C API's directly from LC or if there > >> will have to be some intermediate external glue that sits > >> between LC and the SQLite C API. > > > > I haven't written an external since Rev 3.5, but I don't think anything > > fundamental has changed. Yes, you have to write a wrapper layer, because > > everything called from LiveCode has to accept arguments and return > results > > as null-terminated ASCII strings. So you spend a lot of time converting > > between decimal ASCII and binary, and so forth. (If current LC has > advanced > > beyond that, I'd be interested to hear.) But like I said, it's just > > busywork, and on modern machines it's not so slow as to be a problem. > > > > -- > > > > Ciao, Paul D. DeRocco > > Paul mailto:pderocco at ix.netcom.com > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From pderocco at ix.netcom.com Thu Mar 8 21:35:07 2012 From: pderocco at ix.netcom.com (Paul D. DeRocco) Date: Thu, 8 Mar 2012 18:35:07 -0800 Subject: Strange Rev 3.5 problem Message-ID: I'm recompiling an old program with a few minor mods, and now I'm getting the following error on a line in my first handler that merely says "local s": stack "main": compilation error at line 139 (local: name shadows another variable or constant) near "s", char 3 If I change "s" to some other variable, that error goes away, but appears on the next handler (of many) that says "local s" in it. Nowhere do I have a global variable or constant called "s". The Message Box global variables doesn't show anything called "s". None of the other fileds or controls have anything called "s" that I can find. The dictionary doesn't show anything built-in called "s". What's the big deal about "s" all of a sudden? -- Ciao, Paul D. DeRocco Paul mailto:pderocco at ix.netcom.com From m.schonewille at economy-x-talk.com Thu Mar 8 21:44:59 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 9 Mar 2012 03:44:59 +0100 Subject: Strange Rev 3.5 problem In-Reply-To: References: Message-ID: <61F3F97E-CAB1-4FBC-96B1-4A0EE3D2CAEA@economy-x-talk.com> Hi, You might have something like this: local s on mouseUp local s put s end mouseUp which should be either on mouseUp local s put s end mouseUp or local s on mouseUp put s end mouseUp If you use local s in multiple handlers, then the error will show up for every handler containing local s, until you remove the local s that's outside your handlers. -- 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 1.7 for LiveCode here http://qery.us/za On 9 mrt 2012, at 03:35, Paul D. DeRocco wrote: > I'm recompiling an old program with a few minor mods, and now I'm getting > the following error on a line in my first handler that merely says "local > s": > > stack "main": compilation error at line 139 (local: name shadows another > variable or constant) near "s", char 3 > > If I change "s" to some other variable, that error goes away, but appears on > the next handler (of many) that says "local s" in it. Nowhere do I have a > global variable or constant called "s". The Message Box global variables > doesn't show anything called "s". None of the other fileds or controls have > anything called "s" that I can find. The dictionary doesn't show anything > built-in called "s". What's the big deal about "s" all of a sudden? From bonnmike at gmail.com Thu Mar 8 21:47:35 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 8 Mar 2012 19:47:35 -0700 Subject: Strange Rev 3.5 problem In-Reply-To: References: Message-ID: Might look here: http://www.runrevplanet.com/index.php?option=com_content&view=article&id=205:52-tips-in-as-many-weeks-tip-52&catid=57:tip-of-the-week&Itemid=65 #23 and possibly here: http://runtime-revolution.278305.n4.nabble.com/What-does-shadows-mean-td3889721.html Not sure if there is anything applicable in this one but might be. My guess though would be the mark answer. On Thu, Mar 8, 2012 at 7:35 PM, Paul D. DeRocco wrote: > I'm recompiling an old program with a few minor mods, and now I'm getting > the following error on a line in my first handler that merely says "local > s": > > stack "main": compilation error at line 139 (local: name shadows another > variable or constant) near "s", char 3 > > If I change "s" to some other variable, that error goes away, but appears > on > the next handler (of many) that says "local s" in it. Nowhere do I have a > global variable or constant called "s". The Message Box global variables > doesn't show anything called "s". None of the other fileds or controls have > anything called "s" that I can find. The dictionary doesn't show anything > built-in called "s". What's the big deal about "s" all of a sudden? > > -- > > Ciao, Paul D. DeRocco > Paul mailto:pderocco at ix.netcom.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From lan.kc.macmail at gmail.com Thu Mar 8 22:09:31 2012 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 9 Mar 2012 11:09:31 +0800 Subject: Apple iPad announcement evokes yawn In-Reply-To: References: <95EDC3DD-CC2A-4BE9-9FE4-A965D5DAED20@me.com> <4E419FF2-5420-414C-8151-13F0E44AC046@mines-paristech.fr> <65C362F9-5D09-4894-98AF-A7616DC0C9E4@me.com> <321CA05D-A362-4529-90FC-8D4DBD8FE03A@me.com> Message-ID: On Fri, Mar 9, 2012 at 1:30 AM, Bob Sneidar wrote: > Gas prices are going through the roof > It always puts a smile on my face when people who have it so cheap think it's expensive. I guess you might side with the Mayan's if Gas prices were to hit $8.33 a Gallon by the end of the year. And that is US Dollars and US Gallons. But I wouldn't assume I'm at the top of the list, others must be paying a lot more for gas than that because I only purchase the cheap stuff and I have no doubt that it will be well above $8.50 by year's end. From lan.kc.macmail at gmail.com Fri Mar 9 00:15:25 2012 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 9 Mar 2012 13:15:25 +0800 Subject: [WOT] Warning - long winded discussion - was Re: Apple iPad announcement evokes yawn In-Reply-To: <39D5B922-7E7D-4EF6-B5D9-32440B98AC63@twft.com> References: <95EDC3DD-CC2A-4BE9-9FE4-A965D5DAED20@me.com> <4E419FF2-5420-414C-8151-13F0E44AC046@mines-paristech.fr> <65C362F9-5D09-4894-98AF-A7616DC0C9E4@me.com> <321CA05D-A362-4529-90FC-8D4DBD8FE03A@me.com> <69AB42E9-3DA0-4A12-A5B8-B62C60A2388C@me.com> <63D7AD12-1AE4-41A6-9CD0-7AFD4656A599@twft.com> <72A91E29-2819-49A1-9C40-469FDA64A068@richardmac.com> <39D5B922-7E7D-4EF6-B5D9-32440B98AC63@twft.com> Message-ID: As we are WOT and you guys are clearly Server savvy I thought I might pose a problem I have not been able to solve. I've posted on the Apple forums, at least twice dating back to Leopard, and have never received a response. Apple Genii have less clue than I do. Simply put, my home network seems to be limited to 10 devices (wired + WiFi). I understand there is a 10 user limit on AFP (non-Server), but I don't have 10 devices with File Sharing switched On (iTunes Sharing maybe, iPhoto Sharing less so). Apart from desktops (wired), laptops and iOS devices (WiFi), there is a TimeCapsule (wired), 2 x Airport Expresses (1 wired to network, the other via WiFi), a printer (wired) and an AV Amp (wired). The Expresses are suppose to have 10 User limit (WiFi) whilst the TimeCapsule is suppose to be limited to 50 Users (not clear if this WiFi or wired + WiFi). The problem is when too many of us are at home, someone will try and log into the network and not get a proper connection. DHCP allocates a 169.xx.xx.xx IP rather than a usual 10.0.x.xx. When I troubleshoot there is always 9 listed devices on the network, + the one doing the Listing makes 10 - the List includes the printer/amp/Airports, so this is Total DHCP clients, not just WiFi. If someone logs off, the other can log on. The TimeCapsule is set up to allocate a range of 30 numbers for the 25 devices in the house. The Express that is connected via WiFi is used to Airplay to outdoor speakers and rarely has any WiFi clients. The Express connected by wire is to cover a weak spot in the house and may have 2 or 3 WiFi clients. So my question is quite simple, is there a 10 device limit, and if so, if I bought a MacMini Server and placed it into the network would that limit disappear? (But then why aren't TimeCapsules advertised as 50 Users ONLY WITH OS X Server) If there is no 10 device limit, what is the likely cause of my problem. Does the TimeCapsule us AFP, if so how does it differentiate between the 50 User limit and the 10 AFP Limit? iOS devices don't display the TimeCapsule so they can't be using AFP, but because there now seems to be an iOS device epidemic we now seem to hit the limit more often :-( I might also mention that we are running a range of OSs from Tiger to Lion. Any help appreciated From jhj at jhj.com Fri Mar 9 00:36:46 2012 From: jhj at jhj.com (Jerry Jensen) Date: Thu, 8 Mar 2012 21:36:46 -0800 Subject: [WOT] Warning - long winded discussion - was Re: Apple iPad announcement evokes yawn In-Reply-To: References: <95EDC3DD-CC2A-4BE9-9FE4-A965D5DAED20@me.com> <4E419FF2-5420-414C-8151-13F0E44AC046@mines-paristech.fr> <65C362F9-5D09-4894-98AF-A7616DC0C9E4@me.com> <321CA05D-A362-4529-90FC-8D4DBD8FE03A@me.com> <69AB42E9-3DA0-4A12-A5B8-B62C60A2388C@me.com> <63D7AD12-1AE4-41A6-9CD0-7AFD4656A599@twft.com> <72A91E29-2819-49A1-9C40-469FDA64A068@richardmac.com> <39D5B922-7E7D-4EF6-B5D9-32440B98AC63@twft.com> Message-ID: Which device is serving DHCP? Where does it get ITS IP#? How are the DHCP served addresses set up? Be sure there is only ONE DHCP server on your network. Everything else should bridge. On Mar 8, 2012, at 9:15 PM, Kay C Lan wrote: > As we are WOT and you guys are clearly Server savvy I thought I might pose > a problem I have not been able to solve. I've posted on the Apple forums, > at least twice dating back to Leopard, and have never received a response. > Apple Genii have less clue than I do. > > Simply put, my home network seems to be limited to 10 devices (wired + > WiFi). I understand there is a 10 user limit on AFP (non-Server), but I > don't have 10 devices with File Sharing switched On (iTunes Sharing maybe, > iPhoto Sharing less so). Apart from desktops (wired), laptops and iOS > devices (WiFi), there is a TimeCapsule (wired), 2 x Airport Expresses (1 > wired to network, the other via WiFi), a printer (wired) and an AV Amp > (wired). The Expresses are suppose to have 10 User limit (WiFi) whilst the > TimeCapsule is suppose to be limited to 50 Users (not clear if this WiFi or > wired + WiFi). From ken at kencorey.com Fri Mar 9 01:43:29 2012 From: ken at kencorey.com (Ken Corey) Date: Fri, 09 Mar 2012 06:43:29 +0000 Subject: Apple iPad announcement evokes yawn In-Reply-To: References: <95EDC3DD-CC2A-4BE9-9FE4-A965D5DAED20@me.com> <4E419FF2-5420-414C-8151-13F0E44AC046@mines-paristech.fr> <65C362F9-5D09-4894-98AF-A7616DC0C9E4@me.com> <321CA05D-A362-4529-90FC-8D4DBD8FE03A@me.com> Message-ID: <4F59A691.9070409@kencorey.com> On 09/03/2012 03:09, Kay C Lan wrote: > paying a lot more for gas than that because I only purchase the cheap stuff > and I have no doubt that it will be well above $8.50 by year's end. Prices are insane. I just filled my tank here in the UK, and paid ?1.45 per litre for diesel. That's 1.45 x 4.54 (to convert to gallons) x 1.57 ( from xe.com, to convert to dollars) = $10.33 per gallon, and my car holds about 18 gallons. Youch! -Ken From peterwawood at gmail.com Fri Mar 9 02:32:54 2012 From: peterwawood at gmail.com (Peter W A Wood) Date: Fri, 9 Mar 2012 15:32:54 +0800 Subject: [Now Seriously OT] Re: Apple iPad announcement evokes yawn In-Reply-To: <4F59A691.9070409@kencorey.com> References: <95EDC3DD-CC2A-4BE9-9FE4-A965D5DAED20@me.com> <4E419FF2-5420-414C-8151-13F0E44AC046@mines-paristech.fr> <65C362F9-5D09-4894-98AF-A7616DC0C9E4@me.com> <321CA05D-A362-4529-90FC-8D4DBD8FE03A@me.com> <4F59A691.9070409@kencorey.com> Message-ID: On 9 Mar 2012, at 14:43, Ken Corey wrote: > That's 1.45 x 4.54 (to convert to gallons) x 1.57 ( from xe.com, to convert to dollars) = $10.33 per gallon, and my car holds about 18 gallons. Gallons are the exeception that proves the rule that everything is bigger in America. A Gallon is a mere 4/5ths of an Imperial gallon. The culprit is not in fact the gallon that is still 8 pints. It is the pint which is only 16 fluid ounces where as an Imperial pint is a full 20 fluid ounces. Regards Peter From matthias_livecode_150811 at m-r-d.de Fri Mar 9 04:58:01 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 9 Mar 2012 10:58:01 +0100 Subject: Some questions about datagrid table under iOS Message-ID: Hi, i noticed that it is not very comfortable to edit a row in a datagrid table under iOS. I have to double tap several times to get the field into the edit mode. And if i press return then the edit mode is left and i have to double tap more than once onto the next field to edit that field. Is it possible to go into edit mode without double tapping? And is it possible in any way to switch to the next field of that row without the need to double tap that field again? Regards, Matthias From revolution at derbrill.de Fri Mar 9 05:20:49 2012 From: revolution at derbrill.de (Malte Brill) Date: Fri, 9 Mar 2012 11:20:49 +0100 Subject: iOs and datagrids best practise? In-Reply-To: References: Message-ID: <5BCE8310-058E-4740-9687-244F51103853@derbrill.de> Hi, I am starting to work on an iOs project and would really really like to use a dg there. I get it work in the simulator nicely, it renders... All fine. However, I would like to scroll it by touching the cells and then touchmoving along there? Has anybody done this? Any starters to try? Cheers, Malte From richard at richardmac.com Fri Mar 9 06:28:37 2012 From: richard at richardmac.com (Richard MacLemale) Date: Fri, 9 Mar 2012 06:28:37 -0500 Subject: [WOT] Warning - long winded discussion - was Re: Apple iPad announcement evokes yawn In-Reply-To: References: <95EDC3DD-CC2A-4BE9-9FE4-A965D5DAED20@me.com> <4E419FF2-5420-414C-8151-13F0E44AC046@mines-paristech.fr> <65C362F9-5D09-4894-98AF-A7616DC0C9E4@me.com> <321CA05D-A362-4529-90FC-8D4DBD8FE03A@me.com> <69AB42E9-3DA0-4A12-A5B8-B62C60A2388C@me.com> <63D7AD12-1AE4-41A6-9CD0-7AFD4656A599@twft.com> <72A91E29-2819-49A1-9C40-469FDA64A068@richardmac.com> <39D5B922-7E7D-4EF6-B5D9-32440B98AC63@twft.com> Message-ID: <81CB4751-1AEB-460F-8FD7-977C41A13197@richardmac.com> When you see a 169 number, it's not being issued by DHCP - it's being issued by the Mac itself, because DHCP would not give it a number. If you're getting DHCP from one of the AirPort Expresses, then you'd want to use Airport Utility App (free download from Apple) to go in and increase the range of numbers that the device is issuing. Right now it might say something like: 10.1.1.1 to 10.1.1.10. And you'd change it to 10.1.1.1 to 10.1.1.200. Then you won't run out of numbers. --- Richard MacLemale Music = http://www.richardmac.com Programming = http://www.macandchee.se On Mar 9, 2012, at 12:15 AM, Kay C Lan wrote: > As we are WOT and you guys are clearly Server savvy I thought I might pose > a problem I have not been able to solve. I've posted on the Apple forums, > at least twice dating back to Leopard, and have never received a response. > Apple Genii have less clue than I do. > > Simply put, my home network seems to be limited to 10 devices (wired + > WiFi). I understand there is a 10 user limit on AFP (non-Server), but I > don't have 10 devices with File Sharing switched On (iTunes Sharing maybe, > iPhoto Sharing less so). Apart from desktops (wired), laptops and iOS > devices (WiFi), there is a TimeCapsule (wired), 2 x Airport Expresses (1 > wired to network, the other via WiFi), a printer (wired) and an AV Amp > (wired). The Expresses are suppose to have 10 User limit (WiFi) whilst the > TimeCapsule is suppose to be limited to 50 Users (not clear if this WiFi or > wired + WiFi). > > The problem is when too many of us are at home, someone will try and log > into the network and not get a proper connection. DHCP allocates a > 169.xx.xx.xx IP rather than a usual 10.0.x.xx. When I troubleshoot there is > always 9 listed devices on the network, + the one doing the Listing makes > 10 - the List includes the printer/amp/Airports, so this is Total DHCP > clients, not just WiFi. If someone logs off, the other can log on. The > TimeCapsule is set up to allocate a range of 30 numbers for the 25 devices > in the house. The Express that is connected via WiFi is used to Airplay to > outdoor speakers and rarely has any WiFi clients. The Express connected by > wire is to cover a weak spot in the house and may have 2 or 3 WiFi clients. > > So my question is quite simple, is there a 10 device limit, and if so, if I > bought a MacMini Server and placed it into the network would that limit > disappear? (But then why aren't TimeCapsules advertised as 50 Users ONLY > WITH OS X Server) > > If there is no 10 device limit, what is the likely cause of my problem. > Does the TimeCapsule us AFP, if so how does it differentiate between the 50 > User limit and the 10 AFP Limit? iOS devices don't display the TimeCapsule > so they can't be using AFP, but because there now seems to be an iOS device > epidemic we now seem to hit the limit more often :-( I might also mention > that we are running a range of OSs from Tiger to Lion. From andre at andregarzia.com Fri Mar 9 07:38:08 2012 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 9 Mar 2012 09:38:08 -0300 Subject: [WOT] Warning - long winded discussion - was Re: Apple iPad announcement evokes yawn In-Reply-To: <39D5B922-7E7D-4EF6-B5D9-32440B98AC63@twft.com> References: <95EDC3DD-CC2A-4BE9-9FE4-A965D5DAED20@me.com> <4E419FF2-5420-414C-8151-13F0E44AC046@mines-paristech.fr> <65C362F9-5D09-4894-98AF-A7616DC0C9E4@me.com> <321CA05D-A362-4529-90FC-8D4DBD8FE03A@me.com> <69AB42E9-3DA0-4A12-A5B8-B62C60A2388C@me.com> <63D7AD12-1AE4-41A6-9CD0-7AFD4656A599@twft.com> <72A91E29-2819-49A1-9C40-469FDA64A068@richardmac.com> <39D5B922-7E7D-4EF6-B5D9-32440B98AC63@twft.com> Message-ID: On Thu, Mar 8, 2012 at 10:41 PM, Bob Sneidar wrote: > And what really eats at this long time mac aficionado is that soon I will > be forced to upgrade. I LIKE Leopard/Snow Leopard! I don't wanna give it up! > What bob said!!!! The only thing forcing me to upgrade is Apples silly decisions that you must be running the latest thing if you want to deploy apps for the Mac App Store or iTunes App Store... I don't need anything from Lion or Mountain Lion that I don't have on Snow Leopard. -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From coiin at verizon.net Fri Mar 9 08:28:55 2012 From: coiin at verizon.net (Colin Holgate) Date: Fri, 09 Mar 2012 08:28:55 -0500 Subject: [Now Seriously OT] Re: Apple iPad announcement evokes yawn In-Reply-To: References: <95EDC3DD-CC2A-4BE9-9FE4-A965D5DAED20@me.com> <4E419FF2-5420-414C-8151-13F0E44AC046@mines-paristech.fr> <65C362F9-5D09-4894-98AF-A7616DC0C9E4@me.com> <321CA05D-A362-4529-90FC-8D4DBD8FE03A@me.com> <4F59A691.9070409@kencorey.com> Message-ID: It works out that your two numbers were very close. With the current exchange rate, and the smaller US gallon, the UK diesel cost works out to about $8.66 per gallon. > > On 9 Mar 2012, at 14:43, Ken Corey wrote: > >> That's 1.45 x 4.54 (to convert to gallons) x 1.57 ( from xe.com, to convert to dollars) = $10.33 per gallon, and my car holds about 18 gallons. > > > Gallons are the exeception that proves the rule that everything is bigger in America. From lan.kc.macmail at gmail.com Fri Mar 9 10:54:04 2012 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 9 Mar 2012 23:54:04 +0800 Subject: [WOT] Warning - long winded discussion - was Re: Apple iPad announcement evokes yawn In-Reply-To: References: <95EDC3DD-CC2A-4BE9-9FE4-A965D5DAED20@me.com> <4E419FF2-5420-414C-8151-13F0E44AC046@mines-paristech.fr> <65C362F9-5D09-4894-98AF-A7616DC0C9E4@me.com> <321CA05D-A362-4529-90FC-8D4DBD8FE03A@me.com> <69AB42E9-3DA0-4A12-A5B8-B62C60A2388C@me.com> <63D7AD12-1AE4-41A6-9CD0-7AFD4656A599@twft.com> <72A91E29-2819-49A1-9C40-469FDA64A068@richardmac.com> <39D5B922-7E7D-4EF6-B5D9-32440B98AC63@twft.com> Message-ID: On Fri, Mar 9, 2012 at 1:36 PM, Jerry Jensen wrote: > Which device is serving DHCP? Where does it get ITS IP#? How are the DHCP > served addresses set up? Be sure there is only ONE DHCP server on your > network. Everything else should bridge. > > Jerry, The TimeCapsule issues the LAN DHCP IPs and it get's it's WAN IP from a ISP provided modem. The two Airport Expresses are set to 'Extend a wireless network'. Richard, As stated before the current range of IP addresses (set in the TimeCapsule via Airport Utility - with the Expresses set to 'Extend a wireless network' mode there are no further setting available) is set to 30 a comfortable buffer over the number of devices. I don't think there is any point in setting it to 200 as basically what happens is, for instance, my iPhone always gets the same 10.x.x.xx IP allocated to it, if there are 10 devices on the network it gets a 169.xx.xx.xx IP and I can't do anything, as soon as someone logs off, if I switch the iPhone WiFi off and back on, it will be allocated the 10.x.x.xx DHCP IP it normally has. This is the same be it a desktop, PB, whatever. Note, I don't manually specify IP addresses, although I have tried it and it doesn't seem to make any difference. I leave the TimeCapsule to automatically assign IPs and it just seems to always allocate the same number to the same device. At this stage I've never seen (not that I thoroughly looked every single time) the last couple of IP address in the range allocated to any device - the TimeCapsule appears to have started with lowest number in the range and sequentually allocated numbers to each and every device. I don't run out of numbers, I just don't get the ones I'm suppose too. Thanks From bobs at twft.com Fri Mar 9 11:09:00 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 9 Mar 2012 08:09:00 -0800 Subject: [WOT] Warning - long winded discussion - was Re: Apple iPad announcement evokes yawn In-Reply-To: References: <95EDC3DD-CC2A-4BE9-9FE4-A965D5DAED20@me.com> <4E419FF2-5420-414C-8151-13F0E44AC046@mines-paristech.fr> <65C362F9-5D09-4894-98AF-A7616DC0C9E4@me.com> <321CA05D-A362-4529-90FC-8D4DBD8FE03A@me.com> <69AB42E9-3DA0-4A12-A5B8-B62C60A2388C@me.com> <63D7AD12-1AE4-41A6-9CD0-7AFD4656A599@twft.com> <72A91E29-2819-49A1-9C40-469FDA64A068@richardmac.com> <39D5B922-7E7D-4EF6-B5D9-32440B98AC63@twft.com> Message-ID: <9887BE38-4353-4392-A312-420A77CE1E53@twft.com> Your DHCP server is running out of leases. A lease is still current even if no one is using it presently, because the TTL has not yet expired. DHCP will typically hold a lease until it expires. The solution is to bridge your Airports to the LAN so that everyone is on the same subnet, and then have a single DHCP server somewhere on the LAN (the server will probably have one) that hands out all the leases. Don't have more than one unless you know how to set them up that way. Bob On Mar 8, 2012, at 9:15 PM, Kay C Lan wrote: > As we are WOT and you guys are clearly Server savvy I thought I might pose > a problem I have not been able to solve. I've posted on the Apple forums, > at least twice dating back to Leopard, and have never received a response. > Apple Genii have less clue than I do. > > Simply put, my home network seems to be limited to 10 devices (wired + > WiFi). I understand there is a 10 user limit on AFP (non-Server), but I > don't have 10 devices with File Sharing switched On (iTunes Sharing maybe, > iPhoto Sharing less so). Apart from desktops (wired), laptops and iOS > devices (WiFi), there is a TimeCapsule (wired), 2 x Airport Expresses (1 > wired to network, the other via WiFi), a printer (wired) and an AV Amp > (wired). The Expresses are suppose to have 10 User limit (WiFi) whilst the > TimeCapsule is suppose to be limited to 50 Users (not clear if this WiFi or > wired + WiFi). > > The problem is when too many of us are at home, someone will try and log > into the network and not get a proper connection. DHCP allocates a > 169.xx.xx.xx IP rather than a usual 10.0.x.xx. When I troubleshoot there is > always 9 listed devices on the network, + the one doing the Listing makes > 10 - the List includes the printer/amp/Airports, so this is Total DHCP > clients, not just WiFi. If someone logs off, the other can log on. The > TimeCapsule is set up to allocate a range of 30 numbers for the 25 devices > in the house. The Express that is connected via WiFi is used to Airplay to > outdoor speakers and rarely has any WiFi clients. The Express connected by > wire is to cover a weak spot in the house and may have 2 or 3 WiFi clients. > > So my question is quite simple, is there a 10 device limit, and if so, if I > bought a MacMini Server and placed it into the network would that limit > disappear? (But then why aren't TimeCapsules advertised as 50 Users ONLY > WITH OS X Server) > > If there is no 10 device limit, what is the likely cause of my problem. > Does the TimeCapsule us AFP, if so how does it differentiate between the 50 > User limit and the 10 AFP Limit? iOS devices don't display the TimeCapsule > so they can't be using AFP, but because there now seems to be an iOS device > epidemic we now seem to hit the limit more often :-( I might also mention > that we are running a range of OSs from Tiger to Lion. > > Any help appreciated > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Fri Mar 9 11:13:08 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 9 Mar 2012 08:13:08 -0800 Subject: Some questions about datagrid table under iOS In-Reply-To: References: Message-ID: <674EFC21-C345-4A3D-A9DE-EED10CED564A@twft.com> You will probably have to roll your own method. It works the same way in the IDE. Bob On Mar 9, 2012, at 1:58 AM, Matthias Rebbe wrote: > Hi, > > i noticed that it is not very comfortable to edit a row in a datagrid table under iOS. I have to double tap several times to get the field into the edit mode. > > And if i press return then the edit mode is left and i have to double tap more than once onto the next field to edit that field. > > Is it possible to go into edit mode without double tapping? > And is it possible in any way to switch to the next field of that row without the need to double tap that field again? > > > Regards, > > Matthias > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Fri Mar 9 11:24:04 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 9 Mar 2012 08:24:04 -0800 Subject: [WOT] Warning - long winded discussion - was Re: Apple iPad announcement evokes yawn In-Reply-To: References: <95EDC3DD-CC2A-4BE9-9FE4-A965D5DAED20@me.com> <4E419FF2-5420-414C-8151-13F0E44AC046@mines-paristech.fr> <65C362F9-5D09-4894-98AF-A7616DC0C9E4@me.com> <321CA05D-A362-4529-90FC-8D4DBD8FE03A@me.com> <69AB42E9-3DA0-4A12-A5B8-B62C60A2388C@me.com> <63D7AD12-1AE4-41A6-9CD0-7AFD4656A599@twft.com> <72A91E29-2819-49A1-9C40-469FDA64A068@richardmac.com> <39D5B922-7E7D-4EF6-B5D9-32440B98AC63@twft.com> Message-ID: <7D8332B9-3BC6-4247-82CD-982FC9464441@twft.com> It sounds like there is more than one DHCP server, and that the other is rejecting the lease requests, but the way DHCP is supposed to work is, all servers respond with a DHCP offer, and the first one the client sees it uses. There is information in the broadcast traffic to indicate which server the client has accepted. If an offer is not acknowledged by a client, it is dropped. If you can get ahold of a 3rd party DHCP server that allows you to set up static IP addresses, you can just turn off the other DHCP servers and use that. I use IPNetRouterX, which is a full blown software router and firewall, and I just turn off the router and use the built in DHCP server. It's $100 though. I have a 400+ node network so it's worth it for me to control who gets what IP. Bob On Mar 9, 2012, at 7:54 AM, Kay C Lan wrote: > On Fri, Mar 9, 2012 at 1:36 PM, Jerry Jensen wrote: > >> Which device is serving DHCP? Where does it get ITS IP#? How are the DHCP >> served addresses set up? Be sure there is only ONE DHCP server on your >> network. Everything else should bridge. >> >> Jerry, > > The TimeCapsule issues the LAN DHCP IPs and it get's it's WAN IP from a ISP > provided modem. The two Airport Expresses are set to 'Extend a wireless > network'. > > Richard, > > As stated before the current range of IP addresses (set in the TimeCapsule > via Airport Utility - with the Expresses set to 'Extend a wireless network' > mode there are no further setting available) is set to 30 a comfortable > buffer over the number of devices. I don't think there is any point in > setting it to 200 as basically what happens is, for instance, my iPhone > always gets the same 10.x.x.xx IP allocated to it, if there are 10 devices > on the network it gets a 169.xx.xx.xx IP and I can't do anything, as soon > as someone logs off, if I switch the iPhone WiFi off and back on, it will > be allocated the 10.x.x.xx DHCP IP it normally has. This is the same be it > a desktop, PB, whatever. > > Note, I don't manually specify IP addresses, although I have tried it and > it doesn't seem to make any difference. I leave the TimeCapsule to > automatically assign IPs and it just seems to always allocate the same > number to the same device. At this stage I've never seen (not that I > thoroughly looked every single time) the last couple of IP address in the > range allocated to any device - the TimeCapsule appears to have started > with lowest number in the range and sequentually allocated numbers to each > and every device. I don't run out of numbers, I just don't get the ones I'm > suppose too. > > Thanks > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Mar 9 13:27:58 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 09 Mar 2012 12:27:58 -0600 Subject: [WOT] Warning - long winded discussion - was Re: Apple iPad announcement evokes yawn In-Reply-To: References: <95EDC3DD-CC2A-4BE9-9FE4-A965D5DAED20@me.com> <4E419FF2-5420-414C-8151-13F0E44AC046@mines-paristech.fr> <65C362F9-5D09-4894-98AF-A7616DC0C9E4@me.com> <321CA05D-A362-4529-90FC-8D4DBD8FE03A@me.com> <69AB42E9-3DA0-4A12-A5B8-B62C60A2388C@me.com> <63D7AD12-1AE4-41A6-9CD0-7AFD4656A599@twft.com> <72A91E29-2819-49A1-9C40-469FDA64A068@richardmac.com> <39D5B922-7E7D-4EF6-B5D9-32440B98AC63@twft.com> Message-ID: <4F5A4BAE.3090508@hyperactivesw.com> On 3/8/12 11:15 PM, Kay C Lan wrote: > Simply put, my home network seems to be limited to 10 devices (wired + > WiFi). Ignore all that other advice. Just give a couple of your kids to the neighbors. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From warren at warrensweb.us Fri Mar 9 13:32:33 2012 From: warren at warrensweb.us (Warren Samples) Date: Fri, 09 Mar 2012 12:32:33 -0600 Subject: [WOT] Warning - long winded discussion - was Re: Apple iPad announcement evokes yawn In-Reply-To: <4F5A4BAE.3090508@hyperactivesw.com> References: <95EDC3DD-CC2A-4BE9-9FE4-A965D5DAED20@me.com> <4E419FF2-5420-414C-8151-13F0E44AC046@mines-paristech.fr> <65C362F9-5D09-4894-98AF-A7616DC0C9E4@me.com> <321CA05D-A362-4529-90FC-8D4DBD8FE03A@me.com> <69AB42E9-3DA0-4A12-A5B8-B62C60A2388C@me.com> <63D7AD12-1AE4-41A6-9CD0-7AFD4656A599@twft.com> <72A91E29-2819-49A1-9C40-469FDA64A068@richardmac.com> <39D5B922-7E7D-4EF6-B5D9-32440B98AC63@twft.com> <4F5A4BAE.3090508@hyperactivesw.com> Message-ID: <4F5A4CC1.40802@warrensweb.us> On 03/09/2012 12:27 PM, J. Landman Gay wrote: > On 3/8/12 11:15 PM, Kay C Lan wrote: > > > Ignore all that other advice. Just give a couple of your kids to the > neighbors. > This is the answer to so many problems, although not always conducive to good relations with the neighbors! From gandalf at doctorTimothyMiller.com Fri Mar 9 15:28:23 2012 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Fri, 9 Mar 2012 12:28:23 -0800 Subject: a little help with "find" script Message-ID: Oops. Forgot how to do this. Knew it once. I don't write scripts every day. Not even every month. Please remind me how to write a script that finds and records every instance of a string in field "foo" I know how to write repeat loops, but can't remember how to keep finding and then exit when the last instance is found. It would be helpful to add a user entry to the dictionary about this. If I can do it correctly and coherently, I'll add one myself. Many cards in this stack contain field "foo" Field foo may contain none, one or many instances of the string I will be looking for. I will not necessarily be on card one when I start searching and the cursor may or may not be inserted in field foo. Not all cards contain field foo Let's put all the foundchunks into tVar. I can take it from there. After "char x to y of field z" I need to add the id of the card where the foundchunk was found. It would be convenient to know the id rather than the number of field z. I can't remember if some function similar to the foundchunk includes the card ID of the foundchunk, or if I have to script it. The long foundchunk? Probly not... I don't need a correct working script, just a few hints. Your little hints save me hours of dictionary-studying and trial and error scripting. I really appreciate them. Tim From bobs at twft.com Fri Mar 9 15:38:33 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 9 Mar 2012 12:38:33 -0800 Subject: a little help with "find" script In-Reply-To: References: Message-ID: Hi Tim. If you don't care about finding 3 occurrences of FF in FFFF (FF__, _FF_, __FF) then try this: replace mySearch with cr & mySearch & cr in myString filter myString with mySearch put the number of lines of myString into theCount Bob On Mar 9, 2012, at 12:28 PM, Timothy Miller wrote: > Oops. Forgot how to do this. Knew it once. I don't write scripts every day. Not even every month. > > Please remind me how to write a script that finds and records every instance of a string in field "foo" I know how to write repeat loops, but can't remember how to keep finding and then exit when the last instance is found. > > It would be helpful to add a user entry to the dictionary about this. If I can do it correctly and coherently, I'll add one myself. > > Many cards in this stack contain field "foo" Field foo may contain none, one or many instances of the string I will be looking for. > > I will not necessarily be on card one when I start searching and the cursor may or may not be inserted in field foo. Not all cards contain field foo > > Let's put all the foundchunks into tVar. I can take it from there. > > After "char x to y of field z" I need to add the id of the card where the foundchunk was found. It would be convenient to know the id rather than the number of field z. > > I can't remember if some function similar to the foundchunk includes the card ID of the foundchunk, or if I have to script it. The long foundchunk? Probly not... > > I don't need a correct working script, just a few hints. > > Your little hints save me hours of dictionary-studying and trial and error scripting. I really appreciate them. > > Tim > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Fri Mar 9 15:38:39 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 9 Mar 2012 21:38:39 +0100 Subject: a little help with "find" script In-Reply-To: References: Message-ID: <0485A7CA-1640-4251-8BA3-DB81CECF3E8B@economy-x-talk.com> Hi Tim, If you want to find all instances of a string, I'd use a repeat loop rather than the find command. Just loop over all fields and check whether the string is in that field. You could also use an offset or a matchChunk function. You can save all instances in a list. If you do a repeat loop over cards and fields of cards, then it is easy to store the id of the field: repeat with x = 1 to num of cards repeat with y = 1 to number of fields of cd x put the long id of fld x of cd y into myID // get offset or matchchunk here end repeat end repeat -- 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 1.7 for LiveCode here http://qery.us/za On 9 mrt 2012, at 21:28, Timothy Miller wrote: > Oops. Forgot how to do this. Knew it once. I don't write scripts every day. Not even every month. > > Please remind me how to write a script that finds and records every instance of a string in field "foo" I know how to write repeat loops, but can't remember how to keep finding and then exit when the last instance is found. > > It would be helpful to add a user entry to the dictionary about this. If I can do it correctly and coherently, I'll add one myself. > > Many cards in this stack contain field "foo" Field foo may contain none, one or many instances of the string I will be looking for. > > I will not necessarily be on card one when I start searching and the cursor may or may not be inserted in field foo. Not all cards contain field foo > > Let's put all the foundchunks into tVar. I can take it from there. > > After "char x to y of field z" I need to add the id of the card where the foundchunk was found. It would be convenient to know the id rather than the number of field z. > > I can't remember if some function similar to the foundchunk includes the card ID of the foundchunk, or if I have to script it. The long foundchunk? Probly not... > > I don't need a correct working script, just a few hints. > > Your little hints save me hours of dictionary-studying and trial and error scripting. I really appreciate them. > > Tim > From cmsheffield at me.com Fri Mar 9 16:44:01 2012 From: cmsheffield at me.com (Chris Sheffield) Date: Fri, 09 Mar 2012 14:44:01 -0700 Subject: change a locked group's rect without moving contained controls Message-ID: <7E6566A4-5252-4A25-8A0C-851784186BC8@me.com> Does that make sense? I've been working at this for a while now and can't figure it out. The answer is probably simple. I have a grouped control that I'm trying to reposition at run-time. The group's lockLocation is set to true. The controls contained in the group are positioned first. So all I need to do is change the group's dimensions so none of the controls are cut off. I've tried different combinations of changing the group's width/height. I've tried changing the rect. I've tried changing the boundingRect. The last works the best, except it doesn't also change the rect to match, so even though the bounding rect is correct, the group's *visible* rect is not. And everything else I've tried moves the entire group, including it's controls, which have already been move. Not sure if I'm even making any sense. What I'm ultimately trying to do is create a handler to resize controls at run-time when run on a mobile device. In this case, I'm currently mostly concerned with iPad (generations 1 and 2) vs. the new iPad. On the new iPad, I need everything to scale up to the higher resolution. My script works well so far, except in the case of a group with it's lockLocation set to true. Jacque, if you're reading this, have you had any similar problems in your apps? I ask you because I know you've written code to do this kind of thing. :-) Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com From dunbarx at aol.com Fri Mar 9 16:47:03 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 9 Mar 2012 16:47:03 -0500 (EST) Subject: a little help with "find" script In-Reply-To: References: Message-ID: <8CECC554CA743E0-2BBC-31BB@webmail-d128.sysops.aol.com> I wrote this in HC about 1990, ported over to LC. It predated the godLike Rinaldi. Completely straightforward: function revFullFind tText,tFind,exactly --RETURNS LINE NUMBER & "," & WORD NUMBER put 0 into counter switch exactly case "true" case empty repeat for each line tline in tText add 1 to counter if tFind = tline then put counter & return after tResult end if end repeat break case "false" repeat for each line tline in tText add 1 to counter if tFind is in tline then repeat with y = 1 to the number of words in tLine if word y of tLine = tFind then put y & "," after temp end repeat delete last char of temp put counter & "," & temp & return after tResult put "" into temp end if end repeat break end switch return tResult end revFullFind tText is your field text, tFind is, well, you know, and "exactly" should be "false" in your case. And yes, you need to run this for each field in each card, but that should only add about six more lines to your handler. Craig Newman -----Original Message----- From: Timothy Miller To: How to use LiveCode Sent: Fri, Mar 9, 2012 3:32 pm Subject: a little help with "find" script Oops. Forgot how to do this. Knew it once. I don't write scripts every day. Not even every month. Please remind me how to write a script that finds and records every instance of a string in field "foo" I know how to write repeat loops, but can't remember how to keep finding and then exit when the last instance is found. It would be helpful to add a user entry to the dictionary about this. If I can do it correctly and coherently, I'll add one myself. Many cards in this stack contain field "foo" Field foo may contain none, one or many instances of the string I will be looking for. I will not necessarily be on card one when I start searching and the cursor may or may not be inserted in field foo. Not all cards contain field foo Let's put all the foundchunks into tVar. I can take it from there. After "char x to y of field z" I need to add the id of the card where the foundchunk was found. It would be convenient to know the id rather than the number of field z. I can't remember if some function similar to the foundchunk includes the card ID of the foundchunk, or if I have to script it. The long foundchunk? Probly not... I don't need a correct working script, just a few hints. Your little hints save me hours of dictionary-studying and trial and error scripting. I really appreciate them. Tim _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Fri Mar 9 17:04:39 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 9 Mar 2012 14:04:39 -0800 Subject: change a locked group's rect without moving contained controls In-Reply-To: <7E6566A4-5252-4A25-8A0C-851784186BC8@me.com> References: <7E6566A4-5252-4A25-8A0C-851784186BC8@me.com> Message-ID: <43EDDBBD-C996-4FF8-98EA-E12FC4AFD636@twft.com> I think you have to get into the geometry manager for each object in the group and make sure they are not positioning themselves according to the group. Just a guess tho'. Bob On Mar 9, 2012, at 1:44 PM, Chris Sheffield wrote: > Does that make sense? I've been working at this for a while now and can't figure it out. The answer is probably simple. > > I have a grouped control that I'm trying to reposition at run-time. The group's lockLocation is set to true. The controls contained in the group are positioned first. So all I need to do is change the group's dimensions so none of the controls are cut off. I've tried different combinations of changing the group's width/height. I've tried changing the rect. I've tried changing the boundingRect. The last works the best, except it doesn't also change the rect to match, so even though the bounding rect is correct, the group's *visible* rect is not. And everything else I've tried moves the entire group, including it's controls, which have already been move. Not sure if I'm even making any sense. > > What I'm ultimately trying to do is create a handler to resize controls at run-time when run on a mobile device. In this case, I'm currently mostly concerned with iPad (generations 1 and 2) vs. the new iPad. On the new iPad, I need everything to scale up to the higher resolution. My script works well so far, except in the case of a group with it's lockLocation set to true. > > Jacque, if you're reading this, have you had any similar problems in your apps? I ask you because I know you've written code to do this kind of thing. :-) > > Thanks, > Chris > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From cmsheffield at me.com Fri Mar 9 17:33:51 2012 From: cmsheffield at me.com (Chris Sheffield) Date: Fri, 09 Mar 2012 15:33:51 -0700 Subject: change a locked group's rect without moving contained controls In-Reply-To: <7E6566A4-5252-4A25-8A0C-851784186BC8@me.com> References: <7E6566A4-5252-4A25-8A0C-851784186BC8@me.com> Message-ID: <9401123F-5B11-46FD-B502-47FD14933F71@me.com> Well, I had a feeling I'd find a solution as soon as I posted my message. :-) Maybe there's a better way, but I finally realized I just need to temporarily store the starting location of each control in the group. Then I resize the group as needed, then follow that with resizing/repositioning the controls inside the group, using the saved starting location as a reference. Works like a charm. On Mar 9, 2012, at 2:44 PM, Chris Sheffield wrote: > Does that make sense? I've been working at this for a while now and can't figure it out. The answer is probably simple. > > I have a grouped control that I'm trying to reposition at run-time. The group's lockLocation is set to true. The controls contained in the group are positioned first. So all I need to do is change the group's dimensions so none of the controls are cut off. I've tried different combinations of changing the group's width/height. I've tried changing the rect. I've tried changing the boundingRect. The last works the best, except it doesn't also change the rect to match, so even though the bounding rect is correct, the group's *visible* rect is not. And everything else I've tried moves the entire group, including it's controls, which have already been move. Not sure if I'm even making any sense. > > What I'm ultimately trying to do is create a handler to resize controls at run-time when run on a mobile device. In this case, I'm currently mostly concerned with iPad (generations 1 and 2) vs. the new iPad. On the new iPad, I need everything to scale up to the higher resolution. My script works well so far, except in the case of a group with it's lockLocation set to true. > > Jacque, if you're reading this, have you had any similar problems in your apps? I ask you because I know you've written code to do this kind of thing. :-) > > Thanks, > Chris > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Fri Mar 9 17:56:53 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 9 Mar 2012 14:56:53 -0800 Subject: change a locked group's rect without moving contained controls In-Reply-To: <9401123F-5B11-46FD-B502-47FD14933F71@me.com> References: <7E6566A4-5252-4A25-8A0C-851784186BC8@me.com> <9401123F-5B11-46FD-B502-47FD14933F71@me.com> Message-ID: <70894CE4-61EA-4BF7-A163-B6AE3A315B7B@twft.com> Ah! Essentially a custom geometry manager. :-) Bob On Mar 9, 2012, at 2:33 PM, Chris Sheffield wrote: > Well, I had a feeling I'd find a solution as soon as I posted my message. :-) > > Maybe there's a better way, but I finally realized I just need to temporarily store the starting location of each control in the group. Then I resize the group as needed, then follow that with resizing/repositioning the controls inside the group, using the saved starting location as a reference. Works like a charm. > > > > On Mar 9, 2012, at 2:44 PM, Chris Sheffield wrote: > >> Does that make sense? I've been working at this for a while now and can't figure it out. The answer is probably simple. >> >> I have a grouped control that I'm trying to reposition at run-time. The group's lockLocation is set to true. The controls contained in the group are positioned first. So all I need to do is change the group's dimensions so none of the controls are cut off. I've tried different combinations of changing the group's width/height. I've tried changing the rect. I've tried changing the boundingRect. The last works the best, except it doesn't also change the rect to match, so even though the bounding rect is correct, the group's *visible* rect is not. And everything else I've tried moves the entire group, including it's controls, which have already been move. Not sure if I'm even making any sense. >> >> What I'm ultimately trying to do is create a handler to resize controls at run-time when run on a mobile device. In this case, I'm currently mostly concerned with iPad (generations 1 and 2) vs. the new iPad. On the new iPad, I need everything to scale up to the higher resolution. My script works well so far, except in the case of a group with it's lockLocation set to true. >> >> Jacque, if you're reading this, have you had any similar problems in your apps? I ask you because I know you've written code to do this kind of thing. :-) >> >> Thanks, >> Chris >> >> -- >> Chris Sheffield >> Read Naturally, Inc. >> www.readnaturally.com >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Fri Mar 9 18:30:29 2012 From: pete at mollysrevenge.com (Pete) Date: Fri, 9 Mar 2012 15:30:29 -0800 Subject: Passing parameters by reference Message-ID: I think I already know the answer to this so just confirming in case I'm missing something Let's say I have a handler with a parameter that is passed by reference, eg "command xyz @parm1". If I try to pass an element of an array, eg "xyz theArray[2]", I get a runtime error. If, however, I pass the whole array, eg "xyz theArray", all seems to work fine. That seems somewhat strange to me but apparently that's the way it is? -- Pete Molly's Revenge From bobs at twft.com Fri Mar 9 18:53:27 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 9 Mar 2012 15:53:27 -0800 Subject: Passing parameters by reference In-Reply-To: References: Message-ID: <2446F6ED-8DEA-4D50-92C5-FD7A19AB329F@twft.com> Yup. You can do something like this: put theArray[1] into theTempArray xyz theTempArray put theTempArray into theArray[1] Bob On Mar 9, 2012, at 3:30 PM, Pete wrote: > I think I already know the answer to this so just confirming in case I'm > missing something > > Let's say I have a handler with a parameter that is passed by reference, eg > "command xyz @parm1". If I try to pass an element of an array, eg "xyz > theArray[2]", I get a runtime error. If, however, I pass the whole array, > eg "xyz theArray", all seems to work fine. > > That seems somewhat strange to me but apparently that's the way it is? > > > > -- > Pete > Molly's Revenge > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bvlahos at mac.com Fri Mar 9 19:53:57 2012 From: bvlahos at mac.com (Bill Vlahos) Date: Fri, 09 Mar 2012 16:53:57 -0800 Subject: Apple iPad announcement evokes yawn In-Reply-To: References: <95EDC3DD-CC2A-4BE9-9FE4-A965D5DAED20@me.com> <4E419FF2-5420-414C-8151-13F0E44AC046@mines-paristech.fr> <65C362F9-5D09-4894-98AF-A7616DC0C9E4@me.com> Message-ID: <06891BFA-8943-4CDD-A660-773FA41C16C7@mac.com> Funniest thing I've read in a while. Thanks for making me laugh. Bill Vlahos On Mar 7, 2012, at 7:49 PM, Andre Garzia wrote: > I've heard that Google is dealing with that by shipping a new Android > Emulator in the SDK. This new emulator will randomize the rect of the > device upon every launch with values between 124 and 2048. > > =) From dsc at swcp.com Fri Mar 9 20:05:59 2012 From: dsc at swcp.com (Dar Scott) Date: Fri, 9 Mar 2012 18:05:59 -0700 Subject: Passing parameters by reference In-Reply-To: References: Message-ID: <30597071-0C9B-4030-860D-35CE72BBCE2D@swcp.com> Oh, that would be cool! Maybe the array could be global (or passed as a parameter) and the subscript passed. This works: add 1 to a["x"] ... it seems like a reasonable thing to do. There might be problems I don't see right off, such as access to the same array at two different levels at the same time. Dar On Mar 9, 2012, at 4:30 PM, Pete wrote: > I think I already know the answer to this so just confirming in case I'm > missing something > > Let's say I have a handler with a parameter that is passed by reference, eg > "command xyz @parm1". If I try to pass an element of an array, eg "xyz > theArray[2]", I get a runtime error. If, however, I pass the whole array, > eg "xyz theArray", all seems to work fine. > > That seems somewhat strange to me but apparently that's the way it is? > > > > -- > Pete > Molly's Revenge > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Fri Mar 9 20:16:05 2012 From: dsc at swcp.com (Dar Scott) Date: Fri, 9 Mar 2012 18:16:05 -0700 Subject: Editing very wide and tall stacks. Message-ID: I need to edit the GUI on a stack that is very wide and very tall for a full screen app on a large screen that is much larger than my development environment. I also want to do some testing (click buttons, watch images fly around) on the development system. Ideas? (I suspect there is some feature I have missed over the years and I'm going to feel silly.) Dar From m.schonewille at economy-x-talk.com Fri Mar 9 20:22:12 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 10 Mar 2012 02:22:12 +0100 Subject: Editing very wide and tall stacks. In-Reply-To: References: Message-ID: <703093B9-3196-49F5-8EF8-75F381B4E415@economy-x-talk.com> Dar, Group everything, set the rect of the group to the card rect. Disable the scroll bars in full-screen mode. The only problem is that turning off Select Grouped Controls can be problematic, but you can probably write a front script for 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 Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za On 10 mrt 2012, at 02:16, Dar Scott wrote: > I need to edit the GUI on a stack that is very wide and very tall for a full screen app on a large screen that is much larger than my development environment. I also want to do some testing (click buttons, watch images fly around) on the development system. > > Ideas? (I suspect there is some feature I have missed over the years and I'm going to feel silly.) > > Dar From lan.kc.macmail at gmail.com Fri Mar 9 20:52:42 2012 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sat, 10 Mar 2012 09:52:42 +0800 Subject: [WOT] Warning - long winded discussion - was Re: Apple iPad announcement evokes yawn In-Reply-To: <4F5A4CC1.40802@warrensweb.us> References: <95EDC3DD-CC2A-4BE9-9FE4-A965D5DAED20@me.com> <4E419FF2-5420-414C-8151-13F0E44AC046@mines-paristech.fr> <65C362F9-5D09-4894-98AF-A7616DC0C9E4@me.com> <321CA05D-A362-4529-90FC-8D4DBD8FE03A@me.com> <69AB42E9-3DA0-4A12-A5B8-B62C60A2388C@me.com> <63D7AD12-1AE4-41A6-9CD0-7AFD4656A599@twft.com> <72A91E29-2819-49A1-9C40-469FDA64A068@richardmac.com> <39D5B922-7E7D-4EF6-B5D9-32440B98AC63@twft.com> <4F5A4BAE.3090508@hyperactivesw.com> <4F5A4CC1.40802@warrensweb.us> Message-ID: On Sat, Mar 10, 2012 at 2:32 AM, Warren Samples wrote: > On 03/09/2012 12:27 PM, J. Landman Gay wrote: > >> >> Ignore all that other advice. Just give a couple of your kids to the >> neighbors. >> >> This is the answer to so many problems, although not always conducive > to good relations with the neighbors! > > Which is why I've taken the next logical step and am giving them to fianc?s. First one at the end of the month :-) Unfortunately on the downside is that when the boyfriends/girlfriends turn up, they bring their WiFi enabled mobile devices with them :-( From mwieder at ahsoftware.net Fri Mar 9 20:53:25 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 9 Mar 2012 17:53:25 -0800 Subject: a little help with "find" script In-Reply-To: <0485A7CA-1640-4251-8BA3-DB81CECF3E8B@economy-x-talk.com> References: <0485A7CA-1640-4251-8BA3-DB81CECF3E8B@economy-x-talk.com> Message-ID: <195862013734.20120309175325@ahsoftware.net> Mark- (correcting the typo and...) on findit pTextToFind local x, y local tText local tFoundList repeat for each line tCard in the cardnames of this stack repeat with y = 1 to number of fields of card tCard put field y of card tCard into tText if pTextToFind is in tText then put tCard,y & cr after tFoundList end if end repeat end repeat return tFoundList end findit -- -Mark Wieder mwieder at ahsoftware.net From lan.kc.macmail at gmail.com Fri Mar 9 21:11:55 2012 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sat, 10 Mar 2012 10:11:55 +0800 Subject: [WOT] Warning - long winded discussion - was Re: Apple iPad announcement evokes yawn In-Reply-To: <7D8332B9-3BC6-4247-82CD-982FC9464441@twft.com> References: <95EDC3DD-CC2A-4BE9-9FE4-A965D5DAED20@me.com> <4E419FF2-5420-414C-8151-13F0E44AC046@mines-paristech.fr> <65C362F9-5D09-4894-98AF-A7616DC0C9E4@me.com> <321CA05D-A362-4529-90FC-8D4DBD8FE03A@me.com> <69AB42E9-3DA0-4A12-A5B8-B62C60A2388C@me.com> <63D7AD12-1AE4-41A6-9CD0-7AFD4656A599@twft.com> <72A91E29-2819-49A1-9C40-469FDA64A068@richardmac.com> <39D5B922-7E7D-4EF6-B5D9-32440B98AC63@twft.com> <7D8332B9-3BC6-4247-82CD-982FC9464441@twft.com> Message-ID: On Sat, Mar 10, 2012 at 12:24 AM, Bob Sneidar wrote: > It sounds like there is more than one DHCP server, and that the other is > rejecting the lease requests, but the way DHCP is supposed to work is, all > servers respond with a DHCP offer, and the first one the client sees it > uses. There is information in the broadcast traffic to indicate which > server the client has accepted. If an offer is not acknowledged by a > client, it is dropped. > > If you can get ahold of a 3rd party DHCP server that allows you to set up > static IP addresses, you can just turn off the other DHCP servers and use > that. I use IPNetRouterX, which is a full blown software router and > firewall, and I just turn off the router and use the built in DHCP server. > It's $100 though. I have a 400+ node network so it's worth it for me to > control who gets what IP. > > I've adjusted Lease time from x Days down to the current 30 min. It's made no difference, and as I say, as soon as someone logs off, the next person can log on and they don't get a new IP, they don't get the IP of the person that just logged off, they get the IP they had last night before they went to bed, which is the same after 8hrs of logged off sleep in the morning before they headed out the door. My guess is that the TimeCapsule remembers the IP it associates with each MAC address and doesn't bother handing out a new IP unless it's a new MAC. As such, boyfriends and girlfriends can turn up and log on, because there is still a buffer in the IP range I've allocated, as long as there are not already 10 devices logged in. Thanks everyone for your responses, this is a LC forum and this thread is WOT so I think enough is enough. At least you've saved me money because I was very seriously considering buying an OS X server. From pete at mollysrevenge.com Fri Mar 9 21:11:52 2012 From: pete at mollysrevenge.com (Pete) Date: Fri, 9 Mar 2012 18:11:52 -0800 Subject: Editing very wide and tall stacks. In-Reply-To: <703093B9-3196-49F5-8EF8-75F381B4E415@economy-x-talk.com> References: <703093B9-3196-49F5-8EF8-75F381B4E415@economy-x-talk.com> Message-ID: Wouldn't it be great if LC provided scrollbars at the card level... Pete On Fri, Mar 9, 2012 at 5:22 PM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Dar, > > Group everything, set the rect of the group to the card rect. Disable the > scroll bars in full-screen mode. The only problem is that turning off > Select Grouped Controls can be problematic, but you can probably write a > front script for 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 > > Download the Installer Maker Plugin 1.7 for LiveCode here > http://qery.us/za > > On 10 mrt 2012, at 02:16, Dar Scott wrote: > > > I need to edit the GUI on a stack that is very wide and very tall for a > full screen app on a large screen that is much larger than my development > environment. I also want to do some testing (click buttons, watch images > fly around) on the development system. > > > > Ideas? (I suspect there is some feature I have missed over the years > and I'm going to feel silly.) > > > > Dar > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From pete at mollysrevenge.com Fri Mar 9 21:13:23 2012 From: pete at mollysrevenge.com (Pete) Date: Fri, 9 Mar 2012 18:13:23 -0800 Subject: Passing parameters by reference In-Reply-To: <30597071-0C9B-4030-860D-35CE72BBCE2D@swcp.com> References: <30597071-0C9B-4030-860D-35CE72BBCE2D@swcp.com> Message-ID: I have an update on this. If the parameter passed is simply the name of the array with no key qualifications, all is fine. LC only kicks up a fuss when you pass a qualified array like myArray[myKey]. Weird. Pete On Fri, Mar 9, 2012 at 5:05 PM, Dar Scott wrote: > Oh, that would be cool! > > Maybe the array could be global (or passed as a parameter) and the > subscript passed. > > This works: > > add 1 to a["x"] > > ... it seems like a reasonable thing to do. There might be problems I > don't see right off, such as access to the same array at two different > levels at the same time. > > Dar > > On Mar 9, 2012, at 4:30 PM, Pete wrote: > > > I think I already know the answer to this so just confirming in case I'm > > missing something > > > > Let's say I have a handler with a parameter that is passed by reference, > eg > > "command xyz @parm1". If I try to pass an element of an array, eg "xyz > > theArray[2]", I get a runtime error. If, however, I pass the whole > array, > > eg "xyz theArray", all seems to work fine. > > > > That seems somewhat strange to me but apparently that's the way it is? > > > > > > > > -- > > Pete > > Molly's Revenge > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From niconiko at gmail.com Fri Mar 9 22:00:56 2012 From: niconiko at gmail.com (Nicolas Cueto) Date: Sat, 10 Mar 2012 12:00:56 +0900 Subject: on-rev urgent problem -- Livecode contact address? Message-ID: Sorry but, does anyone know the "urgent" contact address for Livecode? I recall having seen before some LC/On-rev contact-website with a dropdown menu listing, but can't find it now. And in case someone from LC is reading... Suddenly, despite years of having functioned perfectly, a Rev-engine based cgi (which includes calls to MySQL) on my onrev account is suddenly -- I've not changed anything! -- spitting out this error: [Fri Mar 09 20:41:42 2012] [error] [client ...] Attempting to load driver: /path/dbmysql.so Oddly, my other critical on-rev problem a few weeks back also happened on a Friday at around the same time. I didn't check the logs then so I don't know if the problems are the same or related. Thank you. -- Nicolas Cueto From coiin at verizon.net Fri Mar 9 22:03:11 2012 From: coiin at verizon.net (Colin Holgate) Date: Fri, 09 Mar 2012 22:03:11 -0500 Subject: on-rev urgent problem -- Livecode contact address? In-Reply-To: References: Message-ID: Anything we mere mortals can check for you, in case it helps? From dsc at swcp.com Fri Mar 9 22:37:26 2012 From: dsc at swcp.com (Dar Scott) Date: Fri, 9 Mar 2012 20:37:26 -0700 Subject: Editing very wide and tall stacks. In-Reply-To: <703093B9-3196-49F5-8EF8-75F381B4E415@economy-x-talk.com> References: <703093B9-3196-49F5-8EF8-75F381B4E415@economy-x-talk.com> Message-ID: <1A342844-D412-4CB3-80C2-75671153A81E@swcp.com> Hi, Mark! I don't understand the problem with select Grouped Controls. Mental block I guess. What is the issue here? Dar On Mar 9, 2012, at 6:22 PM, Mark Schonewille wrote: > Dar, > > Group everything, set the rect of the group to the card rect. Disable the scroll bars in full-screen mode. The only problem is that turning off Select Grouped Controls can be problematic, but you can probably write a front script for 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 > > Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za > > On 10 mrt 2012, at 02:16, Dar Scott wrote: > >> I need to edit the GUI on a stack that is very wide and very tall for a full screen app on a large screen that is much larger than my development environment. I also want to do some testing (click buttons, watch images fly around) on the development system. >> >> Ideas? (I suspect there is some feature I have missed over the years and I'm going to feel silly.) >> >> Dar > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode --------------------------- Dar Scott dba Dar Scott Consulting 8637 Horacio Place NE Albuquerque, NM 87111 Lab, home, office phone: +1 505 299 9497 For Skype and fax, please contact. dsc at swcp.com Computer Programming and tinkering, often making LiveCode libraries and externals, sometimes writing associated microcontroller firmware. --------------------------- From pmbrig at gmail.com Fri Mar 9 22:41:53 2012 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Fri, 9 Mar 2012 22:41:53 -0500 Subject: a little help with "find" script In-Reply-To: <195862013734.20120309175325@ahsoftware.net> References: <0485A7CA-1640-4251-8BA3-DB81CECF3E8B@economy-x-talk.com> <195862013734.20120309175325@ahsoftware.net> Message-ID: Another approach, may not be exactly what you're looking for but can easily be adapted, is a utility handler I've used for years: function offsets str, at cntr -- returns a comma-delimited list of all the offsets of str in cntr -- cntr is passed by reference to avoid unnecessary duplication -- of very large text blocks in memory -- cntr contents are not altered by this function if str is not in cntr then return 0 put "" into offsetList put 0 into startPoint repeat put offset(str,cntr,startPoint) into thisOffset if thisOffset = 0 then exit repeat add thisOffset to startPoint put startPoint & comma after offsetList end repeat delete last char of offsetList return offsetList end offsets Very handy in a variety of situations, and quite fast even with large runs of text. For instance I have more than once needed to find, not the first instance of a string in a container, but the *last* instance, which starts with character (item -1 of offsets(str,cntr)) of cntr. You can also expand this for wordOffsets, lineOffsets, and itemOffsets: function wordOffsets str, at cntr put offsets(str,cntr) into charList if charList = 0 then return 0 put "" into offsetList repeat for each item i in charList put the number of words of (char 1 to i of cntr) & "," after offsetList end repeat delete char -1 of offsetList return mlo end wordOffsets function lineOffsets str, at ctr put offsets(str,ctr) into charList if charList = "0" then return "0" put "" into offsetList repeat for each item i in charList put the number of lines of (char 1 to i of ctr) & "," after offsetList end repeat delete char -1 of offsetList return mlo end lineOffsets function itemOffsets str, at ctr put offsets(str,ctr) into charList if charList = "0" then return "0" put "" into offsetList repeat for each item i in charList put the number of items of (char 1 to i of ctr) & "," after offsetList end repeat delete char -1 of offsetList return mlo end itemOffsets -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Mar 9, 2012, at 8:53 PM, Mark Wieder wrote: > Mark- > > (correcting the typo and...) > > on findit pTextToFind > local x, y > local tText > local tFoundList > > repeat for each line tCard in the cardnames of this stack > repeat with y = 1 to number of fields of card tCard > put field y of card tCard into tText > if pTextToFind is in tText then > put tCard,y & cr after tFoundList > end if > end repeat > end repeat > return tFoundList > end findit > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pderocco at ix.netcom.com Fri Mar 9 23:03:26 2012 From: pderocco at ix.netcom.com (Paul D. DeRocco) Date: Fri, 9 Mar 2012 20:03:26 -0800 Subject: Strange Rev 3.5 problem In-Reply-To: Message-ID: <6E1BE4055A1E457683C041AA4298503D@PAULD> >> On Thu, Mar 8, 2012 at 7:35 PM, Paul D. DeRocco wrote: >> >> I'm recompiling an old program with a few minor mods, and now I'm >> getting the following error on a line in my first handler that merely >> says "local s": >> >> stack "main": compilation error at line 139 (local: name shadows >> another variable or constant) near "s", char 3 >> >> If I change "s" to some other variable, that error goes away, but >> appears on the next handler (of many) that says "local s" in it. >> Nowhere do I have a global variable or constant called "s". The >> Message Box global variables doesn't show anything called "s". None of >> the other fileds or controls have anything called "s" that I can find. >> The dictionary doesn't show anything built-in called "s". What's the >> big deal about "s" all of a sudden? > From: Mike Bonner > > Might look here: > http://www.runrevplanet.com/index.php?option=com_content&view=article&id=205 :52-tips-in-as-many-weeks-tip-52&catid=57:tip-of-the-week&Itemid=65 > #23 That's probably what it was. I vaguely remembering mistyping the new variable I added "global s nub" and then correcting it to "global snub". I didn't try to compile it that way, though. But the difference between what I saw and what was described in tip #23 is that s did not appear in the the list of global variables. That could simply be a difference between Rev 3.5 and the current LC though. Anyway, the problem disappeared when I restarted the IDE. -- Ciao, Paul D. DeRocco Paul mailto:pderocco at ix.netcom.com From niconiko at gmail.com Fri Mar 9 23:05:26 2012 From: niconiko at gmail.com (Nicolas Cueto) Date: Sat, 10 Mar 2012 13:05:26 +0900 Subject: on-rev urgent problem -- Livecode contact address? In-Reply-To: References: Message-ID: > Anything we mere mortals can check for you, in case it helps? Colin, I wish! But, the problem is server-side, so it needs someone with access to the server. Things seem to be back to normal. But the log page still shows an error when loading the "dbmysql.so" driver. Looking thru the archives, this "dbmysql.so" problem has happened before. Case-sensitivity was noted on by Andre Garzia, but, as I wrote, the setup has worked fine for years. So, why the hiccup now? And why at the same day of the week and time? If someone, mortal or not, has advice, please! P.S. Ditto on the still-unresolved problem with Android and post. Thanks. -- Nicolas Cueto From lan.kc.macmail at gmail.com Sat Mar 10 02:45:43 2012 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sat, 10 Mar 2012 15:45:43 +0800 Subject: on-rev urgent problem -- Livecode contact address? In-Reply-To: References: Message-ID: On Sat, Mar 10, 2012 at 11:00 AM, Nicolas Cueto wrote: > Sorry but, does anyone know the "urgent" contact address for Livecode? > I've always received fast an efficient help from Heather by emailing: support at runrev.com I notice with a particular on-rev problem I had, the email came from: on-rev at runrev.com Both the above are likely to faster than using the Form: http://www.runrev.com/support/contact-support/contact-support/ HTH From guglielmo at braguglia.ch Sat Mar 10 03:04:55 2012 From: guglielmo at braguglia.ch (Guglielmo Braguglia) Date: Sat, 10 Mar 2012 09:04:55 +0100 Subject: on-rev urgent problem -- Livecode contact address? In-Reply-To: References: Message-ID: <4F5B0B27.7020402@braguglia.ch> This is what they wrote to me some time ago .... "To use the urgent ticketing system, please send your email with "urgent" in the subject line, from the email address you are registered with for on-rev. This will ensure that the ticket is seen and read immediately, 24/7." Guglielmo On 10.03.2012 04:00, Nicolas Cueto wrote: > Sorry but, does anyone know the "urgent" contact address for Livecode? > From dick.kriesel at mail.com Sat Mar 10 03:06:45 2012 From: dick.kriesel at mail.com (Dick Kriesel) Date: Sat, 10 Mar 2012 00:06:45 -0800 Subject: Passing parameters by reference In-Reply-To: <30597071-0C9B-4030-860D-35CE72BBCE2D@swcp.com> References: <30597071-0C9B-4030-860D-35CE72BBCE2D@swcp.com> Message-ID: <1906AC9E-45F9-4B0D-9A32-9C1074A0595E@mail.com> On Mar 9, 2012, at 5:05 PM, Dar Scott wrote: > Maybe the array could be global (or passed as a parameter) and the subscript passed. ... There might be problems I don't see right off, such as access to the same array at two different levels at the same time. Hi, Dar. LC has a way to get and set a node at any level of an array, without code that concatenates [ ] to specify the node. In an array reference a single [ ] can enclose an array of keys, as you can see in the code below. Put the following into a button and click it. The code invokes the debugger so you can see the array and the result string on the variables tab. I agree it'd be good if LC could accept any array reference for invoking a handler that specifies pass-by-reference. Pete, I'd be glad to vote for your enhancement request. -- Dick From richmondmathewson at gmail.com Sat Mar 10 07:47:47 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 10 Mar 2012 14:47:47 +0200 Subject: Enlarge with sample In-Reply-To: <0D34E501-55E8-40B5-A53C-8F1193A6CED5@pbh.on-rev.com> References: <4F53422E.5090001@gmail.com> <0D34E501-55E8-40B5-A53C-8F1193A6CED5@pbh.on-rev.com> Message-ID: <4F5B4D73.8020908@gmail.com> On 03/04/2012 02:25 PM, Paul Hibbert wrote: > See 'resizeable' in the dictionary for a full explanation, you can set the property in any script, (preOpenStack makes sense) with? > > set the resizable of this stack to true and would that be 'resizeable'or 'resizable'? or, to be a bit eighteenth century: 'Inlarge' or 'Enlarge'? > > ?or use the checkbox in the 'size& position' pane of the stack inspector. > > Whichever setting you use for the stack should translate to the standalone, you should see the same re-size handle in the lower right corner on a Mac or see the same re-size cursors when you mouse over the window extremities on Windows. > > If it's not working for you, check that you have the Geometry script library included or use the automatic search for required inclusions under File> Standalone Application Settings. > > I'm not sure that the Geometry script library affects the standalone window re-sizeing, but it certainly affects the controls on the cards. > > HTH > > Paul > > On 4 Mar 2012, at 10:21, Richmond wrote: > >> Almost every day I get these marvellous e-mail messages from well-wishers that spur me onto new ideas >> with Livecode! >> >> Well, for want of anything else to do, I have been trying to enlarge . . . >> >> . . . a standalone, after it has been built as a standalone: >> >> While a stack is a stack one can drag the lower-right-hand corner if resizeable is set to true, and the stack will resize. >> >> Now, at the risk of looking very inexperienced, how can one set a standalone so the end-user can resize that stack? >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andre at andregarzia.com Sat Mar 10 08:28:39 2012 From: andre at andregarzia.com (Andre Garzia) Date: Sat, 10 Mar 2012 10:28:39 -0300 Subject: on-rev urgent problem -- Livecode contact address? In-Reply-To: References: Message-ID: Nicolas, I don't know what happened now but if the problem is loading dbmysql.so database driver then there might be a work around. Upload your own versions of the database drivers and use revSetDatabaseDriverPath to load them yourself. If that is what you're doing right now, then try acquiring the output from shell("ldd /path/to/dbmysql.so") This will tell you what shared libraries are being loaded, you may see a missing dependency there. If there is a missing lib, then, contact support and request it installed or at least a symbolic link to it. Cheers andre On Sat, Mar 10, 2012 at 1:05 AM, Nicolas Cueto wrote: > > Anything we mere mortals can check for you, in case it helps? > > Colin, I wish! But, the problem is server-side, so it needs someone > with access to the server. > > Things seem to be back to normal. But the log page still shows an > error when loading the "dbmysql.so" driver. > > Looking thru the archives, this "dbmysql.so" problem has happened > before. Case-sensitivity was noted on by Andre Garzia, but, as I > wrote, the setup has worked fine for years. So, why the hiccup now? > And why at the same day of the week and time? > > If someone, mortal or not, has advice, please! > > P.S. Ditto on the still-unresolved problem with Android and post. > > Thanks. > -- > Nicolas Cueto > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From niconiko at gmail.com Sat Mar 10 09:32:13 2012 From: niconiko at gmail.com (Nicolas Cueto) Date: Sat, 10 Mar 2012 23:32:13 +0900 Subject: on-rev urgent problem -- Livecode contact address? In-Reply-To: References: Message-ID: Thank you all for the contact addresses. Things are back to normal. But, should it happen again, specially at the same time, I know where to contact. -- Nicolas Cueto From niconiko at gmail.com Sat Mar 10 09:39:58 2012 From: niconiko at gmail.com (Nicolas Cueto) Date: Sat, 10 Mar 2012 23:39:58 +0900 Subject: on-rev urgent problem -- Livecode contact address? In-Reply-To: References: Message-ID: Andre, Maybe I recall wrong, but I did upload the drivers myself. I'll double check, though. Plus, did not know about the shell function, so I'll give that a try, too. Thank you. I'm worried though that dbmysql.so might not be the reason for today's and last week's down-times. Even though things are working now, the error logs still show a problem related to dbmysql.so. Cheers. -- Nicolas Cueto From ambassador at fourthworld.com Sat Mar 10 10:20:45 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 10 Mar 2012 07:20:45 -0800 Subject: Editing very wide and tall stacks. In-Reply-To: References: Message-ID: <4F5B714D.9060806@fourthworld.com> Pete wrote: > Wouldn't it be great if LC provided scrollbars at the card level... It would be great but only for a relatively few edge cases. Most apps that have scrolling regions also have non-scrolling ones, such as a toolbar or other controls, so with groups we're in control of what can be scrolled and what remains stationary. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From coiin at verizon.net Sat Mar 10 10:50:26 2012 From: coiin at verizon.net (Colin Holgate) Date: Sat, 10 Mar 2012 10:50:26 -0500 Subject: Editing very wide and tall stacks. In-Reply-To: <4F5B714D.9060806@fourthworld.com> References: <4F5B714D.9060806@fourthworld.com> Message-ID: <8E317462-A164-4A66-921A-8E7670196E30@verizon.net> That was a pun, wasn't it! On Mar 10, 2012, at 10:20 AM, Richard Gaskin wrote: >> Wouldn't it be great if LC provided scrollbars at the card level... > > It would be great but only for a relatively few edge cases. From richmondmathewson at gmail.com Sat Mar 10 11:00:41 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 10 Mar 2012 18:00:41 +0200 Subject: Editing very wide and tall stacks. In-Reply-To: <8E317462-A164-4A66-921A-8E7670196E30@verizon.net> References: <4F5B714D.9060806@fourthworld.com> <8E317462-A164-4A66-921A-8E7670196E30@verizon.net> Message-ID: <4F5B7AA9.3070908@gmail.com> On 03/10/2012 05:50 PM, Colin Holgate wrote: > That was a pun, wasn't it! > > > On Mar 10, 2012, at 10:20 AM, Richard Gaskin wrote: > >>> Wouldn't it be great if LC provided scrollbars at the card level... >> It would be great but only for a relatively few edge cases. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Of course, if one wanted, one could select all the controls on a card, group them, and set them up with scrollbars to conform to one's monitor resolution. Then make the card conform to the monitor res., but have larger real estate available. From dsc at swcp.com Sat Mar 10 11:04:37 2012 From: dsc at swcp.com (Dar Scott) Date: Sat, 10 Mar 2012 09:04:37 -0700 Subject: Editing very wide and tall stacks. In-Reply-To: <4F5B714D.9060806@fourthworld.com> References: <4F5B714D.9060806@fourthworld.com> Message-ID: <8A4B4D4D-1447-4C37-A5D0-2E2276DEA4C1@swcp.com> An alternative for developing high area stacks would be a half resolution mode. The stack rect and other sizes would be in real pixels but the other pixels would be in virtual pixels, two for each real pixel. I'm doing something like that scripted. I'm developing at half size and the thing doubles in size when put into a full screen. It learns the half size properties so I can do a crude test on the wrong monitor and then go back. I'm now thinking that using Parallels at full screen to allow oversized resolution might also be a solution, but Parallels has rendering problems in that case. That might also be nice for the final monitor testing, but Parallels is limited to only a few size settings from within Windows, though it can do a lot by resizing in window mode. And the Parallels Display Adapter does not rotate. I'm also thinking of scrollbars that hang outside the window. And I'm still thinking about Mark Schonewille's idea. Dar On Mar 10, 2012, at 8:20 AM, Richard Gaskin wrote: > Pete wrote: > >> Wouldn't it be great if LC provided scrollbars at the card level... > > It would be great but only for a relatively few edge cases. Most apps that have scrolling regions also have non-scrolling ones, such as a toolbar or other controls, so with groups we're in control of what can be scrolled and what remains stationary. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode --------------------------- Dar Scott dba Dar Scott Consulting 8637 Horacio Place NE Albuquerque, NM 87111 Lab, home, office phone: +1 505 299 9497 For Skype and fax, please contact. dsc at swcp.com Computer Programming and tinkering, often making LiveCode libraries and externals, sometimes writing associated microcontroller firmware. --------------------------- From richmondmathewson at gmail.com Sat Mar 10 11:10:04 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 10 Mar 2012 18:10:04 +0200 Subject: Editing very wide and tall stacks. In-Reply-To: <8A4B4D4D-1447-4C37-A5D0-2E2276DEA4C1@swcp.com> References: <4F5B714D.9060806@fourthworld.com> <8A4B4D4D-1447-4C37-A5D0-2E2276DEA4C1@swcp.com> Message-ID: <4F5B7CDC.5060403@gmail.com> On 03/10/2012 06:04 PM, Dar Scott wrote: > An alternative for developing high area stacks would be a half resolution mode. The stack rect and other sizes would be in real pixels but the other pixels would be in virtual pixels, two for each real pixel. ??? Virtual pixels ??? Are these something like fairies at the bottom of the garden (virtually pixies). Err; sorry, that one just slipped out. ??? Would be grateful if you could explain what 'virtual pixels' are, and how one can do all that. > > I'm doing something like that scripted. I'm developing at half size and the thing doubles in size when put into a full screen. It learns the half size properties so I can do a crude test on the wrong monitor and then go back. > > I'm now thinking that using Parallels at full screen to allow oversized resolution might also be a solution, but Parallels has rendering problems in that case. That might also be nice for the final monitor testing, but Parallels is limited to only a few size settings from within Windows, though it can do a lot by resizing in window mode. And the Parallels Display Adapter does not rotate. > > I'm also thinking of scrollbars that hang outside the window. > > And I'm still thinking about Mark Schonewille's idea. > > Dar > > On Mar 10, 2012, at 8:20 AM, Richard Gaskin wrote: > >> Pete wrote: >> >>> Wouldn't it be great if LC provided scrollbars at the card level... >> It would be great but only for a relatively few edge cases. Most apps that have scrolling regions also have non-scrolling ones, such as a toolbar or other controls, so with groups we're in control of what can be scrolled and what remains stationary. >> >> -- >> Richard Gaskin >> Fourth World >> LiveCode training and consulting: http://www.fourthworld.com >> Webzine for LiveCode developers: http://www.LiveCodeJournal.com >> LiveCode Journal blog: http://LiveCodejournal.com/blog.irv >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > --------------------------- > Dar Scott > dba > Dar Scott Consulting > 8637 Horacio Place NE > Albuquerque, NM 87111 > > Lab, home, office phone: +1 505 299 9497 > For Skype and fax, please contact. > dsc at swcp.com > > Computer Programming and tinkering, > often making LiveCode libraries and > externals, sometimes writing associated > microcontroller firmware. > --------------------------- > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Sat Mar 10 13:00:25 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 10 Mar 2012 19:00:25 +0100 Subject: Editing very wide and tall stacks. In-Reply-To: <1A342844-D412-4CB3-80C2-75671153A81E@swcp.com> References: <703093B9-3196-49F5-8EF8-75F381B4E415@economy-x-talk.com> <1A342844-D412-4CB3-80C2-75671153A81E@swcp.com> Message-ID: <0D42A5B2-442C-4879-8669-A5FA91550636@economy-x-talk.com> Hi Scott, If you group all controls and groups and set Select Grouped Controls to false (in the Edit menu) you can only select the main group and not the nested groups. -- 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 1.7 for LiveCode here http://qery.us/za On 10 mrt 2012, at 04:37, Dar Scott wrote: > Hi, Mark! > > I don't understand the problem with select Grouped Controls. Mental block I guess. What is the issue here? > > Dar From pete at mollysrevenge.com Sat Mar 10 13:21:42 2012 From: pete at mollysrevenge.com (Pete) Date: Sat, 10 Mar 2012 10:21:42 -0800 Subject: Passing parameters by reference In-Reply-To: <1906AC9E-45F9-4B0D-9A32-9C1074A0595E@mail.com> References: <30597071-0C9B-4030-860D-35CE72BBCE2D@swcp.com> <1906AC9E-45F9-4B0D-9A32-9C1074A0595E@mail.com> Message-ID: Dick: Thanks for the script, another little nugget of knowledge added to my LC store! I have entered an enhancement request - it's # 10070 Dar: The function in question is a general purpose one that gets called from many places. Sometimes I need to pass an array element and other times just a simple variable so I'd rather not complicate things by passing in an extra parameter that holds the array key if it is an array that's being passed. But that is a possible solution so thanks for the suggestion. Bob: Creating a temporary array works, of course, and that's what I'm doing for now. But it defeats the whole purpose of passing the parameter by reference since now I have to put the temporary array back into the real array after the call. I may as well just change the function to return the result of its code and pass the parameter by value instead of reference. Pete On Sat, Mar 10, 2012 at 12:06 AM, Dick Kriesel wrote: > Hi, Dar. LC has a way to get and set a node at any level of an array, > without code that concatenates [ ] to specify the node. In an array > reference a single [ ] can enclose an array of keys, as you can see in the > code below. Put the following into a button and click it. The code > invokes the debugger so you can see the array and the result string on the > variables tab. > > I agree it'd be good if LC could accept any array reference for invoking a > handler that specifies pass-by-reference. Pete, I'd be glad to vote for > your enhancement request. > > -- Dick > -- Pete Molly's Revenge From ambassador at fourthworld.com Sat Mar 10 13:41:49 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 10 Mar 2012 10:41:49 -0800 Subject: Apple iPad announcement evokes yawn In-Reply-To: References: Message-ID: <4F5BA06D.3060306@fourthworld.com> Andre Garzia wrote: > I've heard that Google is dealing with that by shipping a new Android > Emulator in the SDK. This new emulator will randomize the rect of the > device upon every launch with values between 124 and 2048. > > =) That would actually be a very value feature, as it would reduce the number of lazy developers who live in a vacuum in which they assume the world has only the devices they personally test with. In this regard the modern mobile arena isn't much different from designing for the desktop for the last 20 years. The Mac premiered with no choice but a 512x342 B&W screen, and it became stupid to design only for one fixed resolution not long after when VGA connectors were introduced. Today monitors commonly range from 800x600 to 2560x1440 and beyond, and we just write resizeStack handlers to work with 'em all. With mobile the only real difference is that pixel density also varies more than on desktop displays currently, so we need to take that into account as well. Fortunately the hard work of figuring out the logistics has already been done and guidelines are provided in the Android HIG: Today both iOS and Android support devices with multiple physical sizes and resolutions, and there's no reason to believe Apple will limit iOS to only two form factors forever. So those using Android are getting a head start on where every major player in the industry is headed: smart devs are designing with dynamic metrics to deliver an optimal experience across all possible devices... ...just like we've always been doing on the desktop. It hasn't been a good idea to presume a fixed display size since 1986. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From dsc at swcp.com Sat Mar 10 14:34:31 2012 From: dsc at swcp.com (Dar Scott) Date: Sat, 10 Mar 2012 12:34:31 -0700 Subject: Passing parameters by reference In-Reply-To: References: <30597071-0C9B-4030-860D-35CE72BBCE2D@swcp.com> <1906AC9E-45F9-4B0D-9A32-9C1074A0595E@mail.com> Message-ID: <93DF589D-FA46-45AB-AED7-8E5C43AD0EE2@swcp.com> On Mar 10, 2012, at 11:21 AM, Pete wrote: > I may as well just change the function to return the > result of its code and pass the parameter by value instead of reference. Hmm. Like this? put modified(a[s]) into a[s] This might be the best for now. Dar --------------------------- Dar Scott dba Dar Scott Consulting 8637 Horacio Place NE Albuquerque, NM 87111 Lab, home, office phone: +1 505 299 9497 For Skype and fax, please contact. dsc at swcp.com Computer Programming and tinkering, often making LiveCode libraries and externals, sometimes writing associated microcontroller firmware. --------------------------- From dsc at swcp.com Sat Mar 10 14:53:28 2012 From: dsc at swcp.com (Dar Scott) Date: Sat, 10 Mar 2012 12:53:28 -0700 Subject: Passing parameters by reference In-Reply-To: <1906AC9E-45F9-4B0D-9A32-9C1074A0595E@mail.com> References: <30597071-0C9B-4030-860D-35CE72BBCE2D@swcp.com> <1906AC9E-45F9-4B0D-9A32-9C1074A0595E@mail.com> Message-ID: Thanks for the tip, Dick, on using the list of keys. One can think of arrays as nested or multidimensional. On Mar 10, 2012, at 1:06 AM, Dick Kriesel wrote: > I agree it'd be good if LC could accept any array reference for invoking a handler that specifies pass-by-reference. Though is is probably more work, one might also consider chunks in pass-by-reference. Maybe any thing the subtract command can take. However, this might be a problem: doSomethingToTheseTwo char 1 to 2 of it, char 2 to 3 of it command doSomethingToTheseTwo @a, @b put "butter" into a put "cheese" into b put empty into a end doSomethingToTheseTwo That might also have a problem with this call: doSomethingToTheseTwo x, x["t"] I immagine LiveCode folks can come up with a semantics that makes sense for weird cases. The subtract command does not have the the problem because it modifies only one thing. Dar From pete at mollysrevenge.com Sat Mar 10 15:23:58 2012 From: pete at mollysrevenge.com (Pete) Date: Sat, 10 Mar 2012 12:23:58 -0800 Subject: Passing parameters by reference In-Reply-To: <93DF589D-FA46-45AB-AED7-8E5C43AD0EE2@swcp.com> References: <30597071-0C9B-4030-860D-35CE72BBCE2D@swcp.com> <1906AC9E-45F9-4B0D-9A32-9C1074A0595E@mail.com> <93DF589D-FA46-45AB-AED7-8E5C43AD0EE2@swcp.com> Message-ID: That would work but the complication is that the function is already returning true or false to indicate whether it changed the input or not so I can do something like: if modified(tvar) then --do something else --do something else end if If I change it to return the result of it's operation on the input, I'd have to do something like put modified(tvar) into tTemp if ttemp<>tvar then --do something else --do something else end if That works just fine but just seems more elegant to be able to do it the first way, especially since most of the time I'm calling the function with a simple variable as the input, not an array element, and the first way of doing it works just fine. Anyway, there's multiple ways to work around the problem until LC is fixed to allow array elements to be passed by reference (hopefully!) Thanks, Pete On Sat, Mar 10, 2012 at 11:34 AM, Dar Scott wrote: > > On Mar 10, 2012, at 11:21 AM, Pete wrote: > > I may as well just change the function to return the > > result of its code and pass the parameter by value instead of reference. > > Hmm. Like this? > > put modified(a[s]) into a[s] > > This might be the best for now. > > Dar > > --------------------------- > Dar Scott > dba > Dar Scott Consulting > 8637 Horacio Place NE > Albuquerque, NM 87111 > > Lab, home, office phone: +1 505 299 9497 > For Skype and fax, please contact. > dsc at swcp.com > > Computer Programming and tinkering, > often making LiveCode libraries and > externals, sometimes writing associated > microcontroller firmware. > --------------------------- > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From gandalf at doctorTimothyMiller.com Sat Mar 10 20:05:12 2012 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Sat, 10 Mar 2012 17:05:12 -0800 Subject: a little help with "find" script In-Reply-To: References: Message-ID: On Mar 9, 2012, at 12:28 PM, Timothy Miller wrote: > Oops. Forgot how to do this. Knew it once. I don't write scripts every day. Not even every month. > > Please remind me how to write a script that finds and records every instance of a string in field "foo" I know how to write repeat loops, but can't remember how to keep finding and then exit when the last instance is found. Predictably, I didn't understand the advice I got, though I do appreciate it. With enough study, I could have figured it out. Instead, I tried to remember the way I've done it in the past, combined with trial and error. The string I want to find is "Card ID" I came up with this repeat find string "card ID" in field "narrative" if the foundChunk is not empty then put the foundChunk && "of card ID" && the short Id of this card into tVar if tVar is not among the lines of bigVar then put tVar & return after bigVar else exit repeat end if end if end repeat This is primitive, hyperCard-like scripting I suppose. That's how homey rolls. It seems to work. Is this a bad way to do it? Is there a clearly better way? As far as I can tell, in a repeat loop, the "find" command somehow keeps track of the last found item and moves on to find the next one, but repeats forever unless you script some way to detect duplicate foundChunks and exit. Correct? I have another question before I can make this script do what I want, but I'll start a new thread, to avoid confusion. Tim From gandalf at DOCTORTIMOTHYMILLER.COM Sat Mar 10 20:19:03 2012 From: gandalf at DOCTORTIMOTHYMILLER.COM (Timothy Miller) Date: Sat, 10 Mar 2012 17:19:03 -0800 Subject: A little help with the foundChunk In-Reply-To: References: Message-ID: <45E3C1F9-EF64-4064-89FC-3224BD370F25@DOCTORTIMOTHYMILLER.COM> So I've got a list of foundChunks in the form -- "char 10 to 16 of field 1 of card ID 1586" How do I convert them to the form -- "word 3 to 4 of field 1 of card ID 1586" I want to do that, because I want to include the next word in each foundChunk by adding 1 to word 4 of each line. Alternately, is there a simple way to write the "find" command so I end up with a list of found words in the desired format, instead of a list of found chars? I don't need a working script, just a hint or two. Thanks again. Not so many amateurs and newbies here anymore, mostly pros. Hope not to be a pest. Tim From bonnmike at gmail.com Sat Mar 10 20:23:16 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 10 Mar 2012 18:23:16 -0700 Subject: a little help with "find" script In-Reply-To: References: Message-ID: The result will contain "not found" if there is no match, and also on the find after the last chunk is found at which points it resets to the start. Something like the following is pretty straight forward, could be adjusted to accept card names as an additional argument so you could loop through all the cardnames (think thats already been suggested?) And then have the inner loop call the find function to build up your lists of foundchunks. on mouseUp -- could add a repeat for each line tName in the cardnames of this stack.. repeat until (findIt("asd","foo")) is "not found" put the foundchunk & return after tVar end repeat end mouseUp function findit tString,tField --could add a card name argument and adjust the find. find tstring in field tField return the result end findit On Sat, Mar 10, 2012 at 6:05 PM, Timothy Miller < gandalf at doctortimothymiller.com> wrote: > > On Mar 9, 2012, at 12:28 PM, Timothy Miller wrote: > > > Oops. Forgot how to do this. Knew it once. I don't write scripts every > day. Not even every month. > > > > Please remind me how to write a script that finds and records every > instance of a string in field "foo" I know how to write repeat loops, but > can't remember how to keep finding and then exit when the last instance is > found. > > Predictably, I didn't understand the advice I got, though I do appreciate > it. With enough study, I could have figured it out. Instead, I tried to > remember the way I've done it in the past, combined with trial and error. > > The string I want to find is "Card ID" > > I came up with this > > repeat > find string "card ID" in field "narrative" > if the foundChunk is not empty then > put the foundChunk && "of card ID" && the short Id of this card > into tVar > if tVar is not among the lines of bigVar then > put tVar & return after bigVar > else > exit repeat > end if > end if > end repeat > > This is primitive, hyperCard-like scripting I suppose. That's how homey > rolls. It seems to work. Is this a bad way to do it? Is there a clearly > better way? > > As far as I can tell, in a repeat loop, the "find" command somehow keeps > track of the last found item and moves on to find the next one, but repeats > forever unless you script some way to detect duplicate foundChunks and > exit. Correct? > > I have another question before I can make this script do what I want, but > I'll start a new thread, to avoid confusion. > > Tim > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Sat Mar 10 20:59:07 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 10 Mar 2012 18:59:07 -0700 Subject: A little help with the foundChunk In-Reply-To: <45E3C1F9-EF64-4064-89FC-3224BD370F25@DOCTORTIMOTHYMILLER.COM> References: <45E3C1F9-EF64-4064-89FC-3224BD370F25@DOCTORTIMOTHYMILLER.COM> Message-ID: Maybe something like this? on mouseUp put "card id" into tString put "foo" into tField put "word [[tFirstWord]] to [[tLastWord]] of [[word -2 to -1 of the foundchunk]]" into tMergit repeat until (findIt(tString,tField)) is "not found" put word 2 of the foundChunk into tStart put the number of words in char 1 to tStart of field 1 into tFirstWord put tFirstWord + (the number of words in tString) into tLastWord put merge(tMergit) & return after msg end repeat end mouseUp function findit tString,tField find tstring in field tField return the result end findit On Sat, Mar 10, 2012 at 6:19 PM, Timothy Miller < gandalf at doctortimothymiller.com> wrote: > So I've got a list of foundChunks in the form -- > > "char 10 to 16 of field 1 of card ID 1586" > > How do I convert them to the form -- > > "word 3 to 4 of field 1 of card ID 1586" > > I want to do that, because I want to include the next word in each > foundChunk by adding 1 to word 4 of each line. > > Alternately, is there a simple way to write the "find" command so I end up > with a list of found words in the desired format, instead of a list of > found chars? > > I don't need a working script, just a hint or two. > > Thanks again. Not so many amateurs and newbies here anymore, mostly pros. > Hope not to be a pest. > > Tim > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From gandalf at doctorTimothyMiller.com Sat Mar 10 22:06:14 2012 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Sat, 10 Mar 2012 19:06:14 -0800 Subject: a little help with "find" script In-Reply-To: References: Message-ID: <5A75FD03-936E-489C-A746-E3E2AAAE3836@doctorTimothyMiller.com> Thankya Mike, If I understand you correctly, my script probably works right, might be a little kludgy. Another way to end the search is to look for "not found" in the result. Hope I got that right. I'm still studying your foundChunk script. Cheers, Tim On Mar 10, 2012, at 5:23 PM, Mike Bonner wrote: > The result will contain "not found" if there is no match, and also on the > find after the last chunk is found at which points it resets to the start. > > Something like the following is pretty straight forward, could be adjusted > to accept card names as an additional argument so you could loop through > all the cardnames (think thats already been suggested?) > > And then have the inner loop call the find function to build up your lists > of foundchunks. > > on mouseUp > -- could add a repeat for each line tName in the cardnames of this stack.. > repeat until (findIt("asd","foo")) is "not found" > put the foundchunk & return after tVar > end repeat > end mouseUp > > function findit tString,tField --could add a card name argument and adjust > the find. > find tstring in field tField > return the result > end findit > > > > On Sat, Mar 10, 2012 at 6:05 PM, Timothy Miller < > gandalf at doctortimothymiller.com> wrote: > >> >> On Mar 9, 2012, at 12:28 PM, Timothy Miller wrote: >> >>> Oops. Forgot how to do this. Knew it once. I don't write scripts every >> day. Not even every month. >>> >>> Please remind me how to write a script that finds and records every >> instance of a string in field "foo" I know how to write repeat loops, but >> can't remember how to keep finding and then exit when the last instance is >> found. >> >> Predictably, I didn't understand the advice I got, though I do appreciate >> it. With enough study, I could have figured it out. Instead, I tried to >> remember the way I've done it in the past, combined with trial and error. >> >> The string I want to find is "Card ID" >> >> I came up with this >> >> repeat >> find string "card ID" in field "narrative" >> if the foundChunk is not empty then >> put the foundChunk && "of card ID" && the short Id of this card >> into tVar >> if tVar is not among the lines of bigVar then >> put tVar & return after bigVar >> else >> exit repeat >> end if >> end if >> end repeat >> >> This is primitive, hyperCard-like scripting I suppose. That's how homey >> rolls. It seems to work. Is this a bad way to do it? Is there a clearly >> better way? >> >> As far as I can tell, in a repeat loop, the "find" command somehow keeps >> track of the last found item and moves on to find the next one, but repeats >> forever unless you script some way to detect duplicate foundChunks and >> exit. Correct? >> >> I have another question before I can make this script do what I want, but >> I'll start a new thread, to avoid confusion. >> >> Tim >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Sat Mar 10 22:16:49 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 10 Mar 2012 20:16:49 -0700 Subject: a little help with "find" script In-Reply-To: <5A75FD03-936E-489C-A746-E3E2AAAE3836@doctorTimothyMiller.com> References: <5A75FD03-936E-489C-A746-E3E2AAAE3836@doctorTimothyMiller.com> Message-ID: Yeah same difference. On Sat, Mar 10, 2012 at 8:06 PM, Timothy Miller < gandalf at doctortimothymiller.com> wrote: > Thankya Mike, > > If I understand you correctly, my script probably works right, might be a > little kludgy. Another way to end the search is to look for "not found" in > the result. > > Hope I got that right. > > I'm still studying your foundChunk script. > > Cheers, > > Tim > > > On Mar 10, 2012, at 5:23 PM, Mike Bonner wrote: > > > The result will contain "not found" if there is no match, and also on the > > find after the last chunk is found at which points it resets to the > start. > > > > Something like the following is pretty straight forward, could be > adjusted > > to accept card names as an additional argument so you could loop through > > all the cardnames (think thats already been suggested?) > > > > And then have the inner loop call the find function to build up your > lists > > of foundchunks. > > > > on mouseUp > > -- could add a repeat for each line tName in the cardnames of this > stack.. > > repeat until (findIt("asd","foo")) is "not found" > > put the foundchunk & return after tVar > > end repeat > > end mouseUp > > > > function findit tString,tField --could add a card name argument and > adjust > > the find. > > find tstring in field tField > > return the result > > end findit > > > > > > > > On Sat, Mar 10, 2012 at 6:05 PM, Timothy Miller < > > gandalf at doctortimothymiller.com> wrote: > > > >> > >> On Mar 9, 2012, at 12:28 PM, Timothy Miller wrote: > >> > >>> Oops. Forgot how to do this. Knew it once. I don't write scripts every > >> day. Not even every month. > >>> > >>> Please remind me how to write a script that finds and records every > >> instance of a string in field "foo" I know how to write repeat loops, > but > >> can't remember how to keep finding and then exit when the last instance > is > >> found. > >> > >> Predictably, I didn't understand the advice I got, though I do > appreciate > >> it. With enough study, I could have figured it out. Instead, I tried to > >> remember the way I've done it in the past, combined with trial and > error. > >> > >> The string I want to find is "Card ID" > >> > >> I came up with this > >> > >> repeat > >> find string "card ID" in field "narrative" > >> if the foundChunk is not empty then > >> put the foundChunk && "of card ID" && the short Id of this card > >> into tVar > >> if tVar is not among the lines of bigVar then > >> put tVar & return after bigVar > >> else > >> exit repeat > >> end if > >> end if > >> end repeat > >> > >> This is primitive, hyperCard-like scripting I suppose. That's how homey > >> rolls. It seems to work. Is this a bad way to do it? Is there a clearly > >> better way? > >> > >> As far as I can tell, in a repeat loop, the "find" command somehow keeps > >> track of the last found item and moves on to find the next one, but > repeats > >> forever unless you script some way to detect duplicate foundChunks and > >> exit. Correct? > >> > >> I have another question before I can make this script do what I want, > but > >> I'll start a new thread, to avoid confusion. > >> > >> Tim > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Sun Mar 11 05:41:08 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 11 Mar 2012 11:41:08 +0200 Subject: Become a man with staying power In-Reply-To: References: Message-ID: <4F5C7334.40709@gmail.com> On 03/08/2012 02:18 PM, Francis Nugent Dixon wrote: > Hi from Beautiful Brittany, > >>> On 3 Mar 2012, at 6:00 pm, Richmond wrote: >>> >>>> the ultimate Sanskrit input system; and working hard towards the >>>> finishing line. >>> Colonel Pickering would be proud of you! >> >> The rain falls mainly on the plain. > > "I think he's got it ! By George, he's got it !" Knowing my political predilections you should realise that I would far rather say: "I think he's got it ! By James, he's got it !" not having much truck with Hanoverian names. Interesting to see that you, Francis, have the same name as His Majesty the King : http://www.jacobite.ca/kings/francis2.htm > > -Francis > > "Windows is just a series of panes" > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andre at andregarzia.com Sun Mar 11 12:24:32 2012 From: andre at andregarzia.com (Andre Garzia) Date: Sun, 11 Mar 2012 13:24:32 -0300 Subject: [OT] Free SSL certificates available Message-ID: Hey Folks, I don't know how many of you here have struggled with SSL certificates before. Once I purchased an SSL certificate from GoDaddy and it was a really bad experience. These days, I decided to move away from GoDaddy and try something new since I don't like their practices. Lurking on the Hacker News forum from Y Combinator, I saw a thread about SSL certs. One of the users was advising to use a company called StartSSL who was providing free SSL certificates and lots of users responded saying that StartSSL worked fine. So I took the leap, the process was painless and it works well for my needs. URLs of Interest: [1] Hacker News - http://www.hackernews.com [2] StartSSL - https://www.startssl.com Cheers andre -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From effendi at wanadoo.fr Sun Mar 11 13:32:58 2012 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Sun, 11 Mar 2012 18:32:58 +0100 Subject: Become a man with staying power Message-ID: <9C036ED2-507D-487C-857C-84805725C9D5@wanadoo.fr> Hi from Beautiful Brittany, Richmond* wrote : > Interesting to see that you, Francis, have the same name > as His Majesty the King : Oh, I can do better than that, Richmond ! The future King of England is descended from my family (although a very, very distant cousin). http://www.nugent.fr/doc/Nugent43.pdf AND http://www.nugent.fr/doc/Nugent42.pdf If anybody comments "Oh ! So you have blue blood ?" I reply "No ! The Windsors have Nugent blood !" :>) Best Regards -Francis From gbojsza at gmail.com Sun Mar 11 13:41:21 2012 From: gbojsza at gmail.com (Glen Bojsza) Date: Sun, 11 Mar 2012 11:41:21 -0600 Subject: Has anybody done a Card Sorter panel... Message-ID: I was wondering if anyone has done a Card Sorter panel (something similar to PowerPoint's Slide panel) where the user can drag and drop images of the cards to rearrange the order of cards when sequenced through. Any ideas on approaching this would be nice. My first thought for was to use a field with the images placed in each line and then the user would drag and drop the lines within the field to sequence the cards... This seems clumsy so I am hoping for other options. thanks, Glen From m.schonewille at economy-x-talk.com Sun Mar 11 13:54:09 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 11 Mar 2012 18:54:09 +0100 Subject: Has anybody done a Card Sorter panel... In-Reply-To: References: Message-ID: <48150C37-4144-44E2-8578-EE98BA448CB5@economy-x-talk.com> Hi Glen, I made the interface for the TwistAWord game. People have to drag images into the right order and a word order is created from the location of the pictures. This was a rather difficult task, because the game is slightly playful and the pictures shouldn't need to be in exact locations. I presume that screenshots of cards can easily be put into the correct order by a user by dragging them around, even within a group. From the relative locations, you can calculate the card order and set the card numbers accordingly. Just take either item 1 of item 2 of the location (depending on whether the ordered pictures are oriented vertically or horizontally) and the respective card id's and sort numeric. Because your interface doesn't need to be playful, this seems a rather simple and straightforward task. -- 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 1.7 for LiveCode here http://qery.us/za On 11 mrt 2012, at 18:41, Glen Bojsza wrote: > I was wondering if anyone has done a Card Sorter panel (something similar > to PowerPoint's Slide panel) where the user can drag and drop images of the > cards to rearrange the order of cards when sequenced through. > > Any ideas on approaching this would be nice. > > My first thought for was to use a field with the images placed in each line > and then the user would drag and drop the lines within the field to > sequence the cards... > > This seems clumsy so I am hoping for other options. > > thanks, > > Glen > From rene.micout at numericable.com Sun Mar 11 14:20:59 2012 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Sun, 11 Mar 2012 19:20:59 +0100 Subject: Become a man with staying power In-Reply-To: <9C036ED2-507D-487C-857C-84805725C9D5@wanadoo.fr> References: <9C036ED2-507D-487C-857C-84805725C9D5@wanadoo.fr> Message-ID: <83B5A639-EC5B-4CE9-B1B7-47E6D1780042@numericable.com> Le 11 mars 2012 ? 18:32, Francis Nugent Dixon a ?crit : > http://www.nugent.fr/doc/Nugent42.pdf at the beginning > French ! From rene.micout at numericable.com Sun Mar 11 14:36:19 2012 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Sun, 11 Mar 2012 19:36:19 +0100 Subject: Become a man with staying power In-Reply-To: <83B5A639-EC5B-4CE9-B1B7-47E6D1780042@numericable.com> References: <9C036ED2-507D-487C-857C-84805725C9D5@wanadoo.fr> <83B5A639-EC5B-4CE9-B1B7-47E6D1780042@numericable.com> Message-ID: No translation possible (but I try) of this charade from "Francis Blanche" (one "Tonton flingueur") about "Nogent-le-Rotrou" : G / P?re Dumas*, montre ? nos gens l'heure au trou ! G / Father Dumas, shows to our domestics the time to the keyhole! = J'ai perdu ma montre ? Nogent-le-Rotrou I lost my watch in Nogent-le-Rotrou I understand : Nugent = Nogent * Alexandre Dumas P?re (les 3 mousquetaires) Le 11 mars 2012 ? 19:20, Ren? Micout a ?crit : > > Le 11 mars 2012 ? 18:32, Francis Nugent Dixon a ?crit : > >> http://www.nugent.fr/doc/Nugent42.pdf > > at the beginning > French ! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Mar 11 15:03:48 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 11 Mar 2012 21:03:48 +0200 Subject: Become a man with staying power In-Reply-To: <9C036ED2-507D-487C-857C-84805725C9D5@wanadoo.fr> References: <9C036ED2-507D-487C-857C-84805725C9D5@wanadoo.fr> Message-ID: <4F5CF714.3070803@gmail.com> On 03/11/2012 07:32 PM, Francis Nugent Dixon wrote: > Hi from Beautiful Brittany, > > Richmond* wrote : > >> Interesting to see that you, Francis, have the same name >> as His Majesty the King : > > Oh, I can do better than that, Richmond ! > > The future King of England is descended from > my family (although a very, very distant cousin). > > http://www.nugent.fr/doc/Nugent43.pdf > AND > http://www.nugent.fr/doc/Nugent42.pdf I had no idea the Prince of Cornwall: Prince Max, was descended from your family: http://www.jacobite.ca/kings/max.htm > > If anybody comments "Oh ! So you have blue blood ?" > I reply "No ! The Windsors have Nugent blood !" The Windsors don't have very much blue blood; that that they do have comes through Philip Battenburg and not from Elizabeth. > > :>) > > Best Regards > > -Francis > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mikedoub at gmail.com Sun Mar 11 16:44:37 2012 From: mikedoub at gmail.com (Michael Doub) Date: Sun, 11 Mar 2012 16:44:37 -0400 Subject: Multiple apps Message-ID: <021C7B1D-248C-48BD-BFD6-49A5FEB72778@gmail.com> I am new to developing for IOS. I have been able to load my app on to my device with Xcode. Is it possible to be working on 2 apps in parallel? When I try to load the second app. I am requested to replace the first. Am I missing something? Thanks Mike From iowahengst at mac.com Sun Mar 11 17:10:53 2012 From: iowahengst at mac.com (Randy Hengst) Date: Sun, 11 Mar 2012 16:10:53 -0500 Subject: Multiple apps In-Reply-To: <021C7B1D-248C-48BD-BFD6-49A5FEB72778@gmail.com> References: <021C7B1D-248C-48BD-BFD6-49A5FEB72778@gmail.com> Message-ID: <39193742-89B5-4361-AF20-AB83E50902C2@mac.com> Hi Mike, Yes, it's possible to work on several apps at a time. Make sure you set a unique name for each app's "Internal App ID" be well, randy hengst ----- On Mar 11, 2012, at 3:44 PM, Michael Doub wrote: > I am new to developing for IOS. I have been able to load my app on to my device with Xcode. Is it possible to be working on 2 apps in parallel? > > When I try to load the second app. I am requested to replace the first. Am I missing something? > > Thanks > Mike > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From RevList at CreaTECHSol.com Sun Mar 11 17:48:26 2012 From: RevList at CreaTECHSol.com (RevList) Date: Sun, 11 Mar 2012 14:48:26 -0700 Subject: HELP! - Linefeeds and Mac Vs Windows Message-ID: I have a stack that builds a perl script. It works just fine when I create the script on Windows. When I open the saved script that is created on the windows version of my app in NotePad, it looks just fine and works great with my PERL cgi. If I use the same stack on Mac and generate the same perl script on the mac and then copy it over to my Windows box and open it in NotePad, it appears that all of the Returns are missing and the Perl CGI fails. I am assuming then, that PERL needs the line feeds that are created when I save the file out on Windows. Building the file is simple. I just concatenate a bunch of string together and use the RETURN key word to separate lines. I tried using CRLF instead of RETURN and got the same results when viewed in notepad. No wrapping of the lines. I have compared the two versions of the files in editors that allow me to show the invisible characters and they look identical. Comparing the two in BBEdit indicates the files are identical, yet when I open them in NotePad, they clearly are not. Can anyone tell me what is going on here and how I can get the Mac version to look like the Win version? You can download the files for comparison yourself at http://www.createchsol.com/perlscripts.zip I would greatly appreciate any help one can give me. ****************************************** Stewart Lynch CreaTECH Solutions slynch at CreaTECHSol.com 604.484.8499 Skype:StewartLynch There are only 10 kinds of people. Those who understand binary and those who don't. ****************************************** From harrison at all-auctions.com Sun Mar 11 18:03:56 2012 From: harrison at all-auctions.com (Rick Harrison) Date: Sun, 11 Mar 2012 18:03:56 -0400 Subject: [OT] Free SSL certificates available In-Reply-To: References: Message-ID: Hi Andre, Is StartSSL the one in Israel? I think when I looked at them it was only free for 1 month. They were also very intrusive, almost like spyware, so I didn't end up going with them. Let me know. Rick On Mar 11, 2012, at 12:24 PM, Andre Garzia wrote: > Hey Folks, > > I don't know how many of you here have struggled with SSL certificates > before. Once I purchased an SSL certificate from GoDaddy and it was a > really bad experience. These days, I decided to move away from GoDaddy and > try something new since I don't like their practices. Lurking on the Hacker > News forum from Y Combinator, I saw a thread about SSL certs. One of the > users was advising to use a company called StartSSL who was providing free > SSL certificates and lots of users responded saying that StartSSL worked > fine. So I took the leap, the process was painless and it works well for my > needs. > > URLs of Interest: > > [1] Hacker News - http://www.hackernews.com > [2] StartSSL - https://www.startssl.com > > Cheers > andre > > > -- > http://www.andregarzia.com -- All We Do Is Code. > http://fon.nu -- minimalist url shortening service. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode __________________________________ Rick Harrison You can buy my $10 music album "Funny Time Machine" digital CD on the iTunes Store Now! To visit the iTunes Store now to listen to samples of my CD please click on the following link. (Please note you must have iTunes installed on your computer for this link to work.) http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewAlbum?playListId=213668290 From bvg at mac.com Sun Mar 11 18:07:08 2012 From: bvg at mac.com (Bjoernke von Gierke) Date: Sun, 11 Mar 2012 23:07:08 +0100 Subject: HELP! - Linefeeds and Mac Vs Windows In-Reply-To: References: Message-ID: <208D916C-3BF0-4B3D-8BCF-E7FA0D02E2C2@mac.com> you probably need to use "binfile:" instead of "file:" when you're saving. Because when you use "file:", all line endings will be converted to whatever the current platform default line endings are. If you do use binfile, beware that you also need to do mactoiso or isotomac depending on what you do with the text and where it's saved. On 11.03.2012, at 22:48, RevList wrote: > I have a stack that builds a perl script. > It works just fine when I create the script on Windows. When I open the saved script that is created on the windows version of my app in NotePad, it looks just fine and works great with my PERL cgi. > If I use the same stack on Mac and generate the same perl script on the mac and then copy it over to my Windows box and open it in NotePad, it appears that all of the Returns are missing and the Perl > CGI fails. > > I am assuming then, that PERL needs the line feeds that are created when I save the file out on Windows. > > Building the file is simple. I just concatenate a bunch of string together and use the RETURN key word to separate lines. > > I tried using CRLF instead of RETURN and got the same results when viewed in notepad. No wrapping of the lines. > > I have compared the two versions of the files in editors that allow me to show the invisible characters and they look identical. > Comparing the two in BBEdit indicates the files are identical, yet when I open them in NotePad, they clearly are not. > > Can anyone tell me what is going on here and how I can get the Mac version to look like the Win version? > You can download the files for comparison yourself at http://www.createchsol.com/perlscripts.zip > > I would greatly appreciate any help one can give me. > > > > ****************************************** > Stewart Lynch > CreaTECH Solutions > slynch at CreaTECHSol.com > 604.484.8499 > Skype:StewartLynch > > There are only 10 kinds of people. Those who understand binary and those who don't. > ****************************************** > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From warren at warrensweb.us Sun Mar 11 19:33:34 2012 From: warren at warrensweb.us (Warren Samples) Date: Sun, 11 Mar 2012 18:33:34 -0500 Subject: [OT] Free SSL certificates available In-Reply-To: References: Message-ID: <4F5D364E.9090501@warrensweb.us> On 03/11/2012 05:03 PM, Rick Harrison wrote: > Hi Andre, > > Is StartSSL the one in Israel? > > I think when I looked at them it was only free for 1 month. > They were also very intrusive, almost like spyware, so > I didn't end up going with them. > > Let me know. > > Rick http://www.startssl.com/?app=40 From RevList at CreaTECHSol.com Sun Mar 11 19:56:40 2012 From: RevList at CreaTECHSol.com (RevList) Date: Sun, 11 Mar 2012 16:56:40 -0700 Subject: HELP! - Linefeeds and Mac Vs Windows In-Reply-To: <208D916C-3BF0-4B3D-8BCF-E7FA0D02E2C2@mac.com> References: <208D916C-3BF0-4B3D-8BCF-E7FA0D02E2C2@mac.com> Message-ID: Bjoernke von Gierke on March 11, 2012 at 2:07 PM -0700 wrote: >you probably need to use "binfile:" instead of "file:" when you're saving. Because when you use "file:", all line endings will be converted to whatever the current platform default line endings >are. If you do use binfile, beware that you also need to do mactoiso or isotomac depending on what you do with the text and where it's saved. This does not appear to make any difference at all. I used binfile instead of file: and got the same results. I am not sure mactoiso would make any difference as all as all of the characters are below ASCII 128 so the mactoiso would do nothing. No matter what I do, when I create the text file on a Mac and view it in Windows, there are no line breaks wherever there was a return. Any other ideas? Anyone? ****************************************** Stewart Lynch CreaTECH Solutions slynch at CreaTECHSol.com 604.484.8499 Skype:StewartLynch There are only 10 kinds of people. Those who understand binary and those who don't. ****************************************** From m.schonewille at economy-x-talk.com Sun Mar 11 19:58:49 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 12 Mar 2012 00:58:49 +0100 Subject: [OT] Free SSL certificates available In-Reply-To: References: Message-ID: Hi Rick, Yes, they're from Israel http://qery.us/whois.php?u=startcom.org What kind of information did they require or collect? -- 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 1.7 for LiveCode here http://qery.us/za On 11 mrt 2012, at 23:03, Rick Harrison wrote: > Hi Andre, > > Is StartSSL the one in Israel? > > I think when I looked at them it was only free for 1 month. > They were also very intrusive, almost like spyware, so > I didn't end up going with them. > > Let me know. > > Rick > From m.schonewille at economy-x-talk.com Sun Mar 11 20:03:44 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 12 Mar 2012 01:03:44 +0100 Subject: Installer Maker Plugin Discount Action In-Reply-To: <389009BE-B87C-449A-A335-45119E25AC7E@economy-x-talk.com> References: <389009BE-B87C-449A-A335-45119E25AC7E@economy-x-talk.com> Message-ID: <28206718-70C9-41D0-A25A-914853F1839F@economy-x-talk.com> Hello, I got an e-mail asking to extend the discount action till tomorrow and so tomorrow will really be the last day to get a license for Installer Maker with a 25% discount. Go to http://qery.us/1v7 to get the discount and save ? 10 / $ 13. This web page won't be available after tomorrow. -- 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 1.7 for LiveCode here http://qery.us/za From andre at andregarzia.com Sun Mar 11 20:21:57 2012 From: andre at andregarzia.com (Andre Garzia) Date: Sun, 11 Mar 2012 21:21:57 -0300 Subject: [OT] Free SSL certificates available In-Reply-To: References: Message-ID: I think they are from Israel. I remember they being hacked a year ago or so but no harm done. I don't recall they being intrusive. I just filled my normal information. odd. well... that was just my experience, maybe, I am wrong. =) On Sun, Mar 11, 2012 at 8:58 PM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi Rick, > > Yes, they're from Israel > http://qery.us/whois.php?u=startcom.org > > What kind of information did they require or collect? > > -- > 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 1.7 for LiveCode here > http://qery.us/za > > On 11 mrt 2012, at 23:03, Rick Harrison wrote: > > > Hi Andre, > > > > Is StartSSL the one in Israel? > > > > I think when I looked at them it was only free for 1 month. > > They were also very intrusive, almost like spyware, so > > I didn't end up going with them. > > > > Let me know. > > > > Rick > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From dave.cragg at lacscentre.co.uk Sun Mar 11 21:03:29 2012 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Mon, 12 Mar 2012 01:03:29 +0000 Subject: HELP! - Linefeeds and Mac Vs Windows In-Reply-To: References: Message-ID: <9F68576E-8673-4131-85DD-7A1B631B9FC7@lacscentre.co.uk> On 11 Mar 2012, at 21:48, RevList wrote: > I have compared the two versions of the files in editors that allow me to show the invisible characters and they look identical. > Comparing the two in BBEdit indicates the files are identical, yet when I open them in NotePad, they clearly are not. If you check the file sizes you will see that the Windows one is 75 bytes bigger than the Mac one. It looks like the Mac version has either cr or lf as the line ending character and the Wind version has crlf. NotePad won't break text on only a linefeed character. It needs CRLF. BBEdit will display text with either line ending. I think if you open the "Mac" version with WordPad on Windows, it will display as expected. If you save the files from Livecode using the "binfile" url style (or binary write), the files will be identical and have lf line endings, but probably won't display properly in Notepad. I think they will work as Perl scripts on either platform. I think the main problem here is Notepad. You may want to look for a better text editor on Windows. (e.g. Notepad ++ ) Dave From rdimola at evergreeninfo.net Sun Mar 11 21:39:02 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sun, 11 Mar 2012 21:39:02 -0400 Subject: HELP! - Linefeeds and Mac Vs Windows In-Reply-To: <9F68576E-8673-4131-85DD-7A1B631B9FC7@lacscentre.co.uk> References: <9F68576E-8673-4131-85DD-7A1B631B9FC7@lacscentre.co.uk> Message-ID: <003c01ccfff0$e774fee0$b65efca0$@net> Wordpad will work. It deals with just LFs. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Dave Cragg Sent: Sunday, March 11, 2012 9:03 PM To: How to use LiveCode Subject: Re: HELP! - Linefeeds and Mac Vs Windows On 11 Mar 2012, at 21:48, RevList wrote: > I have compared the two versions of the files in editors that allow me to show the invisible characters and they look identical. > Comparing the two in BBEdit indicates the files are identical, yet when I open them in NotePad, they clearly are not. If you check the file sizes you will see that the Windows one is 75 bytes bigger than the Mac one. It looks like the Mac version has either cr or lf as the line ending character and the Wind version has crlf. NotePad won't break text on only a linefeed character. It needs CRLF. BBEdit will display text with either line ending. I think if you open the "Mac" version with WordPad on Windows, it will display as expected. If you save the files from Livecode using the "binfile" url style (or binary write), the files will be identical and have lf line endings, but probably won't display properly in Notepad. I think they will work as Perl scripts on either platform. I think the main problem here is Notepad. You may want to look for a better text editor on Windows. (e.g. Notepad ++ ) Dave _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From RevList at CreaTECHSol.com Sun Mar 11 23:09:03 2012 From: RevList at CreaTECHSol.com (RevList) Date: Sun, 11 Mar 2012 20:09:03 -0700 Subject: HELP! - Linefeeds and Mac Vs Windows In-Reply-To: <9F68576E-8673-4131-85DD-7A1B631B9FC7@lacscentre.co.uk> References: <9F68576E-8673-4131-85DD-7A1B631B9FC7@lacscentre.co.uk> Message-ID: Dave Cragg on March-11-12 at 5:03 PM -0700 wrote: >If you check the file sizes you will see that the Windows one is 75 bytes bigger than the Mac one. It looks like the Mac version has either cr or lf as the line ending character and the Wind version >has crlf. > >NotePad won't break text on only a linefeed character. It needs CRLF. BBEdit will display text with either line ending. I think if you open the "Mac" version with WordPad on Windows, it will >display as expected. > >If you save the files from Livecode using the "binfile" url style (or binary write), the files will be identical and have lf line endings, but probably won't display properly in Notepad. I think >they will work as Perl scripts on either platform. > >I think the main problem here is Notepad. You may want to look for a better text editor on Windows. (e.g. Notepad ++ ) Thanks for the suggestions. In fact, I use Notepad Plus and it was opening the original one saved by using file: and it looked fine. Perl just didn't like it. I switched now to binfile: to save the file and NotePad still sucks, but at least my perl script is now working. Thanks again for the support this group offers in such a timely manner. ****************************************** Stewart Lynch CreaTECH Solutions slynch at CreaTECHSol.com 604.484.8499 Skype:StewartLynch There are only 10 kinds of people. Those who understand binary and those who don't. ****************************************** From ludovic.thebault at laposte.net Mon Mar 12 04:58:22 2012 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Mon, 12 Mar 2012 09:58:22 +0100 Subject: iOS keyboard input and rawKeyUp Message-ID: <622CF5F6-5ECD-4B04-BDB4-C71F103E88AC@laposte.net> Hello, When we tape a text in a field with the iOS keyboard, the rawKeyUp doesn't catch anything. How get the text typed to do a live filtering ? Thanks. LC 5.02 From ludovic.thebault at laposte.net Mon Mar 12 05:01:21 2012 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Mon, 12 Mar 2012 10:01:21 +0100 Subject: iOS keyboard input and rawKeyUp In-Reply-To: <622CF5F6-5ECD-4B04-BDB4-C71F103E88AC@laposte.net> References: <622CF5F6-5ECD-4B04-BDB4-C71F103E88AC@laposte.net> Message-ID: <28489516-69E9-4511-83FA-2CF867562CA2@laposte.net> Le 12 mars 2012 ? 09:58, Ludovic Th?bault a ?crit : > Hello, > > When we tape a text in a field with the iOS keyboard, the rawKeyUp doesn't catch anything. > How get the text typed to do a live filtering ? > > Thanks. > Forget, it's work ! From matthias_livecode_150811 at m-r-d.de Mon Mar 12 08:43:28 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 12 Mar 2012 13:43:28 +0100 Subject: Datagrids on differents cards are loosing with DatagridHelper created custom objects(iosPickWheel) Message-ID: <46B5818C-BF71-41C5-ACA4-676AAACC87F7@m-r-d.de> Hi, i have here a stack with 2 cards. On each card are several fields (added with mobGuid) and 1 datagid, which was customized with DataGridHelper. In the DataGrid on card 1 there are 2 columns with an iOSPickwheel. If i now add iOS Pickwheels to 2 columns of the DataGrid on card 2 then the custom objects in the DataGrid on card 1 are vanished. And if i add these controls to the DataGrid on card 1 then they dissapear in the DataGrid on card 2. The Datagrids were created seperate and were not duplicated. Am i missing something? Does anyone have a clue what might be wrong? I am totally lost at the moment. Regards, Matthias From lists at mangomultimedia.com Mon Mar 12 10:01:00 2012 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 12 Mar 2012 10:01:00 -0400 Subject: Sqlite and performances in LiveCode In-Reply-To: <690278B0-41D6-45B2-9829-24B5AF0F3893@mac.com> References: <7049BBBA-A811-45C2-AEFF-A112E7D0194B@mac.com> <690278B0-41D6-45B2-9829-24B5AF0F3893@mac.com> Message-ID: On Thu, Mar 8, 2012 at 2:47 PM, J?r?me Rosat wrote: > Trevor, yes I'm going to try. > > But I think it would be a good idea if you could change your stack in the > lesson "Displaying Large Amounts of Data" to demonstrate the performance of > LiveCode. > I've updated the stack to use the new technique. You can download it from the same url. I'm on a faster machine testing but here are the times I get: Opening movies cursor took 150 milliseconds ------- Drawing list took 81 milliseconds ------- -- Trevor DeVore Blue Mango Learning Systems www.clarify-it.com - www.screensteps.com From dixonja at hotmail.co.uk Mon Mar 12 11:38:07 2012 From: dixonja at hotmail.co.uk (John Dixon) Date: Mon, 12 Mar 2012 15:38:07 +0000 Subject: What is wrong with this ? Message-ID: Hi... On a mac this works without a problem... simple stack, one button and one field... on mouseUp put "https://gg.com/racing" into raceListURL put URL raceListURL into fld 1 end mouseUp It will not work for me under Win XP from boot camp... Can anyone tell me why ? Dixie From ken at kencorey.com Mon Mar 12 11:54:57 2012 From: ken at kencorey.com (Ken Corey) Date: Mon, 12 Mar 2012 15:54:57 +0000 Subject: What is wrong with this ? In-Reply-To: References: Message-ID: <4F5E1C51.1070907@kencorey.com> On 12/03/2012 15:38, John Dixon wrote: > on mouseUp > put"https://gg.com/racing" into raceListURL > put URL raceListURL into fld 1 > end mouseUp > > It will not work for me under Win XP from boot camp... Can anyone tell me why ? It's not a help, but as a negative data point it seems to work for me (LiveCode 5.5dp1, Windows 7 64 bit). -Ken From dixonja at hotmail.co.uk Mon Mar 12 11:58:31 2012 From: dixonja at hotmail.co.uk (John Dixon) Date: Mon, 12 Mar 2012 15:58:31 +0000 Subject: What is wrong with this ? In-Reply-To: <4F5E1C51.1070907@kencorey.com> References: , <4F5E1C51.1070907@kencorey.com> Message-ID: Oh Shit !... Thanks Ken...:-) > Date: Mon, 12 Mar 2012 15:54:57 +0000 > From: ken at kencorey.com > To: use-livecode at lists.runrev.com > Subject: Re: What is wrong with this ? > > On 12/03/2012 15:38, John Dixon wrote: > > on mouseUp > > put"https://gg.com/racing" into raceListURL > > put URL raceListURL into fld 1 > > end mouseUp > > > > It will not work for me under Win XP from boot camp... Can anyone tell me why ? > > It's not a help, but as a negative data point it seems to work for me > (LiveCode 5.5dp1, Windows 7 64 bit). > > -Ken > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From warren at warrensweb.us Mon Mar 12 12:24:41 2012 From: warren at warrensweb.us (Warren Samples) Date: Mon, 12 Mar 2012 11:24:41 -0500 Subject: What is wrong with this ? In-Reply-To: <4F5E1C51.1070907@kencorey.com> References: <4F5E1C51.1070907@kencorey.com> Message-ID: <4F5E2349.7040902@warrensweb.us> On 03/12/2012 10:54 AM, Ken Corey wrote: > On 12/03/2012 15:38, John Dixon wrote: >> on mouseUp >> put"https://gg.com/racing" into raceListURL >> put URL raceListURL into fld 1 >> end mouseUp >> >> It will not work for me under Win XP from boot camp... Can anyone tell >> me why ? > > It's not a help, but as a negative data point it seems to work for me > (LiveCode 5.5dp1, Windows 7 64 bit). > > -Ken Also works here in XP (running inside VirtualBox on a Linux machine), in both Livecode 4.6.4 and 5.0.2. Warren From dsc at swcp.com Mon Mar 12 13:03:35 2012 From: dsc at swcp.com (Dar Scott) Date: Mon, 12 Mar 2012 11:03:35 -0600 Subject: What is wrong with this ? In-Reply-To: References: Message-ID: <83B63000-71ED-4081-AA2E-05FCC503DC94@swcp.com> Check with a browser, first, and see if that works. If not, I'm guessing network settings on the Win XP. You can jot down the OS X TCP/IP settings and then set them up on XP. Otherwise, check and see if you can do this with some HTTP connection, not HTTPS, If this works with HTTP If this is from a standalone, make sure you copied the revsecurity.dll file with the exe. If not a standalone (this even fails at the IDE), If you are using an older version of LiveCode that does not use that file, then you need to set up OpenSSL on XP. Dar On Mar 12, 2012, at 9:38 AM, John Dixon wrote: > > Hi... > > On a mac this works without a problem... simple stack, one button and one field... > > on mouseUp > put "https://gg.com/racing" into raceListURL > put URL raceListURL into fld 1 > end mouseUp > > It will not work for me under Win XP from boot camp... Can anyone tell me why ? > > Dixie > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode --------------------------- Dar Scott dba Dar Scott Consulting 8637 Horacio Place NE Albuquerque, NM 87111 Lab, home, office phone: +1 505 299 9497 For Skype and fax, please contact. dsc at swcp.com Computer Programming and tinkering, often making LiveCode libraries and externals, sometimes writing associated microcontroller firmware. --------------------------- From pete at mollysrevenge.com Mon Mar 12 13:19:14 2012 From: pete at mollysrevenge.com (Pete) Date: Mon, 12 Mar 2012 10:19:14 -0700 Subject: Passing parameters by reference In-Reply-To: <1906AC9E-45F9-4B0D-9A32-9C1074A0595E@mail.com> References: <30597071-0C9B-4030-860D-35CE72BBCE2D@swcp.com> <1906AC9E-45F9-4B0D-9A32-9C1074A0595E@mail.com> Message-ID: Hi Dick, Thanks again for this tip. I ended up using it to solve my problem by passing the whole array variable along with an optional second parameter which is a list of comma-separated key values. The function turns the key values list into an array then uses it to access the data array. If the first parameter is a simple variable, then the second parameter isn't present and the function can access it directly.. I'm wondering how you found about about this key values array feature? I can't find any mention of it in the dictionary or the reference manual and it sure seems like something that should be known! Thanks, Pete On Sat, Mar 10, 2012 at 12:06 AM, Dick Kriesel wrote: > LC has a way to get and set a node at any level of an array, without code > that concatenates [ ] to specify the node. In an array reference a single > [ ] can enclose an array of keys, > -- Dick > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From dixonja at hotmail.co.uk Mon Mar 12 13:30:02 2012 From: dixonja at hotmail.co.uk (John Dixon) Date: Mon, 12 Mar 2012 17:30:02 +0000 Subject: What is wrong with this ? In-Reply-To: <83B63000-71ED-4081-AA2E-05FCC503DC94@swcp.com> References: , <83B63000-71ED-4081-AA2E-05FCC503DC94@swcp.com> Message-ID: Warren thanks for the reply... Dar... it works in a browser on XP with no problem. http URL's work in the script, just not with https... This is running from within the IDE and using liveCode 5.0.2 Dixie > Check with a browser, first, and see if that works. > > If not, I'm guessing network settings on the Win XP. You can jot down the OS X TCP/IP settings and then set them up on XP. > > Otherwise, check and see if you can do this with some HTTP connection, not HTTPS, > > If this works with HTTP If this is from a standalone, make sure you copied the revsecurity.dll file with the exe. > > If not a standalone (this even fails at the IDE), If you are using an older version of LiveCode that does not use that file, then you need to set up OpenSSL on XP. > > Dar > > On Mar 12, 2012, at 9:38 AM, John Dixon wrote: > > > > > Hi... > > > > On a mac this works without a problem... simple stack, one button and one field... > > > > on mouseUp > > put "https://gg.com/racing" into raceListURL > > put URL raceListURL into fld 1 > > end mouseUp > > > > It will not work for me under Win XP from boot camp... Can anyone tell me why ? > > > > Dixie > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > --------------------------- > Dar Scott > dba > Dar Scott Consulting > 8637 Horacio Place NE > Albuquerque, NM 87111 > > Lab, home, office phone: +1 505 299 9497 > For Skype and fax, please contact. > dsc at swcp.com > > Computer Programming and tinkering, > often making LiveCode libraries and > externals, sometimes writing associated > microcontroller firmware. > --------------------------- > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major.on-rev.com Mon Mar 12 13:34:00 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Mon, 12 Mar 2012 18:34:00 +0100 Subject: What is wrong with this ? In-Reply-To: References: , <83B63000-71ED-4081-AA2E-05FCC503DC94@swcp.com> Message-ID: Hi John, Am 12.03.2012 um 18:30 schrieb John Dixon: > > Warren thanks for the reply... > Dar... it works in a browser on XP with no problem. > http URL's work in the script, just not with https... > This is running from within the IDE and using liveCode 5.0.2 > > Dixie Try this: on mouseUp ## An unfortunately undocumented "feature": libUrlSetSSLVerification false put "https://gg.com/racing" into raceListURL put URL raceListURL into fld 1 end mouseUp Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From dixonja at hotmail.co.uk Mon Mar 12 13:38:10 2012 From: dixonja at hotmail.co.uk (John Dixon) Date: Mon, 12 Mar 2012 17:38:10 +0000 Subject: What is wrong with this ? In-Reply-To: References: , , <83B63000-71ED-4081-AA2E-05FCC503DC94@swcp.com>, , Message-ID: Klaus... 'Magic'... worked like a charm, I thank you...:-) It does however beg the question as to why this is undocumented ? Dixie > Subject: Re: What is wrong with this ? > From: klaus at major.on-rev.com > Date: Mon, 12 Mar 2012 18:34:00 +0100 > To: use-livecode at lists.runrev.com > > Hi John, > > Am 12.03.2012 um 18:30 schrieb John Dixon: > > > > > Warren thanks for the reply... > > Dar... it works in a browser on XP with no problem. > > http URL's work in the script, just not with https... > > This is running from within the IDE and using liveCode 5.0.2 > > > > Dixie > > Try this: > on mouseUp > > ## An unfortunately undocumented "feature": > libUrlSetSSLVerification false > > put "https://gg.com/racing" into raceListURL > put URL raceListURL into fld 1 > end mouseUp > > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major.on-rev.com Mon Mar 12 13:42:00 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Mon, 12 Mar 2012 18:42:00 +0100 Subject: What is wrong with this ? In-Reply-To: References: , , <83B63000-71ED-4081-AA2E-05FCC503DC94@swcp.com>, , Message-ID: <89D383A1-829B-4DA7-9C43-0760139A9D57@major.on-rev.com> Hi John, Am 12.03.2012 um 18:38 schrieb John Dixon: > Klaus... > 'Magic'... worked like a charm, I thank you...:-) Yep, this also saved my life a couple of times :-) > It does however beg the question as to why this is undocumented ? I do not have the slightest idea! > Dixie >> Try this: >> on mouseUp >> >> ## An unfortunately undocumented "feature": >> libUrlSetSSLVerification false >> >> put "https://gg.com/racing" into raceListURL >> put URL raceListURL into fld 1 >> end mouseUp Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From ken at kencorey.com Mon Mar 12 13:56:15 2012 From: ken at kencorey.com (Ken Corey) Date: Mon, 12 Mar 2012 17:56:15 +0000 Subject: What is wrong with this ? In-Reply-To: References: , <83B63000-71ED-4081-AA2E-05FCC503DC94@swcp.com> Message-ID: <4F5E38BF.9080504@kencorey.com> On 12/03/2012 17:34, Klaus on-rev wrote: > ## An unfortunately undocumented "feature": > libUrlSetSSLVerification false Uh...doesn't that turn off SSL certificate validation? As in: "we don't really know if we're talking to the people we think we are"? I once saw a beginner write a c program like this: #include main(){ /* int badcode; / broken comment for(int i=......blah) { blah(broken code; } */ } She wondered why it didn't do anything. When I told her to remove the "/* */" comment symbols, she replied "But then it doesn't compile." Turning off SSL Certificate Validation sounds an awful lot like "it doesn't compile". -Ken From mwieder at ahsoftware.net Mon Mar 12 14:12:50 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 12 Mar 2012 11:12:50 -0700 Subject: Passing parameters by reference In-Reply-To: References: <30597071-0C9B-4030-860D-35CE72BBCE2D@swcp.com> <1906AC9E-45F9-4B0D-9A32-9C1074A0595E@mail.com> Message-ID: <80166513187.20120312111250@ahsoftware.net> Pete- Monday, March 12, 2012, 10:19:14 AM, you wrote: > I'm wondering how you found about about this key values array feature? I > can't find any mention of it in the dictionary or the reference manual and > it sure seems like something that should be known! Dick is well known as the master of arrays. I've learned to just accept his advice without questioning. -- -Mark Wieder mwieder at ahsoftware.net From pete at mollysrevenge.com Mon Mar 12 14:41:10 2012 From: pete at mollysrevenge.com (Pete) Date: Mon, 12 Mar 2012 11:41:10 -0700 Subject: Passing parameters by reference In-Reply-To: <80166513187.20120312111250@ahsoftware.net> References: <30597071-0C9B-4030-860D-35CE72BBCE2D@swcp.com> <1906AC9E-45F9-4B0D-9A32-9C1074A0595E@mail.com> <80166513187.20120312111250@ahsoftware.net> Message-ID: I guess you might say Dick is array of sunshine in this dark world of LC we live in? Pete On Mon, Mar 12, 2012 at 11:12 AM, Mark Wieder wrote: > Pete- > > Monday, March 12, 2012, 10:19:14 AM, you wrote: > > > I'm wondering how you found about about this key values array feature? I > > can't find any mention of it in the dictionary or the reference manual > and > > it sure seems like something that should be known! > > Dick is well known as the master of arrays. I've learned to just > accept his advice without questioning. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From bobs at twft.com Mon Mar 12 14:52:37 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 12 Mar 2012 11:52:37 -0700 Subject: Apple iPad announcement evokes yawn In-Reply-To: <4F5BA06D.3060306@fourthworld.com> References: <4F5BA06D.3060306@fourthworld.com> Message-ID: <640AF841-E324-45B8-9C09-A79045E3F5E5@twft.com> Aren't we all lazy developers here? ;-) Bob On Mar 10, 2012, at 10:41 AM, Richard Gaskin wrote: > Andre Garzia wrote: >> I've heard that Google is dealing with that by shipping a new Android >> Emulator in the SDK. This new emulator will randomize the rect of the >> device upon every launch with values between 124 and 2048. >> >> =) > > That would actually be a very value feature, as it would reduce the number of lazy developers who live in a vacuum in which they assume the world has only the devices they personally test with. From warren at warrensweb.us Mon Mar 12 14:56:49 2012 From: warren at warrensweb.us (Warren Samples) Date: Mon, 12 Mar 2012 13:56:49 -0500 Subject: What is wrong with this ? In-Reply-To: References: , , <83B63000-71ED-4081-AA2E-05FCC503DC94@swcp.com>, , Message-ID: <4F5E46F1.4010206@warrensweb.us> On 03/12/2012 12:38 PM, John Dixon wrote: > It does however beg the question as to why this is undocumented ? And also the question 'why is there a problem there, but not here?' Warren From dick.kriesel at mail.com Mon Mar 12 16:18:47 2012 From: dick.kriesel at mail.com (Dick Kriesel) Date: Mon, 12 Mar 2012 13:18:47 -0700 Subject: Passing parameters by reference In-Reply-To: References: <30597071-0C9B-4030-860D-35CE72BBCE2D@swcp.com> <1906AC9E-45F9-4B0D-9A32-9C1074A0595E@mail.com> Message-ID: <65BFDC37-CEB0-49D6-963B-5A76AF130754@mail.com> On Mar 12, 2012, at 10:19 AM, Pete wrote: > I'm wondering how you found about about this key values array feature? I > can't find any mention of it in the dictionary or the reference manual and > it sure seems like something that should be known! I found it while looking through bug reports for arrays, in dated 2008-11-28. So, thanks be to Mark Waddingham and David Bovill for that. For convenience, here's Mark's reply to David: Thanks for the suggestion. This is on the list to include for the next version. In that version with: put tValue into tArray[tKey] (indeed anywhere you can currently do tArray[tKey]) The meaning of 'tKey' will be extended: 1) If it is a string then it is as it is now 2) If it is a numerically keyed array starting at 1, then it will mean: put tValue into tArray[tKey[1]][tKey[2]]...[tKey[n]] where is the number of elements in tKey 3) Otherwise it is an error. This will allow you to construct an array containing the path to the key you want to modify/fetch/delete dynamically. I agree, the feature's worth adding into the dictionary and manual. -- Dick From dick.kriesel at mail.com Mon Mar 12 16:24:45 2012 From: dick.kriesel at mail.com (Dick Kriesel) Date: Mon, 12 Mar 2012 13:24:45 -0700 Subject: Passing parameters by reference In-Reply-To: <80166513187.20120312111250@ahsoftware.net> References: <30597071-0C9B-4030-860D-35CE72BBCE2D@swcp.com> <1906AC9E-45F9-4B0D-9A32-9C1074A0595E@mail.com> <80166513187.20120312111250@ahsoftware.net> Message-ID: On Mar 12, 2012, at 11:12 AM, Mark Wieder wrote: > Dick is well known as the master of arrays. I've learned to just > accept his advice without questioning. I didn't know that! But, I make so many misteaks that I have to recomend that you resume questoining. -- Dick From jhurley0305 at sbcglobal.net Mon Mar 12 16:36:54 2012 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Mon, 12 Mar 2012 13:36:54 -0700 Subject: Exporting a snapshot directly to Preview In-Reply-To: References: Message-ID: <809FFAE8-80CD-49E8-9F52-6ACA9C3A3D48@sbcglobal.net> Is it possible to export a snapshot so that it opens directly in Preview? (Where it might be printed.) What would be the comparable image viewer in Windows? (Where it might be printed.) Thanks, Jim Hurley From rjb at robelko.com Mon Mar 12 16:45:18 2012 From: rjb at robelko.com (Robert Brenstein) Date: Mon, 12 Mar 2012 21:45:18 +0100 Subject: HELP! - Linefeeds and Mac Vs Windows In-Reply-To: References: <9F68576E-8673-4131-85DD-7A1B631B9FC7@lacscentre.co.uk> Message-ID: On 11.03.2012 at 20:09 Uhr -0700 RevList apparently wrote: > >Thanks for the suggestions. In fact, I use Notepad Plus and it was >opening the original one saved by using file: and it looked fine. >Perl just didn't like it. >I switched now to binfile: to save the file and NotePad still sucks, >but at least my perl script is now working. >Thanks again for the support this group offers in such a timely manner. Mac files normally have cr not lf as linend, hence NotePad does not see them. Simply saving as binfile probably creates file with lf only. You can use BBEdit or TextWrangler to change these before resaving the file. Setting crlf in Rev is possible but a tad tricky. That was discussed in the past on the list, so archive search should bring that back. Robert From coiin at verizon.net Mon Mar 12 16:56:48 2012 From: coiin at verizon.net (Colin Holgate) Date: Mon, 12 Mar 2012 16:56:48 -0400 Subject: Exporting a snapshot directly to Preview In-Reply-To: <809FFAE8-80CD-49E8-9F52-6ACA9C3A3D48@sbcglobal.net> References: <809FFAE8-80CD-49E8-9F52-6ACA9C3A3D48@sbcglobal.net> Message-ID: <7BBCC1E0-6778-4F3B-94DC-28B255DC4568@verizon.net> This seems to work: export snapshot from rect the rect of this stack to file "testimage.jpg" as JPEG launch document "testimage.jpg" From scott at tactilemedia.com Mon Mar 12 18:00:43 2012 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 12 Mar 2012 14:00:43 -0800 Subject: Exporting a snapshot directly to Preview In-Reply-To: <809FFAE8-80CD-49E8-9F52-6ACA9C3A3D48@sbcglobal.net> Message-ID: Hi Jim: Here's an example for OS X: on mouseUp put specialFolderPath("desktop") & "/exported.png" into theFilePath export snapshot from img 1 to file theFilePath as PNG launch theFilePath with "/Applications/Preview.app" end mouseUp You can choose whatever image format you need, and you should probably make the script more robust by checking for the existence/path of the Preview app, confirm overwriting of the exported file, etc. For Windows, you might be able to use MS Paint but I haven't tested this. Hope this helps. Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Jim Hurley wrote: > Is it possible to export a snapshot so that it opens directly in Preview? > (Where it might be printed.) > > What would be the comparable image viewer in Windows? (Where it might be > printed.) > > Thanks, > > Jim Hurley > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rjearp at hotmail.com Mon Mar 12 17:29:34 2012 From: rjearp at hotmail.com (Bob Earp) Date: Mon, 12 Mar 2012 14:29:34 -0700 Subject: Slightly OT - LC in Keynote ? Message-ID: I have a requirement to add a very simple LC project (with it's interaction/functionality) into a Keynote presentation, similar to how you can add a Flash movie into PowerPoint. Has anybody done this or know how to ? Thanks, Bob... Bob Earp White Rock, British Columbia. From zryip.theslug at gmail.com Mon Mar 12 17:34:27 2012 From: zryip.theslug at gmail.com (zryip theSlug) Date: Mon, 12 Mar 2012 22:34:27 +0100 Subject: Datagrids on differents cards are loosing with DatagridHelper created custom objects(iosPickWheel) In-Reply-To: <46B5818C-BF71-41C5-ACA4-676AAACC87F7@m-r-d.de> References: <46B5818C-BF71-41C5-ACA4-676AAACC87F7@m-r-d.de> Message-ID: Hi Matthias, Basically, if the datagrids have different templates and the changes have been saved by using the "Apply" button, I do not see any reason for you to have this behavior. For more investigations, I replied to you off-list with some questions. On Mon, Mar 12, 2012 at 1:43 PM, Matthias Rebbe wrote: > Hi, > > i have here a stack with 2 cards. On each card are several fields (added with mobGuid) and 1 datagid, which was customized with DataGridHelper. > In the DataGrid on card 1 there are 2 columns with an iOSPickwheel. If i now add ?iOS Pickwheels to 2 columns of the DataGrid on card 2 then the custom objects > in the DataGrid on card 1 are vanished. And if i add these controls to the DataGrid on card 1 then they dissapear in the DataGrid on card 2. > The Datagrids were created seperate and were not duplicated. > > Am i missing something? ?Does anyone have a clue what might be wrong? I am totally lost at the moment. > > Regards, > > Matthias Best Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.com From bobs at twft.com Mon Mar 12 17:46:16 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 12 Mar 2012 14:46:16 -0700 Subject: What is wrong with this ? In-Reply-To: References: , , <83B63000-71ED-4081-AA2E-05FCC503DC94@swcp.com>, , Message-ID: <0962DAF6-4792-44A9-98E8-A9C636BEE6CF@twft.com> I don't think it's intentional, just fell through the cracks is my guess. Bob On Mar 12, 2012, at 10:38 AM, John Dixon wrote: > > Klaus... > > 'Magic'... worked like a charm, I thank you...:-) > It does however beg the question as to why this is undocumented ? > > Dixie > >> Subject: Re: What is wrong with this ? >> From: klaus at major.on-rev.com >> Date: Mon, 12 Mar 2012 18:34:00 +0100 >> To: use-livecode at lists.runrev.com >> >> Hi John, >> >> Am 12.03.2012 um 18:30 schrieb John Dixon: >> >>> >>> Warren thanks for the reply... >>> Dar... it works in a browser on XP with no problem. >>> http URL's work in the script, just not with https... >>> This is running from within the IDE and using liveCode 5.0.2 >>> >>> Dixie >> >> Try this: >> on mouseUp >> >> ## An unfortunately undocumented "feature": >> libUrlSetSSLVerification false >> >> put "https://gg.com/racing" into raceListURL >> put URL raceListURL into fld 1 >> end mouseUp >> >> >> Best >> >> Klaus >> >> -- >> Klaus Major >> http://www.major-k.de >> klaus at major.on-rev.com >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dick.kriesel at mail.com Mon Mar 12 17:53:57 2012 From: dick.kriesel at mail.com (Dick Kriesel) Date: Mon, 12 Mar 2012 14:53:57 -0700 Subject: Passing parameters by reference In-Reply-To: References: <30597071-0C9B-4030-860D-35CE72BBCE2D@swcp.com> <1906AC9E-45F9-4B0D-9A32-9C1074A0595E@mail.com> <80166513187.20120312111250@ahsoftware.net> Message-ID: On Mar 12, 2012, at 11:41 AM, Pete wrote: > I guess you might say Dick is array of sunshine in this dark world of LC we > live in? Oh, for Pete's sake! From pete at mollysrevenge.com Mon Mar 12 17:53:47 2012 From: pete at mollysrevenge.com (Pete) Date: Mon, 12 Mar 2012 14:53:47 -0700 Subject: Externals Message-ID: The Reference Manual includes a link to get the externals developer kit and also a couple of links to tutorials for writing externals. None of them work (error 404's). Can someone point me to where I can get the kit and review the tutorials? Thanks, -- Pete Molly's Revenge From bobs at twft.com Mon Mar 12 17:57:04 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 12 Mar 2012 14:57:04 -0700 Subject: What is wrong with this ? In-Reply-To: <4F5E38BF.9080504@kencorey.com> References: , <83B63000-71ED-4081-AA2E-05FCC503DC94@swcp.com> <4F5E38BF.9080504@kencorey.com> Message-ID: <471F90CD-6227-4790-B4B2-7CE2069E507D@twft.com> Reminds me of a recent situation I had with with network equipment. We couldn't get the new Mesh Wireless to work properly on our very large network. People were blaming the network, and suggesting we needed to isolate everything with routers and whatnot. I told them that is a lot like the farmer who bought a heifer, but when the time came to deliver he got a sow. Amazingly, the farmer did not demand the delivery of the heifer he paid for, but instead built a new pen for the sow! If there is something wrong, it may work to pen the problem in, but it isn't fixing the problem. Oh, btw for those who care, the problem with the mesh turned out to be really small arp caches. The arp entry for the gateway would get dropped after the cache filled up, so each mesh wireless would think it lost the connection to the internet, and began using another mesh to get there. Bob On Mar 12, 2012, at 10:56 AM, Ken Corey wrote: > On 12/03/2012 17:34, Klaus on-rev wrote: >> ## An unfortunately undocumented "feature": >> libUrlSetSSLVerification false > > Uh...doesn't that turn off SSL certificate validation? As in: "we don't really know if we're talking to the people we think we are"? > > I once saw a beginner write a c program like this: > > #include > main(){ > /* > int badcode; / broken comment > for(int i=......blah) { > blah(broken code; > } > */ > } > > She wondered why it didn't do anything. When I told her to remove the "/* */" comment symbols, she replied "But then it doesn't compile." > > Turning off SSL Certificate Validation sounds an awful lot like "it doesn't compile". > > -Ken > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Mar 12 18:04:36 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 12 Mar 2012 15:04:36 -0700 Subject: Passing parameters by reference In-Reply-To: References: <30597071-0C9B-4030-860D-35CE72BBCE2D@swcp.com> <1906AC9E-45F9-4B0D-9A32-9C1074A0595E@mail.com> Message-ID: <28FD8F80-7C0A-4804-A93F-57D87B7FD38D@twft.com> Just weighing in here, that would be a bit confusing. Passing by reference means that the command or function has access to the variable passed to it. By passing what amounts to a statement, there is nothing for LC to manipulate on the other end. Statements have to have some place to put the results. In this case, there is no place for LC to put the statement when passed by reference. Even a reference to an element of an array is a statement of sorts. That the command is in essence the characters for key delimiters [] doesn't change that. The array that is an element in a multidimensional array is not itself a container. The array is the container. To work with it you have to put it into it's own container then pass the new array by reference. I hope that makes sense. At least it does to me. :-) Bob On Mar 10, 2012, at 11:53 AM, Dar Scott wrote: > Thanks for the tip, Dick, on using the list of keys. One can think of arrays as nested or multidimensional. > > On Mar 10, 2012, at 1:06 AM, Dick Kriesel wrote: >> I agree it'd be good if LC could accept any array reference for invoking a handler that specifies pass-by-reference. > > Though is is probably more work, one might also consider chunks in pass-by-reference. > > Maybe any thing the subtract command can take. > > However, this might be a problem: > > doSomethingToTheseTwo char 1 to 2 of it, char 2 to 3 of it > > command doSomethingToTheseTwo @a, @b > put "butter" into a > put "cheese" into b > put empty into a > end doSomethingToTheseTwo > > That might also have a problem with this call: > > doSomethingToTheseTwo x, x["t"] > > I immagine LiveCode folks can come up with a semantics that makes sense for weird cases. > > The subtract command does not have the the problem because it modifies only one thing. > > Dar > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From francois.chaplais at mines-paristech.fr Mon Mar 12 18:05:09 2012 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Mon, 12 Mar 2012 23:05:09 +0100 Subject: Externals In-Reply-To: References: Message-ID: <4C354DAC-16EC-43EE-9939-CC80C74CBA02@mines-paristech.fr> try http://www.runrev.com/newsletter/november/issue13/newsletter5.php and http://www.runrev.com/newsletter/november/issue14/newsletter3.php Best regards, Fran?ois Le 12 mars 2012 ? 22:53, Pete a ?crit : > The Reference Manual includes a link to get the externals developer kit and > also a couple of links to tutorials for writing externals. None of them > work (error 404's). > > Can someone point me to where I can get the kit and review the tutorials? > > Thanks, > > > -- > Pete > Molly's Revenge > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Mar 12 18:11:18 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 12 Mar 2012 15:11:18 -0700 Subject: Slightly OT - LC in Keynote ? In-Reply-To: References: Message-ID: <6350DA22-3882-443B-9132-E865F95CCE3B@twft.com> I have not heard that you can imbed an LC app into a PowerPoint presentation. Can you embed other apps in a PowerPoint presentation? LC is not a player, it's a runtime app. I suspect that if PowerPoint accepts file links, you could create a link that launched the LC app as a standalone, but then it would not be embedded per se. Bob On Mar 12, 2012, at 2:29 PM, Bob Earp wrote: > I have a requirement to add a very simple LC project (with it's interaction/functionality) into a Keynote presentation, similar to how you can add a Flash movie into PowerPoint. Has anybody done this or know how to ? > > Thanks, Bob... > > > Bob Earp > White Rock, British Columbia. > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From kee at kagi.com Mon Mar 12 19:35:52 2012 From: kee at kagi.com (Kee Nethery) Date: Mon, 12 Mar 2012 16:35:52 -0700 Subject: Slightly OC - LC in Keynote ? In-Reply-To: References: Message-ID: <272DC3A7-63D2-490D-968F-9607D5319562@kagi.com> I believe QuitTime has the ability to record your screen into a video and if you do the LiveCode app demo and record it you could have that video in KeyNote. Plus, you could ship it to other folks and they could see it also. Kee Nethery On Mar 12, 2012, at 2:29 PM, Bob Earp wrote: > I have a requirement to add a very simple LC project (with it's interaction/functionality) into a Keynote presentation, similar to how you can add a Flash movie into PowerPoint. Has anybody done this or know how to ? > > Thanks, Bob... > > > Bob Earp > White Rock, British Columbia. From pete at mollysrevenge.com Mon Mar 12 20:17:40 2012 From: pete at mollysrevenge.com (Pete) Date: Mon, 12 Mar 2012 17:17:40 -0700 Subject: Sqlite and performances in LiveCode In-Reply-To: References: <7049BBBA-A811-45C2-AEFF-A112E7D0194B@mac.com> <690278B0-41D6-45B2-9829-24B5AF0F3893@mac.com> Message-ID: Hi Trevor, Thanks for making that change. I've been following up a bit more on the behavior of GetDataForLine being called in repeated cycles for the number of lines in the datagrid. As a reminder, the datagrid has 11 visible lines, GetDataForLine gets called once for lines 1-12, then a second time for lines 1-2 again, and occasionally a third time for lines 1-2. I think I know the reason this is happening. The first GetDataForLine cycle happens when I set the dgProps["Columns"] property of the datagrid. The second cycle happens when I set the dgNumberOfRecords property. There's a possible third cycle because sometimes I set the dgProps["Sort By Column"] property. I have tried setting the dgNumberOfRecords to empty, zero, or NULL before any of the above properties are changed but it doesn't seem to make any difference. Hoping you may have a recommendation as to how to avoid these multiple cycles! Thanks, Pete On Mon, Mar 12, 2012 at 7:01 AM, Trevor DeVore wrote: > On Thu, Mar 8, 2012 at 2:47 PM, J?r?me Rosat wrote: > > > Trevor, yes I'm going to try. > > > > But I think it would be a good idea if you could change your stack in the > > lesson "Displaying Large Amounts of Data" to demonstrate the performance > of > > LiveCode. > > > > I've updated the stack to use the new technique. You can download it from > the same url. I'm on a faster machine testing but here are the times I get: > > Opening movies cursor took 150 milliseconds > > ------- > > Drawing list took 81 milliseconds > > ------- > > > -- > Trevor DeVore > Blue Mango Learning Systems > www.clarify-it.com - www.screensteps.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From pete at mollysrevenge.com Mon Mar 12 20:18:37 2012 From: pete at mollysrevenge.com (Pete) Date: Mon, 12 Mar 2012 17:18:37 -0700 Subject: Sqlite and performances in LiveCode In-Reply-To: References: <7049BBBA-A811-45C2-AEFF-A112E7D0194B@mac.com> <690278B0-41D6-45B2-9829-24B5AF0F3893@mac.com> Message-ID: Correction of type! Both instances of 1-2 should read 1-12, sorry. Pete On Mon, Mar 12, 2012 at 5:17 PM, Pete wrote: > GetDataForLine gets called once for lines 1-12, then a second time for > lines 1-2 again, and occasionally a third time for lines 1-2. -- Pete Molly's Revenge From pete at mollysrevenge.com Mon Mar 12 20:39:16 2012 From: pete at mollysrevenge.com (Pete) Date: Mon, 12 Mar 2012 17:39:16 -0700 Subject: Passing parameters by reference In-Reply-To: <28FD8F80-7C0A-4804-A93F-57D87B7FD38D@twft.com> References: <30597071-0C9B-4030-860D-35CE72BBCE2D@swcp.com> <1906AC9E-45F9-4B0D-9A32-9C1074A0595E@mail.com> <28FD8F80-7C0A-4804-A93F-57D87B7FD38D@twft.com> Message-ID: I'm not sure whose post you're responding to Bob. Where do you see something that amounts to a statement being passed as a referenced parameter? Pete On Mon, Mar 12, 2012 at 3:04 PM, Bob Sneidar wrote: > Just weighing in here, that would be a bit confusing. Passing by reference > means that the command or function has access to the variable passed to it. > By passing what amounts to a statement, there is nothing for LC to > manipulate on the other end. Statements have to have some place to put the > results. In this case, there is no place for LC to put the statement when > passed by reference. > > Even a reference to an element of an array is a statement of sorts. That > the command is in essence the characters for key delimiters [] doesn't > change that. The array that is an element in a multidimensional array is > not itself a container. The array is the container. To work with it you > have to put it into it's own container then pass the new array by reference. > > I hope that makes sense. At least it does to me. :-) > > Bob > > > On Mar 10, 2012, at 11:53 AM, Dar Scott wrote: > > > Thanks for the tip, Dick, on using the list of keys. One can think of > arrays as nested or multidimensional. > > > > On Mar 10, 2012, at 1:06 AM, Dick Kriesel wrote: > >> I agree it'd be good if LC could accept any array reference for > invoking a handler that specifies pass-by-reference. > > > > Though is is probably more work, one might also consider chunks in > pass-by-reference. > > > > Maybe any thing the subtract command can take. > > > > However, this might be a problem: > > > > doSomethingToTheseTwo char 1 to 2 of it, char 2 to 3 of it > > > > command doSomethingToTheseTwo @a, @b > > put "butter" into a > > put "cheese" into b > > put empty into a > > end doSomethingToTheseTwo > > > > That might also have a problem with this call: > > > > doSomethingToTheseTwo x, x["t"] > > > > I immagine LiveCode folks can come up with a semantics that makes sense > for weird cases. > > > > The subtract command does not have the the problem because it modifies > only one thing. > > > > Dar > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From rjearp at hotmail.com Mon Mar 12 23:59:37 2012 From: rjearp at hotmail.com (Bob Earp) Date: Mon, 12 Mar 2012 20:59:37 -0700 Subject: Slightly OT - LC in Keynote Message-ID: Sorry if I confused you Bob, I wasn't suggesting you could run an LC (stand-alone) project in PowerPoint, but you can run a .swf file which can include interaction. As you say, I could create a link in Keynote to the stand-alone LC project, but was hoping somebody had done something whizzy with an ActionScript or something that had it more integrated. Kee, I need the interaction in the LC project, so unfortunately a QT movie won't do that, but it was a good idea, thanks... best, Bob... Bob Sneidar wrote: > I have not heard that you can imbed an LC app into a PowerPoint presentation. Can you embed other apps in a PowerPoint presentation? LC is not a player, it's a runtime app. I suspect that if PowerPoint accepts file links, you could create a link that launched the LC app as a standalone, but then it would not be embedded per se. > > Bob Bob Earp White Rock, British Columbia. From mwieder at ahsoftware.net Tue Mar 13 01:18:33 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 12 Mar 2012 22:18:33 -0700 Subject: Passing parameters by reference In-Reply-To: References: <30597071-0C9B-4030-860D-35CE72BBCE2D@swcp.com> <1906AC9E-45F9-4B0D-9A32-9C1074A0595E@mail.com> <28FD8F80-7C0A-4804-A93F-57D87B7FD38D@twft.com> Message-ID: <114206456140.20120312221833@ahsoftware.net> Pete- Monday, March 12, 2012, 5:39:16 PM, you wrote: > I'm not sure whose post you're responding to Bob. Where do you see > something that amounts to a statement being passed as a referenced > parameter? Here's the problem: a parameter of the form array["key"] is not a pointer to the "key" element of the array but rather the value stored in the array. So saying myArray[myKey] = "hello" doSomethingWith myArray[myKey] gives a parameter of "hello" to on doSomethingWith @arg You'd have to somehow prevent the dereferencing of myArray[myKey] in order to pass it by reference. -- -Mark Wieder mwieder at ahsoftware.net From dsc at swcp.com Tue Mar 13 02:43:07 2012 From: dsc at swcp.com (Dar Scott) Date: Tue, 13 Mar 2012 00:43:07 -0600 Subject: Passing parameters by reference In-Reply-To: <114206456140.20120312221833@ahsoftware.net> References: <30597071-0C9B-4030-860D-35CE72BBCE2D@swcp.com> <1906AC9E-45F9-4B0D-9A32-9C1074A0595E@mail.com> <28FD8F80-7C0A-4804-A93F-57D87B7FD38D@twft.com> <114206456140.20120312221833@ahsoftware.net> Message-ID: <6C5DF7CF-B5A7-410C-AF60-9CB009EE9562@swcp.com> On Mar 12, 2012, at 11:18 PM, Mark Wieder wrote: > You'd have to somehow prevent the dereferencing of myArray[myKey] in > order to pass it by reference. Just as the dereferencing of x would have be be prevented to pass it as reference. Perhaps any mutable place is the same. Dar From cford at mailbox.sc.edu Tue Mar 13 08:42:34 2012 From: cford at mailbox.sc.edu (Curt Ford) Date: Tue, 13 Mar 2012 08:42:34 -0400 Subject: options for safe transfer of data to a server - ? Message-ID: <5084CA5B-2D5A-4E7C-A921-50EC611F3FFD@mailbox.sc.edu> My client wants to have a routine that records when a user first installs the project, by incrementing an item in a text file on his server. We've got it working well with ftp but I'm wondering if whether sending the ftp login & password over regular ftp is a security issue; some digging in the archives makes me think that sftp isn't an option yet. Would https:// be an option to write to a file on the server? Would that require that they have an SSL certificate? Any ideas on a good way to handle this? Curt From bonnmike at gmail.com Tue Mar 13 10:21:33 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 13 Mar 2012 08:21:33 -0600 Subject: Slightly OT - LC in Keynote In-Reply-To: References: Message-ID: Don't know how it would be accomplished, but apparently "send to program" lets you do some interesting things, and since its based on appletalk/applescript type of events, it might be possible to talk to a separate running stack that way? Obviously neither powerpoint nor keynote have the same verbiage, so they can't "send to program" but they can "tell application...." through scripting so it might be worth a shot. Wish I still had a mac so I could try all these neat things. On Mon, Mar 12, 2012 at 9:59 PM, Bob Earp wrote: > Sorry if I confused you Bob, I wasn't suggesting you could run an LC > (stand-alone) project in PowerPoint, but you can run a .swf file which can > include interaction. > > As you say, I could create a link in Keynote to the stand-alone LC > project, but was hoping somebody had done something whizzy with an > ActionScript or something that had it more integrated. > > Kee, I need the interaction in the LC project, so unfortunately a QT movie > won't do that, but it was a good idea, thanks... > > best, Bob... > > Bob Sneidar wrote: > > I have not heard that you can imbed an LC app into a PowerPoint > presentation. Can you embed other apps in a PowerPoint presentation? LC is > not a player, it's a runtime app. I suspect that if PowerPoint accepts file > links, you could create a link that launched the LC app as a standalone, > but then it would not be embedded per se. > > > > Bob > > Bob Earp > White Rock, British Columbia. > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobs at twft.com Tue Mar 13 11:37:28 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 13 Mar 2012 08:37:28 -0700 Subject: Passing parameters by reference In-Reply-To: References: <30597071-0C9B-4030-860D-35CE72BBCE2D@swcp.com> <1906AC9E-45F9-4B0D-9A32-9C1074A0595E@mail.com> <28FD8F80-7C0A-4804-A93F-57D87B7FD38D@twft.com> Message-ID: <7485C360-EC4C-49A6-BA72-C35A22A9B758@twft.com> That is what passing an element to an array amounts to was my point. Bob On Mar 12, 2012, at 5:39 PM, Pete wrote: > I'm not sure whose post you're responding to Bob. Where do you see > something that amounts to a statement being passed as a referenced > parameter? > Pete > > On Mon, Mar 12, 2012 at 3:04 PM, Bob Sneidar wrote: > >> Just weighing in here, that would be a bit confusing. Passing by reference >> means that the command or function has access to the variable passed to it. >> By passing what amounts to a statement, there is nothing for LC to >> manipulate on the other end. Statements have to have some place to put the >> results. In this case, there is no place for LC to put the statement when >> passed by reference. >> >> Even a reference to an element of an array is a statement of sorts. That >> the command is in essence the characters for key delimiters [] doesn't >> change that. The array that is an element in a multidimensional array is >> not itself a container. The array is the container. To work with it you >> have to put it into it's own container then pass the new array by reference. >> >> I hope that makes sense. At least it does to me. :-) >> >> Bob >> >> >> On Mar 10, 2012, at 11:53 AM, Dar Scott wrote: >> >>> Thanks for the tip, Dick, on using the list of keys. One can think of >> arrays as nested or multidimensional. >>> >>> On Mar 10, 2012, at 1:06 AM, Dick Kriesel wrote: >>>> I agree it'd be good if LC could accept any array reference for >> invoking a handler that specifies pass-by-reference. >>> >>> Though is is probably more work, one might also consider chunks in >> pass-by-reference. >>> >>> Maybe any thing the subtract command can take. >>> >>> However, this might be a problem: >>> >>> doSomethingToTheseTwo char 1 to 2 of it, char 2 to 3 of it >>> >>> command doSomethingToTheseTwo @a, @b >>> put "butter" into a >>> put "cheese" into b >>> put empty into a >>> end doSomethingToTheseTwo >>> >>> That might also have a problem with this call: >>> >>> doSomethingToTheseTwo x, x["t"] >>> >>> I immagine LiveCode folks can come up with a semantics that makes sense >> for weird cases. >>> >>> The subtract command does not have the the problem because it modifies >> only one thing. >>> >>> Dar >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > > -- > Pete > Molly's Revenge > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Tue Mar 13 11:40:00 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 13 Mar 2012 08:40:00 -0700 Subject: Slightly OT - LC in Keynote In-Reply-To: References: Message-ID: <76C2D6FE-0EA7-48DD-A827-88C4AFA8452C@twft.com> Oh that is an interesting thought. But still, if the presentation is very complex just the writing of a stack that would respond to the Applescript commands would be a lot of work. Bob On Mar 13, 2012, at 7:21 AM, Mike Bonner wrote: > Don't know how it would be accomplished, but apparently "send to program" > lets you do some interesting things, and since its based on > appletalk/applescript type of events, it might be possible to talk to a > separate running stack that way? From bvlahos at mac.com Tue Mar 13 12:29:15 2012 From: bvlahos at mac.com (Bill Vlahos) Date: Tue, 13 Mar 2012 09:29:15 -0700 Subject: How do I execute a shell command? Message-ID: The docs say to execute a shell command you can do: shell("ls -l *.txt") However, this fails for me with: Message execution error: Error description: Handler: can't find handler Hint: shell("ls How do I run a shell command from inside LiveCode on a Mac? The full solution I want to do is to run the "id" command as administrator so I could run "sudo id" but I want to prompt for a successful authentication. I know how to do this in AppleScript so I could just call that but I would rather to it in LC. Bill Vlahos From th.douez at gmail.com Tue Mar 13 12:35:17 2012 From: th.douez at gmail.com (Thierry Douez) Date: Tue, 13 Mar 2012 17:35:17 +0100 Subject: How do I execute a shell command? In-Reply-To: References: Message-ID: 2012/3/13 Bill Vlahos > The docs say to execute a shell command you can do: > shell("ls -l *.txt") > > However, this fails for me with: > Message execution error: > Error description: Handler: can't find handler > Hint: shell("ls > > How do I run a shell command from inside LiveCode on a Mac? > > Umm, could it be that you missed catching the shell() result? i.e: put shell(...) into x HTH, Thierry From warren at warrensweb.us Tue Mar 13 12:35:36 2012 From: warren at warrensweb.us (Warren Samples) Date: Tue, 13 Mar 2012 11:35:36 -0500 Subject: How do I execute a shell command? In-Reply-To: References: Message-ID: <4F5F7758.9010502@warrensweb.us> On 03/13/2012 11:29 AM, Bill Vlahos wrote: > The docs say to execute a shell command you can do: > shell("ls -l *.txt") > > However, this fails for me with: > Message execution error: > Error description: Handler: can't find handler > Hint: shell("ls > > How do I run a shell command from inside LiveCode on a Mac? > > The full solution I want to do is to run the "id" command as administrator so I could run "sudo id" but I want to prompt for a successful authentication. > > I know how to do this in AppleScript so I could just call that but I would rather to it in LC. > > Bill Vlahos > shell() is a function not a command. From the looks of it, you seem to have left off the 'get' or 'put' command to execute the function. Warren From bvlahos at mac.com Tue Mar 13 13:12:30 2012 From: bvlahos at mac.com (Bill Vlahos) Date: Tue, 13 Mar 2012 10:12:30 -0700 Subject: How do I execute a shell command? In-Reply-To: References: Message-ID: <19CC38D1-DEDA-4336-9284-08F5703DCA2A@mac.com> Theiry and Warren, Thank you. That is what I was missing. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Mar 13, 2012, at 9:35 AM, Thierry Douez wrote: > 2012/3/13 Bill Vlahos > >> The docs say to execute a shell command you can do: >> shell("ls -l *.txt") >> >> However, this fails for me with: >> Message execution error: >> Error description: Handler: can't find handler >> Hint: shell("ls >> >> How do I run a shell command from inside LiveCode on a Mac? >> >> > Umm, could it be that you missed catching the shell() result? > > i.e: put shell(...) into x > > HTH, > > Thierry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jhurley0305 at sbcglobal.net Tue Mar 13 13:21:11 2012 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Tue, 13 Mar 2012 10:21:11 -0700 Subject: Scott In-Reply-To: References: Message-ID: Thanks Scott and Colin, LiveCode and this list make it sooo easy. It is almost embarrassing. Does anyone know what program, if there is ONE, that opens when you double click on a jpg or png image in Windows? What happens when you click on an image.jpg? Does Windows present options? Jim > > Message: 17 > Date: Mon, 12 Mar 2012 14:00:43 -0800 > From: Scott Rossi > To: LiveCode Mail List > Subject: Re: Exporting a snapshot directly to Preview > Message-ID: > Content-Type: text/plain; charset="US-ASCII" > > Hi Jim: > > Here's an example for OS X: > > on mouseUp > put specialFolderPath("desktop") & "/exported.png" into theFilePath > export snapshot from img 1 to file theFilePath as PNG > launch theFilePath with "/Applications/Preview.app" > end mouseUp > > You can choose whatever image format you need, and you should probably make > the script more robust by checking for the existence/path of the Preview > app, confirm overwriting of the exported file, etc. > > For Windows, you might be able to use MS Paint but I haven't tested this. > > Hope this helps. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > From jhurley0305 at sbcglobal.net Tue Mar 13 13:24:19 2012 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Tue, 13 Mar 2012 10:24:19 -0700 Subject: Exporting a snapshot directly to Preview In-Reply-To: References: Message-ID: (Forgot the Subject line.) Thanks Scott and Colin, LiveCode and this list make it sooo easy. It is almost embarrassing. Does anyone know what program, if there is ONE, that opens when you double click on a jpg or png image in Windows? What happens when you click on an image.jpg? Does Windows present options? Jim > > Message: 17 > Date: Mon, 12 Mar 2012 14:00:43 -0800 > From: Scott Rossi > To: LiveCode Mail List > Subject: Re: Exporting a snapshot directly to Preview > Message-ID: > Content-Type: text/plain; charset="US-ASCII" > > Hi Jim: > > Here's an example for OS X: > > on mouseUp > put specialFolderPath("desktop") & "/exported.png" into theFilePath > export snapshot from img 1 to file theFilePath as PNG > launch theFilePath with "/Applications/Preview.app" > end mouseUp > > You can choose whatever image format you need, and you should probably make > the script more robust by checking for the existence/path of the Preview > app, confirm overwriting of the exported file, etc. > > For Windows, you might be able to use MS Paint but I haven't tested this. > > Hope this helps. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > From pete at mollysrevenge.com Tue Mar 13 13:30:35 2012 From: pete at mollysrevenge.com (Pete) Date: Tue, 13 Mar 2012 10:30:35 -0700 Subject: Externals In-Reply-To: <4C354DAC-16EC-43EE-9939-CC80C74CBA02@mines-paristech.fr> References: <4C354DAC-16EC-43EE-9939-CC80C74CBA02@mines-paristech.fr> Message-ID: Thank you Francois. Pete 2012/3/12 Fran?ois Chaplais > try > http://www.runrev.com/newsletter/november/issue13/newsletter5.php > and > http://www.runrev.com/newsletter/november/issue14/newsletter3.php > Best regards, > Fran?ois > Le 12 mars 2012 ? 22:53, Pete a ?crit : > > > The Reference Manual includes a link to get the externals developer kit > and > > also a couple of links to tutorials for writing externals. None of them > > work (error 404's). > > > > Can someone point me to where I can get the kit and review the tutorials? > > > > Thanks, > > > > > > -- > > Pete > > Molly's Revenge > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From stephenREVOLUTION2 at barncard.com Tue Mar 13 13:43:54 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 13 Mar 2012 10:43:54 -0700 Subject: options for safe transfer of data to a server - ? In-Reply-To: <5084CA5B-2D5A-4E7C-A921-50EC611F3FFD@mailbox.sc.edu> References: <5084CA5B-2D5A-4E7C-A921-50EC611F3FFD@mailbox.sc.edu> Message-ID: simple ftp has no security for world accessible web sites. I just had all my sites compromised by Pakistani hackers, and will be spending much of the next two days cleaning up. I have since repented and am using SFTP with Dreamhost. But that doesn't help those that want to use Livecode FTP. There are external solutions that are used by Andre and Trevor, but are a bit more complicated and I haven't tried them. One of those many feature requests pending. On 13 March 2012 05:42, Curt Ford wrote: > My client wants to have a routine that records when a user first installs > the project, by incrementing an item in a text file on his server. We've > got it working well with ftp but I'm wondering if whether sending the ftp > login & password over regular ftp is a security issue; some digging in the > archives makes me think that sftp isn't an option yet. > > Would https:// be an option to write to a file on the server? Would that > require that they have an SSL certificate? > > Any ideas on a good way to handle this? > > Curt > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From lists at mangomultimedia.com Tue Mar 13 13:49:41 2012 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 13 Mar 2012 13:49:41 -0400 Subject: Sqlite and performances in LiveCode In-Reply-To: References: <7049BBBA-A811-45C2-AEFF-A112E7D0194B@mac.com> <690278B0-41D6-45B2-9829-24B5AF0F3893@mac.com> Message-ID: On Mon, Mar 12, 2012 at 8:17 PM, Pete wrote: > Thanks for making that change. > > I've been following up a bit more on the behavior of GetDataForLine being > called in repeated cycles for the number of lines in the datagrid. As a > reminder, the datagrid has 11 visible lines, GetDataForLine gets called > once for lines 1-12, then a second time for lines 1-2 again, and > occasionally a third time for lines 1-2. > > I think I know the reason this is happening. > > The first GetDataForLine cycle happens when I set the dgProps["Columns"] > property of the datagrid. > > The second cycle happens when I set the dgNumberOfRecords property. > > There's a possible third cycle because sometimes I set the dgProps["Sort By > Column"] property. > > I have tried setting the dgNumberOfRecords to empty, zero, or NULL before > any of the above properties are changed but it doesn't seem to make any > difference. > If you have the dgNumberOfRecords set to a positive number then that makes sense as the data grid has to redraw. If the dgNumberOfRecords is set to 0 (and messages aren't locked when setting it) then I'm not sure why that is. Setting the dgNumberOfRecords to 0 should do the trick as it empties out the internal sDataArray array. GetDataForLine is only sent if an entry in the sDataArray array is NULL. -- Trevor DeVore Blue Mango Learning Systems www.clarify-it.com - www.screensteps.com From coiin at verizon.net Tue Mar 13 13:52:18 2012 From: coiin at verizon.net (Colin Holgate) Date: Tue, 13 Mar 2012 13:52:18 -0400 Subject: Exporting a snapshot directly to Preview In-Reply-To: References: Message-ID: <52C67662-DE75-44BD-9729-119FB624749C@verizon.net> My variation of the syntax leaves it up to the system to open the file. It would be wrong of you to predetermine that a user sees the document in any particular program. Just leave off the part where you set the app to use, and the system will take care of that for you. On Mar 13, 2012, at 1:24 PM, Jim Hurley wrote: > Does anyone know what program, if there is ONE, that opens when you double click on a jpg or png image in Windows? From alex at tweedly.net Tue Mar 13 14:05:19 2012 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 13 Mar 2012 18:05:19 +0000 Subject: options for safe transfer of data to a server - ? In-Reply-To: <5084CA5B-2D5A-4E7C-A921-50EC611F3FFD@mailbox.sc.edu> References: <5084CA5B-2D5A-4E7C-A921-50EC611F3FFD@mailbox.sc.edu> Message-ID: <4F5F8C5F.1080801@tweedly.net> ftp is indeed a security problem, and sftp is not (easily) available - needs externals, or command line usage, etc. https:// would be an option - but he would need an ssl cert. However, if the item to be uploaded is small (sounds like it is), then you can do it very safely and easily, just as a get URL with the parameters encrypted from within LC. LC on the client machine (pseudo code): put "My machine has been installed" && tMyName && tMyOtherData into tDataToSendToServer encrypt tDataToSendToServer with des using password "mysecretpassword" put it into tData put "http://my.domain.com/registerinstall.lc?data=" & urlencode(tData) into tURL get URL (tURL) (and of course, make sure that you keep the password safe, only do this within a protected stack, etc. and on the server, you simply take the data passed, urldecode it, decrypt it (with the same secretpasword) and log it to the file. There is a tiny insecurity here - someone could flood you with bad URL gets and grow you logfile out of control - which can easily be avoided by passing a security check, e.g. ( add this code immediately before the get URL above) put the seconds into tTime encrypt tTime with des using password "mysecretpassword" put it into tEncTime put "?time=" & tTime & "&enctime=" & tEncTime after tURL and then on the server, verify that the enctime value can be decrypted to get the time value; only save the data if that matches OK. -- Alex. On 13/03/2012 12:42, Curt Ford wrote: > My client wants to have a routine that records when a user first installs the project, by incrementing an item in a text file on his server. We've got it working well with ftp but I'm wondering if whether sending the ftp login& password over regular ftp is a security issue; some digging in the archives makes me think that sftp isn't an option yet. > > Would https:// be an option to write to a file on the server? Would that require that they have an SSL certificate? > > Any ideas on a good way to handle this? > > Curt > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sc at sahores-conseil.com Tue Mar 13 14:12:19 2012 From: sc at sahores-conseil.com (Pierre Sahores) Date: Tue, 13 Mar 2012 19:12:19 +0100 Subject: options for safe transfer of data to a server - ? In-Reply-To: References: <5084CA5B-2D5A-4E7C-A921-50EC611F3FFD@mailbox.sc.edu> Message-ID: <634C48BC-8A76-42C7-9AEF-F18758F9256B@sahores-conseil.com> Hi, The sole solution i know is to own a dedicated server and to access it in SSH tunneling (SFTP) mode with only some open ports 22, 25, 80, 443, etc... you can tune as you want as long as you take care to keep the unwanted ports closed (alike FTP = 21). There are probably ways to tune SFTP to let multiple users use it on a shared server but i did't try to setup this kind of config for yet. Kind regards, -- Pierre Sahores mobile : 06 03 95 77 70 www.spimsco.net : la premi?re solution saas open source et commerciale de d?veloppement s?mantique pr?programm? Le 13 mars 2012 ? 18:43, stephen barncard a ?crit : > simple ftp has no security for world accessible web sites. I just had all > my sites compromised by Pakistani hackers, and will be spending much of the > next two days cleaning up. I have since repented and am using SFTP with > Dreamhost. > > But that doesn't help those that want to use Livecode FTP. > > There are external solutions that are used by Andre and Trevor, but are a > bit more complicated and I haven't tried them. > > One of those many feature requests pending. > > On 13 March 2012 05:42, Curt Ford wrote: > >> My client wants to have a routine that records when a user first installs >> the project, by incrementing an item in a text file on his server. We've >> got it working well with ftp but I'm wondering if whether sending the ftp >> login & password over regular ftp is a security issue; some digging in the >> archives makes me think that sftp isn't an option yet. >> >> Would https:// be an option to write to a file on the server? Would that >> require that they have an SSL certificate? >> >> Any ideas on a good way to handle this? >> >> Curt >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From effendi at wanadoo.fr Tue Mar 13 15:01:49 2012 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Tue, 13 Mar 2012 20:01:49 +0100 Subject: Cyberduck versus Flow Message-ID: <3DCA6CDF-4319-45ED-9A50-A04129A47E31@wanadoo.fr> Hi from Beautiful Brittany, Maybe a little outside LiveCode discussions, but I want the best app to upload my files to my On-Rev server. I was happy with FileZilla, then I found Cyberduck which really makes me happy, now I see "Flow" which seems to beat all the FTP apps hands down (cheap at $4.99). Can I get some feedback from Cyberduck/Flow users to help me decide whether to go with the flow (pun intended !) -Francis "Windows is, and always was, a succession of panes !" From m.schonewille at economy-x-talk.com Tue Mar 13 15:19:30 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 13 Mar 2012 20:19:30 +0100 Subject: Cyberduck versus Flow In-Reply-To: <3DCA6CDF-4319-45ED-9A50-A04129A47E31@wanadoo.fr> References: <3DCA6CDF-4319-45ED-9A50-A04129A47E31@wanadoo.fr> Message-ID: Hi Francis, I tried CyberDuck but it messed up my file names if they contained special characters. I have no experience with Flow. I still use FileZilla, which has a very clumsy interface but works correctly. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za On 13 mrt 2012, at 20:01, Francis Nugent Dixon wrote: > Hi from Beautiful Brittany, > > Maybe a little outside LiveCode discussions, but > I want the best app to upload my files to my On-Rev > server. > > I was happy with FileZilla, then I found Cyberduck which > really makes me happy, now I see "Flow" which seems to > beat all the FTP apps hands down (cheap at $4.99). > > Can I get some feedback from Cyberduck/Flow users to > help me decide whether to go with the flow (pun intended !) > > -Francis > > "Windows is, and always was, a succession of panes !" From charles at buchwald.ca Tue Mar 13 15:22:25 2012 From: charles at buchwald.ca (Charles E Buchwald) Date: Tue, 13 Mar 2012 13:22:25 -0600 Subject: Cyberduck versus Flow In-Reply-To: References: <3DCA6CDF-4319-45ED-9A50-A04129A47E31@wanadoo.fr> Message-ID: <0EEC712E-8BB5-4ED6-971B-3B52ABF91992@buchwald.ca> Hi Francis, I've used Cyberduck for a couple of years, and like it very much. Used to use FileZilla, but as Mark said, it's a clumsy interface. Haven't tried Flow. - Charles On 2012-03-13, at 1:19 PM, Mark Schonewille wrote: > Hi Francis, > > I tried CyberDuck but it messed up my file names if they contained special characters. I have no experience with Flow. I still use FileZilla, which has a very clumsy interface but works correctly. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za > > On 13 mrt 2012, at 20:01, Francis Nugent Dixon wrote: > >> Hi from Beautiful Brittany, >> >> Maybe a little outside LiveCode discussions, but >> I want the best app to upload my files to my On-Rev >> server. >> >> I was happy with FileZilla, then I found Cyberduck which >> really makes me happy, now I see "Flow" which seems to >> beat all the FTP apps hands down (cheap at $4.99). >> >> Can I get some feedback from Cyberduck/Flow users to >> help me decide whether to go with the flow (pun intended !) >> >> -Francis >> >> "Windows is, and always was, a succession of panes !" > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From keith.clarke at clarkeandclarke.co.uk Tue Mar 13 15:26:35 2012 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Tue, 13 Mar 2012 19:26:35 +0000 Subject: Cyberduck versus Flow In-Reply-To: <0EEC712E-8BB5-4ED6-971B-3B52ABF91992@buchwald.ca> References: <3DCA6CDF-4319-45ED-9A50-A04129A47E31@wanadoo.fr> <0EEC712E-8BB5-4ED6-971B-3B52ABF91992@buchwald.ca> Message-ID: ...I've used Panic's Transmit for the last 10 years and see no need to change. Best, Keith.. On 13 Mar 2012, at 19:22, Charles E Buchwald wrote: > Hi Francis, > I've used Cyberduck for a couple of years, and like it very much. > Used to use FileZilla, but as Mark said, it's a clumsy interface. > Haven't tried Flow. > - Charles > > On 2012-03-13, at 1:19 PM, Mark Schonewille wrote: > >> Hi Francis, >> >> I tried CyberDuck but it messed up my file names if they contained special characters. I have no experience with Flow. I still use FileZilla, which has a very clumsy interface but works correctly. >> >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> Homepage: http://economy-x-talk.com >> Twitter: http://twitter.com/xtalkprogrammer >> KvK: 50277553 >> >> Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za >> >> On 13 mrt 2012, at 20:01, Francis Nugent Dixon wrote: >> >>> Hi from Beautiful Brittany, >>> >>> Maybe a little outside LiveCode discussions, but >>> I want the best app to upload my files to my On-Rev >>> server. >>> >>> I was happy with FileZilla, then I found Cyberduck which >>> really makes me happy, now I see "Flow" which seems to >>> beat all the FTP apps hands down (cheap at $4.99). >>> >>> Can I get some feedback from Cyberduck/Flow users to >>> help me decide whether to go with the flow (pun intended !) >>> >>> -Francis >>> >>> "Windows is, and always was, a succession of panes !" >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Tue Mar 13 15:36:18 2012 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 13 Mar 2012 21:36:18 +0200 Subject: Cyberduck versus Flow In-Reply-To: References: <3DCA6CDF-4319-45ED-9A50-A04129A47E31@wanadoo.fr> <0EEC712E-8BB5-4ED6-971B-3B52ABF91992@buchwald.ca> Message-ID: <4F5FA1B2.9000003@gmail.com> Personally I've been using Cyberduck for about 5 years, and don't understand the comments about its clumsy interface; all seems remarkably straightforward to me. Experience with almost all other FTP clients seems to fall short of Cyberduck. But, Hey, I'm talking about sending stuff from my PPC macMini running 10.4, so don't take my word as far as the "latest thang" goes. Richmond. From scott at tactilemedia.com Tue Mar 13 16:40:45 2012 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 13 Mar 2012 12:40:45 -0800 Subject: Cyberduck versus Flow In-Reply-To: <3DCA6CDF-4319-45ED-9A50-A04129A47E31@wanadoo.fr> Message-ID: Hi Francis: If you want cheap, Flow is on sale at the moment, so it is a great deal. I've used it a bit, though not with On_Rev, and it has worked fine. If you're looking specifically for a Mac solution -- there are other FTP tools that have been around for a while but cost more: Fetch - http://fetchsoftworks.com/fetch/ Transmit - http://www.panic.com/transmit/ One thing you might want to consider is a combination code-editor/FTP app like Panic's Coda or MacRabbit's Espresso. You edit your code locally and then upload from the same interface. Espresso has an option that can automatically upload your page every time you save locally, which is a great timesaver in some situations. I have been using Espresso for a while now, and while it sometimes need to be "refreshed" with On-Rev, I love it. Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Francis Nugent Dixon wrote: > Hi from Beautiful Brittany, > > Maybe a little outside LiveCode discussions, but > I want the best app to upload my files to my On-Rev > server. > > I was happy with FileZilla, then I found Cyberduck which > really makes me happy, now I see "Flow" which seems to > beat all the FTP apps hands down (cheap at $4.99). > > Can I get some feedback from Cyberduck/Flow users to > help me decide whether to go with the flow (pun intended !) > > -Francis > > "Windows is, and always was, a succession of panes !" > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andre at andregarzia.com Tue Mar 13 15:46:25 2012 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 13 Mar 2012 16:46:25 -0300 Subject: Cyberduck versus Flow In-Reply-To: <3DCA6CDF-4319-45ED-9A50-A04129A47E31@wanadoo.fr> References: <3DCA6CDF-4319-45ED-9A50-A04129A47E31@wanadoo.fr> Message-ID: Francis, I like both Interarchy and Transmit http://nolobe.com http://panic.com These days I am using Transmit. =) On Tue, Mar 13, 2012 at 4:01 PM, Francis Nugent Dixon wrote: > Hi from Beautiful Brittany, > > Maybe a little outside LiveCode discussions, but > I want the best app to upload my files to my On-Rev > server. > > I was happy with FileZilla, then I found Cyberduck which > really makes me happy, now I see "Flow" which seems to > beat all the FTP apps hands down (cheap at $4.99). > > Can I get some feedback from Cyberduck/Flow users to > help me decide whether to go with the flow (pun intended !) > > -Francis > > "Windows is, and always was, a succession of panes !" > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From pete at mollysrevenge.com Tue Mar 13 16:04:54 2012 From: pete at mollysrevenge.com (Pete) Date: Tue, 13 Mar 2012 13:04:54 -0700 Subject: Cyberduck versus Flow In-Reply-To: References: <3DCA6CDF-4319-45ED-9A50-A04129A47E31@wanadoo.fr> Message-ID: I use Cyberduck and Taco HTML Edit together to get the benefits of the combined editor/ftp. Cyberduck detetcs the presence of Taco on your computer and includes a contextual menu item to download a file into Taco, then when you save it in Taco it automatically upload to the server again. Pete On Tue, Mar 13, 2012 at 1:40 PM, Scott Rossi wrote: > Hi Francis: > > If you want cheap, Flow is on sale at the moment, so it is a great deal. > I've used it a bit, though not with On_Rev, and it has worked fine. > > If you're looking specifically for a Mac solution -- there are other FTP > tools that have been around for a while but cost more: > Fetch - http://fetchsoftworks.com/fetch/ > Transmit - http://www.panic.com/transmit/ > > One thing you might want to consider is a combination code-editor/FTP app > like Panic's Coda or MacRabbit's Espresso. You edit your code locally and > then upload from the same interface. Espresso has an option that can > automatically upload your page every time you save locally, which is a > great > timesaver in some situations. I have been using Espresso for a while now, > and while it sometimes need to be "refreshed" with On-Rev, I love it. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > > Recently, Francis Nugent Dixon wrote: > > > Hi from Beautiful Brittany, > > > > Maybe a little outside LiveCode discussions, but > > I want the best app to upload my files to my On-Rev > > server. > > > > I was happy with FileZilla, then I found Cyberduck which > > really makes me happy, now I see "Flow" which seems to > > beat all the FTP apps hands down (cheap at $4.99). > > > > Can I get some feedback from Cyberduck/Flow users to > > help me decide whether to go with the flow (pun intended !) > > > > -Francis > > > > "Windows is, and always was, a succession of panes !" > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription > > preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From jhj at jhj.com Tue Mar 13 16:07:44 2012 From: jhj at jhj.com (Jerry Jensen) Date: Tue, 13 Mar 2012 13:07:44 -0700 Subject: Cyberduck versus Flow In-Reply-To: <3DCA6CDF-4319-45ED-9A50-A04129A47E31@wanadoo.fr> References: <3DCA6CDF-4319-45ED-9A50-A04129A47E31@wanadoo.fr> Message-ID: <841E7A63-4BF3-4648-9C22-5528BC641B39@jhj.com> Francis, Not exactly what you asked, but I'm using Fetch. I like it fine, but next time I have to pay for an upgrade, i plan to go to CyberDuck. .Jerry On Mar 13, 2012, at 12:01 PM, Francis Nugent Dixon wrote: > Hi from Beautiful Brittany, > > Maybe a little outside LiveCode discussions, but > I want the best app to upload my files to my On-Rev > server. > > I was happy with FileZilla, then I found Cyberduck which > really makes me happy, now I see "Flow" which seems to > beat all the FTP apps hands down (cheap at $4.99). > > Can I get some feedback from Cyberduck/Flow users to > help me decide whether to go with the flow (pun intended !) From bvlahos at mac.com Tue Mar 13 16:13:39 2012 From: bvlahos at mac.com (Bill Vlahos) Date: Tue, 13 Mar 2012 13:13:39 -0700 Subject: Cyberduck versus Flow In-Reply-To: References: <3DCA6CDF-4319-45ED-9A50-A04129A47E31@wanadoo.fr> Message-ID: <5C94BAC1-788C-4488-AFB5-1EDD6EE67E54@mac.com> Mark, I've used Cyberduck for years and have really liked it?until recently. The newer versions sometimes messes up my files when I upload them to the web site. Most files work fine but some don't that used to. I've reported it to the vendor who cannot reproduce the problem. I've been using Fetch instead which works fine although I prefer Cyberduck. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Mar 13, 2012, at 12:19 PM, Mark Schonewille wrote: > Hi Francis, > > I tried CyberDuck but it messed up my file names if they contained special characters. I have no experience with Flow. I still use FileZilla, which has a very clumsy interface but works correctly. > > -- > Best regards, > > Mark Schonewille From dsc at swcp.com Tue Mar 13 16:19:54 2012 From: dsc at swcp.com (Dar Scott) Date: Tue, 13 Mar 2012 14:19:54 -0600 Subject: Passing parameters by reference In-Reply-To: <7485C360-EC4C-49A6-BA72-C35A22A9B758@twft.com> References: <30597071-0C9B-4030-860D-35CE72BBCE2D@swcp.com> <1906AC9E-45F9-4B0D-9A32-9C1074A0595E@mail.com> <28FD8F80-7C0A-4804-A93F-57D87B7FD38D@twft.com> <7485C360-EC4C-49A6-BA72-C35A22A9B758@twft.com> Message-ID: <6B073F5C-5A70-48B0-B307-0E49B225414B@swcp.com> Hi, Bob! On Mar 13, 2012, at 9:37 AM, Bob Sneidar wrote: > That is what passing an element to an array amounts to was my point. I think what you are calling a statement many will call an expression. This concern is understandable. However, I think we can distinguish between an expression that means a value and an expression that means a mutable place. We have this distinction in LiveCode. The expression '4 + a' can be used only as a value. The expression a[3] can be used as a value or a mutable place. That value is what is contained in that mutable place. That mutable place is called a container in HyperCard. We can't say 'put 7 into 4+a' but we can say 'put 7 into a[3]'. The concept has strong HyperCard and LiveCode precedence. We can say 'put 3 into char 2 of item 6 of a'. A "chunk" is a container. Allowing @ parameters to refer to containers and not just variables can create some implementation challenges, perhaps, even some documentation challenges, but it does open the door to commands that can be used to, say, capitalize the value of containers. I would hope the conceptual challenges in use would only apply to advanced users doing weird things. In the simplest case, the extension would replace "variable" with "container" in the description of @. I come from a background in functional programming in which just about everything is a value and not a container, but I have embraced the language used in LiveCode and the ability to modify things in ways besides replacing variable values and replacing properties. Dar From jrosat at mac.com Tue Mar 13 17:46:10 2012 From: jrosat at mac.com (=?iso-8859-1?Q?J=E9r=F4me_Rosat?=) Date: Tue, 13 Mar 2012 22:46:10 +0100 Subject: Sqlite and performances in LiveCode In-Reply-To: References: <7049BBBA-A811-45C2-AEFF-A112E7D0194B@mac.com> <690278B0-41D6-45B2-9829-24B5AF0F3893@mac.com> Message-ID: <61970C4A-6DB8-4CB1-B0AC-5BA3F3F38992@mac.com> Thank you very much Trevor. On my iMac 2.8 GHz Intel Core 2 Duo with LiveCode 5.0.2: Opening movies cursor took 274 milliseconds ------- Drawing list took 126 milliseconds ------- Really impressive compared to previous results ! J?r?me Le 12 mars 2012 ? 15:01, Trevor DeVore a ?crit : > > I've updated the stack to use the new technique. You can download it from > the same url. I'm on a faster machine testing but here are the times I get: > > Opening movies cursor took 150 milliseconds > > ------- > > Drawing list took 81 milliseconds > > ------- > > > -- > Trevor DeVore > Blue Mango Learning Systems > www.clarify-it.com - www.screensteps.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Tue Mar 13 17:46:03 2012 From: pete at mollysrevenge.com (Pete) Date: Tue, 13 Mar 2012 14:46:03 -0700 Subject: Sqlite and performances in LiveCode In-Reply-To: References: <7049BBBA-A811-45C2-AEFF-A112E7D0194B@mac.com> <690278B0-41D6-45B2-9829-24B5AF0F3893@mac.com> Message-ID: Hi Trevor, OK, found the problem. I had a set dgProps["sort by column"] statement after setting the dgNUmberOfRecords. Moved that to a place where dgNumberOfRecords is zero and only one cycle of GetDataForLine happens now. Thanks for the help in tracking it down. There are a lot of nuances to using dgNumberOfRecords! Pete On Tue, Mar 13, 2012 at 10:49 AM, Trevor DeVore wrote: > If you have the dgNumberOfRecords set to a positive number then that makes > sense as the data grid has to redraw. > > If the dgNumberOfRecords is set to 0 (and messages aren't locked when > setting it) then I'm not sure why that is. Setting the dgNumberOfRecords to > 0 should do the trick as it empties out the internal sDataArray array. > GetDataForLine is only sent if an entry in the sDataArray array is NULL. > -- Pete Molly's Revenge From pete at mollysrevenge.com Tue Mar 13 23:52:01 2012 From: pete at mollysrevenge.com (Pete) Date: Tue, 13 Mar 2012 20:52:01 -0700 Subject: Filter probelm Message-ID: Unless I'm doing something wrong, "filter tvar without tab" doesn't work, that is the lines with a tab remain in tvar after the filter command. Suer would be nice to have that work when dynamically building the contents of a popup menu with indented lines in it... -- Pete Molly's Revenge From terry.judd at unimelb.edu.au Wed Mar 14 00:35:04 2012 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Wed, 14 Mar 2012 04:35:04 +0000 Subject: Filter probelm In-Reply-To: References: Message-ID: <2E00F3F3-8DD7-48DD-BB4D-9501BA822423@unimelb.edu.au> On 14/03/2012, at 02:52 PM, Pete wrote: Unless I'm doing something wrong, "filter tvar without tab" doesn't work, that is the lines with a tab remain in tvar after the filter command. Suer would be nice to have that work when dynamically building the contents of a popup menu with indented lines in it... That would only work if the lines you wanted to filter out only contained a tab character. If they contain other stuff then you need one of the following... filter tvar without ("*"&tab&"*") -- if the tab can be anywhere in the line filter tvar without (tab&"*") -- if the tab is at the start of the line, or filter tvar without ("*"&tab) -- if the tab is at the end of the line Terry... -- Pete Molly's Revenge _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From monte at sweattechnologies.com Wed Mar 14 00:54:04 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 14 Mar 2012 15:54:04 +1100 Subject: [ANN] iOS document interaction external added to mergExt Message-ID: <41E1CBD2-2C1B-47AC-9EEB-4820372D786A@sweattechnologies.com> Hi LiveCoders mergExt (http://mergext.com) has grown again with a new external called mergDoc. The suite now includes 8 externals: barcode reading, video recording, extended file attributes, iAd banners and more. mergDoc is an iOS external that adds functions and commands related to document interaction. This currently includes presenting a modal preview, open in app menu, document options menu and requesting the document icons in PNG form. Printing is also available via the preview. mergDoc with 29% of the vote came in a close second in the poll to MapKit. There's a new poll up now but clearly MapKit is next on the hit list. Users can now also participate in the mergExt affiliate program to get a free month of updates for every sale. Once logged in you will see the referral url above the poll. Don't forget to vote for what you want next! If you want something that's not on the poll then add it to the Ideas topic in the mergExt forum. Monte Goulding -- M E R Goulding Software development services From toolbook at kestner.de Wed Mar 14 04:56:57 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 14 Mar 2012 09:56:57 +0100 Subject: how to resize icons when resizing objects? Message-ID: <002d01cd01c0$69b72010$3d256030$@de> Hello, I have a stack, which the user may resize and all objects are resized and positioned dynamically. This works fine. Up to now, I kept the size of the buttons with assigned icons locked, because I didn't find an approach, how to resize the assigned icons dynamically? Or don't you do that at all in a dynamic layout and am I looking for a no go? Thanks for any hints Tiemo From andre.bisseret at wanadoo.fr Wed Mar 14 08:53:10 2012 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Wed, 14 Mar 2012 13:53:10 +0100 Subject: does "type" works in a standalone? Message-ID: Bonjour, On card 1 of a stack I have a field whose script is the following : on focusIn put empty into me select before me type "Bonjour" select empty end focusIn on openStack, I send "focusin" to this field. This is working as expected in the IDE But does not work in the standalone With the standalone, after a while "Hello" is written all at once. Seems like the typing is executed but invisibly, and then, the entire word is put in the field. What am I missing ? Thanks in advance for any idea. Best regards from Grenoble Andr? From mcgrath3 at mac.com Wed Mar 14 09:01:34 2012 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Wed, 14 Mar 2012 09:01:34 -0400 Subject: [ANN] iOS document interaction external added to mergExt In-Reply-To: <41E1CBD2-2C1B-47AC-9EEB-4820372D786A@sweattechnologies.com> References: <41E1CBD2-2C1B-47AC-9EEB-4820372D786A@sweattechnologies.com> Message-ID: Monte, This is a great external. Thanks so much for this. This is the best purchase I've made in a long time. Keep up the great work?. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Mar 14, 2012, at 12:54 AM, Monte Goulding wrote: > Hi LiveCoders > > mergExt (http://mergext.com) has grown again with a new external called mergDoc. The suite now includes 8 externals: barcode reading, video recording, extended file attributes, iAd banners and more. > > mergDoc is an iOS external that adds functions and commands related to document interaction. This currently includes presenting a modal preview, open in app menu, document options menu and requesting the document icons in PNG form. Printing is also available via the preview. mergDoc with 29% of the vote came in a close second in the poll to MapKit. There's a new poll up now but clearly MapKit is next on the hit list. > > Users can now also participate in the mergExt affiliate program to get a free month of updates for every sale. Once logged in you will see the referral url above the poll. > > Don't forget to vote for what you want next! If you want something that's not on the poll then add it to the Ideas topic in the mergExt forum. > > Monte Goulding > -- > M E R Goulding > Software development services > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Wed Mar 14 09:17:51 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 14 Mar 2012 14:17:51 +0100 Subject: does "type" works in a standalone? In-Reply-To: References: Message-ID: <4C858BB3-7621-43AC-A095-D1C0A12F10BD@economy-x-talk.com> Hi Andr?, LiveCode is very busy on startup and seems to have difficulties handing over control to the user. This will solve it: on openStack send "focusIn" to fld "Your Field" in 200 millisecs end openStack This might even work with 0 millisecs. Perhaps it is better to change your approach slightly. Create another handler in your field: on typeIt put empty into me select before me type "Bonjour" select empty end typeIt on focusIn typeIt end focusIn and have this in your stack: on openStack send "typeIt" to fld "Your Field" in 200 millisecs end openStack The reason is that the first field is automatically focused when the card opens and this might cause some additional problems. You might want to make sure that your script isn't running twice. -- 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 1.7 for LiveCode here http://qery.us/za On 14 mrt 2012, at 13:53, Andr? Bisseret wrote: > Bonjour, > > On card 1 of a stack I have a field whose script is the following : > > on focusIn > put empty into me > select before me > type "Bonjour" > select empty > end focusIn > > on openStack, I send "focusin" to this field. > > This is working as expected in the IDE > > But does not work in the standalone > With the standalone, after a while "Hello" is written all at once. > Seems like the typing is executed but invisibly, and then, the entire word is put in the field. > > What am I missing ? > > Thanks in advance for any idea. > > Best regards from Grenoble > > Andr? From pepetoo at cox.net Wed Mar 14 09:56:38 2012 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Wed, 14 Mar 2012 06:56:38 -0700 Subject: OT - BING HAS TAKEN OVER MY SEARCH ENGINE Message-ID: Hi all, Whenever I open FireFox, the Bing search engine shows up. Clicking on Google doesn't change this. Anyone else had this happen to them? TIA, Joe Wilkins From lists at mangomultimedia.com Wed Mar 14 10:05:12 2012 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 14 Mar 2012 10:05:12 -0400 Subject: Sqlite and performances in LiveCode In-Reply-To: References: <7049BBBA-A811-45C2-AEFF-A112E7D0194B@mac.com> <690278B0-41D6-45B2-9829-24B5AF0F3893@mac.com> Message-ID: On Tue, Mar 13, 2012 at 5:46 PM, Pete wrote: > OK, found the problem. I had a set dgProps["sort by column"] statement > after setting the dgNUmberOfRecords. Moved that to a place where > dgNumberOfRecords is zero and only one cycle of GetDataForLine happens now. > Great. Just remember that anytime a redrawing of the data grid has to occur (e.g. when changing sorting) GetDataForLine has to be called. > Thanks for the help in tracking it down. There are a lot of nuances > to using dgNumberOfRecords! Yes there are. GetDataForLine is a (bolted on) means of providing an approach that separates the control from the data so the data doesn't reside within the view control itself. The API for the data grid was built around the standard LiveCode control behavior where the data resides within the control. There really is room for a data grid-like control that is really just a view and does nothing more than display data that is fed to it from a data source. Regards, -- Trevor DeVore Blue Mango Learning Systems www.clarify-it.com - www.screensteps.com From coiin at verizon.net Wed Mar 14 10:40:39 2012 From: coiin at verizon.net (Colin Holgate) Date: Wed, 14 Mar 2012 10:40:39 -0400 Subject: OT - BING HAS TAKEN OVER MY SEARCH ENGINE In-Reply-To: References: Message-ID: In the left part of the search field is a drop down menu, that I guess currently says Bing for you. You can change that back to Google. On Mar 14, 2012, at 9:56 AM, Joe Lewis Wilkins wrote: > Whenever I open FireFox, the Bing search engine shows up. Clicking on Google doesn't change this. Anyone else had this happen to them? From pepetoo at cox.net Wed Mar 14 10:52:26 2012 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Wed, 14 Mar 2012 07:52:26 -0700 Subject: OT - BING HAS TAKEN OVER MY SEARCH ENGINE In-Reply-To: References: Message-ID: Thanks Colin, but I can't find it. Too small and/or blurred I guess. Doesn't happen when I switch over to Safari. Joe Wilkins On Mar 14, 2012, at 7:40 AM, Colin Holgate wrote: > In the left part of the search field is a drop down menu, that I guess currently says Bing for you. You can change that back to Google. > > > On Mar 14, 2012, at 9:56 AM, Joe Lewis Wilkins wrote: > >> Whenever I open FireFox, the Bing search engine shows up. Clicking on Google doesn't change this. Anyone else had this happen to them? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From effendi at wanadoo.fr Wed Mar 14 11:09:41 2012 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Wed, 14 Mar 2012 16:09:41 +0100 Subject: Cyberduck versus Flow Message-ID: <4E57445D-4072-46E5-8263-8B9137CDACDC@wanadoo.fr> Hi from Beautiful Brittany, Thanks to all (to numerous to mention) for your input. I am happy that many use and like CyberDuck, surprised that nobody appears to use Flow, when it seems to have rave reviews (maybe the developers wrote the reviews :>). Looks like I will stick with CyberDuck. I never use special characters, so I don't have Marks problem. However, because I'm curious, I will look into the other apps mentioned. Best Regards -Francis "Nothing should ever be done for the first time !" From pepetoo at cox.net Wed Mar 14 11:17:12 2012 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Wed, 14 Mar 2012 08:17:12 -0700 Subject: OT Bing Message-ID: <1DC802A9-EFE9-42B8-BDC4-D4989B4FFF2E@cox.net> Hi Colin, Sorry, I did finally locate the pop-up, but it only offers Bing as an option. Part of this may have to do with my having increased the size of the Cursor with viewing Zoomed in quite a bit. But it's pretty obvious there is something rotten in FireFox. (smile) Thanks, Joe Wilkins From andre at andregarzia.com Wed Mar 14 11:24:11 2012 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 14 Mar 2012 12:24:11 -0300 Subject: [ANN] iOS document interaction external added to mergExt In-Reply-To: References: <41E1CBD2-2C1B-47AC-9EEB-4820372D786A@sweattechnologies.com> Message-ID: Thomas, I agree with you!!! Monte, thanks for the wonderful tools! On Wed, Mar 14, 2012 at 10:01 AM, Thomas McGrath III wrote: > Monte, > > This is a great external. Thanks so much for this. This is the best > purchase I've made in a long time. > > Keep up the great work?. > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > > On Mar 14, 2012, at 12:54 AM, Monte Goulding wrote: > > > Hi LiveCoders > > > > mergExt (http://mergext.com) has grown again with a new external called > mergDoc. The suite now includes 8 externals: barcode reading, video > recording, extended file attributes, iAd banners and more. > > > > mergDoc is an iOS external that adds functions and commands related to > document interaction. This currently includes presenting a modal preview, > open in app menu, document options menu and requesting the document icons > in PNG form. Printing is also available via the preview. mergDoc with 29% > of the vote came in a close second in the poll to MapKit. There's a new > poll up now but clearly MapKit is next on the hit list. > > > > Users can now also participate in the mergExt affiliate program to get a > free month of updates for every sale. Once logged in you will see the > referral url above the poll. > > > > Don't forget to vote for what you want next! If you want something > that's not on the poll then add it to the Ideas topic in the mergExt forum. > > > > Monte Goulding > > -- > > M E R Goulding > > Software development services > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From bonnmike at gmail.com Wed Mar 14 11:28:23 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 14 Mar 2012 09:28:23 -0600 Subject: OT Bing In-Reply-To: <1DC802A9-EFE9-42B8-BDC4-D4989B4FFF2E@cox.net> References: <1DC802A9-EFE9-42B8-BDC4-D4989B4FFF2E@cox.net> Message-ID: Something might have installed bing toolbar/extension stuff that could be misbehaving. Might check tols menu, addons and then go through the extensions and plugins to see if there is any bing specific stuff in there. Disable as needed. If your menu bar is not showing you can right click a blank area just below the title bar and put a check next to "menu bar" to get it to show. I don't recall how to get directly to the right place without the menubar. Also, if you are using the default search box that is part of firefox, you should be able to click the icon on the left side of the search box and choose "manage search engines" which will let you change defaults as well as which search providers show up in the list. On Wed, Mar 14, 2012 at 9:17 AM, Joe Lewis Wilkins wrote: > Hi Colin, > > Sorry, I did finally locate the pop-up, but it only offers Bing as an > option. Part of this may have to do with my having increased the size of > the Cursor with viewing Zoomed in quite a bit. But it's pretty obvious > there is something rotten in FireFox. (smile) > > Thanks, > > Joe Wilkins > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From coiin at verizon.net Wed Mar 14 11:36:08 2012 From: coiin at verizon.net (Colin Holgate) Date: Wed, 14 Mar 2012 11:36:08 -0400 Subject: OT - BING HAS TAKEN OVER MY SEARCH ENGINE In-Reply-To: References: Message-ID: <32C7803A-3AFE-451B-831D-342ADF74A7D4@verizon.net> Can you see the little down arrow next to the Google logo?: -------------- next part -------------- On Mar 14, 2012, at 10:52 AM, Joe Lewis Wilkins wrote: > >Thanks Colin, but I can't find it. Too small and/or blurred I guess. Doesn't happen when I switch over to Safari. From andre.bisseret at wanadoo.fr Wed Mar 14 11:57:13 2012 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Wed, 14 Mar 2012 16:57:13 +0100 Subject: does "type" works in a standalone? In-Reply-To: <4C858BB3-7621-43AC-A095-D1C0A12F10BD@economy-x-talk.com> References: <4C858BB3-7621-43AC-A095-D1C0A12F10BD@economy-x-talk.com> Message-ID: <9711000B-3155-4E4B-835A-013B176092C2@wanadoo.fr> Thank you much Mark for your reply. I tried your solutions but they don't seem to work. Even when changing the approach according to your advice I get the same result : any solution works well in the IDE, but typing does not occur (visibly) in the standalone; "Bonjour" keeps appearing all at once, after a while. But, well, it's not very important in this case; I don't want to waste your time with that Just strange (an a bit annoying) to discover this difference between the IDE' and standalone' behavior. Best regards Andr? Le 14 mars 2012 ? 14:17, Mark Schonewille a ?crit : > Hi Andr?, > > LiveCode is very busy on startup and seems to have difficulties handing over control to the user. This will solve it: > > on openStack > send "focusIn" to fld "Your Field" in 200 millisecs > end openStack > > This might even work with 0 millisecs. > > Perhaps it is better to change your approach slightly. Create another handler in your field: > > on typeIt > put empty into me > select before me > type "Bonjour" > select empty > end typeIt > > on focusIn > typeIt > end focusIn > > and have this in your stack: > > on openStack > send "typeIt" to fld "Your Field" in 200 millisecs > end openStack > > The reason is that the first field is automatically focused when the card opens and this might cause some additional problems. You might want to make sure that your script isn't running twice. > > -- > 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 1.7 for LiveCode here http://qery.us/za > > On 14 mrt 2012, at 13:53, Andr? Bisseret wrote: > >> Bonjour, >> >> On card 1 of a stack I have a field whose script is the following : >> >> on focusIn >> put empty into me >> select before me >> type "Bonjour" >> select empty >> end focusIn >> >> on openStack, I send "focusin" to this field. >> >> This is working as expected in the IDE >> >> But does not work in the standalone >> With the standalone, after a while "Hello" is written all at once. >> Seems like the typing is executed but invisibly, and then, the entire word is put in the field. >> >> What am I missing ? >> >> Thanks in advance for any idea. >> >> Best regards from Grenoble >> >> Andr? > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pepetoo at cox.net Wed Mar 14 12:11:21 2012 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Wed, 14 Mar 2012 09:11:21 -0700 Subject: OT - BING HAS TAKEN OVER MY SEARCH ENGINE In-Reply-To: <32C7803A-3AFE-451B-831D-342ADF74A7D4@verizon.net> References: <32C7803A-3AFE-451B-831D-342ADF74A7D4@verizon.net> Message-ID: <69B80CBB-5F7C-467F-801D-45E110339F60@cox.net> Thanks Fellas, Even after removing Bing and restarting and Quitting/starting, Bing still showed up as the active search engine. I don't trust them at all now. VERY insidious! Guess I'll just use Safari now. Seems as if it's a little better than it was a couple of months ago. Joe Wilkins On Mar 14, 2012, at 8:36 AM, Colin Holgate wrote: > Can you see the little down arrow next to the Google logo?: > > > > > On Mar 14, 2012, at 10:52 AM, Joe Lewis Wilkins wrote: > >>> Thanks Colin, but I can't find it. Too small and/or blurred I guess. Doesn't happen when I switch over to Safari. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From reichenbach.marek at gmail.com Wed Mar 14 12:30:20 2012 From: reichenbach.marek at gmail.com (Marek Reichenbach) Date: Wed, 14 Mar 2012 18:30:20 +0200 Subject: help pls Message-ID: Hi , any suggestions on this post ? http://forums.runrev.com/viewtopic.php?f=12&t=11360&p=53356#p53356 Help please From warren at warrensweb.us Wed Mar 14 12:30:46 2012 From: warren at warrensweb.us (Warren Samples) Date: Wed, 14 Mar 2012 11:30:46 -0500 Subject: OT - BING HAS TAKEN OVER MY SEARCH ENGINE In-Reply-To: <69B80CBB-5F7C-467F-801D-45E110339F60@cox.net> References: <32C7803A-3AFE-451B-831D-342ADF74A7D4@verizon.net> <69B80CBB-5F7C-467F-801D-45E110339F60@cox.net> Message-ID: <4F60C7B6.7030403@warrensweb.us> On 03/14/2012 11:11 AM, Joe Lewis Wilkins wrote: > Thanks Fellas, > > Even after removing Bing and restarting and Quitting/starting, Bing still showed up as the active search engine. I don't trust them at all now. VERY insidious! Guess I'll just use Safari now. Seems as if it's a little better than it was a couple of months ago. > > Joe Wilkins > Have you tried to edit the preference using "about:config"? http://kb.mozillazine.org/About:config Type "about:config", without the quotes, in the address bar. Dismiss the warning. Type "search", without the quotes, in the filter field. Look for "browser.search.defaultenginename" - it's the second line in my case. What soes it say? If it says "Google", then something is definitely screwy because it's not using the specified default. If it says "Bling", then right-click anywhere in that line, select "Modify" from the contextual menu and type "Google" into the dialog, without the quotes. Click "OK". Maybe restart Firefox and you *should* be ok. Good luck! Warren From pepetoo at cox.net Wed Mar 14 12:42:58 2012 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Wed, 14 Mar 2012 09:42:58 -0700 Subject: OT - BING HAS TAKEN OVER MY SEARCH ENGINE In-Reply-To: <4F60C7B6.7030403@warrensweb.us> References: <32C7803A-3AFE-451B-831D-342ADF74A7D4@verizon.net> <69B80CBB-5F7C-467F-801D-45E110339F60@cox.net> <4F60C7B6.7030403@warrensweb.us> Message-ID: Warren: continued frustration. Result was "website cannot be found". (sigh!) Thanks anyway! Just not my day. My vision is poorer than usual today. Joe Wilkins On Mar 14, 2012, at 9:30 AM, Warren Samples wrote: > On 03/14/2012 11:11 AM, Joe Lewis Wilkins wrote: >> Thanks Fellas, >> >> Even after removing Bing and restarting and Quitting/starting, Bing still showed up as the active search engine. I don't trust them at all now. VERY insidious! Guess I'll just use Safari now. Seems as if it's a little better than it was a couple of months ago. >> >> Joe Wilkins >> > > Have you tried to edit the preference using "about:config"? > > http://kb.mozillazine.org/About:config > > Type "about:config", without the quotes, in the address bar. Dismiss the warning. Type "search", without the quotes, in the filter field. Look for "browser.search.defaultenginename" - it's the second line in my case. What soes it say? If it says "Google", then something is definitely screwy because it's not using the specified default. If it says "Bling", then right-click anywhere in that line, select "Modify" from the contextual menu and type "Google" into the dialog, without the quotes. Click "OK". Maybe restart Firefox and you *should* be ok. > > Good luck! > > Warren > From matthias_livecode_150811 at m-r-d.de Wed Mar 14 12:51:33 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 14 Mar 2012 17:51:33 +0100 Subject: OT: i am giving away my license of tmTools 2012 Suite out of the Omega bundle for free Message-ID: Hi, today i have purchased the Omega bundle. But there are some products in it, which i have already purchased in the past. I thought it would be a shame, if this licenses would not be used by someone else. So i contacted the vendor of each product and asked if it is okay if i give away that "unneeded" license for free. I got already positive reply from Scott Rossi. So i can now offer my license of the tmTools Suite for free which contains: tmTools Basic tmColor 2 tmGauge 2 tmAudio tmGradient 2 tmNumeric tmAlign I am still investigating if i have to send the files to the new owner or if Scott is just change the licenseholder information. The first one who sends a private e-mail (please not over the list) to me will get the files/license, as soon as i know how to proceed. There are some other products, which i can give away. As soon as i get a positive feedback from the other vendors, i will post this. Regards, Matthias From niggemann at uni-wh.de Wed Mar 14 12:56:28 2012 From: niggemann at uni-wh.de (BNig) Date: Wed, 14 Mar 2012 09:56:28 -0700 (PDT) Subject: does "type" works in a standalone? In-Reply-To: <9711000B-3155-4E4B-835A-013B176092C2@wanadoo.fr> References: <4C858BB3-7621-43AC-A095-D1C0A12F10BD@economy-x-talk.com> <9711000B-3155-4E4B-835A-013B176092C2@wanadoo.fr> Message-ID: <1331744188926-4472467.post@n4.nabble.com> Hi Andr?, your code works in a standalone if it was created with Livecode version up to 4.6.4. Starting with version 5.0 you see the behavior you describe: no typing and after a delay (controlled by the typingRate) appears the whole text at once. This looks like a bug to me. Kind regards Bernd > On 14 mrt 2012, at 13:53, Andr? Bisseret wrote: > >> Bonjour, >> >> On card 1 of a stack I have a field whose script is the following : >> >> on focusIn >> put empty into me >> select before me >> type "Bonjour" >> select empty >> end focusIn >> >> on openStack, I send "focusin" to this field. >> >> This is working as expected in the IDE >> >> But does not work in the standalone >> With the standalone, after a while "Hello" is written all at once. >> Seems like the typing is executed but invisibly, and then, the entire >> word is put in the field. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/does-type-works-in-a-standalone-tp4471758p4472467.html Sent from the Revolution - User mailing list archive at Nabble.com. From matthias_livecode_150811 at m-r-d.de Wed Mar 14 13:00:04 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 14 Mar 2012 18:00:04 +0100 Subject: OT: Giving away for free 1 license of Scripter's Scrapbook and 1 license of Chartmaker Message-ID: <4F16B300-3D69-4541-A0A5-B60BC054E491@m-r-d.de> Hi, just got a positive answer from Hugh of FlexibleLearning. He also agreed. So if anyone is interested in a license of Scripter?s Scrapbook or ChartMaker, then please send me a private e-mail (not over the list) and tell me which tool you want to get. The first one who sends the e-mail will get it. Please send an email for each tool. If you do not know what these tools can do for you then just visit http://www.flexiblelearning.com/ssbk.htm for Scripter?s Scrapbook or http://www.flexiblelearning.com/chartmaker/index.htm for charMaker to get some more information. Matthias From matthias_livecode_150811 at m-r-d.de Wed Mar 14 13:19:39 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 14 Mar 2012 18:19:39 +0100 Subject: OT: i am giving away my license of tmTools 2012 Suite out of the Omega bundle for free In-Reply-To: References: Message-ID: Hi, just want to let you all know that the free license of tmTools are already out ;) Regards, Matthias Am 14.03.2012 um 17:51 schrieb Matthias Rebbe: > Hi, > > today i have purchased the Omega bundle. But there are some products in it, which i have already purchased in the past. > I thought it would be a shame, if this licenses would not be used by someone else. So i contacted the vendor of each product and asked if it is okay if i give away that "unneeded" license for free. > > I got already positive reply from Scott Rossi. So i can now offer my license of the tmTools Suite for free > which contains: > > tmTools Basic > tmColor 2 > tmGauge 2 > tmAudio > tmGradient 2 > tmNumeric > tmAlign > > I am still investigating if i have to send the files to the new owner or if Scott is just change the licenseholder information. > The first one who sends a private e-mail (please not over the list) to me will get the files/license, as soon as i know how to proceed. > > There are some other products, which i can give away. As soon as i get a positive feedback from the other vendors, i will > post this. > > Regards, > > Matthias > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Wed Mar 14 13:25:20 2012 From: pete at mollysrevenge.com (Pete) Date: Wed, 14 Mar 2012 10:25:20 -0700 Subject: help pls In-Reply-To: References: Message-ID: Hi Marek, I have to admit I'm not fully understanding the requirement you described on the forum but if you need to have a calculated value column based on other columns, you can have the database do that by defining a triggers that will happen every time an INSERT or UPDATE is done to the table in question. That way, the db does all the work for you and all you have to do is a simple SELECT for the calculated column. The syntax for creating a mySQL trigger is at http://dev.mysql.com/doc/refman/5.5/en/create-trigger.html. It would look something like: CREATE TRIGGER mytrigger AFTER INSERT ON thetable FOR EACH ROW UPDATE thetable SET PRICE to (NEW.Col1 * New.Col2) WHERE id=NEW.id You would also have a second trigger defined as AFTER UPDATE. With those triggers in place, just SELECT PRICE FROM theTable. Hope that helps. Pete On Wed, Mar 14, 2012 at 9:30 AM, Marek Reichenbach < reichenbach.marek at gmail.com> wrote: > Hi , any suggestions on this post ? > http://forums.runrev.com/viewtopic.php?f=12&t=11360&p=53356#p53356 > Help please > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From m.schonewille at economy-x-talk.com Wed Mar 14 13:25:33 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 14 Mar 2012 18:25:33 +0100 Subject: does "type" works in a standalone? In-Reply-To: <1331744188926-4472467.post@n4.nabble.com> References: <4C858BB3-7621-43AC-A095-D1C0A12F10BD@economy-x-talk.com> <9711000B-3155-4E4B-835A-013B176092C2@wanadoo.fr> <1331744188926-4472467.post@n4.nabble.com> Message-ID: <35E6D3F0-00BC-4BFE-AD45-BE40B1D34623@economy-x-talk.com> Hi. Try: set the acceleratedRendering of this stack to false -- 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 1.7 for LiveCode here http://qery.us/za On 14 mrt 2012, at 17:56, BNig wrote: > Hi Andr?, > > your code works in a standalone if it was created with Livecode version up > to 4.6.4. > > Starting with version 5.0 you see the behavior you describe: no typing and > after a delay (controlled by the typingRate) appears the whole text at once. > This looks like a bug to me. > > Kind regards > > Bernd From warren at warrensweb.us Wed Mar 14 13:25:45 2012 From: warren at warrensweb.us (Warren Samples) Date: Wed, 14 Mar 2012 12:25:45 -0500 Subject: OT - BING HAS TAKEN OVER MY SEARCH ENGINE In-Reply-To: References: <32C7803A-3AFE-451B-831D-342ADF74A7D4@verizon.net> <69B80CBB-5F7C-467F-801D-45E110339F60@cox.net> <4F60C7B6.7030403@warrensweb.us> Message-ID: <4F60D499.3050306@warrensweb.us> On 03/14/2012 11:42 AM, Joe Lewis Wilkins wrote: > continued frustration. Result was "website cannot be found". (sigh!) > Thanks anyway! Just not my day. My vision is poorer than usual today. > Joe Wilkins That seems odd. You can edit the prefs files directly in a text editor. It's not difficult or scary. You need to know where your profile is and which one if there are more than one. This may help: http://kb.mozillazine.org/Profile_folder http://gemal.dk/mozilla/profile.html MAKE SURE FIREFOX IS NOT OPEN WHILE YOU DO EDIT THE FILE!!! Once you've found your profile directory, open the file called prefs.js in your favorite text editor. Search for "browser.search.defaultenginename". You want that line to look this way: user_pref("browser.search.defaultenginename", "Google"); You may also have a file called user.js Check that to make sure it doesn't have anything that conflicts with this. http://kb.mozillazine.org/User.js_file Good luck :) Warren From matthias_livecode_150811 at m-r-d.de Wed Mar 14 13:27:28 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 14 Mar 2012 18:27:28 +0100 Subject: OT: Giving away for free 1 license of Scripter's Scrapbook and 1 license of Chartmaker In-Reply-To: <4F16B300-3D69-4541-A0A5-B60BC054E491@m-r-d.de> References: <4F16B300-3D69-4541-A0A5-B60BC054E491@m-r-d.de> Message-ID: <5D00565E-823F-4D1A-AA75-3DC874BC2AEA@m-r-d.de> Hi, Scripter?s Scrapbook is already given away. Matthias Am 14.03.2012 um 18:00 schrieb Matthias Rebbe: > Hi, > > just got a positive answer from Hugh of FlexibleLearning. He also agreed. > > So if anyone is interested in a license of Scripter?s Scrapbook or ChartMaker, then please send me a private e-mail (not over the list) and tell me which tool you want to get. The first one who sends the e-mail will get it. Please send an email for each tool. > > If you do not know what these tools can do for you then just visit > http://www.flexiblelearning.com/ssbk.htm for Scripter?s Scrapbook > or > http://www.flexiblelearning.com/chartmaker/index.htm for charMaker > > to get some more information. > > Matthias > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Wed Mar 14 13:27:38 2012 From: pete at mollysrevenge.com (Pete) Date: Wed, 14 Mar 2012 10:27:38 -0700 Subject: Filter probelm In-Reply-To: <2E00F3F3-8DD7-48DD-BB4D-9501BA822423@unimelb.edu.au> References: <2E00F3F3-8DD7-48DD-BB4D-9501BA822423@unimelb.edu.au> Message-ID: Duh!! Thank you Terry. Pete On Tue, Mar 13, 2012 at 9:35 PM, Terry Judd wrote: > > On 14/03/2012, at 02:52 PM, Pete wrote: > > Unless I'm doing something wrong, "filter tvar without tab" doesn't work, > that is the lines with a tab remain in tvar after the filter command. > > Suer would be nice to have that work when dynamically building the contents > of a popup menu with indented lines in it... > > That would only work if the lines you wanted to filter out only contained > a tab character. If they contain other stuff then you need one of the > following... > > filter tvar without ("*"&tab&"*") -- if the tab can be anywhere in the line > filter tvar without (tab&"*") -- if the tab is at the start of the line, or > filter tvar without ("*"&tab) -- if the tab is at the end of the line > > Terry... > > -- > Pete > Molly's Revenge > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > Dr Terry Judd > Senior Lecturer in Medical Education > Medical Eduction Unit > Faculty of Medicine, Dentistry & Health Sciences > The University of Melbourne > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From jacque at hyperactivesw.com Wed Mar 14 13:45:29 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 14 Mar 2012 12:45:29 -0500 Subject: OT - BING HAS TAKEN OVER MY SEARCH ENGINE In-Reply-To: References: <32C7803A-3AFE-451B-831D-342ADF74A7D4@verizon.net> <69B80CBB-5F7C-467F-801D-45E110339F60@cox.net> <4F60C7B6.7030403@warrensweb.us> Message-ID: <4F60D939.7020901@hyperactivesw.com> On 3/14/12 11:42 AM, Joe Lewis Wilkins wrote: > Warren: continued frustration. Result was "website cannot be found". Try this: In Finder, go here: /Users//Library/Application Support/Firefox/Profiles/.default/searchplugins/ Look for Bing in there and delete it or move it out of the folder. Restart Firefox. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From reichenbach.marek at gmail.com Wed Mar 14 13:58:16 2012 From: reichenbach.marek at gmail.com (Marek Reichenbach) Date: Wed, 14 Mar 2012 19:58:16 +0200 Subject: help pls In-Reply-To: References: Message-ID: Hi Pete. Thank you very much for the reply I dont have to put data (no INSERT)... i meant something like thig put "SELECT isv_laik,atv_laik,atstum,(select kaina from tarifai use index (tarifas) where (kg_nuo<'"& sGalutine1 &"' and '"& sGalutine1 &"'<=kg_iki) and (km_nuo wrote: > Hi Marek, > I have to admit I'm not fully understanding the requirement you described > on the forum but if you need to have a calculated value column based on > other columns, you can have the database do that by defining a triggers > that will happen every time an INSERT or UPDATE is done to the table in > question. That way, the db does all the work for you and all you have to > do is a simple SELECT for the calculated column. > > The syntax for creating a mySQL trigger is at > http://dev.mysql.com/doc/refman/5.5/en/create-trigger.html. It would look > something like: > > CREATE TRIGGER mytrigger AFTER INSERT ON thetable FOR EACH ROW > UPDATE thetable SET PRICE to (NEW.Col1 * New.Col2) WHERE id=NEW.id > > You would also have a second trigger defined as AFTER UPDATE. > > With those triggers in place, just SELECT PRICE FROM theTable. > > Hope that helps. > > Pete > > On Wed, Mar 14, 2012 at 9:30 AM, Marek Reichenbach < > reichenbach.marek at gmail.com> wrote: > > > Hi , any suggestions on this post ? > > http://forums.runrev.com/viewtopic.php?f=12&t=11360&p=53356#p53356 > > Help please > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > -- > Pete > Molly's Revenge > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From warren at warrensweb.us Wed Mar 14 14:00:02 2012 From: warren at warrensweb.us (Warren Samples) Date: Wed, 14 Mar 2012 13:00:02 -0500 Subject: OT - BING HAS TAKEN OVER MY SEARCH ENGINE In-Reply-To: <4F60D499.3050306@warrensweb.us> References: <32C7803A-3AFE-451B-831D-342ADF74A7D4@verizon.net> <69B80CBB-5F7C-467F-801D-45E110339F60@cox.net> <4F60C7B6.7030403@warrensweb.us> <4F60D499.3050306@warrensweb.us> Message-ID: <4F60DCA2.2020305@warrensweb.us> On 03/14/2012 12:25 PM, Warren Samples wrote: > On 03/14/2012 11:42 AM, Joe Lewis Wilkins wrote: >> continued frustration. Result was "website cannot be found". (sigh!) >> Thanks anyway! Just not my day. My vision is poorer than usual today. >> Joe Wilkins > > > That seems odd. You can edit the prefs files directly in a text editor. > It's not difficult or scary. You need to know where your profile is and > which one if there are more than one. This may help: > http://kb.mozillazine.org/Profile_folder > http://gemal.dk/mozilla/profile.html > > > MAKE SURE FIREFOX IS NOT OPEN WHILE YOU DO EDIT THE FILE!!! > > Once you've found your profile directory, open the file called prefs.js > in your favorite text editor. Search for > "browser.search.defaultenginename". You want that line to look this way: > > user_pref("browser.search.defaultenginename", "Google"); > > You may also have a file called user.js Check that to make sure it > doesn't have anything that conflicts with this. > http://kb.mozillazine.org/User.js_file > > Good luck :) > > Warren > > I should have tried this before I wrote. There are two lines that need to be checked: user_pref("browser.search.defaultenginename", "Google"); user_pref("browser.search.defaulturl", "http://www.google.com/"); I'm not sure why, but it's not working here as simply as it should. Set this in prefs.js and for good measure, also create a file "user.js" in this same folder and add these lines to it: # my search engine preference user_pref("browser.search.defaultenginename", "Google"); user_pref("browser.search.defaulturl", "http://www.google.com/"); Good luck! Warren From pepetoo at cox.net Wed Mar 14 14:03:47 2012 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Wed, 14 Mar 2012 11:03:47 -0700 Subject: OT - BING HAS TAKEN OVER MY SEARCH ENGINE In-Reply-To: <4F60D939.7020901@hyperactivesw.com> References: <32C7803A-3AFE-451B-831D-342ADF74A7D4@verizon.net> <69B80CBB-5F7C-467F-801D-45E110339F60@cox.net> <4F60C7B6.7030403@warrensweb.us> <4F60D939.7020901@hyperactivesw.com> Message-ID: Hi Jaqi, I was alright up until the searchplugins/ - but only got this and found no Bing in it Thanks for the effort, Joe Lewis Wilkins Architect On Mar 14, 2012, at 10:45 AM, J. Landman Gay wrote: > On 3/14/12 11:42 AM, Joe Lewis Wilkins wrote: >> Warren: continued frustration. Result was "website cannot be found". > > Try this: > > In Finder, go here: > /Users//Library/Application Support/Firefox/Profiles/.default/searchplugins/ > > Look for Bing in there and delete it or move it out of the folder. > > Restart Firefox. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Wed Mar 14 14:13:22 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 14 Mar 2012 11:13:22 -0700 Subject: Sqlite and performances in LiveCode In-Reply-To: References: <7049BBBA-A811-45C2-AEFF-A112E7D0194B@mac.com> <690278B0-41D6-45B2-9829-24B5AF0F3893@mac.com> Message-ID: <7923F126-3A24-4E31-B08A-3088DC9ACEE9@twft.com> AMEN Trevor! Bob On Mar 14, 2012, at 7:05 AM, Trevor DeVore wrote: > There really is room for a data grid-like control that is really just a > view and does nothing more than display data that is fed to it from a data > source. > > Regards, > > -- > Trevor DeVore From richmondmathewson at gmail.com Wed Mar 14 14:14:17 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 14 Mar 2012 20:14:17 +0200 Subject: OT - BING HAS TAKEN OVER MY SEARCH ENGINE In-Reply-To: References: <32C7803A-3AFE-451B-831D-342ADF74A7D4@verizon.net> <69B80CBB-5F7C-467F-801D-45E110339F60@cox.net> <4F60C7B6.7030403@warrensweb.us> <4F60D939.7020901@hyperactivesw.com> Message-ID: <4F60DFF9.8090109@gmail.com> Always remember, when in doubt, don't pause for thought, or accept responsibility for one's own actions, just blame Microsoft as an instinctive, knee-jerk reaction. However, despite my urge to do that, everything with Mozilla seems very straightforward indeed: http://support.mozilla.org/en-US/kb/Search%20bar?s=search+engine&r=1&e=es&as=s From bobs at twft.com Wed Mar 14 14:15:21 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 14 Mar 2012 11:15:21 -0700 Subject: Filter probelm In-Reply-To: References: Message-ID: <896D8B5F-D836-4960-B0E4-30C83E512C95@twft.com> filter tvar without "*" & tab & "*" Bob On Mar 13, 2012, at 8:52 PM, Pete wrote: > Unless I'm doing something wrong, "filter tvar without tab" doesn't work, > that is the lines with a tab remain in tvar after the filter command. > > Suer would be nice to have that work when dynamically building the contents > of a popup menu with indented lines in it... > > > -- > Pete > Molly's Revenge > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Wed Mar 14 14:17:23 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 14 Mar 2012 11:17:23 -0700 Subject: Filter probelm In-Reply-To: <2E00F3F3-8DD7-48DD-BB4D-9501BA822423@unimelb.edu.au> References: <2E00F3F3-8DD7-48DD-BB4D-9501BA822423@unimelb.edu.au> Message-ID: <435D55EA-0269-45E0-9C37-0052EA46B33B@twft.com> Doesn't "*" mean 0 to any number of characters? You would only want to distinguish if you only wanted lines that began with or ended with tab. Bob On Mar 13, 2012, at 9:35 PM, Terry Judd wrote: > > On 14/03/2012, at 02:52 PM, Pete wrote: > > Unless I'm doing something wrong, "filter tvar without tab" doesn't work, > that is the lines with a tab remain in tvar after the filter command. > > Suer would be nice to have that work when dynamically building the contents > of a popup menu with indented lines in it... > > That would only work if the lines you wanted to filter out only contained a tab character. If they contain other stuff then you need one of the following... > > filter tvar without ("*"&tab&"*") -- if the tab can be anywhere in the line > filter tvar without (tab&"*") -- if the tab is at the start of the line, or > filter tvar without ("*"&tab) -- if the tab is at the end of the line > > Terry... > > -- > Pete > Molly's Revenge > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > Dr Terry Judd > Senior Lecturer in Medical Education > Medical Eduction Unit > Faculty of Medicine, Dentistry & Health Sciences > The University of Melbourne > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Mar 14 14:19:26 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 14 Mar 2012 20:19:26 +0200 Subject: [OT] Search Engines in Mozilla Message-ID: <4F60E12E.2000006@gmail.com> I just added 'Duck Duck Go' to my list of search engines in Mozilla Firefox: https://duckduckgo.com/ aren't I a clever chap! From pepetoo at cox.net Wed Mar 14 14:21:22 2012 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Wed, 14 Mar 2012 11:21:22 -0700 Subject: OT - BING HAS TAKEN OVER MY SEARCH ENGINE In-Reply-To: <4F60DCA2.2020305@warrensweb.us> References: <32C7803A-3AFE-451B-831D-342ADF74A7D4@verizon.net> <69B80CBB-5F7C-467F-801D-45E110339F60@cox.net> <4F60C7B6.7030403@warrensweb.us> <4F60D499.3050306@warrensweb.us> <4F60DCA2.2020305@warrensweb.us> Message-ID: Thanks everyone. I'll need luck. (smile) I don't usually dig into any of these files. Joe Wilkins On Mar 14, 2012, at 11:00 AM, Warren Samples wrote: > On 03/14/2012 12:25 PM, Warren Samples wrote: >> On 03/14/2012 11:42 AM, Joe Lewis Wilkins wrote: >>> continued frustration. Result was "website cannot be found". (sigh!) >>> Thanks anyway! Just not my day. My vision is poorer than usual today. >>> Joe Wilkins >> >> >> That seems odd. You can edit the prefs files directly in a text editor. >> It's not difficult or scary. You need to know where your profile is and >> which one if there are more than one. This may help: >> http://kb.mozillazine.org/Profile_folder >> http://gemal.dk/mozilla/profile.html >> >> >> MAKE SURE FIREFOX IS NOT OPEN WHILE YOU DO EDIT THE FILE!!! >> >> Once you've found your profile directory, open the file called prefs.js >> in your favorite text editor. Search for >> "browser.search.defaultenginename". You want that line to look this way: >> >> user_pref("browser.search.defaultenginename", "Google"); >> >> You may also have a file called user.js Check that to make sure it >> doesn't have anything that conflicts with this. >> http://kb.mozillazine.org/User.js_file >> >> Good luck :) >> >> Warren >> >> > > > I should have tried this before I wrote. There are two lines that need to be checked: > > user_pref("browser.search.defaultenginename", "Google"); > user_pref("browser.search.defaulturl", "http://www.google.com/"); > > I'm not sure why, but it's not working here as simply as it should. Set this in prefs.js and for good measure, also create a file "user.js" in this same folder and add these lines to it: > > # my search engine preference > user_pref("browser.search.defaultenginename", "Google"); > user_pref("browser.search.defaulturl", "http://www.google.com/"); > > Good luck! > > Warren From niggemann at uni-wh.de Wed Mar 14 14:21:35 2012 From: niggemann at uni-wh.de (BNig) Date: Wed, 14 Mar 2012 11:21:35 -0700 (PDT) Subject: does "type" works in a standalone? In-Reply-To: <35E6D3F0-00BC-4BFE-AD45-BE40B1D34623@economy-x-talk.com> References: <4C858BB3-7621-43AC-A095-D1C0A12F10BD@economy-x-talk.com> <9711000B-3155-4E4B-835A-013B176092C2@wanadoo.fr> <1331744188926-4472467.post@n4.nabble.com> <35E6D3F0-00BC-4BFE-AD45-BE40B1D34623@economy-x-talk.com> Message-ID: <1331749295963-4472728.post@n4.nabble.com> Hi Mark, I tried your suggestion of setting "the acceleratedRendering of this stack to false" in Livecode 5.0.2 and still no luck. The Mac standalone I am building does not "type". Did you get this to "type" in a standalone built with Livecode >= 5.0? Kind regards Bernd Mark Schonewille-3 wrote > > Hi. Try: > > set the acceleratedRendering of this stack to false > > -- > Best regards, > > Mark Schonewille > > On 14 mrt 2012, at 17:56, BNig wrote: > >> Hi Andr?, >> >> your code works in a standalone if it was created with Livecode version >> up >> to 4.6.4. >> >> Starting with version 5.0 you see the behavior you describe: no typing >> and >> after a delay (controlled by the typingRate) appears the whole text at >> once. >> This looks like a bug to me. >> >> Kind regards >> >> Bernd > > > _______________________________________________ > use-livecode mailing list > use-livecode at .runrev > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/does-type-works-in-a-standalone-tp4471758p4472728.html Sent from the Revolution - User mailing list archive at Nabble.com. From pepetoo at cox.net Wed Mar 14 14:29:29 2012 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Wed, 14 Mar 2012 11:29:29 -0700 Subject: OT - BING HAS TAKEN OVER MY SEARCH ENGINE In-Reply-To: <4F60DFF9.8090109@gmail.com> References: <32C7803A-3AFE-451B-831D-342ADF74A7D4@verizon.net> <69B80CBB-5F7C-467F-801D-45E110339F60@cox.net> <4F60C7B6.7030403@warrensweb.us> <4F60D939.7020901@hyperactivesw.com> <4F60DFF9.8090109@gmail.com> Message-ID: <40C32302-45A3-4397-92EB-1E628FC6D5F4@cox.net> I give up. Too much to read and too small. Zooming just makes it worse. I suspect I will be totally blind or everything will be screwed up before too very long. (sigh!) Someone needs to do an app that uses a white cane to navigate the net. Eyes and fingers just don't cut it any more. Everything is changing too rapidly for my feeble eyes and brain. (ug!) I'm almost not kidding. Joe Wilkins On Mar 14, 2012, at 11:14 AM, Richmond wrote: > Always remember, when in doubt, don't pause for thought, or accept responsibility > for one's own actions, just blame Microsoft as an instinctive, knee-jerk reaction. > > However, despite my urge to do that, everything with Mozilla seems very straightforward indeed: > > http://support.mozilla.org/en-US/kb/Search%20bar?s=search+engine&r=1&e=es&as=s > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Wed Mar 14 14:33:43 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 14 Mar 2012 13:33:43 -0500 Subject: [OT] Search Engines in Mozilla In-Reply-To: <4F60E12E.2000006@gmail.com> References: <4F60E12E.2000006@gmail.com> Message-ID: <4F60E487.20304@hyperactivesw.com> On 3/14/12 1:19 PM, Richmond wrote: > I just added 'Duck Duck Go' to my list of search engines in Mozilla > Firefox: > > https://duckduckgo.com/ I've been using Duck Duck Go for a while now, ever since I became resentful that Google tracks everything I do. It's slower than Google and has less features but I think its results are just as good. I'm aware of my privacy settings at all times and usually surf without javascript and cookies. That means Google only has my IP (or whatever it uses) to track me. I looked up my profile and it thinks I'm a 35 year old male. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Mar 14 14:35:41 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 14 Mar 2012 13:35:41 -0500 Subject: does "type" works in a standalone? In-Reply-To: <1331749295963-4472728.post@n4.nabble.com> References: <4C858BB3-7621-43AC-A095-D1C0A12F10BD@economy-x-talk.com> <9711000B-3155-4E4B-835A-013B176092C2@wanadoo.fr> <1331744188926-4472467.post@n4.nabble.com> <35E6D3F0-00BC-4BFE-AD45-BE40B1D34623@economy-x-talk.com> <1331749295963-4472728.post@n4.nabble.com> Message-ID: <4F60E4FD.6030206@hyperactivesw.com> On 3/14/12 1:21 PM, BNig wrote: > Hi Mark, > > I tried your suggestion of setting "the acceleratedRendering of this stack > to false" in Livecode 5.0.2 and still no luck. The Mac standalone I am > building does not "type". I suppose it could be faked instead: repeat for each char c in "Bonjour" put c after fld x wait 10 milliseconds end repeat That doesn't fix the bug of course. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Wed Mar 14 14:36:24 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 14 Mar 2012 20:36:24 +0200 Subject: [OT] Search Engines in Mozilla In-Reply-To: <4F60E487.20304@hyperactivesw.com> References: <4F60E12E.2000006@gmail.com> <4F60E487.20304@hyperactivesw.com> Message-ID: <4F60E528.9010401@gmail.com> On 03/14/2012 08:33 PM, J. Landman Gay wrote: > On 3/14/12 1:19 PM, Richmond wrote: >> I just added 'Duck Duck Go' to my list of search engines in Mozilla >> Firefox: >> >> https://duckduckgo.com/ > > I've been using Duck Duck Go for a while now, ever since I became > resentful that Google tracks everything I do. It's slower than Google > and has less features but I think its results are just as good. > > I'm aware of my privacy settings at all times and usually surf without > javascript and cookies. That means Google only has my IP (or whatever > it uses) to track me. I looked up my profile and it thinks I'm a 35 > year old male. :) Gosh, you mean you aren't a 35 year old male? well, well, life is full of surprises. Love, Melanie. From m.schonewille at economy-x-talk.com Wed Mar 14 14:49:22 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 14 Mar 2012 19:49:22 +0100 Subject: [OT] Search Engines in Mozilla In-Reply-To: <4F60E12E.2000006@gmail.com> References: <4F60E12E.2000006@gmail.com> Message-ID: <7064D4C4-291E-4485-8942-3B0039E14B2D@economy-x-talk.com> And if you want to search this mailing list directly from that little Firefox search box, then you can use this plugin: http://qery.us/13d (only available after donating). -- 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 1.7 for LiveCode here http://qery.us/za On 14 mrt 2012, at 19:19, Richmond wrote: > I just added 'Duck Duck Go' to my list of search engines in Mozilla Firefox: > > https://duckduckgo.com/ > > aren't I a clever chap! From andre.bisseret at wanadoo.fr Wed Mar 14 15:04:37 2012 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Wed, 14 Mar 2012 20:04:37 +0100 Subject: does "type" works in a standalone? In-Reply-To: <1331744188926-4472467.post@n4.nabble.com> References: <4C858BB3-7621-43AC-A095-D1C0A12F10BD@economy-x-talk.com> <9711000B-3155-4E4B-835A-013B176092C2@wanadoo.fr> <1331744188926-4472467.post@n4.nabble.com> Message-ID: <7F0ABCFF-ED1A-4A74-896B-B1920F1A846D@wanadoo.fr> Bernd, Thanks a lot for this information; rather reassuring ;-) You are right: I tried with a standalone created with 4.6 and my script works like a charm with this version. I agree seems it's a bug in 5.0 I will send a simplified stack to runrev. Best regards Le 14 mars 2012 ? 17:56, BNig a ?crit : > Hi Andr?, > > your code works in a standalone if it was created with Livecode version up > to 4.6.4. > > Starting with version 5.0 you see the behavior you describe: no typing and > after a delay (controlled by the typingRate) appears the whole text at once. > This looks like a bug to me. > > Kind regards > > Bernd > >> On 14 mrt 2012, at 13:53, Andr? Bisseret wrote: >> >>> Bonjour, >>> >>> On card 1 of a stack I have a field whose script is the following : >>> >>> on focusIn >>> put empty into me >>> select before me >>> type "Bonjour" >>> select empty >>> end focusIn >>> >>> on openStack, I send "focusin" to this field. >>> >>> This is working as expected in the IDE >>> >>> But does not work in the standalone >>> With the standalone, after a while "Hello" is written all at once. >>> Seems like the typing is executed but invisibly, and then, the entire >>> word is put in the field. > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/does-type-works-in-a-standalone-tp4471758p4472467.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mikedoub at gmail.com Wed Mar 14 15:09:55 2012 From: mikedoub at gmail.com (Michael Doub) Date: Wed, 14 Mar 2012 15:09:55 -0400 Subject: Detection of Keyboard Closing Message-ID: <0D313AAB-D6D2-44E7-B0C7-9F5D46344D13@gmail.com> Is there a way to detect that the user has closed the keyboard on Android? Maybe someone can point out an appropriate technique to solve my problem. I have a card with one editable field on it. When I go to that card currently the focus immediately go to that field and the keyboard pops up. I would like the field to remain editable, but only if it is selected by the user. I would like to be notified upon completion. From andre.bisseret at wanadoo.fr Wed Mar 14 15:23:35 2012 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Wed, 14 Mar 2012 20:23:35 +0100 Subject: does "type" works in a standalone? In-Reply-To: <4F60E4FD.6030206@hyperactivesw.com> References: <4C858BB3-7621-43AC-A095-D1C0A12F10BD@economy-x-talk.com> <9711000B-3155-4E4B-835A-013B176092C2@wanadoo.fr> <1331744188926-4472467.post@n4.nabble.com> <35E6D3F0-00BC-4BFE-AD45-BE40B1D34623@economy-x-talk.com> <1331749295963-4472728.post@n4.nabble.com> <4F60E4FD.6030206@hyperactivesw.com> Message-ID: <4583E543-C845-44A6-B82F-1779F614F1C6@wanadoo.fr> Bonjour Jacque, Thank you much for this nice idea. Not sure at all I would have come up with it ;-)) Yes it works well! even with version 5.02 ;-o)) Best regards Andr? Le 14 mars 2012 ? 19:35, J. Landman Gay a ?crit : > On 3/14/12 1:21 PM, BNig wrote: >> Hi Mark, >> >> I tried your suggestion of setting "the acceleratedRendering of this stack >> to false" in Livecode 5.0.2 and still no luck. The Mac standalone I am >> building does not "type". > > I suppose it could be faked instead: > > repeat for each char c in "Bonjour" > put c after fld x > wait 10 milliseconds > end repeat > > That doesn't fix the bug of course. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Wed Mar 14 15:23:56 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 15 Mar 2012 06:23:56 +1100 Subject: [ANN] iOS document interaction external added to mergExt In-Reply-To: References: <41E1CBD2-2C1B-47AC-9EEB-4820372D786A@sweattechnologies.com> Message-ID: Thanks guys for your support. Don't forget to vote for what you want next on mergExt.com! -- Monte Goulding On 15/03/2012, at 2:24 AM, Andre Garzia wrote: > Thomas, I agree with you!!! > > Monte, thanks for the wonderful tools! > > On Wed, Mar 14, 2012 at 10:01 AM, Thomas McGrath III wrote: > >> Monte, >> >> This is a great external. Thanks so much for this. This is the best >> purchase I've made in a long time. >> >> Keep up the great work?. >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> 3mcgrath at comcast.net >> >> On Mar 14, 2012, at 12:54 AM, Monte Goulding wrote: >> >>> Hi LiveCoders >>> >>> mergExt (http://mergext.com) has grown again with a new external called >> mergDoc. The suite now includes 8 externals: barcode reading, video >> recording, extended file attributes, iAd banners and more. >>> >>> mergDoc is an iOS external that adds functions and commands related to >> document interaction. This currently includes presenting a modal preview, >> open in app menu, document options menu and requesting the document icons >> in PNG form. Printing is also available via the preview. mergDoc with 29% >> of the vote came in a close second in the poll to MapKit. There's a new >> poll up now but clearly MapKit is next on the hit list. >>> >>> Users can now also participate in the mergExt affiliate program to get a >> free month of updates for every sale. Once logged in you will see the >> referral url above the poll. >>> >>> Don't forget to vote for what you want next! If you want something >> that's not on the poll then add it to the Ideas topic in the mergExt forum. >>> >>> Monte Goulding >>> -- >>> M E R Goulding >>> Software development services >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > http://www.andregarzia.com -- All We Do Is Code. > http://fon.nu -- minimalist url shortening service. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Wed Mar 14 16:03:56 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 14 Mar 2012 15:03:56 -0500 Subject: Detection of Keyboard Closing In-Reply-To: <0D313AAB-D6D2-44E7-B0C7-9F5D46344D13@gmail.com> References: <0D313AAB-D6D2-44E7-B0C7-9F5D46344D13@gmail.com> Message-ID: <4F60F9AC.6070807@hyperactivesw.com> On 3/14/12 2:09 PM, Michael Doub wrote: > Is there a way to detect that the user has closed the keyboard on > Android? > > Maybe someone can point out an appropriate technique to solve my > problem. I have a card with one editable field on it. When I go to > that card currently the focus immediately go to that field and the > keyboard pops up. I would like the field to remain editable, but > only if it is selected by the user. I would like to be notified upon > completion. It's an ancient problem that dates back to the origins of the engine. The first object with traversalOn will get the focus. On Windows, where buttons can be focused, the solution is to set a button to a lower layer than the first field. On Mac, and apparently mobile (I haven't checked,) that doesn't work. One workaround is to add a short handler that removes the focus and send it from a preOpenCard. It doesn't trigger right if you just add "focus on nothing" to a pre- or openCard handler. on preOpenCard send "noSelect" to me in 1 end preOpenCard on noSelect focus on nothing end noSelect I haven't tried this on mobile yet, but that's how I do it in desktop apps. On mobile the keyboard might pop up and disappear if the timing isn't right. Let us know. Another way to handle it is to set the field's traversalOn to false in preOpenCard and then set it back to true on openCard. I've had mixed results with that method, but you can try it: on preOpenCard set the traversalOn of fld 1 to false end preOpenCard on openCard set the traversalOn of fld 1 to true end openCard -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From cmsheffield at me.com Wed Mar 14 16:13:36 2012 From: cmsheffield at me.com (Chris Sheffield) Date: Wed, 14 Mar 2012 14:13:36 -0600 Subject: iOS: capitalization in ask dialog Message-ID: <7B25BB7A-16E9-46DF-8916-037D04C067B0@me.com> Can someone tell me if it's possible to change the capitalization settings for an iOS ask dialog? I have an app that prompts the user for their name. I'd like to set the capitalization for words on if possible. I know this can be done when using the UIText native controls, but I'd rather not have to roll my own dialog if I don't have to. If it's not possible, I think I'll submit an enhancement request. Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com From francois.chaplais at mines-paristech.fr Wed Mar 14 17:32:34 2012 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Wed, 14 Mar 2012 22:32:34 +0100 Subject: OT - BING HAS TAKEN OVER MY SEARCH ENGINE In-Reply-To: <40C32302-45A3-4397-92EB-1E628FC6D5F4@cox.net> References: <32C7803A-3AFE-451B-831D-342ADF74A7D4@verizon.net> <69B80CBB-5F7C-467F-801D-45E110339F60@cox.net> <4F60C7B6.7030403@warrensweb.us> <4F60D939.7020901@hyperactivesw.com> <4F60DFF9.8090109@gmail.com> <40C32302-45A3-4397-92EB-1E628FC6D5F4@cox.net> Message-ID: <36701E63-8ABC-4BC2-814B-2B6541B3FBF0@mines-paristech.fr> Do you have the latest version of firefox? I have, it says version 11. On this version (mine), on the left of the search toolbar, there should be the icon for your current search engine (it should look like a with b on an orange background if you have Bing) Click on this very icon and you should see a scrolling list of available search engines. At the left of the name of each engine there is the icon of the corresponding engine. If you want google, scroll down to the icon with a G and let go. That should be it. I do not know how your sight is, but the icons are the biggest thing I came up with. Best regards, Fran?ois Le 14 mars 2012 ? 19:29, Joe Lewis Wilkins a ?crit : > I give up. Too much to read and too small. Zooming just makes it worse. I suspect I will be totally blind or everything will be screwed up before too very long. (sigh!) Someone needs to do an app that uses a white cane to navigate the net. Eyes and fingers just don't cut it any more. Everything is changing too rapidly for my feeble eyes and brain. (ug!) I'm almost not kidding. > > Joe Wilkins > > On Mar 14, 2012, at 11:14 AM, Richmond wrote: > >> Always remember, when in doubt, don't pause for thought, or accept responsibility >> for one's own actions, just blame Microsoft as an instinctive, knee-jerk reaction. >> >> However, despite my urge to do that, everything with Mozilla seems very straightforward indeed: >> >> http://support.mozilla.org/en-US/kb/Search%20bar?s=search+engine&r=1&e=es&as=s >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pmbrig at gmail.com Wed Mar 14 18:01:19 2012 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Wed, 14 Mar 2012 18:01:19 -0400 Subject: Detection of Keyboard Closing In-Reply-To: <4F60F9AC.6070807@hyperactivesw.com> References: <0D313AAB-D6D2-44E7-B0C7-9F5D46344D13@gmail.com> <4F60F9AC.6070807@hyperactivesw.com> Message-ID: <48BF45A9-B91C-40FA-96F9-EEFC4B901391@gmail.com> The other way, which I have used for some time, is to group the field (either in a group by itself, or including all the fields you don't want to automatically get focused) then set the group's traversalOn to false. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Mar 14, 2012, at 4:03 PM, J. Landman Gay wrote: > On 3/14/12 2:09 PM, Michael Doub wrote: >> Is there a way to detect that the user has closed the keyboard on >> Android? >> >> Maybe someone can point out an appropriate technique to solve my >> problem. I have a card with one editable field on it. When I go to >> that card currently the focus immediately go to that field and the >> keyboard pops up. I would like the field to remain editable, but >> only if it is selected by the user. I would like to be notified upon >> completion. > > It's an ancient problem that dates back to the origins of the engine. The first object with traversalOn will get the focus. On Windows, where buttons can be focused, the solution is to set a button to a lower layer than the first field. On Mac, and apparently mobile (I haven't checked,) that doesn't work. > > One workaround is to add a short handler that removes the focus and send it from a preOpenCard. It doesn't trigger right if you just add "focus on nothing" to a pre- or openCard handler. > > on preOpenCard > send "noSelect" to me in 1 > end preOpenCard > > on noSelect > focus on nothing > end noSelect > > I haven't tried this on mobile yet, but that's how I do it in desktop apps. On mobile the keyboard might pop up and disappear if the timing isn't right. Let us know. > > Another way to handle it is to set the field's traversalOn to false in preOpenCard and then set it back to true on openCard. I've had mixed results with that method, but you can try it: > > on preOpenCard > set the traversalOn of fld 1 to false > end preOpenCard > > on openCard > set the traversalOn of fld 1 to true > end openCard > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pepetoo at cox.net Wed Mar 14 18:04:09 2012 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Wed, 14 Mar 2012 15:04:09 -0700 Subject: OT - BING HAS TAKEN OVER MY SEARCH ENGINE In-Reply-To: <36701E63-8ABC-4BC2-814B-2B6541B3FBF0@mines-paristech.fr> References: <32C7803A-3AFE-451B-831D-342ADF74A7D4@verizon.net> <69B80CBB-5F7C-467F-801D-45E110339F60@cox.net> <4F60C7B6.7030403@warrensweb.us> <4F60D939.7020901@hyperactivesw.com> <4F60DFF9.8090109@gmail.com> <40C32302-45A3-4397-92EB-1E628FC6D5F4@cox.net> <36701E63-8ABC-4BC2-814B-2B6541B3FBF0@mines-paristech.fr> Message-ID: Fran?ois, I do have version 11. But something is definitely screwed up with the pop-up option button you guys have suggested might fix things. For one thing, I have trouble even finding the toolbar. Way too small; When I finally did get something to pop-up, it had the word "Search" repeated about 6 times. And my vision today is really poor, so I'm just going to continue using Safari. Thanks everyone, Joe Wilkins On Mar 14, 2012, at 2:32 PM, Fran?ois Chaplais wrote: > Do you have the latest version of firefox? I have, it says version 11. On this version (mine), on the left of the search toolbar, there should be the icon for your current search engine (it should look like a with b on an orange background if you have Bing) > Click on this very icon and you should see a scrolling list of available search engines. At the left of the name of each engine there is the icon of the corresponding engine. > If you want google, scroll down to the icon with a G and let go. That should be it. > I do not know how your sight is, but the icons are the biggest thing I came up with. > Best regards, > Fran?ois > Le 14 mars 2012 ? 19:29, Joe Lewis Wilkins a ?crit : > >> I give up. Too much to read and too small. Zooming just makes it worse. I suspect I will be totally blind or everything will be screwed up before too very long. (sigh!) Someone needs to do an app that uses a white cane to navigate the net. Eyes and fingers just don't cut it any more. Everything is changing too rapidly for my feeble eyes and brain. (ug!) I'm almost not kidding. >> >> Joe Wilkins >> >> On Mar 14, 2012, at 11:14 AM, Richmond wrote: >> >>> Always remember, when in doubt, don't pause for thought, or accept responsibility >>> for one's own actions, just blame Microsoft as an instinctive, knee-jerk reaction. >>> >>> However, despite my urge to do that, everything with Mozilla seems very straightforward indeed: >>> >>> http://support.mozilla.org/en-US/kb/Search%20bar?s=search+engine&r=1&e=es&as=s >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Wed Mar 14 18:11:59 2012 From: coiin at verizon.net (Colin Holgate) Date: Wed, 14 Mar 2012 18:11:59 -0400 Subject: OT - BING HAS TAKEN OVER MY SEARCH ENGINE In-Reply-To: <36701E63-8ABC-4BC2-814B-2B6541B3FBF0@mines-paristech.fr> References: <32C7803A-3AFE-451B-831D-342ADF74A7D4@verizon.net> <69B80CBB-5F7C-467F-801D-45E110339F60@cox.net> <4F60C7B6.7030403@warrensweb.us> <4F60D939.7020901@hyperactivesw.com> <4F60DFF9.8090109@gmail.com> <40C32302-45A3-4397-92EB-1E628FC6D5F4@cox.net> <36701E63-8ABC-4BC2-814B-2B6541B3FBF0@mines-paristech.fr> Message-ID: <46258606-8C08-4446-B622-7DAB0457971F@verizon.net> Speaking of that version, it has a very neat 3D view of the page, if you're doing Inspect Element. You can rotate the view so that it's easy to see the layering of the page elements. On Mar 14, 2012, at 5:32 PM, Fran?ois Chaplais wrote: > Do you have the latest version of firefox? I have, it says version 11. From vokey at uleth.ca Wed Mar 14 18:54:09 2012 From: vokey at uleth.ca (Vokey, John) Date: Wed, 14 Mar 2012 22:54:09 +0000 Subject: bluetooth and LC Message-ID: <03A81FB5-B8D3-4899-9DE1-7B191F945CAF@uleth.ca> All, I am completely naive on this, but as I am getting a new portable EEG device for my lab that communicates by bluetooth, I thought I would ask whether any of the many genius coders on this list know how to read the raw data from a bluetooth device from LiveCard? The machine comes with software, but would prefer to handle it on my own within LC. -- Please avoid sending me Word or PowerPoint attachments. See -Dr. John R. Vokey From niconiko at gmail.com Wed Mar 14 19:07:38 2012 From: niconiko at gmail.com (Nicolas Cueto) Date: Thu, 15 Mar 2012 08:07:38 +0900 Subject: post command on Android not working (?) In-Reply-To: References: <8DFEBC97-211F-4C3A-BE6B-30F89567F933@economy-x-talk.com> Message-ID: Hello, After a careful explanation from Michael McCreary at LC, I finally got post in Android working. The problem was not the post command but rather how I was encoding my post paramaters. It's all in bug report# 10080. Mea culpa. -- Nicolas Cueto From dsc at swcp.com Wed Mar 14 19:56:56 2012 From: dsc at swcp.com (Dar Scott) Date: Wed, 14 Mar 2012 17:56:56 -0600 Subject: bluetooth and LC In-Reply-To: <03A81FB5-B8D3-4899-9DE1-7B191F945CAF@uleth.ca> References: <03A81FB5-B8D3-4899-9DE1-7B191F945CAF@uleth.ca> Message-ID: <62851FD5-8378-40B6-99B7-277C5C5BC97A@swcp.com> There is a chance you can communicate with the device as though the Bluetooth link is a serial port. The manufacturer might be able to help. If the device simply dumped data and did not need a dialog, you might be able to discover how the messages look, but if if a dialog is needed, that would be hard without some sort of clue. If the device software can be run as a command-line app, you might be able to use shell() or open process to communicate with the software. Otherwise, you might need to create or have created an external. Dar On Mar 14, 2012, at 4:54 PM, Vokey, John wrote: > All, > I am completely naive on this, but as I am getting a new portable EEG device for my lab that communicates by bluetooth, I thought I would ask whether any of the many genius coders on this list know how to read the raw data from a bluetooth device from LiveCard? The machine comes with software, but would prefer to handle it on my own within LC. > -- > Please avoid sending me Word or PowerPoint attachments. > See > > -Dr. John R. Vokey > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode --------------------------- Dar Scott dba Dar Scott Consulting 8637 Horacio Place NE Albuquerque, NM 87111 Lab, home, office phone: +1 505 299 9497 For Skype and fax, please contact. dsc at swcp.com Computer Programming and tinkering, often making LiveCode libraries and externals, sometimes writing associated microcontroller firmware. --------------------------- From pete at mollysrevenge.com Wed Mar 14 21:35:32 2012 From: pete at mollysrevenge.com (Pete) Date: Wed, 14 Mar 2012 18:35:32 -0700 Subject: Sqlite and performances in LiveCode In-Reply-To: References: <7049BBBA-A811-45C2-AEFF-A112E7D0194B@mac.com> <690278B0-41D6-45B2-9829-24B5AF0F3893@mac.com> Message-ID: Hi Trevor, Sorry to keep coming up with new quirks but I have another strange situation regarding GetDataForLine. Under some circumstances, the data that I supply from GetDataForLine ends up in the datagrid starting at the 13th line instead of line 1 and the first 12 lines have data in them from the previous cycle of GetDataForLine. One GetDataForLine cycle deals with 12 lines. I'm using the datagrid in question as a general purpose viewer of data from any table in an sqlite database. The circumstances that cause the problem are if I have data from a table displayed, then I filter it in some way, so the number and format of the dg columns is the same but the rows contain a subset of the original data. If I select a different table and therefore change the number and size of the dg columns, the correct data is displayed. I set a breakpoint at the end of GetDataForLine and can see that I am sending the correct data back to the datagrid in pDataA and pline starts at 1 and continues correctly up to 12. If I refresh the datagrid either from its Inspector palette or by script, the correct data turns up at the top of the datagrid although that invokes another cycle of GetDataForLine. Also, if I scroll down the datagrid past the 12th line then scroll back to the top of the datagrid, the correct data turns up. If I scroll less than 12 lines then back, some of the incorrect lines still appear and the the rest of the lines are correct. For example, if I scroll down 4 lines then back, the first 4 lines have incorrect data and the rest are correct. It seems like this must be something I'm doing wrong in my code but the fact that I see the correct data being sent to the datagrid for the correct line from GetDataForLine seems to argue against that. Can you think of anything that might cause this behavior? Thanks, Pete On Wed, Mar 14, 2012 at 7:05 AM, Trevor DeVore wrote: > On Tue, Mar 13, 2012 at 5:46 PM, Pete wrote: > > > OK, found the problem. I had a set dgProps["sort by column"] statement > > after setting the dgNUmberOfRecords. Moved that to a place where > > dgNumberOfRecords is zero and only one cycle of GetDataForLine happens > now. > > > > Great. Just remember that anytime a redrawing of the data grid has to occur > (e.g. when changing sorting) GetDataForLine has to be called. > > > > Thanks for the help in tracking it down. There are a lot of nuances > > to using dgNumberOfRecords! > > > Yes there are. GetDataForLine is a (bolted on) means of providing an > approach that separates the control from the data so the data doesn't > reside within the view control itself. The API for the data grid was built > around the standard LiveCode control behavior where the data resides within > the control. > > There really is room for a data grid-like control that is really just a > view and does nothing more than display data that is fed to it from a data > source. > > Regards, > > -- > Trevor DeVore > Blue Mango Learning Systems > www.clarify-it.com - www.screensteps.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From rene.micout at numericable.com Thu Mar 15 04:21:49 2012 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Thu, 15 Mar 2012 09:21:49 +0100 Subject: bluetooth and LC In-Reply-To: <03A81FB5-B8D3-4899-9DE1-7B191F945CAF@uleth.ca> References: <03A81FB5-B8D3-4899-9DE1-7B191F945CAF@uleth.ca> Message-ID: <795995DB-1696-45B3-807E-CC5CDC9BDFC0@numericable.com> Le 14 mars 2012 ? 23:54, Vokey, John a ?crit : > Please avoid sending me Word or PowerPoint attachments. > See I do not have a solution for you, but thank you for the link above !! Bon souvenir de Paris Ren? From toolbook at kestner.de Thu Mar 15 04:42:45 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 15 Mar 2012 09:42:45 +0100 Subject: App-Design question, was: how to resize icons when resizing objects? In-Reply-To: <002d01cd01c0$69b72010$3d256030$@de> References: <002d01cd01c0$69b72010$3d256030$@de> Message-ID: <001301cd0287$98685fb0$c9391f10$@de> Perhaps I've asked the wrong question. If you have a resizable screen-layout (with additionally chooseable textsize), is there an approach to also resize the buttons, if they have graphical icons? Ok, most programs I know don't resize the buttons, when resizing the window or the fields, but I would like to resize also the buttons proportional to the window. But the buttons have graphical icons, which don't resize, when resizing the button. And even if I could resize the icons they would lose their quality when resizing. What I am thinking about is to make the app / buttons better accessible for example on a touchpad (Windows 8) when scaling my app window to full screen. The only approach I see right now, would be to create at least two sets of buttons (or at least of the icons) and switch them at a certain size of the window, but that doesn't look very straight forward. Am I looking for a no go or don't I see the obvious? Any experiences? Thanks Tiemo > Hello, > > I have a stack, which the user may resize and all objects are resized and > positioned dynamically. This works fine. Up to now, I kept the size of the > buttons with assigned icons locked, because I didn't find an approach, how > to resize the assigned icons dynamically? Or don't you do that at all in a > dynamic layout and am I looking for a no go? > > Thanks for any hints > > Tiemo > From terry.judd at unimelb.edu.au Thu Mar 15 05:36:07 2012 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Thu, 15 Mar 2012 09:36:07 +0000 Subject: App-Design question, was: how to resize icons when resizing objects? In-Reply-To: <001301cd0287$98685fb0$c9391f10$@de> References: <002d01cd01c0$69b72010$3d256030$@de> <001301cd0287$98685fb0$c9391f10$@de> Message-ID: On 15/03/2012, at 07:42 PM, Tiemo Hollmann TB wrote: Perhaps I've asked the wrong question. If you have a resizable screen-layout (with additionally chooseable textsize), is there an approach to also resize the buttons, if they have graphical icons? Ok, most programs I know don't resize the buttons, when resizing the window or the fields, but I would like to resize also the buttons proportional to the window. But the buttons have graphical icons, which don't resize, when resizing the button. And even if I could resize the icons they would lose their quality when resizing. What I am thinking about is to make the app / buttons better accessible for example on a touchpad (Windows 8) when scaling my app window to full screen. The only approach I see right now, would be to create at least two sets of buttons (or at least of the icons) and switch them at a certain size of the window, but that doesn't look very straight forward. Am I looking for a no go or don't I see the obvious? Any experiences? Thanks Tiemo If the image you use for the button icon is at least as large as the largest size icon that you want to display then you can resize it within a resizeControl or resize stack handler. Just lock the image (it can be invisible, off screen or on another card or stack) and then adjust its size proportional to your new stack or object size in your handler. For example on resizeControl set the width of image id (the icon of me) to the width of me set the height of image id (the icon of me) to the height of me end resizeControl Terry... Hello, I have a stack, which the user may resize and all objects are resized and positioned dynamically. This works fine. Up to now, I kept the size of the buttons with assigned icons locked, because I didn't find an approach, how to resize the assigned icons dynamically? Or don't you do that at all in a dynamic layout and am I looking for a no go? Thanks for any hints Tiemo _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From richmondmathewson at gmail.com Thu Mar 15 05:43:43 2012 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 15 Mar 2012 11:43:43 +0200 Subject: [OT] That question again. Message-ID: <4F61B9CF.3050606@gmail.com> What sort of education for a computerised world? http://www.bbc.co.uk/news/technology-17373972 well worth a read, if, as always with the BBC, over-simplified. From toolbook at kestner.de Thu Mar 15 06:10:49 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 15 Mar 2012 11:10:49 +0100 Subject: AW: App-Design question, was: how to resize icons when resizing objects? In-Reply-To: References: <002d01cd01c0$69b72010$3d256030$@de> <001301cd0287$98685fb0$c9391f10$@de> Message-ID: <001a01cd0293$e6663b40$b332b1c0$@de> Hi Terry, Thanks Terry, thats how I could do it, though it's a lot of work with all buttons and all states of icons... But would you do that? Actually I haven't seen much interfaces of this kind, is it absolutely unusual or would it be helpful? What do you think? Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Terry Judd > Gesendet: Donnerstag, 15. M?rz 2012 10:36 > An: How to use LiveCode > Betreff: Re: App-Design question, was: how to resize icons when resizing > objects? > > > On 15/03/2012, at 07:42 PM, Tiemo Hollmann TB wrote: > > Perhaps I've asked the wrong question. If you have a resizable screen- > layout > (with additionally chooseable textsize), is there an approach to also > resize > the buttons, if they have graphical icons? Ok, most programs I know don't > resize the buttons, when resizing the window or the fields, but I would > like > to resize also the buttons proportional to the window. But the buttons have > graphical icons, which don't resize, when resizing the button. And even if > I > could resize the icons they would lose their quality when resizing. > What I am thinking about is to make the app / buttons better accessible for > example on a touchpad (Windows 8) when scaling my app window to full > screen. > The only approach I see right now, would be to create at least two sets of > buttons (or at least of the icons) and switch them at a certain size of the > window, but that doesn't look very straight forward. > Am I looking for a no go or don't I see the obvious? Any experiences? > Thanks > Tiemo > > If the image you use for the button icon is at least as large as the > largest size icon that you want to display then you can resize it within a > resizeControl or resize stack handler. Just lock the image (it can be > invisible, off screen or on another card or stack) and then adjust its size > proportional to your new stack or object size in your handler. > > For example > > on resizeControl > set the width of image id (the icon of me) to the width of me > set the height of image id (the icon of me) to the height of me > end resizeControl > > Terry... > From lists at mangomultimedia.com Thu Mar 15 07:55:45 2012 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 15 Mar 2012 07:55:45 -0400 Subject: Sqlite and performances in LiveCode In-Reply-To: References: <7049BBBA-A811-45C2-AEFF-A112E7D0194B@mac.com> <690278B0-41D6-45B2-9829-24B5AF0F3893@mac.com> Message-ID: On Wed, Mar 14, 2012 at 9:35 PM, Pete wrote: > > I'm using the datagrid in question as a general purpose viewer of data from > any table in an sqlite database. The circumstances that cause the problem > are if I have data from a table displayed, then I filter it in some way, so > the number and format of the dg columns is the same but the rows contain a > subset of the original data. If I select a different table and therefore > change the number and size of the dg columns, the correct data is > displayed. > You could try sending "RefreshList" to the data grid after updating the dgNumberOfRecords property. The data links displayed controls with lines in the data and if you are changing the underlying data then you will need to clear this cache. When setting the dgData or dgText this is done for you automatically. Regards, -- Trevor DeVore Blue Mango Learning Systems www.clarify-it.com - www.screensteps.com From matthias_livecode_150811 at m-r-d.de Thu Mar 15 08:17:07 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 15 Mar 2012 13:17:07 +0100 Subject: OT: I give away for free 1 License of SQL Yoga and 1 License for PowerDebug Message-ID: <533A0D5B-1124-41C4-9EAE-7DE1EDDD74FE@m-r-d.de> Hi, this is the last announcement. ;) I have here 1 x License of SQL Yoga http://www.bluemangolearning.com/revolution/software/libraries/sql-yoga/ and 1 x License of PowerDebug http://ahsoftware.net/PowerTools/PowerDebug/PDDemo.html which i want to give away for free as i already own licenses of that tools. So if anyone of the list wants one of it, then please contact me off-list and tell me which tool you want to get. Regards, Matthias From eric.miclo at wanadoo.fr Thu Mar 15 08:22:47 2012 From: eric.miclo at wanadoo.fr (=?iso-8859-1?Q?=C9ric_Miclo?=) Date: Thu, 15 Mar 2012 13:22:47 +0100 Subject: OT: I give away for free 1 License of SQL Yoga and 1 License for PowerDebug In-Reply-To: <533A0D5B-1124-41C4-9EAE-7DE1EDDD74FE@m-r-d.de> References: <533A0D5B-1124-41C4-9EAE-7DE1EDDD74FE@m-r-d.de> Message-ID: Hello Matthias, I'be interested in the sql-yoga license. Thanks, Warmest regards, ?rIC Le 15 mars 2012 ? 13:17, Matthias Rebbe a ?crit : > Hi, > > this is the last announcement. ;) > > I have here > > 1 x License of SQL Yoga > http://www.bluemangolearning.com/revolution/software/libraries/sql-yoga/ > > and > > 1 x License of PowerDebug > http://ahsoftware.net/PowerTools/PowerDebug/PDDemo.html > > which i want to give away for free as i already own licenses of that tools. > > So if anyone of the list wants one of it, then please contact me off-list and tell me which tool you want to get. > > Regards, > > > Matthias > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- My NeXT computer will Be a Mac too! -- From m.schonewille at economy-x-talk.com Thu Mar 15 08:41:57 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 15 Mar 2012 13:41:57 +0100 Subject: Standalone Origin Mismatch Message-ID: Hi, I try to build a standalone with LiveCode 4.0 and when I try to run the Mac OS X version (UB, x86 and PPC) I always get the error "standalone origin mismatch" in the console. What does this mean? How can I solve this 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 1.7 for LiveCode here http://qery.us/za From mikedoub at gmail.com Thu Mar 15 09:27:58 2012 From: mikedoub at gmail.com (Michael Doub) Date: Thu, 15 Mar 2012 09:27:58 -0400 Subject: Detection of Keyboard Closing In-Reply-To: <48BF45A9-B91C-40FA-96F9-EEFC4B901391@gmail.com> References: <0D313AAB-D6D2-44E7-B0C7-9F5D46344D13@gmail.com> <4F60F9AC.6070807@hyperactivesw.com> <48BF45A9-B91C-40FA-96F9-EEFC4B901391@gmail.com> Message-ID: <66B10343-285F-4E8D-83C4-D0CB831F961A@gmail.com> I am happy to report that all three approached work. The keyboard stays hidden until the field is touched. Enter some data with the keyboard, switch focus to another field, touch the initial field, focus switch and keyboard comes back up. All seems normal. However I think I found a bug. If you DO NOT enter any data just close the keyboard, switch focus to another field and then touch the initial field, focus will not move back to the field touched therefore no keyboard will appear. I am using 5.5rc1 So there is still no answer my original question of knowing when the keyboard is closed. I see now that you might be able to use the focusOut message but the keyboard can be closed and the field can still have focus. In my experiments, I was fortunate that i had another field that could acquire focus and pull it away from the first field. Closing the keyboard does not remove focus. -= Mike On Mar 14, 2012, at 6:01 PM, Peter M. Brigham, MD wrote: > The other way, which I have used for some time, is to group the field (either in a group by itself, or including all the fields you don't want to automatically get focused) then set the group's traversalOn to false. > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > On Mar 14, 2012, at 4:03 PM, J. Landman Gay wrote: > >> On 3/14/12 2:09 PM, Michael Doub wrote: >>> Is there a way to detect that the user has closed the keyboard on >>> Android? >>> >>> Maybe someone can point out an appropriate technique to solve my >>> problem. I have a card with one editable field on it. When I go to >>> that card currently the focus immediately go to that field and the >>> keyboard pops up. I would like the field to remain editable, but >>> only if it is selected by the user. I would like to be notified upon >>> completion. >> >> It's an ancient problem that dates back to the origins of the engine. The first object with traversalOn will get the focus. On Windows, where buttons can be focused, the solution is to set a button to a lower layer than the first field. On Mac, and apparently mobile (I haven't checked,) that doesn't work. >> >> One workaround is to add a short handler that removes the focus and send it from a preOpenCard. It doesn't trigger right if you just add "focus on nothing" to a pre- or openCard handler. >> >> on preOpenCard >> send "noSelect" to me in 1 >> end preOpenCard >> >> on noSelect >> focus on nothing >> end noSelect >> >> I haven't tried this on mobile yet, but that's how I do it in desktop apps. On mobile the keyboard might pop up and disappear if the timing isn't right. Let us know. >> >> Another way to handle it is to set the field's traversalOn to false in preOpenCard and then set it back to true on openCard. I've had mixed results with that method, but you can try it: >> >> on preOpenCard >> set the traversalOn of fld 1 to false >> end preOpenCard >> >> on openCard >> set the traversalOn of fld 1 to true >> end openCard >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From wow at together.net Thu Mar 15 10:45:02 2012 From: wow at together.net (Richard Miller) Date: Thu, 15 Mar 2012 10:45:02 -0400 Subject: Suggestions for an iOS/Android/CD/web site strategy In-Reply-To: <66B10343-285F-4E8D-83C4-D0CB831F961A@gmail.com> References: <0D313AAB-D6D2-44E7-B0C7-9F5D46344D13@gmail.com> <4F60F9AC.6070807@hyperactivesw.com> <48BF45A9-B91C-40FA-96F9-EEFC4B901391@gmail.com> <66B10343-285F-4E8D-83C4-D0CB831F961A@gmail.com> Message-ID: <4F62006E.4070108@together.net> I'd looking for suggestions on the best strategy for this situation. I have an app I'd like to make available on 4 platforms: iPhone/iPad, Android, standalone download (both Mac & Windows), and a protected web site. Preferably, I'd like buyers of the iOS or Android versions to get a free standalone and free access to our web site. I am thinking that if a customer buys the iOS or Android app, we can use the proof of those purchases to send them the standalone and give them access to our site. Sounds straightforward so far. The problem comes up as follows. Three of these platforms are done, but the Android app is still a month or so away. We presumably need all sales to be through Apple (iTunes/iPhone/iPad) or the Android store, as my understanding is that there is no practical manner to allow a customer to, for example, purchase a subscription to our web site, then use that purchase (credit) to download a full version of our iOS app without paying for the app through Apple. Same thing with the Amazon App Store... a customer could not download our Android app using a credit from having purchased our standalone, for example. Some of our users (perhaps a fairly large number) will not have EITHER an iPhone or an Android phone currently, but may buy one in the near future.... yet they want immediate access to our standalone and web site. Would it make sense to insist that all customers buy either our iPhone or Android app, even if they don't have one of these phones, in order to get access to our standalone and web site? Is this the simplest strategy to use? Thanks. Richard Miller From mcgrath3 at mac.com Thu Mar 15 11:14:02 2012 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 15 Mar 2012 11:14:02 -0400 Subject: Suggestions for an iOS/Android/CD/web site strategy In-Reply-To: <4F62006E.4070108@together.net> References: <0D313AAB-D6D2-44E7-B0C7-9F5D46344D13@gmail.com> <4F60F9AC.6070807@hyperactivesw.com> <48BF45A9-B91C-40FA-96F9-EEFC4B901391@gmail.com> <66B10343-285F-4E8D-83C4-D0CB831F961A@gmail.com> <4F62006E.4070108@together.net> Message-ID: Richard, Just a gut reaction but I would say "no" to forcing them to buy the app on those stores. It is odd at best. How about "IF" they buy the app then you supply in the app a link to the private web site free with user name and password and a years subscription. BUT if they do not have an iOS/Android then instead have a landing web site page that gives them either the choice to go ahead and purchase those apps(with subscription) OR purchase straight a subscription from that web page to the site with, and say if they do purchase the iOS/Android app that they can get a credit for another year - or - a refund through the system they used on the website. Just my thoughts... -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Mar 15, 2012, at 10:45 AM, Richard Miller wrote: > I'd looking for suggestions on the best strategy for this situation. > > I have an app I'd like to make available on 4 platforms: iPhone/iPad, Android, standalone download (both Mac & Windows), and a protected web site. > > Preferably, I'd like buyers of the iOS or Android versions to get a free standalone and free access to our web site. I am thinking that if a customer buys the iOS or Android app, we can use the proof of those purchases to send them the standalone and give them access to our site. Sounds straightforward so far. > > The problem comes up as follows. > > Three of these platforms are done, but the Android app is still a month or so away. We presumably need all sales to be through Apple (iTunes/iPhone/iPad) or the Android store, as my understanding is that there is no practical manner to allow a customer to, for example, purchase a subscription to our web site, then use that purchase (credit) to download a full version of our iOS app without paying for the app through Apple. Same thing with the Amazon App Store... a customer could not download our Android app using a credit from having purchased our standalone, for example. > > Some of our users (perhaps a fairly large number) will not have EITHER an iPhone or an Android phone currently, but may buy one in the near future.... yet they want immediate access to our standalone and web site. Would it make sense to insist that all customers buy either our iPhone or Android app, even if they don't have one of these phones, in order to get access to our standalone and web site? Is this the simplest strategy to use? > > Thanks. > Richard Miller > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From wow at together.net Thu Mar 15 11:28:58 2012 From: wow at together.net (Richard Miller) Date: Thu, 15 Mar 2012 11:28:58 -0400 Subject: Suggestions for an iOS/Android/CD/web site strategy In-Reply-To: References: <0D313AAB-D6D2-44E7-B0C7-9F5D46344D13@gmail.com> <4F60F9AC.6070807@hyperactivesw.com> <48BF45A9-B91C-40FA-96F9-EEFC4B901391@gmail.com> <66B10343-285F-4E8D-83C4-D0CB831F961A@gmail.com> <4F62006E.4070108@together.net> Message-ID: <4F620ABA.4020207@together.net> Thanks, Tom. Great suggestions. Richard On 3/15/2012 11:14 AM, Thomas McGrath III wrote: > Richard, > > Just a gut reaction but I would say "no" to forcing them to buy the app on those stores. It is odd at best. > > How about "IF" they buy the app then you supply in the app a link to the private web site free with user name and password and a years subscription. BUT if they do not have an iOS/Android then instead have a landing web site page that gives them either the choice to go ahead and purchase those apps(with subscription) OR purchase straight a subscription from that web page to the site with, and say if they do purchase the iOS/Android app that they can get a credit for another year - or - a refund through the system they used on the website. > > Just my thoughts... > > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > > On Mar 15, 2012, at 10:45 AM, Richard Miller wrote: > >> I'd looking for suggestions on the best strategy for this situation. >> >> I have an app I'd like to make available on 4 platforms: iPhone/iPad, Android, standalone download (both Mac& Windows), and a protected web site. >> >> Preferably, I'd like buyers of the iOS or Android versions to get a free standalone and free access to our web site. I am thinking that if a customer buys the iOS or Android app, we can use the proof of those purchases to send them the standalone and give them access to our site. Sounds straightforward so far. >> >> The problem comes up as follows. >> >> Three of these platforms are done, but the Android app is still a month or so away. We presumably need all sales to be through Apple (iTunes/iPhone/iPad) or the Android store, as my understanding is that there is no practical manner to allow a customer to, for example, purchase a subscription to our web site, then use that purchase (credit) to download a full version of our iOS app without paying for the app through Apple. Same thing with the Amazon App Store... a customer could not download our Android app using a credit from having purchased our standalone, for example. >> >> Some of our users (perhaps a fairly large number) will not have EITHER an iPhone or an Android phone currently, but may buy one in the near future.... yet they want immediate access to our standalone and web site. Would it make sense to insist that all customers buy either our iPhone or Android app, even if they don't have one of these phones, in order to get access to our standalone and web site? Is this the simplest strategy to use? >> >> Thanks. >> Richard Miller >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From gbojsza at gmail.com Thu Mar 15 12:49:31 2012 From: gbojsza at gmail.com (Glen Bojsza) Date: Thu, 15 Mar 2012 10:49:31 -0600 Subject: Works in IDE but not Application? Message-ID: I have a frustrating problem... In my application I allow a user to add a text field which they can resize, move and delete. In the IDE (OS X) everything works as it should. In the application the popmenu shows but it does not delete the field when chosen? Also, I have the following scripts in the card to avoid having the user being left with the pointer tool if the have the field selected and push the delete key. Again, this works fine in the IDE but not the application? Can anybody see why it can work in the the IDE but not in the application? thanks, Glen The field script is: global tbToDelete on mouseDown tKey if tKey is 3 then if the shiftkey is down then get the selected of target switch it case "true" set the selected of the target to false set the tool to browse select empty focus on fld "myGarbage" break case "false" set the selected of the target to true set the tool to pointer break end switch end if if the ctrlkey is down then set the t2d of btn text2delete to the ID of the target buildtextBoxMenu popUp button "Text Menu" else pass mouseDown end if else pass mouseDown end if pass mouseDown end mouseDown on mouseLeave set the selected of the target to false set the tool to browse focus on fld "myGarbage" end mouseLeave Card Script: on backspacekey set the selected of the target to false set the tool to browse end backspacekey on deletekey set the selected of the target to false set the tool to browse end deletekey From devin_asay at byu.edu Thu Mar 15 13:00:42 2012 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 15 Mar 2012 17:00:42 +0000 Subject: Scripting alignment tools Message-ID: <33AC4649-1FC9-4ADA-91DA-EA1F7C8C020E@byu.edu> Hi all, The alignment pane in the property inspector allows us to do size, align and distribute selected controls in relation to each other. Does anyone know if this functionality can be accessed by scripting? Obviously I can figure it out and write my own handler, but can I just call the existing routines? Anybody know? Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From klaus at major.on-rev.com Thu Mar 15 13:17:05 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Thu, 15 Mar 2012 18:17:05 +0100 Subject: queryregistry problem win Message-ID: <6CEF5770-558A-400D-ACEF-497B92609D7C@major.on-rev.com> Hi friends, I could need a little hint :-) I am trying to query a registry entry that I CAN see in the registry editor, but my query return NADA? What am I missing? answer queryregistry("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DefaultProductKey\ProductId") I'm on Windows 7! Thanks in advance! Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From bonnmike at gmail.com Thu Mar 15 13:37:31 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 15 Mar 2012 11:37:31 -0600 Subject: queryregistry problem win In-Reply-To: <6CEF5770-558A-400D-ACEF-497B92609D7C@major.on-rev.com> References: <6CEF5770-558A-400D-ACEF-497B92609D7C@major.on-rev.com> Message-ID: when I do get queryregistry("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DefaultProductKey\ProductId") put it I get "bad key" like you, despite the fact that its there staring me in the face in regedit. On Thu, Mar 15, 2012 at 11:17 AM, Klaus on-rev wrote: > Hi friends, > > I could need a little hint :-) > > I am trying to query a registry entry that I CAN see in the registry > editor, > but my query return NADA? What am I missing? > > answer queryregistry("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows > NT\CurrentVersion\DefaultProductKey\ProductId") > > I'm on Windows 7! > Thanks in advance! > > > Best > > Klaus > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Thu Mar 15 13:38:11 2012 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 15 Mar 2012 19:38:11 +0200 Subject: Standalone Origin Mismatch In-Reply-To: References: Message-ID: <4F622903.1050509@gmail.com> On 03/15/2012 02:41 PM, Mark Schonewille wrote: > Hi, > > I try to build a standalone with LiveCode 4.0 and when I try to run the Mac OS X version (UB, x86 and PPC) I always get the error "standalone origin mismatch" in the console. What does this mean? How can I solve this problem? I have a feeling that if you build a Mac standalone on a different operating system it doesn't work. Certainly I have had this problem with Mac PPC standalones pumped out on Linux. I think this has been mentioned on this Use-List a while back. > > -- > 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 1.7 for LiveCode here http://qery.us/za > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major.on-rev.com Thu Mar 15 13:43:18 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Thu, 15 Mar 2012 18:43:18 +0100 Subject: queryregistry problem win In-Reply-To: References: <6CEF5770-558A-400D-ACEF-497B92609D7C@major.on-rev.com> Message-ID: <48F7B754-1401-4F8D-A9D8-5A649561C8B7@major.on-rev.com> Hi Mike, Am 15.03.2012 um 18:37 schrieb Mike Bonner: > when I do > get queryregistry("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows > NT\CurrentVersion\DefaultProductKey\ProductId") > put it > > I get "bad key" > like you, despite the fact that its there staring me in the face in regedit. ??? Hm, do other keys work for you? Or a bug on Win 7? > On Thu, Mar 15, 2012 at 11:17 AM, Klaus on-rev wrote: > >> Hi friends, >> >> I could need a little hint :-) >> >> I am trying to query a registry entry that I CAN see in the registry >> editor, >> but my query return NADA? What am I missing? >> >> answer queryregistry("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows >> NT\CurrentVersion\DefaultProductKey\ProductId") >> >> I'm on Windows 7! >> Thanks in advance! Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From pete at mollysrevenge.com Thu Mar 15 13:48:36 2012 From: pete at mollysrevenge.com (Pete) Date: Thu, 15 Mar 2012 10:48:36 -0700 Subject: Sqlite and performances in LiveCode In-Reply-To: References: <7049BBBA-A811-45C2-AEFF-A112E7D0194B@mac.com> <690278B0-41D6-45B2-9829-24B5AF0F3893@mac.com> Message-ID: Thanks Trevor, I found the problem. I had a set dgText to empty in there, forgetting that dgText doesn't exist in these circumstances. Changed that to se the dgNumberOfRecords to zero and all works fine now. Pete On Thu, Mar 15, 2012 at 4:55 AM, Trevor DeVore wrote: > On Wed, Mar 14, 2012 at 9:35 PM, Pete wrote: > > > > > I'm using the datagrid in question as a general purpose viewer of data > from > > any table in an sqlite database. The circumstances that cause the > problem > > are if I have data from a table displayed, then I filter it in some way, > so > > the number and format of the dg columns is the same but the rows contain > a > > subset of the original data. If I select a different table and therefore > > change the number and size of the dg columns, the correct data is > > displayed. > > > > You could try sending "RefreshList" to the data grid after updating the > dgNumberOfRecords property. The data links displayed controls with lines in > the data and if you are changing the underlying data then you will need to > clear this cache. When setting the dgData or dgText this is done for you > automatically. > > Regards, > > -- > Trevor DeVore > Blue Mango Learning Systems > www.clarify-it.com - www.screensteps.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From m.schonewille at economy-x-talk.com Thu Mar 15 13:49:20 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 15 Mar 2012 18:49:20 +0100 Subject: Standalone Origin Mismatch In-Reply-To: <4F622903.1050509@gmail.com> References: <4F622903.1050509@gmail.com> Message-ID: Hi Richmond, I found this problem mentioned on the MetaCard list, but there was no real answer that helped me. I'm building a standalone on Mac OS X and try to use it on the same 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 Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za On 15 mrt 2012, at 18:38, Richmond wrote: > > I have a feeling that if you build a Mac standalone on a different operating system it doesn't work. > > Certainly I have had this problem with Mac PPC standalones pumped out on Linux. > > I think this has been mentioned on this Use-List a while back. From bonnmike at gmail.com Thu Mar 15 13:51:15 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 15 Mar 2012 11:51:15 -0600 Subject: queryregistry problem win In-Reply-To: <48F7B754-1401-4F8D-A9D8-5A649561C8B7@major.on-rev.com> References: <6CEF5770-558A-400D-ACEF-497B92609D7C@major.on-rev.com> <48F7B754-1401-4F8D-A9D8-5A649561C8B7@major.on-rev.com> Message-ID: No keys in that area work. About to try a different branch. If the key path is just WRONG it gives a no key result so it appears there is no weird hard to see typo error in the key path. Ok, this key works from the user branch HKEY_USERS\.DEFAULT\Software\Microsoft\Windows NT\CurrentVersion\Windows\Device So my guess is its maybe something unique to all the ProductId stuff? On Thu, Mar 15, 2012 at 11:43 AM, Klaus on-rev wrote: > Hi Mike, > > Am 15.03.2012 um 18:37 schrieb Mike Bonner: > > > when I do > > get queryregistry("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows > > NT\CurrentVersion\DefaultProductKey\ProductId") > > put it > > > > I get "bad key" > > like you, despite the fact that its there staring me in the face in > regedit. > > ??? > Hm, do other keys work for you? > Or a bug on Win 7? > > > On Thu, Mar 15, 2012 at 11:17 AM, Klaus on-rev >wrote: > > > >> Hi friends, > >> > >> I could need a little hint :-) > >> > >> I am trying to query a registry entry that I CAN see in the registry > >> editor, > >> but my query return NADA? What am I missing? > >> > >> answer queryregistry("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows > >> NT\CurrentVersion\DefaultProductKey\ProductId") > >> > >> I'm on Windows 7! > >> Thanks in advance! > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Thu Mar 15 13:53:41 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 15 Mar 2012 11:53:41 -0600 Subject: queryregistry problem win In-Reply-To: References: <6CEF5770-558A-400D-ACEF-497B92609D7C@major.on-rev.com> <48F7B754-1401-4F8D-A9D8-5A649561C8B7@major.on-rev.com> Message-ID: Just to add to it, this key also works. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Accessibility\ATs\animations Nothing under DefaultProductKey works for me. On Thu, Mar 15, 2012 at 11:51 AM, Mike Bonner wrote: > No keys in that area work. About to try a different branch. > > If the key path is just WRONG it gives a no key result so it appears there > is no weird hard to see typo error in the key path. > > Ok, this key works from the user branch > HKEY_USERS\.DEFAULT\Software\Microsoft\Windows > NT\CurrentVersion\Windows\Device > > So my guess is its maybe something unique to all the ProductId stuff? > > > On Thu, Mar 15, 2012 at 11:43 AM, Klaus on-rev wrote: > >> Hi Mike, >> >> Am 15.03.2012 um 18:37 schrieb Mike Bonner: >> >> > when I do >> > get queryregistry("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows >> > NT\CurrentVersion\DefaultProductKey\ProductId") >> > put it >> > >> > I get "bad key" >> > like you, despite the fact that its there staring me in the face in >> regedit. >> >> ??? >> Hm, do other keys work for you? >> Or a bug on Win 7? >> >> > On Thu, Mar 15, 2012 at 11:17 AM, Klaus on-rev > >wrote: >> > >> >> Hi friends, >> >> >> >> I could need a little hint :-) >> >> >> >> I am trying to query a registry entry that I CAN see in the registry >> >> editor, >> >> but my query return NADA? What am I missing? >> >> >> >> answer queryregistry("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows >> >> NT\CurrentVersion\DefaultProductKey\ProductId") >> >> >> >> I'm on Windows 7! >> >> Thanks in advance! >> >> Best >> >> Klaus >> >> -- >> Klaus Major >> http://www.major-k.de >> klaus at major.on-rev.com >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From klaus at major.on-rev.com Thu Mar 15 14:24:19 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Thu, 15 Mar 2012 19:24:19 +0100 Subject: queryregistry problem win In-Reply-To: References: <6CEF5770-558A-400D-ACEF-497B92609D7C@major.on-rev.com> <48F7B754-1401-4F8D-A9D8-5A649561C8B7@major.on-rev.com> Message-ID: Hi Mike, Am 15.03.2012 um 18:53 schrieb Mike Bonner: > Just to add to it, this key also works. > HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows > NT\CurrentVersion\Accessibility\ATs\animations > > Nothing under DefaultProductKey works for me. looks like this is protected somehow... I now use: HKEY_CURRENT_USER\Identities\Default User ID Which also works on XP, will do for my needs :-) Thanks for testing! Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From bobs at twft.com Thu Mar 15 14:40:53 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 15 Mar 2012 11:40:53 -0700 Subject: Scripting alignment tools In-Reply-To: <33AC4649-1FC9-4ADA-91DA-EA1F7C8C020E@byu.edu> References: <33AC4649-1FC9-4ADA-91DA-EA1F7C8C020E@byu.edu> Message-ID: <324056B0-2304-450E-A6B7-08A54296C38C@twft.com> Scott Rossi made a widget called tmAlign. Very handy. Yes you can do this with a script, like set the topleft of object1 to the topleft of object2 or set the top of object1 to the top of object2. Center alignments get trickier as you have to use items of the loc. set item 1 of the loc of object1 to item 1 of the loc of object2 might work if you can reference an item when you are setting something. Otherwise you will have to get the loc of object1 first, put item 1 of the loc of object2 into item one of it, then set the loc of object1 to it. Bob On Mar 15, 2012, at 10:00 AM, Devin Asay wrote: > Hi all, > > The alignment pane in the property inspector allows us to do size, align and distribute selected controls in relation to each other. Does anyone know if this functionality can be accessed by scripting? Obviously I can figure it out and write my own handler, but can I just call the existing routines? Anybody know? > > Devin > > > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From 3mcgrath at comcast.net Thu Mar 15 14:50:07 2012 From: 3mcgrath at comcast.net (Thomas McGrath III) Date: Thu, 15 Mar 2012 14:50:07 -0400 Subject: detect line clicked in iOS multiline field Message-ID: <5BA336A3-590F-43BD-9103-3D5DDC3AC940@comcast.net> I must be tired.. How do you detect a clicked line in an iOS multiLine field? Thanks -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net From coiin at verizon.net Thu Mar 15 14:56:28 2012 From: coiin at verizon.net (Colin Holgate) Date: Thu, 15 Mar 2012 14:56:28 -0400 Subject: detect line clicked in iOS multiline field In-Reply-To: <5BA336A3-590F-43BD-9103-3D5DDC3AC940@comcast.net> References: <5BA336A3-590F-43BD-9103-3D5DDC3AC940@comcast.net> Message-ID: <19FA4C0A-BBEC-4B3E-BFA1-577AC7E56483@verizon.net> I tried this once, and I think I gave up, and used a picker instead. On Mar 15, 2012, at 2:50 PM, Thomas McGrath III wrote: > I must be tired.. How do you detect a clicked line in an iOS multiLine field? From matthias_livecode_150811 at m-r-d.de Thu Mar 15 15:01:50 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 15 Mar 2012 20:01:50 +0100 Subject: english message instead of localized when creating an emal with "mobileCompose...Maill" Message-ID: Hi, i am working here with an iPad with german iOS. If i create an email with mobileComposeMail or mobileComposeHTMLemail all buttons and messages are english instead of german. If i create an email directly in the ipad mail app then all buttons and messages are localized. Any idea, if this is fixable anyhow? Regards, Matthias From matthias_livecode_150811 at m-r-d.de Thu Mar 15 15:04:37 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 15 Mar 2012 20:04:37 +0100 Subject: english message instead of localized when creating an emal with "mobileCompose...Maill" Message-ID: Hi, i am working here with an iPad with german iOS. If i create an email with mobileComposeMail or mobileComposeHTMLemail all buttons and messages are english instead of german. If i create an email directly in the ipad mail app then all buttons and messages are localized. Any idea, if this is fixable anyhow? Regards, Matthias From monte at sweattechnologies.com Thu Mar 15 15:12:06 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 16 Mar 2012 06:12:06 +1100 Subject: english message instead of localized when creating an emal with "mobileCompose...Maill" In-Reply-To: References: Message-ID: <75B60421-08DF-4BB3-AAA3-F0135F27D49C@sweattechnologies.com> You probably need to indicate to ios that you support languages other than English by including the localization folders in your app. They can be empty. -- Monte Goulding On 16/03/2012, at 6:04 AM, Matthias Rebbe wrote: > Hi, > > i am working here with an iPad with german iOS. If i create an email with mobileComposeMail or mobileComposeHTMLemail all buttons and messages are english instead of german. > > If i create an email directly in the ipad mail app then all buttons and messages are localized. > > Any idea, if this is fixable anyhow? > > Regards, > > Matthias > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Thu Mar 15 15:17:24 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 15 Mar 2012 20:17:24 +0100 Subject: english message instead of localized when creating an emal with "mobileCompose...Maill" In-Reply-To: <75B60421-08DF-4BB3-AAA3-F0135F27D49C@sweattechnologies.com> References: <75B60421-08DF-4BB3-AAA3-F0135F27D49C@sweattechnologies.com> Message-ID: <95341EAE-3F0E-45C6-81EA-5D91B246D1EF@m-r-d.de> Hi Monte, thanks for your answer, but where do i place them? Can i just create them in an openstack handler? Or do they have to be in the app already? Matthias Am 15.03.2012 um 20:12 schrieb Monte Goulding: > You probably need to indicate to ios that you support languages other than English by including the localization folders in your app. They can be empty. > > -- > Monte Goulding > > On 16/03/2012, at 6:04 AM, Matthias Rebbe wrote: > >> Hi, >> >> i am working here with an iPad with german iOS. If i create an email with mobileComposeMail or mobileComposeHTMLemail all buttons and messages are english instead of german. >> >> If i create an email directly in the ipad mail app then all buttons and messages are localized. >> >> Any idea, if this is fixable anyhow? >> >> Regards, >> >> Matthias >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Thu Mar 15 16:04:22 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 15 Mar 2012 21:04:22 +0100 Subject: english message instead of localized when creating an emal with "mobileCompose...Maill" In-Reply-To: <95341EAE-3F0E-45C6-81EA-5D91B246D1EF@m-r-d.de> References: <75B60421-08DF-4BB3-AAA3-F0135F27D49C@sweattechnologies.com> <95341EAE-3F0E-45C6-81EA-5D91B246D1EF@m-r-d.de> Message-ID: Hi, found it. I just had to add a folder german.lproj in the standalone settings under "copy files". Matthias Am 15.03.2012 um 20:17 schrieb Matthias Rebbe: > Hi Monte, > > thanks for your answer, but where do i place them? Can i just create them in an openstack handler? Or do they have to be in the > app already? > > Matthias > > Am 15.03.2012 um 20:12 schrieb Monte Goulding: > >> You probably need to indicate to ios that you support languages other than English by including the localization folders in your app. They can be empty. >> >> -- >> Monte Goulding >> >> On 16/03/2012, at 6:04 AM, Matthias Rebbe wrote: >> >>> Hi, >>> >>> i am working here with an iPad with german iOS. If i create an email with mobileComposeMail or mobileComposeHTMLemail all buttons and messages are english instead of german. >>> >>> If i create an email directly in the ipad mail app then all buttons and messages are localized. >>> >>> Any idea, if this is fixable anyhow? >>> >>> Regards, >>> >>> Matthias >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Thu Mar 15 16:04:36 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 16 Mar 2012 07:04:36 +1100 Subject: english message instead of localized when creating an emal with "mobileCompose...Maill" In-Reply-To: <95341EAE-3F0E-45C6-81EA-5D91B246D1EF@m-r-d.de> References: <75B60421-08DF-4BB3-AAA3-F0135F27D49C@sweattechnologies.com> <95341EAE-3F0E-45C6-81EA-5D91B246D1EF@m-r-d.de> Message-ID: They need to be added using the copy files tab on the standalone settings. -- Monte Goulding On 16/03/2012, at 6:17 AM, Matthias Rebbe wrote: > Hi Monte, > > thanks for your answer, but where do i place them? Can i just create them in an openstack handler? Or do they have to be in the > app already? > > Matthias > > Am 15.03.2012 um 20:12 schrieb Monte Goulding: > >> You probably need to indicate to ios that you support languages other than English by including the localization folders in your app. They can be empty. >> >> -- >> Monte Goulding >> >> On 16/03/2012, at 6:04 AM, Matthias Rebbe wrote: >> >>> Hi, >>> >>> i am working here with an iPad with german iOS. If i create an email with mobileComposeMail or mobileComposeHTMLemail all buttons and messages are english instead of german. >>> >>> If i create an email directly in the ipad mail app then all buttons and messages are localized. >>> >>> Any idea, if this is fixable anyhow? >>> >>> Regards, >>> >>> Matthias >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Thu Mar 15 16:21:29 2012 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 15 Mar 2012 16:21:29 -0400 Subject: detect line clicked in iOS multiline field In-Reply-To: <19FA4C0A-BBEC-4B3E-BFA1-577AC7E56483@verizon.net> References: <5BA336A3-590F-43BD-9103-3D5DDC3AC940@comcast.net> <19FA4C0A-BBEC-4B3E-BFA1-577AC7E56483@verizon.net> Message-ID: <6D4ED49E-580C-4DAE-899F-C52549B4C6AC@mac.com> OK, so I put my field in a scrolling group and got a nice iOS scroll bar and my text field works and looks great. However because my field has text added to it during runtime I need to grow the text field after new lines of text are added. I thought using the effective height of the field would give me the size needed to hold all of the lines of text but that doesn't work. Any ideas how to make the field grow as new text is added??? THanks again, I think I'm coming down with something because thinking seems more difficult today. put the top of field "Lap Counter" of this card into tTop put the effective height of field "Lap Counter" of this card into tEHeight set the height of field "Lap Counter" to tEHeight set the top of field "Lap Counter" to tTop -- just to make sure the top position doesn't move Any idaes -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Mar 15, 2012, at 2:56 PM, Colin Holgate wrote: > I tried this once, and I think I gave up, and used a picker instead. > > > On Mar 15, 2012, at 2:50 PM, Thomas McGrath III wrote: > >> I must be tired.. How do you detect a clicked line in an iOS multiLine field? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dixonja at hotmail.co.uk Thu Mar 15 16:26:31 2012 From: dixonja at hotmail.co.uk (John Dixon) Date: Thu, 15 Mar 2012 20:26:31 +0000 Subject: detect line clicked in iOS multiline field In-Reply-To: <6D4ED49E-580C-4DAE-899F-C52549B4C6AC@mac.com> References: <5BA336A3-590F-43BD-9103-3D5DDC3AC940@comcast.net>, <19FA4C0A-BBEC-4B3E-BFA1-577AC7E56483@verizon.net>, <6D4ED49E-580C-4DAE-899F-C52549B4C6AC@mac.com> Message-ID: Tom... formattedHeight of field "Lap Counter"... not effective height...:-) Dixie > Subject: Re: detect line clicked in iOS multiline field > From: mcgrath3 at mac.com > Date: Thu, 15 Mar 2012 16:21:29 -0400 > To: use-livecode at lists.runrev.com > > OK, so I put my field in a scrolling group and got a nice iOS scroll bar and my text field works and looks great. However because my field has text added to it during runtime I need to grow the text field after new lines of text are added. > > I thought using the effective height of the field would give me the size needed to hold all of the lines of text but that doesn't work. Any ideas how to make the field grow as new text is added??? > > THanks again, I think I'm coming down with something because thinking seems more difficult today. > > put the top of field "Lap Counter" of this card into tTop > put the effective height of field "Lap Counter" of this card into tEHeight > set the height of field "Lap Counter" to tEHeight > set the top of field "Lap Counter" to tTop -- just to make sure the top position doesn't move > > Any idaes > > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > > On Mar 15, 2012, at 2:56 PM, Colin Holgate wrote: > > > I tried this once, and I think I gave up, and used a picker instead. > > > > > > On Mar 15, 2012, at 2:50 PM, Thomas McGrath III wrote: > > > >> I must be tired.. How do you detect a clicked line in an iOS multiLine field? > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Thu Mar 15 16:30:09 2012 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 15 Mar 2012 16:30:09 -0400 Subject: detect line clicked in iOS multiline field In-Reply-To: <6D4ED49E-580C-4DAE-899F-C52549B4C6AC@mac.com> References: <5BA336A3-590F-43BD-9103-3D5DDC3AC940@comcast.net> <19FA4C0A-BBEC-4B3E-BFA1-577AC7E56483@verizon.net> <6D4ED49E-580C-4DAE-899F-C52549B4C6AC@mac.com> Message-ID: <7CF631D9-0B26-4316-9828-CE8EE17C956E@mac.com> Well, thank you very much. I knew my head was not screwed on tight today?. THanks again. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Mar 15, 2012, at 4:21 PM, Thomas McGrath III wrote: > OK, so I put my field in a scrolling group and got a nice iOS scroll bar and my text field works and looks great. However because my field has text added to it during runtime I need to grow the text field after new lines of text are added. > > I thought using the effective height of the field would give me the size needed to hold all of the lines of text but that doesn't work. Any ideas how to make the field grow as new text is added??? > > THanks again, I think I'm coming down with something because thinking seems more difficult today. > > put the top of field "Lap Counter" of this card into tTop > put the effective height of field "Lap Counter" of this card into tEHeight > set the height of field "Lap Counter" to tEHeight > set the top of field "Lap Counter" to tTop -- just to make sure the top position doesn't move > > Any idaes > > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > > On Mar 15, 2012, at 2:56 PM, Colin Holgate wrote: > >> I tried this once, and I think I gave up, and used a picker instead. >> >> >> On Mar 15, 2012, at 2:50 PM, Thomas McGrath III wrote: >> >>> I must be tired.. How do you detect a clicked line in an iOS multiLine field? >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From wow at together.net Thu Mar 15 17:09:27 2012 From: wow at together.net (Richard Miller) Date: Thu, 15 Mar 2012 17:09:27 -0400 Subject: Option menu appearance on iphone... any solutions? In-Reply-To: <95341EAE-3F0E-45C6-81EA-5D91B246D1EF@m-r-d.de> References: <75B60421-08DF-4BB3-AAA3-F0135F27D49C@sweattechnologies.com> <95341EAE-3F0E-45C6-81EA-5D91B246D1EF@m-r-d.de> Message-ID: <4F625A87.8030901@together.net> Anyone come up with a solution to improve the poor appearance of an LC option menu on an iphone? I know I can substitute the menu with a btn and scrolling list field. I like the native iphone list picker, but nothing seems to activate it other than an option menu. Thanks. Richard Miller From mikedoub at gmail.com Thu Mar 15 18:08:41 2012 From: mikedoub at gmail.com (Michael Doub) Date: Thu, 15 Mar 2012 18:08:41 -0400 Subject: mobileLockIdleTimer Message-ID: Has anyone used the mobileLockIdleTimer APIs? The release notes are not at all clear. Can I assume that between these two calls the device will not go to sleep. i.e.... -- device can sleep mobileLockIdleTimer -- device will not sleep mobileUnlockIdleTimer -- device can sleep From mikedoub at gmail.com Thu Mar 15 18:16:09 2012 From: mikedoub at gmail.com (Michael Doub) Date: Thu, 15 Mar 2012 18:16:09 -0400 Subject: Using existing Android Sounds Message-ID: Does any know the path to the existing alarm sounds on the android? I would like to play an alarm sound but I would prefer not to include an audio file with my app. Is this possible? Thanks, Mike From bonnmike at gmail.com Thu Mar 15 18:26:37 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 15 Mar 2012 16:26:37 -0600 Subject: queryregistry problem win In-Reply-To: References: <6CEF5770-558A-400D-ACEF-497B92609D7C@major.on-rev.com> <48F7B754-1401-4F8D-A9D8-5A649561C8B7@major.on-rev.com> Message-ID: Yw, glad you have an alternate key that will work. I agree those keys must be protected some way, sneaky those microsoftians. On Thu, Mar 15, 2012 at 12:24 PM, Klaus on-rev wrote: > Hi Mike, > > Am 15.03.2012 um 18:53 schrieb Mike Bonner: > > > Just to add to it, this key also works. > > HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows > > NT\CurrentVersion\Accessibility\ATs\animations > > > > Nothing under DefaultProductKey works for me. > > looks like this is protected somehow... > > I now use: HKEY_CURRENT_USER\Identities\Default User ID > Which also works on XP, will do for my needs :-) > > Thanks for testing! > > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dixonja at hotmail.co.uk Thu Mar 15 18:30:46 2012 From: dixonja at hotmail.co.uk (John Dixon) Date: Thu, 15 Mar 2012 22:30:46 +0000 Subject: mobileLockIdleTimer In-Reply-To: References: Message-ID: iphoneLockIdleTimer and iphoneUnlockIdleTimer works on an iphone... just as you have assumed..:-) > > Has anyone used the mobileLockIdleTimer APIs? The release notes are not at all clear. > Can I assume that between these two calls the device will not go to sleep. i.e.... > > > -- device can sleep > mobileLockIdleTimer > -- device will not sleep > mobileUnlockIdleTimer > -- device can sleep From monte at sweattechnologies.com Thu Mar 15 18:37:51 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 16 Mar 2012 09:37:51 +1100 Subject: Help me name this external Message-ID: <4B041DF4-C315-4347-89CC-961A83735F25@sweattechnologies.com> Hi Folks There's 3 months of access to mergExt up for grabs. Please post on the forum so the discussion is in one place. http://forums.runrev.com/viewtopic.php?f=49&t=11394&p=53458#p53458 Cheers Monte From kray at sonsothunder.com Thu Mar 15 19:47:16 2012 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 15 Mar 2012 18:47:16 -0500 Subject: Detection of Keyboard Closing In-Reply-To: <66B10343-285F-4E8D-83C4-D0CB831F961A@gmail.com> References: <0D313AAB-D6D2-44E7-B0C7-9F5D46344D13@gmail.com> <4F60F9AC.6070807@hyperactivesw.com> <48BF45A9-B91C-40FA-96F9-EEFC4B901391@gmail.com> <66B10343-285F-4E8D-83C4-D0CB831F961A@gmail.com> Message-ID: <92463058-5ECD-493A-B142-F5CB772A1F88@sonsothunder.com> > I am happy to report that all three approached work. The keyboard stays hidden until the field is touched. Enter some data with the keyboard, switch focus to another field, touch the initial field, focus switch and keyboard comes back up. All seems normal. > > However I think I found a bug. If you DO NOT enter any data just close the keyboard, switch focus to another field and then touch the initial field, focus will not move back to the field touched therefore no keyboard will appear. I am using 5.5rc1 > > So there is still no answer my original question of knowing when the keyboard is closed. I see now that you might be able to use the focusOut message but the keyboard can be closed and the field can still have focus. In my experiments, I was fortunate that i had another field that could acquire focus and pull it away from the first field. Closing the keyboard does not remove focus. Yes, unfortunately showing/hiding the keyboard on Android is a hit-or-miss situation. We don't get any messages that the keyboard is deploying or not (like we get in iOS), and there's also no way AFAIK to know the height of the keyboard - which on Android is a big issue since you can swap keyboards easily and they can (and do) have different heights. This is something RunRev is going to have to address... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From pete at mollysrevenge.com Thu Mar 15 20:20:53 2012 From: pete at mollysrevenge.com (Pete) Date: Thu, 15 Mar 2012 17:20:53 -0700 Subject: Detection of Keyboard Closing In-Reply-To: <92463058-5ECD-493A-B142-F5CB772A1F88@sonsothunder.com> References: <0D313AAB-D6D2-44E7-B0C7-9F5D46344D13@gmail.com> <4F60F9AC.6070807@hyperactivesw.com> <48BF45A9-B91C-40FA-96F9-EEFC4B901391@gmail.com> <66B10343-285F-4E8D-83C4-D0CB831F961A@gmail.com> <92463058-5ECD-493A-B142-F5CB772A1F88@sonsothunder.com> Message-ID: As an Android user not developer, maybe this explains a somewhat annoying aspect of some Andorid apps which, when you open them, position the cursor in a field which requires input before you can continue but does not bring up the keyboard until you tap on the field. Pete On Thu, Mar 15, 2012 at 4:47 PM, Ken Ray wrote: > Yes, unfortunately showing/hiding the keyboard on Android is a hit-or-miss > situation. We don't get any messages that the keyboard is deploying or not > (like we get in iOS), and there's also no way AFAIK to know the height of > the keyboard - which on Android is a big issue since you can swap keyboards > easily and they can (and do) have different heights. -- Pete Molly's Revenge From mwieder at ahsoftware.net Thu Mar 15 21:20:40 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 15 Mar 2012 18:20:40 -0700 Subject: queryregistry problem win In-Reply-To: <6CEF5770-558A-400D-ACEF-497B92609D7C@major.on-rev.com> References: <6CEF5770-558A-400D-ACEF-497B92609D7C@major.on-rev.com> Message-ID: <32160510843.20120315182040@ahsoftware.net> Klaus- Thursday, March 15, 2012, 10:17:05 AM, you wrote: > Hi friends, > I could need a little hint :-) > I am trying to query a registry entry that I CAN see in the registry editor, > but my query return NADA? What am I missing? > answer > queryregistry("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows > NT\CurrentVersion\DefaultProductKey\ProductId") > I'm on Windows 7! OTOH, the following query works in XP: answer queryregistry("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProductId") -- -Mark Wieder mwieder at ahsoftware.net From niconiko at gmail.com Thu Mar 15 23:41:20 2012 From: niconiko at gmail.com (Nicolas Cueto) Date: Fri, 16 Mar 2012 12:41:20 +0900 Subject: [Android] include files Message-ID: Hello, I'm testing a stack on Android. I do not know how to include specific files or folders, so that those files, folders and the folders' contents become placed on the test device. For example, I can see this directory listed by my stack when on the Android tablet: /data/app/tmp/ How would I get text files and folders into that directory, i.e.: /data/app/tmp/file1.txt /data/app/tmp/file2.txt /data/app/tmp/images/img1.jpg /data/app/tmp/images/img2.jpg All I could come up with was to try the standalone settings' "Copy files". But neither the files nor the folder (or the folder's contents) become placed on the tablet. Hope this is a simple question... -- Nicolas Cueto From jacque at hyperactivesw.com Fri Mar 16 00:49:12 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 15 Mar 2012 23:49:12 -0500 Subject: [Android] include files In-Reply-To: References: Message-ID: <4F62C648.1030800@hyperactivesw.com> On 3/15/12 10:41 PM, Nicolas Cueto wrote: > Hello, > > I'm testing a stack on Android. I do not know how to include specific > files or folders, so that those files, folders and the folders' > contents become placed on the test device. > > For example, I can see this directory listed by my stack when on the > Android tablet: > > /data/app/tmp/ > > How would I get text files and folders into that directory, i.e.: > > /data/app/tmp/file1.txt > /data/app/tmp/file2.txt > /data/app/tmp/images/img1.jpg > /data/app/tmp/images/img2.jpg > > All I could come up with was to try the standalone settings' "Copy > files". But neither the files nor the folder (or the folder's > contents) become placed on the tablet. Is your tablet rooted? Users on unrooted devices can't see the /data/ folder. The engine virtualizes all its files, so the ones you put in the Copy Files pane are in the apk but they won't show up separately on the device. You can access them with a path relative to the engine, like: specialFolderPath("engine") & "/file1.txt" The app can save files to one of the special folders, either "documents" or "cache". If it needs to create new files and you want them in a user-accessible area on the SD card (where unrooted users can see them) then enable the checkbox "Write external storage" in Standalone Settings. Then you can create a folder in "/mnt/sdcard/data/" and write files there. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From niconiko at gmail.com Fri Mar 16 00:58:19 2012 From: niconiko at gmail.com (Nicolas Cueto) Date: Fri, 16 Mar 2012 13:58:19 +0900 Subject: [Android] include files In-Reply-To: <4F62C648.1030800@hyperactivesw.com> References: <4F62C648.1030800@hyperactivesw.com> Message-ID: Hi Jacqueline, My tablet is not rooted. And, just as your message arrived, I happened to find and be reading up on the "specialFolderPath" explanation in the Android Release Notes. Thanks, though. Cheers. -- Nicolas Cueto From stephenREVOLUTION2 at barncard.com Fri Mar 16 01:19:03 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 15 Mar 2012 22:19:03 -0700 Subject: Scripting alignment tools In-Reply-To: <324056B0-2304-450E-A6B7-08A54296C38C@twft.com> References: <33AC4649-1FC9-4ADA-91DA-EA1F7C8C020E@byu.edu> <324056B0-2304-450E-A6B7-08A54296C38C@twft.com> Message-ID: I use that widget all the time. Invaluable... On 15 March 2012 11:40, Bob Sneidar wrote: > Scott Rossi made a widget called tmAlign. Very handy. Yes you can do this > with a script, like set the topleft of object1 to the topleft of object2 or > set the top of object1 to the top of object2. Center alignments get > trickier as you have to use items of the loc. set item 1 of the loc of > object1 to item 1 of the loc of object2 might work if you can reference an > item when you are setting something. Otherwise you will have to get the loc > of object1 first, put item 1 of the loc of object2 into item one of it, > then set the loc of object1 to it. > > Bob > > > On Mar 15, 2012, at 10:00 AM, Devin Asay wrote: > > > Hi all, > > > > The alignment pane in the property inspector allows us to do size, align > and distribute selected controls in relation to each other. Does anyone > know if this functionality can be accessed by scripting? Obviously I can > figure it out and write my own handler, but can I just call the existing > routines? Anybody know? > > > > Devin > > > > > > Devin Asay > > Humanities Technology and Research Support Center > > Brigham Young University > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From niconiko at gmail.com Fri Mar 16 02:04:54 2012 From: niconiko at gmail.com (Nicolas Cueto) Date: Fri, 16 Mar 2012 15:04:54 +0900 Subject: [Android] include files In-Reply-To: References: <4F62C648.1030800@hyperactivesw.com> Message-ID: Still no happy. Here is the script from my Android app that I thought would return the "Hello world" contents of "file1.txt": ------ put url ("file:" & specialFolderPath(?engine?) & slash & "file1.txt") into tData put "If file1.txt is in engine-path, here are its contents:" & cr & tData & cr & "--" & cr into tResult put url ("file:" & specialFolderPath(?documents?) & slash & "file1.txt") into tData put "If file1.txt is in documents-path, here are its contents:" & cr & tData & cr & "--" & cr after tResult put url ("file:" & specialFolderPath(?cache?) & slash & "file1.txt") into tData put "If file1.txt is in cache-path, here are its contents:" & cr & tData & cr & "--" after tResult ------- Not having ever created a stack/standalone that relied on files, these are the 3 ways of adding "file1.txt" I tried before finally clicking "Test" in the IDE: (1) Standalone Application Settings > Copy Files > Add file..., with "Copy Reference Files" checked off (2) Standalone Application Settings > Copy Files > Add file..., with "Copy Reference Files" checked on (3) (i) Standalone Application Settings > Copy Files > Remove entry" (to remove "file1.txt") (ii) Stack Property Inspector > External References" (to add again "file1.txt") But, whether specialFolderPath was "engine", "documents", or "cache", on the Android tablet "tData" always shows as empty. That was an hour or so ago. And now, I just don't know... Help! -- Nicolas Cueto From sschvarstein at gmail.com Fri Mar 16 14:21:56 2012 From: sschvarstein at gmail.com (Sergio Schvarstein) Date: Fri, 16 Mar 2012 19:21:56 +0100 Subject: New Xcode 4.3.1 Message-ID: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> Hi, I've just installed the new Xcode version 4.3.1. As I can see, now it is installed in the Applications folder, instead of the Developer folder where I still have my previous version. So, the question is: How do this affect the Preferences > Mobile Support info inside LiveCode ? Must I change it to the Applications folder ? And one more: The installer gave me the possibility of deleting the whole Developer folder, with my previous version of Xcode and all the other applications included. I still didn?t deleted, just in case, and also because I don?t see installed any new version of the iOS Simulator in the Applications folder. What happens with the iOS simulator, the new version of Xcode and LiveCode ? Thanks for any help. Best Regards. ______________________________ Sergio Schvarstein ______________________________ From MikeKerner at roadrunner.com Fri Mar 16 14:46:44 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 16 Mar 2012 14:46:44 -0400 Subject: New Xcode 4.3.1 In-Reply-To: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> Message-ID: Sergio, 4.3.1 is not supported yet. 4.3 is. You can download 4.3 from Apple's dev site. As of today, there is no solution (despite multiple attempts) for using 4.3.1. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From sc at sahores-conseil.com Fri Mar 16 15:08:38 2012 From: sc at sahores-conseil.com (Pierre Sahores) Date: Fri, 16 Mar 2012 20:08:38 +0100 Subject: New Xcode 4.3.1 In-Reply-To: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> Message-ID: <8E8F8D2A-6FE3-4284-B74C-5C70D344A04C@sahores-conseil.com> Hi, See inside /Applications/Xcode.app/Contents/Developer/Platforms/ -- Pierre Sahores mobile : 06 03 95 77 70 www.spimsco.net : la premi?re solution saas open source et commerciale de d?veloppement s?mantique pr?programm? Le 16 mars 2012 ? 19:21, Sergio Schvarstein a ?crit : > Hi, > > I've just installed the new Xcode version 4.3.1. > > As I can see, now it is installed in the Applications folder, instead of the Developer folder where I still have my previous version. > > So, the question is: > > How do this affect the Preferences > Mobile Support info inside LiveCode ? > Must I change it to the Applications folder ? > > And one more: > > The installer gave me the possibility of deleting the whole Developer folder, with my previous version of Xcode and all the other applications included. > I still didn?t deleted, just in case, and also because I don?t see installed any new version of the iOS Simulator in the Applications folder. > What happens with the iOS simulator, the new version of Xcode and LiveCode ? > > Thanks for any help. > > Best Regards. > > ______________________________ > Sergio Schvarstein > > ______________________________ > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Fri Mar 16 15:24:38 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 16 Mar 2012 15:24:38 -0400 Subject: New Xcode 4.3.1 In-Reply-To: <8E8F8D2A-6FE3-4284-B74C-5C70D344A04C@sahores-conseil.com> References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <8E8F8D2A-6FE3-4284-B74C-5C70D344A04C@sahores-conseil.com> Message-ID: I will repeat, 4.3.1 does not work with LC at this time. Use 4.2 or 4.3. Unless Pierre has uncovered his own superpowers this afternoon there is currently no workaround. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From sc at sahores-conseil.com Fri Mar 16 19:39:45 2012 From: sc at sahores-conseil.com (Pierre Sahores) Date: Sat, 17 Mar 2012 00:39:45 +0100 Subject: New Xcode 4.3.1 In-Reply-To: References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> Message-ID: Using : MBP i7, OSX 10.6.8, XCode 4.2, Android SDK API 8 to 15, LC 5.5 rc2 Devices addressed trough the XCode Organizer : iPad 1, iPod Touch Devices directly addressed via the LC test button : iPhone/iPad simulator, Galaxy S2 -- Pierre Sahores mobile : 06 03 95 77 70 www.spimsco.net : la premi?re solution saas open source et commerciale de d?veloppement s?mantique pr?programm? Le 16 mars 2012 ? 19:46, Mike Kerner a ?crit : > Sergio, > > 4.3.1 is not supported yet. 4.3 is. You can download 4.3 from Apple's dev > site. As of today, there is no solution (despite multiple attempts) for > using 4.3.1. > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Fri Mar 16 21:42:48 2012 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Fri, 16 Mar 2012 21:42:48 -0400 Subject: New Xcode 4.3.1 In-Reply-To: References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> Message-ID: <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> 4.3.1 does work with LC 5.5rc2 -IF you copy over both the iOS 5.0 simulator SDK and the iOS 5.0 developer SDK to their appropriate folders in the 4.3.1 app bundle. That said, You can then check out how your app will look in the retina size for iPad only in the simulator using Simulator 5.1 But you will only be able to build with 5.0 for the device and not 5.1-- LC will do that for you if all four SDKs are available. To say again it is iOS 5.1 that is not supported yet by LC for device builds. But with a little copying you can still use xCode 4.3.1 with BOTH the 5.0 for device builds and 5.1 SDKs for the Simulator. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Mar 16, 2012, at 7:39 PM, Pierre Sahores wrote: > Using : > > MBP i7, OSX 10.6.8, XCode 4.2, Android SDK API 8 to 15, LC 5.5 rc2 > > Devices addressed trough the XCode Organizer : iPad 1, iPod Touch > Devices directly addressed via the LC test button : iPhone/iPad simulator, Galaxy S2 > > -- > Pierre Sahores > mobile : 06 03 95 77 70 > www.spimsco.net : la premi?re solution saas open source et commerciale de d?veloppement s?mantique pr?programm? > > Le 16 mars 2012 ? 19:46, Mike Kerner a ?crit : > >> Sergio, >> >> 4.3.1 is not supported yet. 4.3 is. You can download 4.3 from Apple's dev >> site. As of today, there is no solution (despite multiple attempts) for >> using 4.3.1. >> >> >> -- >> On the first day, God created the heavens and the Earth >> On the second day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From revmaillist at positivme.com Fri Mar 16 22:59:54 2012 From: revmaillist at positivme.com (Thunder) Date: Fri, 16 Mar 2012 19:59:54 -0700 (PDT) Subject: queryregistry problem win In-Reply-To: <6CEF5770-558A-400D-ACEF-497B92609D7C@major.on-rev.com> References: <6CEF5770-558A-400D-ACEF-497B92609D7C@major.on-rev.com> Message-ID: <1331953194222-4479965.post@n4.nabble.com> answer queryregistry("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DefaultProductKey\ProductId") Works OK on Win7 (logged on as Admin). Copy from webpage and paste into messagebox LiveCode 5.0.2 -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/queryregistry-problem-win-tp4475724p4479965.html Sent from the Revolution - User mailing list archive at Nabble.com. From bvlahos at mac.com Sat Mar 17 02:00:26 2012 From: bvlahos at mac.com (Bill Vlahos) Date: Fri, 16 Mar 2012 23:00:26 -0700 Subject: Is RevOnLine update broken? Message-ID: I'm trying to upload a newer version of the Encryption Made Easy stack and it is stuck uploading and doesn't really get started and never finishes. Is there a problem with it? Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. From richmondmathewson at gmail.com Sat Mar 17 02:52:30 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 17 Mar 2012 08:52:30 +0200 Subject: Is RevOnLine update broken? In-Reply-To: References: Message-ID: <4F6434AE.9080505@gmail.com> On 03/17/2012 08:00 AM, Bill Vlahos wrote: > I'm trying to upload a newer version of the Encryption Made Easy stack and it is stuck uploading and doesn't really get started and never finishes. > > Is there a problem with it? > > Bill Vlahos > _________________ > Various people, including myself, have been making "funny noises" about RevOnline for quite some time: but it would seem that the good people in Embro have other fish to fry right now. From rene.micout at numericable.com Sat Mar 17 06:05:48 2012 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Sat, 17 Mar 2012 11:05:48 +0100 Subject: Is RevOnLine update broken? In-Reply-To: <4F6434AE.9080505@gmail.com> References: <4F6434AE.9080505@gmail.com> Message-ID: <5F1A32A2-464C-41EC-96D7-646134C4E671@numericable.com> Le 17 mars 2012 ? 07:52, Richmond a ?crit : > Various people, including myself, have been making "funny noises" about RevOnline for quite > some time: but it would seem that the good people in Embro have other fish to fry right now. Yes ! I think that since 9th december 2011... From reichenbach.marek at gmail.com Sat Mar 17 06:44:04 2012 From: reichenbach.marek at gmail.com (Marek Reichenbach) Date: Sat, 17 Mar 2012 12:44:04 +0200 Subject: No subject Message-ID: I'm trying to do in LiveCode with MySQL: how to use data from other table in the same query for filtering: SELECT A, B ,C, (SELECT D FROM TABLE2 WHERE C[from table2] < B[from table1]) FROM TABLE1; <-- the stucture of query help please :/ From m.schonewille at economy-x-talk.com Sat Mar 17 06:56:24 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 17 Mar 2012 11:56:24 +0100 Subject: MySQL joined select In-Reply-To: References: Message-ID: <398B55B7-9521-4003-A80D-A0E970C99AAB@economy-x-talk.com> Hi, First, you need to create one big table. You do this with SELECT * FROM table1,table2 This table will be way too big, so you need to add a way to select only the relevant rows from that very big table, e.g. SELECT * FROM table1,table2 WHERE table1.key = table2.key You need to test and change it until you really get only rows that make sense. Now you can add a condition and determine which columns to select: SELECT A,B,C,D FROM table1,table2 WHERE table1.key = table2.key AND table2.C < table1.B and that completes the query. -- 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 1.7 for LiveCode here http://qery.us/za On 17 mrt 2012, at 11:44, Marek Reichenbach wrote: > I'm trying to do in LiveCode with MySQL: > how to use data from other table in the same query for filtering: > > SELECT A, B ,C, (SELECT D FROM TABLE2 WHERE C[from table2] < B[from > table1]) FROM TABLE1; <-- the stucture of query > > help please :/ > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From reichenbach.marek at gmail.com Sat Mar 17 07:47:14 2012 From: reichenbach.marek at gmail.com (Marek Reichenbach) Date: Sat, 17 Mar 2012 13:47:14 +0200 Subject: MySQL joined select In-Reply-To: <398B55B7-9521-4003-A80D-A0E970C99AAB@economy-x-talk.com> References: <398B55B7-9521-4003-A80D-A0E970C99AAB@economy-x-talk.com> Message-ID: Hi Mark, thank you for the reply. I'm going to try it in your way. I didn't understand one thing: WHERE table1.key = table2.key & WHERE table1.key = table2.key AND table2.C < table1.B the "table.key" is... ? On 17 March 2012 12:56, Mark Schonewille wrote: > Hi, > > First, you need to create one big table. You do this with > > SELECT * FROM table1,table2 > > This table will be way too big, so you need to add a way to select only > the relevant rows from that very big table, e.g. > > SELECT * FROM table1,table2 WHERE table1.key = table2.key > > You need to test and change it until you really get only rows that make > sense. Now you can add a condition and determine which columns to select: > > SELECT A,B,C,D FROM table1,table2 WHERE table1.key = table2.key AND > table2.C < table1.B > > and that completes the query. > > -- > 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 1.7 for LiveCode here > http://qery.us/za > > On 17 mrt 2012, at 11:44, Marek Reichenbach wrote: > > > I'm trying to do in LiveCode with MySQL: > > how to use data from other table in the same query for filtering: > > > > SELECT A, B ,C, (SELECT D FROM TABLE2 WHERE C[from table2] < B[from > > table1]) FROM TABLE1; <-- the stucture of query > > > > help please :/ > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From m.schonewille at economy-x-talk.com Sat Mar 17 07:55:42 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 17 Mar 2012 12:55:42 +0100 Subject: MySQL joined select In-Reply-To: References: <398B55B7-9521-4003-A80D-A0E970C99AAB@economy-x-talk.com> Message-ID: <9F070803-F5A1-469D-AF63-F9ACF826A3E7@economy-x-talk.com> Hi, You need something to identify the rows in the tables. Somehow you need to know which rows belong together. If this doesn't help you, then you need to be more specific about the type of data in your two tables and what you are trying to achieve. -- 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 1.7 for LiveCode here http://qery.us/za On 17 mrt 2012, at 12:47, Marek Reichenbach wrote: > Hi Mark, thank you for the reply. > I'm going to try it in your way. > > I didn't understand one thing: > WHERE table1.key = table2.key & WHERE table1.key = table2.key AND table2.C > < table1.B > > the "table.key" is... ? From sschvarstein at gmail.com Sat Mar 17 07:58:08 2012 From: sschvarstein at gmail.com (Sergio Schvarstein) Date: Sat, 17 Mar 2012 12:58:08 +0100 Subject: App Rejected: Crash reports Message-ID: <6F058EFF-4DC1-46E7-B915-BAB8355AD332@gmail.com> Hi, I've submitted an app to the AppStore and it was rejected because several crashes were found. This is the Apple rejection message: We found that your app crashed on iPhone 4 and iPad 2 running iOS 5.1, which is not in compliance with the App Store Review Guidelines. Your app crashed intermittently on both Wi-Fi and cellular networks. They've also sent 4 crash reports, which I couldn't descifrate. In all my exhaustive tests in several devices and iOS versions I never found any crash. Here are the 4 crash reports: http://dl.dropbox.com/u/592829/Projects/IndexBook/crash_reports.zip Is there any way for knowing the crash origins ? Thanks and Best Regards. ______________________________ Sergio Schvarstein sschvarstein at gmail.com ______________________________ From reichenbach.marek at gmail.com Sat Mar 17 07:58:58 2012 From: reichenbach.marek at gmail.com (Marek Reichenbach) Date: Sat, 17 Mar 2012 13:58:58 +0200 Subject: MySQL joined select In-Reply-To: <9F070803-F5A1-469D-AF63-F9ACF826A3E7@economy-x-talk.com> References: <398B55B7-9521-4003-A80D-A0E970C99AAB@economy-x-talk.com> <9F070803-F5A1-469D-AF63-F9ACF826A3E7@economy-x-talk.com> Message-ID: Well, there is a unique number in both tables. Is it this what you're talking about ? On 17 March 2012 13:55, Mark Schonewille wrote: > Hi, > > You need something to identify the rows in the tables. Somehow you need to > know which rows belong together. If this doesn't help you, then you need to > be more specific about the type of data in your two tables and what you are > trying to achieve. > > -- > 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 1.7 for LiveCode here > http://qery.us/za > > On 17 mrt 2012, at 12:47, Marek Reichenbach wrote: > > > Hi Mark, thank you for the reply. > > I'm going to try it in your way. > > > > I didn't understand one thing: > > WHERE table1.key = table2.key & WHERE table1.key = table2.key AND > table2.C > > < table1.B > > > > the "table.key" is... ? > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From m.schonewille at economy-x-talk.com Sat Mar 17 08:05:07 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 17 Mar 2012 13:05:07 +0100 Subject: MySQL joined select In-Reply-To: References: <398B55B7-9521-4003-A80D-A0E970C99AAB@economy-x-talk.com> <9F070803-F5A1-469D-AF63-F9ACF826A3E7@economy-x-talk.com> Message-ID: <20B40CD0-529B-4124-B6CB-E2E12AA82AA5@economy-x-talk.com> Hi, If the unique numbers are the same in both tables and indicate that the respective records belong together, then it is what I'm talking about. -- 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 1.7 for LiveCode here http://qery.us/za On 17 mrt 2012, at 12:58, Marek Reichenbach wrote: > Well, there is a unique number in both tables. Is it this what you're > talking about ? From reichenbach.marek at gmail.com Sat Mar 17 08:08:14 2012 From: reichenbach.marek at gmail.com (Marek Reichenbach) Date: Sat, 17 Mar 2012 14:08:14 +0200 Subject: MySQL joined select In-Reply-To: <20B40CD0-529B-4124-B6CB-E2E12AA82AA5@economy-x-talk.com> References: <398B55B7-9521-4003-A80D-A0E970C99AAB@economy-x-talk.com> <9F070803-F5A1-469D-AF63-F9ACF826A3E7@economy-x-talk.com> <20B40CD0-529B-4124-B6CB-E2E12AA82AA5@economy-x-talk.com> Message-ID: I'll try. Thanks Mark. On 17 March 2012 14:05, Mark Schonewille wrote: > Hi, > > If the unique numbers are the same in both tables and indicate that the > respective records belong together, then it is what I'm talking about. > > -- > 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 1.7 for LiveCode here > http://qery.us/za > > On 17 mrt 2012, at 12:58, Marek Reichenbach wrote: > > > Well, there is a unique number in both tables. Is it this what you're > > talking about ? > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From alex at tweedly.net Sat Mar 17 09:16:42 2012 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 17 Mar 2012 13:16:42 +0000 Subject: Failing to understand the oddities of the "line" chunk Message-ID: <4F648EBA.3070004@tweedly.net> This code > put "a" & CR into t; put "b" into line 2 of t; put t produces (as I would expect) > a > b BUT > put "a" & CR into t; put "b" into line 2 to -1 of t; put t produces > ba Why should adding the "to -1" change this to put the new data before what was there before ? I can see that there is no line 2, so saying "line 2 to -1 " does need to be interpreted. But if you specify a line number higher than exists, normally the string will be padded with enough CRs to make it work, e.g. > put "a" &CR into t; put "b" into line 3 of t; put t produces > a > > b but > put "a" &CR into t; put "b" into line 3 to -1 of t; put t again produces > ba -- Alex. From reichenbach.marek at gmail.com Sat Mar 17 09:42:28 2012 From: reichenbach.marek at gmail.com (Marek Reichenbach) Date: Sat, 17 Mar 2012 15:42:28 +0200 Subject: MySQL joined select In-Reply-To: References: <398B55B7-9521-4003-A80D-A0E970C99AAB@economy-x-talk.com> <9F070803-F5A1-469D-AF63-F9ACF826A3E7@economy-x-talk.com> <20B40CD0-529B-4124-B6CB-E2E12AA82AA5@economy-x-talk.com> Message-ID: Sorry Mark, one more question. Is there a way for example to do: SELECT A,B,C,D FROM table1 WHERE A>B... BUT in the result SHOW only A column result. HIDE B column ? Please. On 17 March 2012 14:08, Marek Reichenbach wrote: > I'll try. > > Thanks Mark. > > > On 17 March 2012 14:05, Mark Schonewille > wrote: > >> Hi, >> >> If the unique numbers are the same in both tables and indicate that the >> respective records belong together, then it is what I'm talking about. >> >> -- >> 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 1.7 for LiveCode here >> http://qery.us/za >> >> On 17 mrt 2012, at 12:58, Marek Reichenbach wrote: >> >> > Well, there is a unique number in both tables. Is it this what you're >> > talking about ? >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From m.schonewille at economy-x-talk.com Sat Mar 17 09:47:50 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 17 Mar 2012 14:47:50 +0100 Subject: MySQL joined select In-Reply-To: References: <398B55B7-9521-4003-A80D-A0E970C99AAB@economy-x-talk.com> <9F070803-F5A1-469D-AF63-F9ACF826A3E7@economy-x-talk.com> <20B40CD0-529B-4124-B6CB-E2E12AA82AA5@economy-x-talk.com> Message-ID: <94AF8A9F-1294-4E3A-9CD8-6177D46B071F@economy-x-talk.com> Hi, Sure, just don't include B in your column list: SELECT A,C,D FROM table1,table2 WHERE table1.key = table2.key AND table2.C < table1.B -- 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 1.7 for LiveCode here http://qery.us/za On 17 mrt 2012, at 14:42, Marek Reichenbach wrote: > Sorry Mark, one more question. Is there a way for example to do: SELECT > A,B,C,D FROM table1 WHERE A>B... BUT in the result SHOW only A column > result. HIDE B column > ? > Please. From klaus at major.on-rev.com Sat Mar 17 10:30:20 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sat, 17 Mar 2012 15:30:20 +0100 Subject: queryregistry problem win In-Reply-To: <1331953194222-4479965.post@n4.nabble.com> References: <6CEF5770-558A-400D-ACEF-497B92609D7C@major.on-rev.com> <1331953194222-4479965.post@n4.nabble.com> Message-ID: <999BB5FD-5A7C-4A60-8D23-977839BC3EA7@major.on-rev.com> Hi Mr. Thunder, Am 17.03.2012 um 03:59 schrieb Thunder: > answer queryregistry("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows > NT\CurrentVersion\DefaultProductKey\ProductId") > Works OK on Win7 (logged on as Admin). Copy from webpage and paste into > messagebox LiveCode 5.0.2 answer queryregistry("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\DefaultProductKey\ProductId") NOT Works OK HERE on my Win7 (logged on as Admin). Tediously typed every single character manually into messagebox LiveCode 5.0.2 :-) Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From revmaillist at positivme.com Sat Mar 17 11:05:43 2012 From: revmaillist at positivme.com (Thunder) Date: Sat, 17 Mar 2012 08:05:43 -0700 (PDT) Subject: queryregistry problem win In-Reply-To: <999BB5FD-5A7C-4A60-8D23-977839BC3EA7@major.on-rev.com> References: <6CEF5770-558A-400D-ACEF-497B92609D7C@major.on-rev.com> <1331953194222-4479965.post@n4.nabble.com> <999BB5FD-5A7C-4A60-8D23-977839BC3EA7@major.on-rev.com> Message-ID: <1331996743513-4480707.post@n4.nabble.com> Do you have read permission ? Check this : Start regedit.exe Right click DefaultProductKey Click on permission -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/queryregistry-problem-win-tp4475724p4480707.html Sent from the Revolution - User mailing list archive at Nabble.com. From jrvalent at wisc.edu Sat Mar 17 11:54:36 2012 From: jrvalent at wisc.edu (rand valentine) Date: Sat, 17 Mar 2012 10:54:36 -0500 Subject: outputting unicode text fields to unicode text files Message-ID: <003401cd0456$40f46730$c2dd3590$@wisc.edu> Hi, all. I'm stymied in my efforts to save a field of Unicode text to a text file. I'm working with Windows (7) and the latest version of Livecode. The field has Unicode text in it which which I can readily copy and paste into Word and Wordpad and preserve all of the Unicode characters. But if I try to save it to a binfile I simply cannot get the correct text. If I code put the unicodeText of fld "x" into url theFile it seems to not recognize that the fld is already Unicode text, and outputs each character with a space after it as if it has tried to create Unicode text from simple text. So the file is garbage. But if I code put fld "x" into url theFile I also don't get the Unicode characters rendering correctly in a textfile. What alternative is there to output this Unicode text to a Unicode text file? Thanks. rand valentine university of wisconsin-madison From jrvalent at wisc.edu Sat Mar 17 12:07:33 2012 From: jrvalent at wisc.edu (rand valentine) Date: Sat, 17 Mar 2012 11:07:33 -0500 Subject: solved my own unicode problem Message-ID: <004101cd0458$10699340$313cb9c0$@wisc.edu> I just wrote asking for Unicode help, and found a solution in one of Devin Asay's helps. I'm writing scripts to help my students move simple Unicode text files (if there is such a thing) into a Windows-based linguistic program called Toolbox. This program seems to only recognize UTF8 text. So using Devin's command put unidecode(the unicodeText of fld "x","utf8") into url theFile The file opens with the correct rendering in Toolbox. I so wish Livecode could just 'do Unicode' without my having to hassle with so many coding tricks, but I think this is not so much a Livecode issue, as living in the complex world of Unicode. rand From jacque at hyperactivesw.com Sat Mar 17 12:19:26 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 17 Mar 2012 11:19:26 -0500 Subject: solved my own unicode problem In-Reply-To: <004101cd0458$10699340$313cb9c0$@wisc.edu> References: <004101cd0458$10699340$313cb9c0$@wisc.edu> Message-ID: <4F64B98E.2090309@hyperactivesw.com> On 3/17/12 11:07 AM, rand valentine wrote: > I so wish Livecode > could just 'do Unicode' without my having to hassle with so many coding > tricks, but I think this is not so much a Livecode issue, as living in the > complex world of Unicode. I think you'll be happy with the upcoming 5.5 release. Very, very happy. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Sat Mar 17 12:23:47 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 17 Mar 2012 18:23:47 +0200 Subject: outputting unicode text fields to unicode text files In-Reply-To: <003401cd0456$40f46730$c2dd3590$@wisc.edu> References: <003401cd0456$40f46730$c2dd3590$@wisc.edu> Message-ID: <4F64BA93.1060806@gmail.com> On 03/17/2012 05:54 PM, rand valentine wrote: > Hi, all. I'm stymied in my efforts to save a field of Unicode text to a text > file. I'm working with Windows (7) and the latest version of Livecode. > > The field has Unicode text in it which which I can readily copy and paste > into Word and Wordpad and preserve all of the Unicode characters. But if I > try to save it to a binfile I simply cannot get the correct text. > > If I code > > put the unicodeText of fld "x" into url theFile > > it seems to not recognize that the fld is already Unicode text, and outputs > each character with a space after it as if it has tried to create Unicode > text from simple text. So the file is garbage. > > But if I code > > put fld "x" into url theFile > > I also don't get the Unicode characters rendering correctly in a textfile. > What alternative is there to output this Unicode text to a Unicode text > file? Thanks. > > rand valentine > > university of wisconsin-madison > > > Outputting (Save) as RTF text is rather a good way to go. From jacque at hyperactivesw.com Sat Mar 17 12:33:39 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 17 Mar 2012 11:33:39 -0500 Subject: Failing to understand the oddities of the "line" chunk In-Reply-To: <4F648EBA.3070004@tweedly.net> References: <4F648EBA.3070004@tweedly.net> Message-ID: <4F64BCE3.1080904@hyperactivesw.com> On 3/17/12 8:16 AM, Alex Tweedly wrote: > This code >> put "a" & CR into t; put "b" into line 2 of t; put t > produces (as I would expect) >> a >> b > BUT >> put "a" & CR into t; put "b" into line 2 to -1 of t; put t > produces >> ba > Why should adding the "to -1" change this to put the new data before > what was there before ? It's because of how the engine ignores trailing delimiters. The variable t contains only one line, so "line 2 to -1" evaluates to "line 2 to 1". -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Mar 17 12:36:23 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 17 Mar 2012 11:36:23 -0500 Subject: App Rejected: Crash reports In-Reply-To: <6F058EFF-4DC1-46E7-B915-BAB8355AD332@gmail.com> References: <6F058EFF-4DC1-46E7-B915-BAB8355AD332@gmail.com> Message-ID: <4F64BD87.5000905@hyperactivesw.com> On 3/17/12 6:58 AM, Sergio Schvarstein wrote: > Hi, > > I've submitted an app to the AppStore and it was rejected because > several crashes were found. > > This is the Apple rejection message: > > We found that your app crashed on iPhone 4 and iPad 2 running iOS > 5.1, which is not in compliance with the App Store Review > Guidelines. Your app crashed intermittently on both Wi-Fi and > cellular networks. > > They've also sent 4 crash reports, which I couldn't descifrate. > > In all my exhaustive tests in several devices and iOS versions I > never found any crash. > > Here are the 4 crash reports: > http://dl.dropbox.com/u/592829/Projects/IndexBook/crash_reports.zip > > Is there any way for knowing the crash origins ? The engineers don't monitor this list, so you need to submit a bug report. If you are a member of the developer program you can do that yourself at . Otherwise, send an email to support and enclose your crash log files. That's the only way the team will know there is a problem. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dunbarx at aol.com Sat Mar 17 12:41:43 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sat, 17 Mar 2012 12:41:43 -0400 (EDT) Subject: Failing to understand the oddities of the "line" chunk In-Reply-To: <4F64BCE3.1080904@hyperactivesw.com> References: <4F648EBA.3070004@tweedly.net> <4F64BCE3.1080904@hyperactivesw.com> Message-ID: <8CED273F877E3D6-12F0-68E3@webmail-d070.sysops.aol.com> What Jacque said. answer the number of items of "1,2," --give "2" Same with line delimiters. Craig Newman -----Original Message----- From: J. Landman Gay To: How to use LiveCode Sent: Sat, Mar 17, 2012 12:35 pm Subject: Re: Failing to understand the oddities of the "line" chunk On 3/17/12 8:16 AM, Alex Tweedly wrote: > This code >> put "a" & CR into t; put "b" into line 2 of t; put t > produces (as I would expect) >> a >> b > BUT >> put "a" & CR into t; put "b" into line 2 to -1 of t; put t > produces >> ba > Why should adding the "to -1" change this to put the new data before > what was there before ? It's because of how the engine ignores trailing delimiters. The variable t contains only one line, so "line 2 to -1" evaluates to "line 2 to 1". -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sat Mar 17 12:50:26 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 17 Mar 2012 11:50:26 -0500 Subject: IphoneDeviceScale Message-ID: <4F64C0D2.5030001@hyperactivesw.com> What does iPhoneDeviceScale return on the new iPad? Four? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at mollysrevenge.com Sat Mar 17 14:13:31 2012 From: pete at mollysrevenge.com (Pete) Date: Sat, 17 Mar 2012 11:13:31 -0700 Subject: No subject In-Reply-To: References: Message-ID: SELECT A,B,C,TABLE2.D FROM TABLE1 LEFT JOIN TABLE2 ON TABLE2.C < TABLE1.B On Mar 17, 2012 3:44 AM, "Marek Reichenbach" wrote: > I'm trying to do in LiveCode with MySQL: > how to use data from other table in the same query for filtering: > > SELECT A, B ,C, (SELECT D FROM TABLE2 WHERE C[from table2] < B[from > table1]) FROM TABLE1; <-- the stucture of query > > help please :/ > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From dsc at swcp.com Sat Mar 17 14:31:06 2012 From: dsc at swcp.com (Dar Scott) Date: Sat, 17 Mar 2012 12:31:06 -0600 Subject: App Rejected: Crash reports In-Reply-To: <6F058EFF-4DC1-46E7-B915-BAB8355AD332@gmail.com> References: <6F058EFF-4DC1-46E7-B915-BAB8355AD332@gmail.com> Message-ID: I think this is LiveCode engine problem. It seems to be the use of a NULL pointer, probably from an error that is not expected and never checked. For example, a request for memory might be made and a NULL is returned when none is available. A programmer might be able to prove that an error cannot occur, but the Apple test environment might generate one anyway. Report this to RunRev as Jacque suggested. In the mean time, you can increase stresses to try to force crashes on your setup. I'm not sure how to do that. You can try very large data. If you are using http, then try opening chargen (port 19) on a system with simple services enabled. You can also try to connect to computers that do not exist or do not a listener (service) on that port of that computer. If you can make lots of connections, do that. It might be a random bug in your code related to native controls or externals. Dar On Mar 17, 2012, at 5:58 AM, Sergio Schvarstein wrote: > I've submitted an app to the AppStore and it was rejected because several crashes were found. > > This is the Apple rejection message: > > We found that your app crashed on iPhone 4 and iPad 2 running iOS 5.1, which is not in compliance with the App Store Review Guidelines. > Your app crashed intermittently on both Wi-Fi and cellular networks. > > They've also sent 4 crash reports, which I couldn't descifrate. > > In all my exhaustive tests in several devices and iOS versions I never found any crash. > > Here are the 4 crash reports: > http://dl.dropbox.com/u/592829/Projects/IndexBook/crash_reports.zip > > Is there any way for knowing the crash origins ? From edljr at mac.com Sat Mar 17 14:46:11 2012 From: edljr at mac.com (Edward D Lavieri Jr) Date: Sat, 17 Mar 2012 13:46:11 -0500 Subject: New Xcode 4.3.1 In-Reply-To: <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> Message-ID: <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> Hi Tom, Sorry to be a simpleton on this, but I cannot seem to get this to work. Your statement that we can get 4.3.1 to work with LC 5.5rc2 is encouraging. Would you mind providing more specifics regarding what files/folders need to be copied from/to each location? On my Mac Pro, I see /Library/Developer/ with the following subdirectories: /4.0 /4.2 /4.2.1 /Documentation /Shared I see the /Platforms directory in the Xcode.app package. What do I copy from there and to where? Thanks much, Ed On Mar 16, 2012, at 8:42 PM, Thomas McGrath III wrote: > 4.3.1 does work with LC 5.5rc2 -IF you copy over both the iOS 5.0 simulator SDK and the iOS 5.0 developer SDK to their appropriate folders in the 4.3.1 app bundle. That said, You can then check out how your app will look in the retina size for iPad only in the simulator using Simulator 5.1 But you will only be able to build with 5.0 for the device and not 5.1-- LC will do that for you if all four SDKs are available. > > To say again it is iOS 5.1 that is not supported yet by LC for device builds. But with a little copying you can still use xCode 4.3.1 with BOTH the 5.0 for device builds and 5.1 SDKs for the Simulator. > > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > > On Mar 16, 2012, at 7:39 PM, Pierre Sahores wrote: > >> Using : >> >> MBP i7, OSX 10.6.8, XCode 4.2, Android SDK API 8 to 15, LC 5.5 rc2 >> >> Devices addressed trough the XCode Organizer : iPad 1, iPod Touch >> Devices directly addressed via the LC test button : iPhone/iPad simulator, Galaxy S2 >> >> -- >> Pierre Sahores >> mobile : 06 03 95 77 70 >> www.spimsco.net : la premi?re solution saas open source et commerciale de d?veloppement s?mantique pr?programm? >> >> Le 16 mars 2012 ? 19:46, Mike Kerner a ?crit : >> >>> Sergio, >>> >>> 4.3.1 is not supported yet. 4.3 is. You can download 4.3 from Apple's dev >>> site. As of today, there is no solution (despite multiple attempts) for >>> using 4.3.1. >>> >>> >>> -- >>> On the first day, God created the heavens and the Earth >>> On the second day, God created the oceans. >>> On the third day, God put the animals on hold for a few hours, >>> and did a little diving. >>> And God said, "This is good." >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Sat Mar 17 15:59:59 2012 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 17 Mar 2012 19:59:59 +0000 Subject: Failing to understand the oddities of the "line" chunk In-Reply-To: <4F64BCE3.1080904@hyperactivesw.com> References: <4F648EBA.3070004@tweedly.net> <4F64BCE3.1080904@hyperactivesw.com> Message-ID: <4F64ED3F.4050808@tweedly.net> Thanks Jacque. I kept seeing it as "line 2 to the end" and so expected it to go there. I now see it; so I can simply do constant infinity=9999999999 put "a" & CR into t; put "b" into line 2 to infinity of t and I get the right (i.e. desired :-) answer. Thanks !! -- Alex On 17/03/2012 16:33, J. Landman Gay wrote: > On 3/17/12 8:16 AM, Alex Tweedly wrote: >> This code >>> put "a" & CR into t; put "b" into line 2 of t; put t >> produces (as I would expect) >>> a >>> b >> BUT >>> put "a" & CR into t; put "b" into line 2 to -1 of t; put t >> produces >>> ba >> Why should adding the "to -1" change this to put the new data before >> what was there before ? > > It's because of how the engine ignores trailing delimiters. The > variable t contains only one line, so "line 2 to -1" evaluates to > "line 2 to 1". > From cmsheffield at me.com Sat Mar 17 16:27:42 2012 From: cmsheffield at me.com (Chris Sheffield) Date: Sat, 17 Mar 2012 14:27:42 -0600 Subject: IphoneDeviceScale In-Reply-To: <4F64C0D2.5030001@hyperactivesw.com> References: <4F64C0D2.5030001@hyperactivesw.com> Message-ID: Two. Sent from my iPhone On Mar 17, 2012, at 10:50 AM, "J. Landman Gay" wrote: > What does iPhoneDeviceScale return on the new iPad? Four? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gcanyon at gmail.com Sat Mar 17 16:31:48 2012 From: gcanyon at gmail.com (Geoff Canyon) Date: Sat, 17 Mar 2012 15:31:48 -0500 Subject: Failing to understand the oddities of the "line" chunk In-Reply-To: <4F64BCE3.1080904@hyperactivesw.com> References: <4F648EBA.3070004@tweedly.net> <4F64BCE3.1080904@hyperactivesw.com> Message-ID: This seems wrong to me. Regardless of how the engine interprets a chunk expression, a command of the form put into should result in containing So the fact that you are putting "b" into something should result in that thing being "b," where here the result is "ba" further, there's the fact that after the command, the chunk is still empty. So: put "a" & cr into t;put "b" into line 2 to -1 of t;put line 2 to -1 of t is empty puts true. I did a quick check to take the negative line number out of this. If you have a field with contents: a b c then put line 2 to 1 of fld 1 puts empty, and put "x" into line 2 to 1 of fld 1 results in line 1 of the field being "xa" again, this feels wrong. "line 2 to 1" of something should be an error. I can see the value of having it return empty when you are getting it, but putting something into it results in bad behavior. Another way of addressing this would be to say that chunk expressions always understand and follow proper order. So "line 2 to 1" would be the same as "line 1 to 2" Under that scenario, put "x" into line 2 to 1 of fld 1 would result in the field containing: x c and the original problem: put "a" & CR into t; put "b" into line 2 to -1 of t; put t would put b which seems like a much more reasonable (and predictable) outcome. gc On Sat, Mar 17, 2012 at 11:33 AM, J. Landman Gay wrote: > On 3/17/12 8:16 AM, Alex Tweedly wrote: > >> This code >> >>> put "a" & CR into t; put "b" into line 2 of t; put t >>> >> produces (as I would expect) >> >>> a >>> b >>> >> BUT >> >>> put "a" & CR into t; put "b" into line 2 to -1 of t; put t >>> >> produces >> >>> ba >>> >> Why should adding the "to -1" change this to put the new data before >> what was there before ? >> > > It's because of how the engine ignores trailing delimiters. The variable t > contains only one line, so "line 2 to -1" evaluates to "line 2 to 1". > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From mcgrath3 at mac.com Sat Mar 17 17:31:39 2012 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sat, 17 Mar 2012 17:31:39 -0400 Subject: New Xcode 4.3.1 In-Reply-To: <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> Message-ID: <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> OK, You must have xCode 4.3 & xCode 4.3.1 There are two copies to perform, right click on each of the above and 'show package contents': copy this folder from xCode.app (4.3) bundle -- Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk and place a copy of it here in the xCode.app (4.3.1) bundle -- Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/ THEN copy this folder from xCode.app (4.3) bundle -- Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk and place a copy of it here in the xCode.app (4.3.1) bundle -- Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/ ----------------- You should now have both iPhoneSimulator5.1.sdk and iPhoneSimulator5.0.sdk in the iPhoneSimulators SDKs folder && both iPhoneOS5.1.sdk and iPhoneOS5.0.sdk in the iPhoneOS SDKs folder. Then point the xCode 4 and above preference in LC to the xCode.app (4.3.1) -- It may crash the first time out. Also, if these are fresh installs of xCode then you will need to open a sample project to force them to download any missing components etc. NOW, when you TEST you will be testing in the 5.1 simulator for retina iPad BUT you will build for the 5.0 for device deployment. And remember LC does not support this yet so use at your own discretion. I can't guarantee this will not harm LC. I can only say that it has not harmed my copy. You at your own risk. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Mar 17, 2012, at 2:46 PM, Edward D Lavieri Jr wrote: > Hi Tom, > > Sorry to be a simpleton on this, but I cannot seem to get this to work. > > Your statement that we can get 4.3.1 to work with LC 5.5rc2 is encouraging. Would you mind providing more specifics regarding what files/folders need to be copied from/to each location? > > On my Mac Pro, I see /Library/Developer/ with the following subdirectories: > /4.0 > /4.2 > /4.2.1 > /Documentation > /Shared > > I see the /Platforms directory in the Xcode.app package. What do I copy from there and to where? > > Thanks much, > Ed > > > On Mar 16, 2012, at 8:42 PM, Thomas McGrath III wrote: > >> 4.3.1 does work with LC 5.5rc2 -IF you copy over both the iOS 5.0 simulator SDK and the iOS 5.0 developer SDK to their appropriate folders in the 4.3.1 app bundle. That said, You can then check out how your app will look in the retina size for iPad only in the simulator using Simulator 5.1 But you will only be able to build with 5.0 for the device and not 5.1-- LC will do that for you if all four SDKs are available. >> >> To say again it is iOS 5.1 that is not supported yet by LC for device builds. But with a little copying you can still use xCode 4.3.1 with BOTH the 5.0 for device builds and 5.1 SDKs for the Simulator. >> >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> 3mcgrath at comcast.net >> >> On Mar 16, 2012, at 7:39 PM, Pierre Sahores wrote: >> >>> Using : >>> >>> MBP i7, OSX 10.6.8, XCode 4.2, Android SDK API 8 to 15, LC 5.5 rc2 >>> >>> Devices addressed trough the XCode Organizer : iPad 1, iPod Touch >>> Devices directly addressed via the LC test button : iPhone/iPad simulator, Galaxy S2 >>> >>> -- >>> Pierre Sahores >>> mobile : 06 03 95 77 70 >>> www.spimsco.net : la premi?re solution saas open source et commerciale de d?veloppement s?mantique pr?programm? >>> >>> Le 16 mars 2012 ? 19:46, Mike Kerner a ?crit : >>> >>>> Sergio, >>>> >>>> 4.3.1 is not supported yet. 4.3 is. You can download 4.3 from Apple's dev >>>> site. As of today, there is no solution (despite multiple attempts) for >>>> using 4.3.1. >>>> >>>> >>>> -- >>>> On the first day, God created the heavens and the Earth >>>> On the second day, God created the oceans. >>>> On the third day, God put the animals on hold for a few hours, >>>> and did a little diving. >>>> And God said, "This is good." >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sat Mar 17 22:12:59 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 17 Mar 2012 21:12:59 -0500 Subject: IphoneDeviceScale In-Reply-To: References: <4F64C0D2.5030001@hyperactivesw.com> Message-ID: <4F6544AB.7040209@hyperactivesw.com> On 3/17/12 3:27 PM, Chris Sheffield wrote: > Two. > > Sent from my iPhone > > On Mar 17, 2012, at 10:50 AM, "J. Landman Gay" wrote: > >> What does iPhoneDeviceScale return on the new iPad? Four? Thanks Chris. I wonder if that's what it should be. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Mar 17 22:25:54 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 17 Mar 2012 21:25:54 -0500 Subject: New Xcode 4.3.1 In-Reply-To: <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> Message-ID: <4F6547B2.6020202@hyperactivesw.com> On 3/17/12 4:31 PM, Thomas McGrath III wrote: > OK, You must have xCode 4.3& xCode 4.3.1 > > There are two copies to perform, Alas, those of us still in Snow Leopard can't run XCode 4.3.1 at all. I tried copying the files the other direction (5.1 SDK into XCode 4.2) and the simulator works fine but LiveCode won't open it. It flips the simulator back to 5.0. I don't want Lion. Apparently that's moot. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephenREVOLUTION2 at barncard.com Sat Mar 17 22:57:56 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 17 Mar 2012 19:57:56 -0700 Subject: New Xcode 4.3.1 In-Reply-To: <4F6547B2.6020202@hyperactivesw.com> References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> Message-ID: And Lion is the current system! What can an ordinary developer do? I have tried twice to try out Mountain Lion beta ( on a separate drive of course ) - both times TOTAL CRASH - debugger, then black screen of death. (did I just blow my NDA?) checked the logs... at the top was a reference to the 'Free' DAZ software. perhaps it's that global again. sqb On 17 March 2012 19:25, J. Landman Gay wrote: > On 3/17/12 4:31 PM, Thomas McGrath III wrote: > >> OK, You must have xCode 4.3& xCode 4.3.1 >> >> There are two copies to perform, >> > > Alas, those of us still in Snow Leopard can't run XCode 4.3.1 at all. I > tried copying the files the other direction (5.1 SDK into XCode 4.2) and > the simulator works fine but LiveCode won't open it. It flips the simulator > back to 5.0. > > I don't want Lion. Apparently that's moot. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From bvlahos at mac.com Sat Mar 17 23:47:41 2012 From: bvlahos at mac.com (Bill Vlahos) Date: Sat, 17 Mar 2012 20:47:41 -0700 Subject: Can't set minimizeWindow to true on systemWindow Message-ID: If the systemWindow property is set to true (or the window is a plugin) the minimizeWindow button (yellow traffic light on Mac OS X) is disabled. Is there any way to turn it back on in a plugin? I can minimize a plugin window but I can't set the decoration to show it. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. From sc at sahores-conseil.com Sun Mar 18 04:34:48 2012 From: sc at sahores-conseil.com (Pierre Sahores) Date: Sun, 18 Mar 2012 09:34:48 +0100 Subject: New Xcode 4.3.1 In-Reply-To: <4F6547B2.6020202@hyperactivesw.com> References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> Message-ID: <37A7BC26-7C81-40FD-93E2-BF15611CE66A@sahores-conseil.com> Hi Jacque, I had to buy a new MBP last month along the one i used mainly until yet. Some remarks in mind : The new MBP i5 2.4 Ghz 13 inches works as fine as the MBP i7 2.66 Ghz 15 inches one for all my needs with no quantifiable difference about visible speed. Lion (10.7.3) did't give me any difficulties at this point. LC 5.5 works fine on it for me. The LC mobile ios + android config is running under the MBP i7 Snow Leopard and is for yet not duplicated on the MBP Costs : MBP i7 + external 24 inches samsung screen 2800 euros ; MBP i5 + external 24 inches samsung screen 1400 euros The main difference between both MBP is the silent of the i5 : fans at 2000-3000 t/mn in any tasks while the i7 is always between 4000-6000 t/mn Best regards, -- Pierre Sahores mobile : 06 03 95 77 70 www.spimsco.net : la premi?re solution saas open source et commerciale de d?veloppement s?mantique pr?programm? Le 18 mars 2012 ? 03:25, J. Landman Gay a ?crit : > On 3/17/12 4:31 PM, Thomas McGrath III wrote: >> OK, You must have xCode 4.3& xCode 4.3.1 >> >> There are two copies to perform, > > Alas, those of us still in Snow Leopard can't run XCode 4.3.1 at all. I tried copying the files the other direction (5.1 SDK into XCode 4.2) and the simulator works fine but LiveCode won't open it. It flips the simulator back to 5.0. > > I don't want Lion. Apparently that's moot. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From niconiko at gmail.com Sun Mar 18 05:47:07 2012 From: niconiko at gmail.com (Nicolas Cueto) Date: Sun, 18 Mar 2012 18:47:07 +0900 Subject: how to read/write data on Android? Message-ID: Apologies for reposting this under a different subject but just cannot figure out what I am doing wrong. Having read about "specialFolderPath" in the Android release notes, here is the script from my Android test app that I thought would return the "Hello world" contents of "file1.txt": ------ put url ("file:" & specialFolderPath(?engine?) & slash & "file1.txt") into tData put "If file1.txt is in engine-path, here are its contents:" & cr & tData & cr & "--" & cr into tResult put url ("file:" & specialFolderPath(?documents?) & slash & "file1.txt") into tData put "If file1.txt is in documents-path, here are its contents:" & cr & tData & cr & "--" & cr after tResult put url ("file:" & specialFolderPath(?cache?) & slash & "file1.txt") into tData put "If file1.txt is in cache-path, here are its contents:" & cr & tData & cr & "--" after tResult ------- Not having ever created a stack/standalone that relied on files, these are the 3 ways of adding "file1.txt" I tried before finally clicking "Test" in the IDE: (1) Standalone Application Settings > Copy Files > Add file..., with "Copy Reference Files" checked off (2) Standalone Application Settings > Copy Files > Add file..., with "Copy Reference Files" checked on (3) (i) Standalone Application Settings > Copy Files > Remove entry" (to remove "file1.txt") (ii) Stack Property Inspector > External References" (to add again "file1.txt") But, whether specialFolderPath was "engine", "documents", or "cache", on the Android tablet "tData" always shows as empty. Also tried but got likewise nowhere writing data with "put tNewData into url ("file:" & specialFolderPath(?cache?)". An explanation about what I am doing wrong and how to fix would be much welcome and appreciated. -- Nicolas Cueto From richmondmathewson at gmail.com Sun Mar 18 06:04:37 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 18 Mar 2012 12:04:37 +0200 Subject: Multiple offenders Message-ID: <4F65B335.4000502@gmail.com> Oh Dear, its that time of the month again. Yes it is; Richmond's error trawl...... read "SDLC" and other acronyms that cover up incredibly time-consuming exercises. So, here I am merrily going through some 50 objects changing 57620 to 57618 and 57768 to 57769; very, very tedious indeed. Of course life would be about 1,000,000 times easier if each object had the same code; but they don't; just the lines containing those number that need to be altered. Has anybody any bright ideas how this might be done semi-automatically? From richard at richardmac.com Sun Mar 18 09:25:52 2012 From: richard at richardmac.com (Richard MacLemale) Date: Sun, 18 Mar 2012 09:25:52 -0400 Subject: New Xcode 4.3.1 In-Reply-To: References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> Message-ID: <563AED1F-8B31-420A-80BC-F7D5E0AAE1D1@richardmac.com> In the locked down Apple future, companies who do what those folks did might find themselves locked outside the building. Mountain Lion isn't in beta, though... the current release is Developer Preview 2. Beta comes next. And there can be big differences between developer preview and beta. I keep Macs running for a living (client and server) and historically you don't want to move to anything until at LEAST the dot dot 3 release. Or in the case of OS X Server, the dot dot 5 release. :) Apple messed everything up now, though, because 10.8 Server will be out before 10.7.5 ever hits. Jacque, I had to move to 10.7 before I wanted to also. As you know, the biggest issue is that it breaks all the old apps like AppleWorks, etc. The other big issue for me is that the Color Vampire had his way with the Finder... The entire left hand Finder column is void of real color. Whoever made that decision at Apple should have been fired on the spot. On Mar 17, 2012, at 10:57 PM, stephen barncard wrote: > And Lion is the current system! What can an ordinary developer do? > > I have tried twice to try out Mountain Lion beta ( on a separate drive of > course ) - both times TOTAL CRASH - debugger, then black screen of death. > (did I just blow my NDA?) > > checked the logs... at the top was a reference to the 'Free' DAZ software. > > perhaps it's that global again. > > sqb > > On 17 March 2012 19:25, J. Landman Gay wrote: > >> On 3/17/12 4:31 PM, Thomas McGrath III wrote: >> >>> OK, You must have xCode 4.3& xCode 4.3.1 >>> >>> There are two copies to perform, >>> >> >> Alas, those of us still in Snow Leopard can't run XCode 4.3.1 at all. I >> tried copying the files the other direction (5.1 SDK into XCode 4.2) and >> the simulator works fine but LiveCode won't open it. It flips the simulator >> back to 5.0. >> >> I don't want Lion. Apparently that's moot. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> > > > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richard at richardmac.com Sun Mar 18 09:32:26 2012 From: richard at richardmac.com (Richard MacLemale) Date: Sun, 18 Mar 2012 09:32:26 -0400 Subject: Serious Question about the list... In-Reply-To: References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> Message-ID: Here's my serious question. Why do so many people "in the know" use the list instead of the official RunRev LiveCode forums? Forums have so many advantages over mailing lists - they're easier to read, they're easier to search, you can access them from anywhere, I could keep going. I'm just curious as to why the best LiveCoders spend more time here than in the forums? There are people who participate in both - I see Jacque and Klaus in there all the time and I probably owe Klaus a case of beer at this point... Anyway, just curious? --- Richard MacLemale Music = http://www.richardmac.com Programming = http://www.macandchee.se From m.schonewille at economy-x-talk.com Sun Mar 18 09:51:01 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 18 Mar 2012 14:51:01 +0100 Subject: Serious Question about the list... In-Reply-To: References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> Message-ID: Hi Richard, This mailing list is exactly as official as the forum. This mailing list exists on my own computer and can be searched off-line, which means I can access it from anywhere (I take my computer everywhere). Using MIME, iCloud or other mail services, you can synchronise your e-mail on all your machines and have it available everywhere, even if you don't always take your computer with you. Most mail services include web mail, which makes it even easier to access the mailing list from anywhere. While on-line, I can search this list much more quickly than any forum, using the Firefox search plugin http://qery.us/zr All mail applications contain smart mail boxes and advanced search feaures, which makes it really easy and fast to search the mailing list off-line Using e-mail, it is much easier for me to keep track of all discussions. I like to have a compact overview. I am automatically notified of any new message on this mailing list. I don't know of a way to do this with the forum messages (unless I'm already participating in the discussion) This list, just like the forum, is open for anyone and used by anyone, not just people "in the know". I suspect that geeks have a preference for this mailing list, because it is text-only. Geeks usually prefer plain text over everything else (including cheese). People who have never heard about LiveCode seem to be slightly more likely to stumble into the forums. Must be a Google thing. The reasons why people choose to use mainly one or mainly another source of information can be very subjective and discussing such subjective matters make little sense. -- 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 1.7 for LiveCode here http://qery.us/za On 18 mrt 2012, at 14:32, Richard MacLemale wrote: > Here's my serious question. Why do so many people "in the know" use the list instead of the official RunRev LiveCode forums? Forums have so many advantages over mailing lists - they're easier to read, they're easier to search, you can access them from anywhere, I could keep going. I'm just curious as to why the best LiveCoders spend more time here than in the forums? There are people who participate in both - I see Jacque and Klaus in there all the time and I probably owe Klaus a case of beer at this point... > > Anyway, just curious? > > --- > Richard MacLemale > Music = http://www.richardmac.com > Programming = http://www.macandchee.se From m.schonewille at economy-x-talk.com Sun Mar 18 10:00:47 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 18 Mar 2012 15:00:47 +0100 Subject: Serious Question about the list... In-Reply-To: References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> Message-ID: I meant IMAP, not MIME >> Using MIME, iCloud or other mail services, you can synchronise your e-mail on all your machines and have it available everywhere, even if you don't always take your computer with 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 Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za From matthias_livecode_150811 at m-r-d.de Sun Mar 18 10:22:29 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sun, 18 Mar 2012 15:22:29 +0100 Subject: Serious Question about the list... In-Reply-To: References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> Message-ID: <2CC95D1A-0388-4AB9-BBAC-984689BAD4A0@m-r-d.de> Hi Richard, this question/discussion pops up from time to time. Everyone has other preferences. But for me it is the easiness to read the list. I have downloaded and archived the list emails since 2005. I can search and read off-line. And for me the other big adavantage of the list is. I can read it with quick my phone when i have some spare time without visiting and "searching" a website. I am also visiting the forum from time to time, but reading the list is much faster. Regards, Matthias Am 18.03.2012 um 14:32 schrieb Richard MacLemale: > Here's my serious question. Why do so many people "in the know" use the list instead of the official RunRev LiveCode forums? Forums have so many advantages over mailing lists - they're easier to read, they're easier to search, you can access them from anywhere, I could keep going. I'm just curious as to why the best LiveCoders spend more time here than in the forums? There are people who participate in both - I see Jacque and Klaus in there all the time and I probably owe Klaus a case of beer at this point... > > Anyway, just curious? > > --- > Richard MacLemale > Music = http://www.richardmac.com > Programming = http://www.macandchee.se > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major.on-rev.com Sun Mar 18 10:23:40 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sun, 18 Mar 2012 15:23:40 +0100 Subject: queryregistry problem win In-Reply-To: <1331996743513-4480707.post@n4.nabble.com> References: <6CEF5770-558A-400D-ACEF-497B92609D7C@major.on-rev.com> <1331953194222-4479965.post@n4.nabble.com> <999BB5FD-5A7C-4A60-8D23-977839BC3EA7@major.on-rev.com> <1331996743513-4480707.post@n4.nabble.com> Message-ID: <1BF246C0-9FC6-496C-9095-A42F4E9DFFA2@major.on-rev.com> Hi Thunder, Am 17.03.2012 um 16:05 schrieb Thunder: > Do you have read permission ? > > Check this : > Start regedit.exe > Right click DefaultProductKey > Click on permission Ah, OK, thanks, will check this! I thought ADMINISTARTOR would have direct access to everyting?! But if it does not work "right out of the box" then I won't be able to use it anyway ;-) Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From roger.e.eller at sealedair.com Sun Mar 18 11:25:33 2012 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 18 Mar 2012 11:25:33 -0400 Subject: New Xcode 4.3.1 In-Reply-To: <4F6547B2.6020202@hyperactivesw.com> References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> Message-ID: On Sat, Mar 17, 2012 at 10:25 PM, J. Landman Gay wrote: > > I don't want Lion. Apparently that's moot. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com Really, Lion isn't so bad after you adjust its insane default mouse preferences. I can see that on a trackpad or touchscreen, you might want to 'push' the page when you pan. But with a mouse scrollwheel, it just feels wrong. So I uncheck that option. There's also a default setting to always re-open every freakin' document I had open the last time I used this application. That one was really irritating. And in the event of a crash, when you reboot, every app and document you had open will re-open (and you can't change that one). Regarding crashing, it doesn't crash often. It is quite stable, but when/if it does, the above applies. If you restart, you have to un-check the option to re-open everything (unless that's what you want). As 7 of 9 (of Star Trek Voyager) would say, "You will - adapt." ~Roger From stephenREVOLUTION2 at barncard.com Sun Mar 18 11:46:02 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 18 Mar 2012 08:46:02 -0700 Subject: Serious Question about the list... In-Reply-To: References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> Message-ID: It's sequential. One stream. (or two, if one is also on the 'improve' list.) On 18 March 2012 06:32, Richard MacLemale wrote: > Here's my serious question. Why do so many people "in the know" use the > list instead of the official RunRev LiveCode forums? Forums have so many > advantages over mailing lists - they're easier to read, they're easier to > search, you can access them from anywhere, I could keep going. I'm just > curious as to why the best LiveCoders spend more time here than in the > forums? There are people who participate in both - I see Jacque and Klaus > in there all the time and I probably owe Klaus a case of beer at this > point... > > Anyway, just curious? > > --- > Richard MacLemale > Music = http://www.richardmac.com > Programming = http://www.macandchee.se > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From paul at researchware.com Sun Mar 18 11:48:10 2012 From: paul at researchware.com (Paul Dupuis) Date: Sun, 18 Mar 2012 11:48:10 -0400 Subject: Serious Question about the list... In-Reply-To: References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> Message-ID: <4F6603BA.7050703@researchware.com> I'm certainly not among "the best LiveCoders" or "in the know" but I prefer the mailing list because of TIME. The topics and issue that affect LC developers come to me (via email) and I can delete, skim, archive, or read as I see fit faster than it would take me to select the forum from a bookmark and read through the topics. Put simply, the mailing list saves me time in keeping up with LC development issues. Of course in that context, I do pay more attention to the Developer List than the LC Use List, but both let me know of issues (and solutions) other people discover that may affect projects I am working on. On 3/18/2012 9:32 AM, Richard MacLemale wrote: > Here's my serious question. Why do so many people "in the know" use the list instead of the official RunRev LiveCode forums? Forums have so many advantages over mailing lists - they're easier to read, they're easier to search, you can access them from anywhere, I could keep going. I'm just curious as to why the best LiveCoders spend more time here than in the forums? There are people who participate in both - I see Jacque and Klaus in there all the time and I probably owe Klaus a case of beer at this point... > > Anyway, just curious? > > --- > Richard MacLemale > Music = http://www.richardmac.com > Programming = http://www.macandchee.se > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Paul Dupuis Cofounder Researchware, Inc. http://www.researchware.com/ http://www.twitter.com/researchware http://www.facebook.com/researchware http://www.linkedin.com/company/researchware-inc From stephenREVOLUTION2 at barncard.com Sun Mar 18 11:49:50 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 18 Mar 2012 08:49:50 -0700 Subject: New Xcode 4.3.1 In-Reply-To: References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> Message-ID: The re-open thing and some other UI malfunctions can be fixed (app by app) using Tinkertool. On 18 March 2012 08:25, Roger Eller wrote: > On Sat, Mar 17, 2012 at 10:25 PM, J. Landman Gay wrote: > > > > > I don't want Lion. Apparently that's moot. > > > > -- > > Jacqueline Landman Gay | jacque at hyperactivesw.com > > HyperActive Software | http://www.hyperactivesw.com > > > Really, Lion isn't so bad after you adjust its insane default mouse > preferences. I can see that on a trackpad or touchscreen, you might want > to 'push' the page when you pan. But with a mouse scrollwheel, it just > feels wrong. So I uncheck that option. There's also a default setting to > always re-open every freakin' document I had open the last time I used this > application. That one was really irritating. And in the event of a crash, > when you reboot, every app and document you had open will re-open (and you > can't change that one). > > Regarding crashing, it doesn't crash often. It is quite stable, but when/if > it does, the above applies. If you restart, you have to un-check the > option to re-open everything (unless that's what you want). > > As 7 of 9 (of Star Trek Voyager) would say, "You will - adapt." > > ~Roger > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From roger.e.eller at sealedair.com Sun Mar 18 11:59:16 2012 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 18 Mar 2012 11:59:16 -0400 Subject: Serious Question about the list... In-Reply-To: <2CC95D1A-0388-4AB9-BBAC-984689BAD4A0@m-r-d.de> References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> <2CC95D1A-0388-4AB9-BBAC-984689BAD4A0@m-r-d.de> Message-ID: On Sun, Mar 18, 2012 at 10:22 AM, Matthias Rebbe < matthias_livecode_150811 at m-r-d.de> wrote: > Hi Richard, > > this question/discussion pops up from time to time. Everyone has other > preferences. But for me it is the easiness to read the list. I have > downloaded and archived the list emails since 2005. I can search and read > off-line. And for me the other big adavantage of the list is. I can read it > with quick my phone when i have some spare time without visiting and > "searching" a website. I am also visiting the forum from time to time, but > reading the list is much faster. > > Regards, > > Matthias > And for those who do not keep a personal archive on their computer, there are several access sites for the lists: *MetaCard* -- Since 12/23/2004 http://www.mail-archive.com/metacard at lists.runrev.com/maillist.html *Revolution* http://www.mail-archive.com/use-revolution at lists.runrev.com/maillist.html *LiveCode* http://www.mail-archive.com/use-livecode at lists.runrev.com/maillist.html ~Roger From richmondmathewson at gmail.com Sun Mar 18 12:18:25 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 18 Mar 2012 18:18:25 +0200 Subject: Serious Question about the list... In-Reply-To: <4F6603BA.7050703@researchware.com> References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> <4F6603BA.7050703@researchware.com> Message-ID: <4F660AD1.4010803@gmail.com> On 03/18/2012 05:48 PM, Paul Dupuis wrote: > I'm certainly not among "the best LiveCoders" or "in the know" but I > prefer the mailing list because of TIME. The topics and issue that > affect LC developers come to me (via email) and I can delete, skim, > archive, or read as I see fit faster than it would take me to select the > forum from a bookmark and read through the topics. Put simply, the > mailing list saves me time in keeping up with LC development issues. Of > course in that context, I do pay more attention to the Developer List > than the LC Use List, but both let me know of issues (and solutions) > other people discover that may affect projects I am working on. I couldn't have put the above better myself, so all I can say is that I agree with them 100%. I have a link to the Use-List on my website; so anywhere in the world, anywhen, with any old computer (like one I used with an Ubuntu live-disc in an internet cafe in Turkey 6 years ago) I can access this with a minimum of fuss. The Forum is, like many fora, almost too clever for its own good: frankly I cannot be bothered pondering down which "alleyway" of discussion I am likely to find an answer to a problem, or down which "side-street" I should start a new topic about another problem. > > On 3/18/2012 9:32 AM, Richard MacLemale wrote: >> Here's my serious question. Why do so many people "in the know" use the list instead of the official RunRev LiveCode forums? Forums have so many advantages over mailing lists - they're easier to read, they're easier to search, you can access them from anywhere, I could keep going. I'm just curious as to why the best LiveCoders spend more time here than in the forums? There are people who participate in both - I see Jacque and Klaus in there all the time and I probably owe Klaus a case of beer at this point... >> >> Anyway, just curious? >> >> --- >> Richard MacLemale >> Music = http://www.richardmac.com >> Programming = http://www.macandchee.se >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> From jacque at hyperactivesw.com Sun Mar 18 13:03:37 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 18 Mar 2012 12:03:37 -0500 Subject: Serious Question about the list... In-Reply-To: References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> Message-ID: <4F661569.7030403@hyperactivesw.com> On 3/18/12 8:32 AM, Richard MacLemale wrote: > Here's my serious question. Why do so many people "in the know" use > the list instead of the official RunRev LiveCode forums? This comes up periodically. I hate the forums. I ignored them for years, now I make myself go there once a day when I remember and when there's time. It's tedious and slow to navigate and requires intentional decisions about what pages to load when time is short. The mailing list comes to me effortlessly and I can filter all the messages into a single folder where I can see much more than just a list of topics at a glance. I can reply to an email instantly with no delay. Replying on the forum takes several time-consuming page loads, and you have to type into a silly little box and use awkward clickable buttons to quote or format. Unlike email where you can see and edit as you go, you have to load a "preview" page to see your formatted message in the forum, then reload it again after editing. It's a pain. I only reply when I have time. If RR would implement mail behavior in the forums I think you'd see all the gurus participating because they could do it quickly and painlessly from their email client. I'm waiting for that. Then I'd never have to load that awful interface into a browser again. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Mar 18 13:14:31 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 18 Mar 2012 12:14:31 -0500 Subject: how to read/write data on Android? In-Reply-To: References: Message-ID: <4F6617F7.2070006@hyperactivesw.com> On 3/18/12 4:47 AM, Nicolas Cueto wrote: > Apologies for reposting this under a different subject but just cannot > figure out what I am doing wrong. > > Having read about "specialFolderPath" in the Android release notes, > here is the script from my Android test app that I thought would > return the "Hello world" contents of "file1.txt": > ------ > put url ("file:"& specialFolderPath(?engine?)& slash& "file1.txt") > into tData > put "If file1.txt is in engine-path, here are its contents:"& cr& > tData& cr& "--"& cr into tResult In this example, "engine-path" is not defined. Try something like this: put ("file:"& specialFolderPath(?engine?)& slash& "file1.txt") into tPath answer "File exists:" && there is a file tPath -- confirms existence if there is a file tPath then put url tPath into tData put tData into fld 1 -- or whatever you want to do with it end if Make sure you include a file named "file1.txt" in the Copy Files pane of the standalone builder. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Sun Mar 18 13:17:59 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 18 Mar 2012 10:17:59 -0700 Subject: New Xcode 4.3.1 In-Reply-To: References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> Message-ID: <57390749968.20120318101759@ahsoftware.net> Stephen- Saturday, March 17, 2012, 7:57:56 PM, you wrote: > checked the logs... at the top was a reference to the 'Free' DAZ software. > perhaps it's that global again. Apply Ken Ray's patch to the debugger. That *should* fix it. Not that I've tried the ML beta myself, but I guess I'll have to set up a VM for it someday. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Sun Mar 18 13:18:38 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 18 Mar 2012 12:18:38 -0500 Subject: Multiple offenders In-Reply-To: <4F65B335.4000502@gmail.com> References: <4F65B335.4000502@gmail.com> Message-ID: <4F6618EE.7020708@hyperactivesw.com> On 3/18/12 5:04 AM, Richmond wrote: > Oh Dear, its that time of the month again. > > Yes it is; Richmond's error trawl...... > > read "SDLC" and other acronyms that cover up > incredibly time-consuming exercises. > > So, here I am merrily going through some 50 objects changing 57620 to 57618 > and 57768 to 57769; very, very tedious indeed. > > Of course life would be about 1,000,000 times easier if each object had > the same code; > but they don't; just the lines containing those number that need to be > altered. > > Has anybody any bright ideas how this might be done semi-automatically? Need more info. Are you editing scripts or properties? Are the numbers icon IDs or what? If icon IDs, in the future, you can use "the id of img 'nameOfImg'" instead of hard-coded numbers if you think they may change later. For now, if these are in scripts: get the script of control x -- x would be a name or number replace "57620" with "57618" in it set the script of control x to it -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Sun Mar 18 13:21:56 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 18 Mar 2012 10:21:56 -0700 Subject: Serious Question about the list... In-Reply-To: <4F661569.7030403@hyperactivesw.com> References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> <4F661569.7030403@hyperactivesw.com> Message-ID: <95390986984.20120318102156@ahsoftware.net> Jacque- Sunday, March 18, 2012, 10:03:37 AM, you wrote: > This comes up periodically. I hate the forums. I ignored them for years, But how do you *really* feel about them? > now I make myself go there once a day when I remember and when there's > time. It's tedious and slow to navigate and requires intentional > decisions about what pages to load when time is short. Set up an RSS feed. That way you don't have to go spelunking to find threads. You miss stuff that way when it expires from the RSS feed, but I find that to be a bonus. -- -Mark Wieder mwieder at ahsoftware.net From dunbarx at aol.com Sun Mar 18 13:27:06 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 18 Mar 2012 13:27:06 -0400 (EDT) Subject: Serious Question about the list... In-Reply-To: <4F661569.7030403@hyperactivesw.com> References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com><2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com><37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com><1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com><4F6547B2.6020202@hyperactivesw.com> <4F661569.7030403@hyperactivesw.com> Message-ID: <8CED34379A7CB7A-12F0-A99E@webmail-d070.sysops.aol.com> The forum offers a fromat making it much easier to view the entire thread history, and has the advantage of displaying code sections in separate scrolling fields. It seems more natural, to me, to tackle questions that require back and forth comments from several people, these issues developing over time. Collecting multiple e-mails, sorted by thread, as opposed to collecting posts in a linear list, is far less effective. I believe. Craig Newman -----Original Message----- From: J. Landman Gay To: How to use LiveCode Sent: Sun, Mar 18, 2012 1:05 pm Subject: Re: Serious Question about the list... On 3/18/12 8:32 AM, Richard MacLemale wrote: > Here's my serious question. Why do so many people "in the know" use > the list instead of the official RunRev LiveCode forums? This comes up periodically. I hate the forums. I ignored them for years, now I make myself go there once a day when I remember and when there's time. It's tedious and slow to navigate and requires intentional decisions about what pages to load when time is short. The mailing list comes to me effortlessly and I can filter all the messages into a single folder where I can see much more than just a list of topics at a glance. I can reply to an email instantly with no delay. Replying on the forum takes several time-consuming page loads, and you have to type into a silly little box and use awkward clickable buttons to quote or format. Unlike email where you can see and edit as you go, you have to load a "preview" page to see your formatted message in the forum, then reload it again after editing. It's a pain. I only reply when I have time. If RR would implement mail behavior in the forums I think you'd see all the gurus participating because they could do it quickly and painlessly from their email client. I'm waiting for that. Then I'd never have to load that awful interface into a browser again. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sun Mar 18 13:33:28 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 18 Mar 2012 12:33:28 -0500 Subject: New Xcode 4.3.1 In-Reply-To: References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> Message-ID: <4F661C68.8000909@hyperactivesw.com> On 3/18/12 10:25 AM, Roger Eller wrote: > On Sat, Mar 17, 2012 at 10:25 PM, J. Landman Gay wrote: > Roger, Pierre, etc., thanks, but I know Lion works with LiveCode. I just don't like how Lion works in general. I have collected many pages of tips on how to change its behaviors so I can work with the OS the way I'm used to, and when I update -- which I have to do soon -- I'll spend a day implementing all that. But I resent it. I shouldn't have to install Tinkertool, or use Terminal, or any of the rest of it. I definitely do NOT want auto-save, I don't want every document I work with preserved and re-presented, I don't want cloud storage unless I say so, I don't think gestures are as good or precise as a mouse, I want the Library folders always in view (yes, I know how to get that) and I don't want all the other "improvements" that I consider a step backward and which interfere with my work flow. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Mar 18 13:37:29 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 18 Mar 2012 12:37:29 -0500 Subject: Serious Question about the list... In-Reply-To: <95390986984.20120318102156@ahsoftware.net> References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> <4F661569.7030403@hyperactivesw.com> <95390986984.20120318102156@ahsoftware.net> Message-ID: <4F661D59.2020100@hyperactivesw.com> On 3/18/12 12:21 PM, Mark Wieder wrote: > Set up an RSS feed. That way you don't have to go spelunking to find > threads. You miss stuff that way when it expires from the RSS feed, > but I find that to be a bonus. > I did that ages ago. It misses stuff. It also shows messages that I never saw when I clicked "read new posts", so both are wrong. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Sun Mar 18 13:38:49 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 18 Mar 2012 10:38:49 -0700 Subject: Serious Question about the list... In-Reply-To: References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> Message-ID: <26391999671.20120318103849@ahsoftware.net> Mark- Sunday, March 18, 2012, 6:51:01 AM, you wrote: > The reasons why people choose to use mainly one or mainly another > source of information can be very subjective and discussing such > subjective matters make little sense. Amen to that. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sun Mar 18 13:48:52 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 18 Mar 2012 10:48:52 -0700 Subject: Serious Question about the list... In-Reply-To: <8CED34379A7CB7A-12F0-A99E@webmail-d070.sysops.aol.com> References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com><2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com><37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com><1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com><4F6547B2.6020202@hyperactivesw.com> <4F661569.7030403@hyperactivesw.com> <8CED34379A7CB7A-12F0-A99E@webmail-d070.sysops.aol.com> Message-ID: <5392603484.20120318104852@ahsoftware.net> Craig- Sunday, March 18, 2012, 10:27:06 AM, you wrote: > The forum offers a fromat making it much easier to view the > entire thread history, and has the advantage of displaying code > sections in separate scrolling fields. It seems more natural, to me, Both Nabble and gmane offer nice threaded views of this list. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sun Mar 18 13:52:24 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 18 Mar 2012 10:52:24 -0700 Subject: Serious Question about the list... In-Reply-To: <4F661D59.2020100@hyperactivesw.com> References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> <4F661569.7030403@hyperactivesw.com> <95390986984.20120318102156@ahsoftware.net> <4F661D59.2020100@hyperactivesw.com> Message-ID: <61392815187.20120318105224@ahsoftware.net> Jacque- Sunday, March 18, 2012, 10:37:29 AM, you wrote: > I did that ages ago. It misses stuff. Yeah. I like that. I find that an RSS feed is just enough involvement for me in the web forum. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sun Mar 18 13:55:42 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 18 Mar 2012 10:55:42 -0700 Subject: Serious Question about the list... In-Reply-To: <4F661569.7030403@hyperactivesw.com> References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> <4F661569.7030403@hyperactivesw.com> Message-ID: <61393012906.20120318105542@ahsoftware.net> Jacque- Sunday, March 18, 2012, 10:03:37 AM, you wrote: > It's a pain. I only reply when I have time. ...and then there are the folks on the web forum who expect that the runrev engineers are monitoring the board and/or think it's a support board. I've never understood what the "feature requests" thread is for other than to give people a chance to vent. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Sun Mar 18 14:00:32 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 18 Mar 2012 13:00:32 -0500 Subject: Serious Question about the list... In-Reply-To: <61393012906.20120318105542@ahsoftware.net> References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> <4F661569.7030403@hyperactivesw.com> <61393012906.20120318105542@ahsoftware.net> Message-ID: <4F6622C0.9020606@hyperactivesw.com> On 3/18/12 12:55 PM, Mark Wieder wrote: > I've never understood what the "feature requests" thread is for > other than to give people a chance to vent. > I do have to admit that some of the venters make good entertainment if you're in the right mood. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jhj at jhj.com Sun Mar 18 14:03:51 2012 From: jhj at jhj.com (Jerry Jensen) Date: Sun, 18 Mar 2012 11:03:51 -0700 Subject: Serious Question about the list... In-Reply-To: <61392815187.20120318105224@ahsoftware.net> References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> <4F661569.7030403@hyperactivesw.com> <95390986984.20120318102156@ahsoftware.net> <4F661D59.2020100@hyperactivesw.com> <61392815187.20120318105224@ahsoftware.net> Message-ID: <5D4DF163-3810-4B98-A3BF-3B54E189CCB8@jhj.com> On Mar 18, 2012, at 10:52 AM, Mark Wieder wrote: > Jacque- > > Sunday, March 18, 2012, 10:37:29 AM, you wrote: > >> I did that ages ago. It misses stuff. > > Yeah. > I like that. > > I find that an RSS feed is just enough involvement for me in the web > forum. I tried it once, but I didn't inhale. From stephenREVOLUTION2 at barncard.com Sun Mar 18 14:07:38 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 18 Mar 2012 11:07:38 -0700 Subject: New Xcode 4.3.1 In-Reply-To: <4F661C68.8000909@hyperactivesw.com> References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> <4F661C68.8000909@hyperactivesw.com> Message-ID: I am ashamed to mention how many expletive-laced tirades I've had over this recent 'upgrade' to Lion. It all started last month with wanting to sync the calendars and contacts with all my devices after I replaced my barely functional 3g iPhone with a 4s, and finding out that this iClod stuff only works with Lion. Apple is getting awfully arrogant these days, when they're flush with money and success. They don't teach anger management when it comes to dealing with idiotic computer ideas. All options are on the table. It feels better that I am not alone! sqb On 18 March 2012 10:33, J. Landman Gay wrote: > On 3/18/12 10:25 AM, Roger Eller wrote: > >> On Sat, Mar 17, 2012 at 10:25 PM, J. Landman Gay wrote: >> >> > Roger, Pierre, etc., thanks, but I know Lion works with LiveCode. I just > don't like how Lion works in general. I have collected many pages of tips > on how to change its behaviors so I can work with the OS the way I'm used > to, and when I update -- which I have to do soon -- I'll spend a day > implementing all that. > > But I resent it. I shouldn't have to install Tinkertool, or use Terminal, > or any of the rest of it. I definitely do NOT want auto-save, I don't want > every document I work with preserved and re-presented, I don't want cloud > storage unless I say so, I don't think gestures are as good or precise as a > mouse, I want the Library folders always in view (yes, I know how to get > that) and I don't want all the other "improvements" that I consider a step > backward and which interfere with my work flow. > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From stephenREVOLUTION2 at barncard.com Sun Mar 18 14:13:26 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 18 Mar 2012 11:13:26 -0700 Subject: New Xcode 4.3.1 In-Reply-To: References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> <4F661C68.8000909@hyperactivesw.com> Message-ID: Also they have basically de-balled two included apps that I depended on - Preview and TextEdit - due to the removal of the Save As feature, requiring a totally new non-intuitive dance to change a document (requiring many more steps), and the loss of some of the graphic features in the earlier versions of Preview that were so good I could live without Photoshop. All this for no reason. I wanted to try *Mountain Goat* Dev preview to see if perhaps they had reconsidered, but I can't seem to get beyond the install. On 18 March 2012 11:07, stephen barncard wrote: > I am ashamed to mention how many expletive-laced tirades I've had over > this recent 'upgrade' to Lion. It all started last month with wanting to > sync the calendars and contacts with all my devices after I replaced my > barely functional 3g iPhone with a 4s, and finding out that this iClod > stuff only works with Lion. Apple is getting awfully arrogant these days, > when they're flush with money and success. > > They don't teach anger management when it comes to dealing with idiotic > computer ideas. All options are on the table. > > It feels better that I am not alone! > > sqb > > > On 18 March 2012 10:33, J. Landman Gay wrote: > >> On 3/18/12 10:25 AM, Roger Eller wrote: >> >>> On Sat, Mar 17, 2012 at 10:25 PM, J. Landman Gay wrote: >>> >>> >> Roger, Pierre, etc., thanks, but I know Lion works with LiveCode. I just >> don't like how Lion works in general. I have collected many pages of tips >> on how to change its behaviors so I can work with the OS the way I'm used >> to, and when I update -- which I have to do soon -- I'll spend a day >> implementing all that. >> >> But I resent it. I shouldn't have to install Tinkertool, or use Terminal, >> or any of the rest of it. I definitely do NOT want auto-save, I don't want >> every document I work with preserved and re-presented, I don't want cloud >> storage unless I say so, I don't think gestures are as good or precise as a >> mouse, I want the Library folders always in view (yes, I know how to get >> that) and I don't want all the other "improvements" that I consider a step >> backward and which interfere with my work flow. >> >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> > > > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > > -- Stephen Barncard San Francisco Ca. USA more about sqb From richmondmathewson at gmail.com Sun Mar 18 14:22:24 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 18 Mar 2012 20:22:24 +0200 Subject: Multiple offenders In-Reply-To: <4F6618EE.7020708@hyperactivesw.com> References: <4F65B335.4000502@gmail.com> <4F6618EE.7020708@hyperactivesw.com> Message-ID: <4F6627E0.5010106@gmail.com> On 03/18/2012 07:18 PM, J. Landman Gay wrote: > On 3/18/12 5:04 AM, Richmond wrote: >> Oh Dear, its that time of the month again. >> >> Yes it is; Richmond's error trawl...... >> >> read "SDLC" and other acronyms that cover up >> incredibly time-consuming exercises. >> >> So, here I am merrily going through some 50 objects changing 57620 to >> 57618 >> and 57768 to 57769; very, very tedious indeed. >> >> Of course life would be about 1,000,000 times easier if each object had >> the same code; >> but they don't; just the lines containing those number that need to be >> altered. >> >> Has anybody any bright ideas how this might be done semi-automatically? > > Need more info. Are you editing scripts or properties? Are the numbers > icon IDs or what? The numbers are Unicode addresses. The main difficulty is that in a "normal" situation one could open the whole stack up in some text editor such as Textwrangler and do a search and replace. The snag is that some instances of 57768 need to be changed to 57769 and some don't. ---------------- I have, now, completed this exercise the slow way, so this discussion can now take on a more general colour. > > If icon IDs, in the future, you can use "the id of img 'nameOfImg'" > instead of hard-coded numbers if you think they may change later. > > For now, if these are in scripts: > > get the script of control x -- x would be a name or number > replace "57620" with "57618" in it > set the script of control x to it > From richmondmathewson at gmail.com Sun Mar 18 14:24:33 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 18 Mar 2012 20:24:33 +0200 Subject: Serious Question about the list... In-Reply-To: <26391999671.20120318103849@ahsoftware.net> References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> <26391999671.20120318103849@ahsoftware.net> Message-ID: <4F662861.80708@gmail.com> On 03/18/2012 07:38 PM, Mark Wieder wrote: > Mark- > > Sunday, March 18, 2012, 6:51:01 AM, you wrote: > >> The reasons why people choose to use mainly one or mainly another >> source of information can be very subjective and discussing such >> subjective matters make little sense. > Amen to that. > And the answer to that one is another question: What on earth makes you think anybody can be objective about anything at all? 'Subjective' is NOT a dirty word; however it generally needs qualification. From richmondmathewson at gmail.com Sun Mar 18 14:26:19 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 18 Mar 2012 20:26:19 +0200 Subject: Serious Question about the list... In-Reply-To: <5D4DF163-3810-4B98-A3BF-3B54E189CCB8@jhj.com> References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> <4F661569.7030403@hyperactivesw.com> <95390986984.20120318102156@ahsoftware.net> <4F661D59.2020100@hyperactivesw.com> <61392815187.20120318105224@ahsoftware.net> <5D4DF163-3810-4B98-A3BF-3B54E189CCB8@jhj.com> Message-ID: <4F6628CB.3000106@gmail.com> On 03/18/2012 08:03 PM, Jerry Jensen wrote: > On Mar 18, 2012, at 10:52 AM, Mark Wieder wrote: > >> Jacque- >> >> Sunday, March 18, 2012, 10:37:29 AM, you wrote: >> >>> I did that ages ago. It misses stuff. >> Yeah. >> I like that. >> >> I find that an RSS feed is just enough involvement for me in the web >> forum. > I tried it once, but I didn't inhale. > That reminds me of the one about the person whose teeth wouldn't stop chattering. But I digress . . . . From jacque at hyperactivesw.com Sun Mar 18 14:29:10 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 18 Mar 2012 13:29:10 -0500 Subject: New Xcode 4.3.1 In-Reply-To: References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> <4F661C68.8000909@hyperactivesw.com> Message-ID: <4F662976.9020301@hyperactivesw.com> On 3/18/12 1:13 PM, stephen barncard wrote: > Also they have basically de-balled two included apps that I depended on - > Preview and TextEdit - due to the removal of the Save As feature, Apparently all apps will follow suit eventually: One more thing to add to my list. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephenREVOLUTION2 at barncard.com Sun Mar 18 15:01:39 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 18 Mar 2012 12:01:39 -0700 Subject: New Xcode 4.3.1 In-Reply-To: <4F662976.9020301@hyperactivesw.com> References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> <4F661C68.8000909@hyperactivesw.com> <4F662976.9020301@hyperactivesw.com> Message-ID: More file bloat and needless BS, if you ask me... more dumbing down... On 18 March 2012 11:29, J. Landman Gay wrote: > On 3/18/12 1:13 PM, stephen barncard wrote: > >> Also they have basically de-balled two included apps that I depended on - >> Preview and TextEdit - due to the removal of the Save As feature, >> > > Apparently all apps will follow suit eventually: > > > > > One more thing to add to my list. > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From rdimola at evergreeninfo.net Sun Mar 18 15:08:08 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sun, 18 Mar 2012 15:08:08 -0400 Subject: outputting Unicode text fields to Unicode text files In-Reply-To: <4F64BA93.1060806@gmail.com> References: <003401cd0456$40f46730$c2dd3590$@wisc.edu> <4F64BA93.1060806@gmail.com> Message-ID: <002001cd053a$74f92720$5eeb7560$@net> If I could save a UNICODE text file it would allow me to use LC for all my text processing. Is there a way to do this? -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richmond Sent: Saturday, March 17, 2012 12:24 PM To: How to use LiveCode Subject: Re: outputting unicode text fields to unicode text files On 03/17/2012 05:54 PM, rand valentine wrote: > Hi, all. I'm stymied in my efforts to save a field of Unicode text to a text > file. I'm working with Windows (7) and the latest version of Livecode. > Outputting (Save) as RTF text is rather a good way to go. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From kray at sonsothunder.com Sun Mar 18 15:08:09 2012 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 18 Mar 2012 14:08:09 -0500 Subject: Scott In-Reply-To: References: Message-ID: On Mar 13, 2012, at 12:21 PM, Jim Hurley wrote: > Thanks Scott and Colin, > > LiveCode and this list make it sooo easy. It is almost embarrassing. > > Does anyone know what program, if there is ONE, that opens when you double click on a jpg or png image in Windows? > > What happens when you click on an image.jpg? Does Windows present options? On my Win7 machine, jpg and pngs open in Windows Photo Viewer. Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From richmondmathewson at gmail.com Sun Mar 18 15:14:21 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 18 Mar 2012 21:14:21 +0200 Subject: outputting Unicode text fields to Unicode text files In-Reply-To: <002001cd053a$74f92720$5eeb7560$@net> References: <003401cd0456$40f46730$c2dd3590$@wisc.edu> <4F64BA93.1060806@gmail.com> <002001cd053a$74f92720$5eeb7560$@net> Message-ID: <4F66340D.2030202@gmail.com> On 03/18/2012 09:08 PM, Ralph DiMola wrote: > If I could save a UNICODE text file it would allow me to use LC for all my > text processing. > > Is there a way to do this? > > > -----Original Message----- > From: use-livecode-bounces at lists.runrev.com > [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richmond > Sent: Saturday, March 17, 2012 12:24 PM > To: How to use LiveCode > Subject: Re: outputting unicode text fields to unicode text files > > On 03/17/2012 05:54 PM, rand valentine wrote: >> Hi, all. I'm stymied in my efforts to save a field of Unicode text to a > text >> file. I'm working with Windows (7) and the latest version of Livecode. >> > Outputting (Save) as RTF text is rather a good way to go. Well, all you have to do is import the RTF file again, back into a textField with "set the useUnicode" set to true. > > > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From geradamas at yahoo.com Sun Mar 18 15:19:10 2012 From: geradamas at yahoo.com (Richmond Mathewson) Date: Sun, 18 Mar 2012 12:19:10 -0700 (PDT) Subject: No subject Message-ID: <1332098350.86159.YahooMailNeo@web120505.mail.ne1.yahoo.com> http://inseasonvegetables.com/wp-content/plugins/extended-comment-options/bing.php?spell1.img From tolistim at me.com Sun Mar 18 15:19:17 2012 From: tolistim at me.com (Tim Jones) Date: Sun, 18 Mar 2012 12:19:17 -0700 Subject: [OT] Running old PPC apps on Lion Message-ID: Hi Folks, In the other thread about Xcode and Lion, there's mention of the apps that no longer run in Lion. Good new - you can still install Rosetta and things return to normalcy for those of us with old app (Final Cut, Logic, AppleWorks, etc.). You will need to have the Snow Leopard install disks, Load the Snow Leopard install disk Select the "Optional Installs" package Select "Rosetta" This will install Rosetta under Lion and all of your PPC-based apps will happily run. HTH, Tim From rdimola at evergreeninfo.net Sun Mar 18 15:22:04 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sun, 18 Mar 2012 15:22:04 -0400 Subject: outputting Unicode text fields to Unicode text files In-Reply-To: <4F66340D.2030202@gmail.com> References: <003401cd0456$40f46730$c2dd3590$@wisc.edu> <4F64BA93.1060806@gmail.com> <002001cd053a$74f92720$5eeb7560$@net> <4F66340D.2030202@gmail.com> Message-ID: <002a01cd053c$66d6eb30$3484c190$@net> Hey,, Thanks for the rapid response!!! Sorry I was not clear. The file will never be coming back to LC. It will be on its way a high end composition system never to see LC again. I currently use VB6 and would like to move more into the LC realm because of its chunk processing philosophy. Thanks! Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richmond Sent: Sunday, March 18, 2012 3:14 PM To: How to use LiveCode Subject: Re: outputting Unicode text fields to Unicode text files On 03/18/2012 09:08 PM, Ralph DiMola wrote: > If I could save a UNICODE text file it would allow me to use LC for all my > text processing. > > Is there a way to do this? > > > -----Original Message----- > From: use-livecode-bounces at lists.runrev.com > [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richmond > Sent: Saturday, March 17, 2012 12:24 PM > To: How to use LiveCode > Subject: Re: outputting unicode text fields to unicode text files > > On 03/17/2012 05:54 PM, rand valentine wrote: >> Hi, all. I'm stymied in my efforts to save a field of Unicode text to a > text >> file. I'm working with Windows (7) and the latest version of Livecode. >> > Outputting (Save) as RTF text is rather a good way to go. Well, all you have to do is import the RTF file again, back into a textField with "set the useUnicode" set to true. > > > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From richard at richardmac.com Sun Mar 18 15:22:00 2012 From: richard at richardmac.com (Richard MacLemale) Date: Sun, 18 Mar 2012 15:22:00 -0400 Subject: Serious Question about the list... In-Reply-To: <4F6628CB.3000106@gmail.com> References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> <4F661569.7030403@hyperactivesw.com> <95390986984.20120318102156@ahsoftware.net> <4F661D59.2020100@hyperactivesw.com> <61392815187.20120318105224@ahsoftware.net> <5D4DF163-3810-4B98-A3BF-3B54E189CCB8@jhj.com> <4F6628CB.3000106@gmail.com> Message-ID: <5382066A-D839-4C34-8204-D955E583AFCE@richardmac.com> Interesting perspectives. Pretty much answered my question. --- Richard MacLemale Music = http://www.richardmac.com Programming = http://www.macandchee.se From richard at richardmac.com Sun Mar 18 15:27:15 2012 From: richard at richardmac.com (Richard MacLemale) Date: Sun, 18 Mar 2012 15:27:15 -0400 Subject: New Xcode 4.3.1 In-Reply-To: References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> <4F661C68.8000909@hyperactivesw.com> <4F662976.9020301@hyperactivesw.com> Message-ID: Stephen, More dumbing down, yes, I agree... but you would be stunned at the number of people who, even though it's 2012, still don't know the difference between Save and Save As. For that matter, I still see people double-clicking in instances where you are supposed to single click, such as launching an item in the Dock. For those who teach others how to use a computer, or who fix basic computer issues for others, this is job security, I guess. --- Richard MacLemale Music = http://www.richardmac.com Programming = http://www.macandchee.se On Mar 18, 2012, at 3:01 PM, stephen barncard wrote: > More file bloat and needless BS, if you ask me... more dumbing down... From sc at sahores-conseil.com Sun Mar 18 15:33:35 2012 From: sc at sahores-conseil.com (Pierre Sahores) Date: Sun, 18 Mar 2012 20:33:35 +0100 Subject: [OT] Running old PPC apps on Lion In-Reply-To: References: Message-ID: Good to know. Thanks Tim. -- Pierre Sahores mobile : 06 03 95 77 70 www.spimsco.net : la premi?re solution saas open source et commerciale de d?veloppement s?mantique pr?programm? Le 18 mars 2012 ? 20:19, Tim Jones a ?crit : > Hi Folks, > > In the other thread about Xcode and Lion, there's mention of the apps that no longer run in Lion. Good new - you can still install Rosetta and things return to normalcy for those of us with old app (Final Cut, Logic, AppleWorks, etc.). > > You will need to have the Snow Leopard install disks, > > Load the Snow Leopard install disk > Select the "Optional Installs" package > Select "Rosetta" > > This will install Rosetta under Lion and all of your PPC-based apps will happily run. > > HTH, > Tim > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Sun Mar 18 15:51:56 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 18 Mar 2012 12:51:56 -0700 Subject: New Xcode 4.3.1 In-Reply-To: References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> <4F661C68.8000909@hyperactivesw.com> <4F662976.9020301@hyperactivesw.com> Message-ID: I just don't think making it "goof-proof" for the lowest common denominator at the expense of obliterating time proven methods that worked for the experienced the last 30 years is progress. It will just make them more dependent. Was this stuff really that broken? Maybe there should be a "Dumbass" option, like the kiosk mode. Do it in the browser, but leave my OS alone. On 18 March 2012 12:27, Richard MacLemale wrote: > Stephen, > > More dumbing down, yes, I agree... but you would be stunned at the number > of people who, even though it's 2012, still don't know the difference > between Save and Save As. For that matter, I still see people > double-clicking in instances where you are supposed to single click, such > as launching an item in the Dock. > > For those who teach others how to use a computer, or who fix basic > computer issues for others, this is job security, I guess. > > --- > Richard MacLemale > Music = http://www.richardmac.com > Programming = http://www.macandchee.se > > > > > On Mar 18, 2012, at 3:01 PM, stephen barncard wrote: > > > More file bloat and needless BS, if you ask me... more dumbing down... > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From richmondmathewson at gmail.com Sun Mar 18 15:54:35 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 18 Mar 2012 21:54:35 +0200 Subject: outputting Unicode text fields to Unicode text files In-Reply-To: <002a01cd053c$66d6eb30$3484c190$@net> References: <003401cd0456$40f46730$c2dd3590$@wisc.edu> <4F64BA93.1060806@gmail.com> <002001cd053a$74f92720$5eeb7560$@net> <4F66340D.2030202@gmail.com> <002a01cd053c$66d6eb30$3484c190$@net> Message-ID: <4F663D7B.9070101@gmail.com> On 03/18/2012 09:22 PM, Ralph DiMola wrote: > Hey,, > Thanks for the rapid response!!! Sorry I was not clear. The file will never > be coming back to LC. It will be on its way a high end composition system > never to see LC again. > > I currently use VB6 and would like to move more into the LC realm because of > its chunk processing philosophy. Having been "brought up" on Hypercard - Livecode, I had to take a "side-trip" to Visual Basic 6 about 8 years ago; not much fun frankly; even worse than a similar adventure I had with Toolbook. Unfortunately, the "University" where I did an "MSc" in computers and IT had "climbed into bed" with Microsoft, so, despite their claims that what they taught was relevant to all operating systems, they fell over themselves to make sure that everything was tied to Microsoft, and spent an awful lot of lecture time denigrating Macintosh and Linux. I didn't really learn anything of any value there. The only good outcome was that I had to buy a book about Systems development; the lecturer seemed to know less about the subject than what I had read in the text book the night before the lecture: but, then, for years before he had been a lecturer he had run a shop selling model trains in the north of Scotland - how model trains equips one for databases, SDLCs and so on has always escaped me; and he was unable to answer that one when I asked him. You should find Livecode rather like a breath of fresh air after VB6. In fact, come to think of it, I cannot help wondering why people are still using Visual BASIC; especially as it ties one to one operating system, one commercial company, and is generally restrictive. One of the things I have always liked about Livecode is that each object has its own code in its own window. While the first thing that bothered me with VB6 was having to scroll down a seemingly-endless list of code to find the bit for each object; which didn't prove all that easy most of the time unless one spent buckets of time writing comments in the code. It gave me no-end of pleasure to do all my VB6 work using Windows 2000 in a Virtual PC emulator on a G4 Macintosh, and all my thesis coding with Runtime Revolution/Livecode on a Mac. > Thanks! > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > From vokey at uleth.ca Sun Mar 18 15:55:51 2012 From: vokey at uleth.ca (Vokey, John) Date: Sun, 18 Mar 2012 19:55:51 +0000 Subject: Serious Question about the list... In-Reply-To: References: Message-ID: <9FE9A39B-AA87-4E4D-8AF6-A2EC08071179@uleth.ca> De gustibus non disputandum est On 2012-03-18, at 1:33 PM, wrote: > Mark- > > Sunday, March 18, 2012, 6:51:01 AM, you wrote: > >> The reasons why people choose to use mainly one or mainly another >> source of information can be very subjective and discussing such >> subjective matters make little sense. > > Amen to that. -- Please avoid sending me Word or PowerPoint attachments. See -Dr. John R. Vokey From richmondmathewson at gmail.com Sun Mar 18 16:10:42 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 18 Mar 2012 22:10:42 +0200 Subject: New Xcode 4.3.1 In-Reply-To: References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> <4F661C68.8000909@hyperactivesw.com> <4F662976.9020301@hyperactivesw.com> Message-ID: <4F664142.5070507@gmail.com> On 03/18/2012 09:51 PM, stephen barncard wrote: > I just don't think making it "goof-proof" for the lowest common denominator > at the expense of obliterating time proven methods that worked for the > experienced the last 30 years is progress. It will just make them more > dependent. Was this stuff really that broken? Maybe there should be a > "Dumbass" option, like the kiosk mode. Do it in the browser, but leave my > OS alone. > > I have, mainly due to lack of money, moved towards Linux and away from Macintosh, although my main programming work occurs on a Mac PPC. What I see is that both Mac and Microsoft are going for more and more restrictive stuff on the basis of "goof-proofing" everything. This should not surprise us, as this is also the approach of the British government; over-regulation on the theory that people need protecting (mainly from themselves). Ubuntu seems to be going the same way. I suppose, in due course, we will end up with a separation of species: 1. The Eloi machines for mind-dumbing content delivery and control. 2. The Morlock machines for heavy programming. From pepetoo at cox.net Sun Mar 18 16:12:24 2012 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Sun, 18 Mar 2012 13:12:24 -0700 Subject: outputting Unicode text fields to Unicode text files In-Reply-To: <4F663D7B.9070101@gmail.com> References: <003401cd0456$40f46730$c2dd3590$@wisc.edu> <4F64BA93.1060806@gmail.com> <002001cd053a$74f92720$5eeb7560$@net> <4F66340D.2030202@gmail.com> <002a01cd053c$66d6eb30$3484c190$@net> <4F663D7B.9070101@gmail.com> Message-ID: <5D3A4134-74F2-481B-BBB4-260613ACC18B@cox.net> Hi Richmond, At about the same time as your VB6 sojourn, I was doing a commercial Educational Game for youngsters that I had prototyped in HyperCard. I was doing the Mac Version using FutureBasic; thus doing the Window's Version was VERY easy since FB and VB6 were/are amazingly compatible. I could copy my "handlers" which I had written in FB with HC as the pseudo code and paste them with hardly any change in syntax into VB6. Incidentally, since Katrina FB has been free and has somewhat recently incorporated a C compiler into the system. Though not cross platform, it is far superior, I've been told, to RealBasic which is not free by any means. It has an amazing list as well. Joe Wilkins On Mar 18, 2012, at 12:54 PM, Richmond wrote: > On 03/18/2012 09:22 PM, Ralph DiMola wrote: >> Hey,, >> Thanks for the rapid response!!! Sorry I was not clear. The file will never >> be coming back to LC. It will be on its way a high end composition system >> never to see LC again. >> >> I currently use VB6 and would like to move more into the LC realm because of >> its chunk processing philosophy. > > Having been "brought up" on Hypercard - Livecode, I had to take a "side-trip" to Visual Basic 6 > about 8 years ago; not much fun frankly; even worse than a similar adventure I had with Toolbook. > > Unfortunately, the "University" where I did an "MSc" in computers and IT had "climbed into bed" > with Microsoft, so, despite their claims that what they taught was relevant to all operating systems, > they fell over themselves to make sure that everything was tied to Microsoft, and spent an awful lot > of lecture time denigrating Macintosh and Linux. I didn't really learn anything of any value there. > The only good outcome was that I had to buy a book about Systems development; the lecturer > seemed to know less about the subject than what I had read in the text book the night before > the lecture: but, then, for years before he had been a lecturer he had run a shop selling model > trains in the north of Scotland - how model trains equips one for databases, SDLCs and so on > has always escaped me; and he was unable to answer that one when I asked him. > > You should find Livecode rather like a breath of fresh air after VB6. > > In fact, come to think of it, I cannot help wondering why people are still using Visual BASIC; especially > as it ties one to one operating system, one commercial company, and is generally restrictive. > > One of the things I have always liked about Livecode is that each object has its own code in its own > window. While the first thing that bothered me with VB6 was having to scroll down a seemingly-endless > list of code to find the bit for each object; which didn't prove all that easy most of the time unless one > spent buckets of time writing comments in the code. > > It gave me no-end of pleasure to do all my VB6 work using Windows 2000 in a Virtual PC emulator on > a G4 Macintosh, and all my thesis coding with Runtime Revolution/Livecode on a Mac. > >> Thanks! >> >> Ralph DiMola >> IT Director >> Evergreen Information Services >> rdimola at evergreeninfo.net From richard at richardmac.com Sun Mar 18 16:15:22 2012 From: richard at richardmac.com (Richard MacLemale) Date: Sun, 18 Mar 2012 16:15:22 -0400 Subject: New Xcode 4.3.1 In-Reply-To: References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> <4F661C68.8000909@hyperactivesw.com> <4F662976.9020301@hyperactivesw.com> Message-ID: <6992EDC3-6B34-4062-9033-14FD4EE9461A@richardmac.com> Ha ha ha! Yes, a Dumbass mode would be very nice. I agree with you - I was just pointing out that there are a lot of, um, dumbasses out there. :) I do have a concern that Apple is going to slowly make OS X look like iOS. Hopefully that doesn't happen. --- Richard MacLemale Music = http://www.richardmac.com Programming = http://www.macandchee.se On Mar 18, 2012, at 3:51 PM, stephen barncard wrote: > I just don't think making it "goof-proof" for the lowest common denominator > at the expense of obliterating time proven methods that worked for the > experienced the last 30 years is progress. It will just make them more > dependent. Was this stuff really that broken? Maybe there should be a > "Dumbass" option, like the kiosk mode. Do it in the browser, but leave my > OS alone. From mwieder at ahsoftware.net Sun Mar 18 16:41:20 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 18 Mar 2012 13:41:20 -0700 Subject: New Xcode 4.3.1 In-Reply-To: <6992EDC3-6B34-4062-9033-14FD4EE9461A@richardmac.com> References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> <4F661C68.8000909@hyperactivesw.com> <4F662976.9020301@hyperactivesw.com> <6992EDC3-6B34-4062-9033-14FD4EE9461A@richardmac.com> Message-ID: <39402950765.20120318134120@ahsoftware.net> Richard- Sunday, March 18, 2012, 1:15:22 PM, you wrote: > Ha ha ha! Yes, a Dumbass mode would be very nice. I agree with > you - I was just pointing out that there are a lot of, um, dumbasses > out there. :) I do have a concern that Apple is going to slowly > make OS X look like iOS. Hopefully that doesn't happen. It *will* happen. Look at Windows 8. If you can't do it on a smartphone, it's on its way to being extinct. -- -Mark Wieder mwieder at ahsoftware.net From bobs at twft.com Sun Mar 18 16:53:19 2012 From: bobs at twft.com (Bob Sneidar) Date: Sun, 18 Mar 2012 13:53:19 -0700 Subject: New Xcode 4.3.1 In-Reply-To: <39402950765.20120318134120@ahsoftware.net> References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> <4F661C68.8000909@hyperactivesw.com> <4F662976.9020301@hyperactivesw.com> <6992EDC3-6B34-4062-9033-14FD4EE9461A@richardmac.com> <39402950765.20120318134120@ahsoftware.net> Message-ID: Then I'm on my way to Alaska to become a professional bear hunter tour guide. Sent from my iPad On Mar 18, 2012, at 1:41 PM, Mark Wieder wrote: > Richard- > > Sunday, March 18, 2012, 1:15:22 PM, you wrote: > >> Ha ha ha! Yes, a Dumbass mode would be very nice. I agree with >> you - I was just pointing out that there are a lot of, um, dumbasses >> out there. :) I do have a concern that Apple is going to slowly >> make OS X look like iOS. Hopefully that doesn't happen. > > It *will* happen. Look at Windows 8. If you can't do it on a > smartphone, it's on its way to being extinct. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From effendi at wanadoo.fr Sun Mar 18 16:56:01 2012 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Sun, 18 Mar 2012 21:56:01 +0100 Subject: Serious Question about the list... Message-ID: Hi from Beautiful Brittany, ..... I didn't even know that there was a forum .... Nobody tells me nothing (I know - it's a double-negative) ! -Francis "Progress is a series of monumental f**k-ups !" From katheryn.swynford at gmail.com Sun Mar 18 17:22:17 2012 From: katheryn.swynford at gmail.com (Judy Perry) Date: Sun, 18 Mar 2012 14:22:17 -0700 Subject: Serious Question about the list... In-Reply-To: <4F661569.7030403@hyperactivesw.com> References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> <4F661569.7030403@hyperactivesw.com> Message-ID: Thanks, Jacque. I am definitely "out of the loop" as opposed to "in the know," but I have always preferred the mail list, perhaps because I am lazy and it comes to me instead of my remembering to go to it and check every board. Also, email is faster and only requires remembering one password. Also, I usually read the list on my unix account using PINE, so when I see endless posts on something I know I'm not likely to know anything about or need at the moment, I just press the "D" key and they all vanish. *pouf* Judy p.s.: in fact, I forgot I was using a web browser to read this and was trying to delete extraneous stuff to which I wasn't replying at the bottom and used the PINE control key selection to do it O_o The funny thing is that it worked... On Sun, Mar 18, 2012 at 10:03 AM, J. Landman Gay wrote: > > This comes up periodically. I hate the forums. I ignored them for years, now > I make myself go there once a day when I remember and when there's time. > It's tedious and slow to navigate and requires intentional decisions about > what pages to load when time is short. From mwieder at ahsoftware.net Sun Mar 18 18:05:14 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 18 Mar 2012 15:05:14 -0700 Subject: New Xcode 4.3.1 In-Reply-To: References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> <4F661C68.8000909@hyperactivesw.com> <4F662976.9020301@hyperactivesw.com> <6992EDC3-6B34-4062-9033-14FD4EE9461A@richardmac.com> <39402950765.20120318134120@ahsoftware.net> Message-ID: <161407984781.20120318150514@ahsoftware.net> Bob- Sunday, March 18, 2012, 1:53:19 PM, you wrote: > Then I'm on my way to Alaska to become a professional bear hunter tour guide. Whoa! There are professional bears? -- -Mark Wieder mwieder at ahsoftware.net From jhj at jhj.com Sun Mar 18 18:31:32 2012 From: jhj at jhj.com (Jerry Jensen) Date: Sun, 18 Mar 2012 15:31:32 -0700 Subject: New Xcode 4.3.1 In-Reply-To: <161407984781.20120318150514@ahsoftware.net> References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> <4F661C68.8000909@hyperactivesw.com> <4F662976.9020301@hyperactivesw.com> <6992EDC3-6B34-4062-9033-14FD4EE9461A@richardmac.com> <39402950765.20120318134120@ahsoftware.net> <161 407984781.20120318150514@ahsoftware.net> Message-ID: On Mar 18, 2012, at 3:05 PM, Mark Wieder wrote: > Bob- > > Sunday, March 18, 2012, 1:53:19 PM, you wrote: > >> Then I'm on my way to Alaska to become a professional bear hunter tour guide. > > Whoa! There are professional bears? Those are the ones that: "some days the bear gets you". From alex at tweedly.net Sun Mar 18 19:52:51 2012 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 18 Mar 2012 23:52:51 +0000 Subject: Failing to understand the oddities of the "line" chunk In-Reply-To: References: <4F648EBA.3070004@tweedly.net> <4F64BCE3.1080904@hyperactivesw.com> Message-ID: <4F667553.4080503@tweedly.net> You're right (IMHO) - the original reason I struggled to understand this was not the trailing delimiter issue, but rather the incorrect handling of 'inverted' ranges in a chunk expression. There are a variety of possible valid interpretations of a inverted range (my opinion is that these are, in order): 1. normalize the order (as you suggested) (i.e. put xxx into line 3 to 2 ... would be equivalent to put xxx into line 2 to 3 ...) 2. take the "from" part of the chunk range expression, and stop there (i.e. put xxx into line 3 to 2 ... would be equivalent to put xxx into line 2 ...) 3. cause an error !!?? What it does now is (I think) equivalent to put xxx before line 3 of .... Which is consistent to viewing put xxx into (chunk) of (container) as being equivalent to put xxx before line tFROM of container repeat with i = tFROM to tTO of container delete line i of (the original) container end repeat So I can just about see that there is some consistency in the current method - but it is highly unintuitive and hard to predict. -- Alex. On 17/03/2012 20:31, Geoff Canyon wrote: > This seems wrong to me. Regardless of how the engine interprets a chunk > expression, a command of the form put into should > result in containing So the fact that you are > putting "b" into something should result in that thing being "b," where > here the result is "ba" further, there's the fact that after the command, > the chunk is still empty. So: > > put "a"& cr into t;put "b" into line 2 to -1 of t;put line 2 to -1 of t > is empty > > puts true. I did a quick check to take the negative line number out of > this. If you have a field with contents: > > a > > b > > c > > then put line 2 to 1 of fld 1 > > puts empty, and put "x" into line 2 to 1 of fld 1 > > results in line 1 of the field being "xa" > > again, this feels wrong. "line 2 to 1" of something should be an error. I > can see the value of having it return empty when you are getting it, but > putting something into it results in bad behavior. > > Another way of addressing this would be to say that chunk expressions > always understand and follow proper order. So "line 2 to 1" would be the > same as "line 1 to 2" Under that scenario, put "x" into line 2 to 1 of fld > 1 would result in the field containing: > > x > > c > > and the original problem: > > put "a"& CR into t; put "b" into line 2 to -1 of t; put t > > would put > > b > > which seems like a much more reasonable (and predictable) outcome. > > > gc > > On Sat, Mar 17, 2012 at 11:33 AM, J. Landman Gay > wrote: > >> On 3/17/12 8:16 AM, Alex Tweedly wrote: >> >>> This code >>> >>>> put "a"& CR into t; put "b" into line 2 of t; put t >>>> >>> produces (as I would expect) >>> >>>> a >>>> b >>>> >>> BUT >>> >>>> put "a"& CR into t; put "b" into line 2 to -1 of t; put t >>>> >>> produces >>> >>>> ba >>>> >>> Why should adding the "to -1" change this to put the new data before >>> what was there before ? >>> >> It's because of how the engine ignores trailing delimiters. The variable t >> contains only one line, so "line 2 to -1" evaluates to "line 2 to 1". >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From kray at sonsothunder.com Sun Mar 18 20:01:47 2012 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 18 Mar 2012 19:01:47 -0500 Subject: how to resize icons when resizing objects? In-Reply-To: <002d01cd01c0$69b72010$3d256030$@de> References: <002d01cd01c0$69b72010$3d256030$@de> Message-ID: <32A4BDC9-EEA5-467E-88F6-91CE4C76AD5B@sonsothunder.com> On Mar 14, 2012, at 3:56 AM, Tiemo Hollmann TB wrote: > Hello, > > I have a stack, which the user may resize and all objects are resized and > positioned dynamically. This works fine. Up to now, I kept the size of the > buttons with assigned icons locked, because I didn't find an approach, how > to resize the assigned icons dynamically? Or don't you do that at all in a > dynamic layout and am I looking for a no go? Is there a reason you're using buttons with icons instead of just image objects in this instance? Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From alex at tweedly.net Sun Mar 18 20:13:06 2012 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 19 Mar 2012 00:13:06 +0000 Subject: What should an undo/redo mechanism do ? Message-ID: <4F667A12.4090901@tweedly.net> The question here is not about how to implement undo/redo (that's relatively straightforward), but rather about the *idea* of undo/redo. I see a few issues that I'd like to hear opinions about : 1. the result (if any) of doing a 'save'. Should the undo history get wiped when the user saves a document ? (i.e. I can undo back as far as the last save, and no further) Or should I be able to undo all the way to the start of this session ? Or, indeed, should I store the undo history with the 'save', so that I can undo all the way back to the creation of the document ? (I have seen each of the above, and can't decide which one I think is better :-) 2. Does inserting multiple characters count as a single event for undo-ing ? Let's say I click somewhere in a doc, and then type "a" "b" "c" (i.e. abc) If I then undo, should it remove just the 'c', or all 3 chars ('abc') ? If you said 'all three', then there's a follow-up question - if I type 'a' 'b' right-arrow left-arrow 'c' (i.e. move the insertion cursor, but bring it back again) does that make it into two separate insertion events, or still just one ? 3. Is the intent to undo user actions, or to undo events that affect a document ? For instance, if I type 'a' 'b' "Italics" 'c' "undo" should I be left in italic or normal insertion mode ? Should a subsequent "undo" then simply change the insertion mode, or should it remove the "ab" ? 4. Should I stop worrying about this and just do any one of the above - users are grateful for any system that let's them undo multiple times and will get used to it :-) Thanks for any opinions -- Alex. From paul at researchware.com Sun Mar 18 20:27:43 2012 From: paul at researchware.com (Paul Dupuis) Date: Sun, 18 Mar 2012 20:27:43 -0400 Subject: What should an undo/redo mechanism do ? In-Reply-To: <4F667A12.4090901@tweedly.net> References: <4F667A12.4090901@tweedly.net> Message-ID: <4F667D7F.4020006@researchware.com> On 3/18/2012 8:13 PM, Alex Tweedly wrote: > 4. Should I stop worrying about this and just do any one of the above > - users are grateful for any system that let's them undo multiple > times and will get used to it :-) Some Undo/Redo is better than no Undo/Redo and most people will get used to or adapt to what differences there are between how different applications implement the specifics. -- Paul Dupuis Cofounder Researchware, Inc. http://www.researchware.com/ http://www.twitter.com/researchware http://www.facebook.com/researchware http://www.linkedin.com/company/researchware-inc From jacque at hyperactivesw.com Sun Mar 18 21:42:18 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 18 Mar 2012 20:42:18 -0500 Subject: New Xcode 4.3.1 In-Reply-To: <161407984781.20120318150514@ahsoftware.net> References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> <4F661C68.8000909@hyperactivesw.com> <4F662976.9020301@hyperactivesw.com> <6992EDC3-6B34-4062-9033-14FD4EE9461A@richardmac.com> <39402950765.20120318134120@ahsoftware.net> <161407984781.20120318150514@ahsoftware.net> Message-ID: <4F668EFA.50401@hyperactivesw.com> On 3/18/12 5:05 PM, Mark Wieder wrote: > Bob- > > Sunday, March 18, 2012, 1:53:19 PM, you wrote: > >> Then I'm on my way to Alaska to become a professional bear hunter tour guide. > > Whoa! There are professional bears? > In the stock market. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Mar 18 22:00:25 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 18 Mar 2012 21:00:25 -0500 Subject: Failing to understand the oddities of the "line" chunk In-Reply-To: <4F667553.4080503@tweedly.net> References: <4F648EBA.3070004@tweedly.net> <4F64BCE3.1080904@hyperactivesw.com> <4F667553.4080503@tweedly.net> Message-ID: <4F669339.7080403@hyperactivesw.com> On 3/18/12 6:52 PM, Alex Tweedly wrote: > You're right (IMHO) - the original reason I struggled to understand this > was not the trailing delimiter issue, but rather the incorrect handling > of 'inverted' ranges in a chunk expression. > > There are a variety of possible valid interpretations of a inverted > range (my opinion is that these are, in order): An inverted range in character chunking equates to an insertion point. I.e., char 2 to 1 of a line is an insertion point after char 1. Testing for range inversion is one way to know whether a selection has any content. The behavior with lines looks like the engine is attempting that but it isn't acting the same. > put "a"& cr into t;put "b" into line 2 to -1 of t equates to "put 'b' into line 2 to 1". If inverted ranges should yield an insertion point, then the insertion should go after after line 1. So it isn't acting quite the same way but it looks like it's supposed to. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Mar 18 22:10:25 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 18 Mar 2012 21:10:25 -0500 Subject: What should an undo/redo mechanism do ? In-Reply-To: <4F667A12.4090901@tweedly.net> References: <4F667A12.4090901@tweedly.net> Message-ID: <4F669591.1010804@hyperactivesw.com> On 3/18/12 7:13 PM, Alex Tweedly wrote: > 1. the result (if any) of doing a 'save'. > Should the undo history get wiped when the user saves a document ? > (i.e. I can undo back as far as the last save, and no further) > Or should I be able to undo all the way to the start of this session ? > Or, indeed, should I store the undo history with the 'save', so that I > can undo all the way back to the creation of the document ? If your app isn't Photoshop, it's pretty universal to go back only to the last save. I've never seen any app save undo history forever. > 2. Does inserting multiple characters count as a single event for > undo-ing ? > Let's say I click somewhere in a doc, and then type "a" "b" "c" (i.e. abc) > If I then undo, should it remove just the 'c', or all 3 chars ('abc') ? Most the apps I use consider a mouseclick to be the defining point. Undo removes everything since the text selection was last changed. > 3. Is the intent to undo user actions, or to undo events that affect a > document ? > > For instance, if I type 'a' 'b' "Italics" 'c' "undo" should I be left in > italic or normal insertion mode ? > Should a subsequent "undo" then simply change the insertion mode, or > should it remove the "ab" ? If you're taking out everything since the last text selection, then I'd say the styling should go too. > > 4. Should I stop worrying about this and just do any one of the above - > users are grateful for any system that let's them undo multiple times > and will get used to it :-) Pretty much, yeah. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From MikeKerner at roadrunner.com Sun Mar 18 22:17:29 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 18 Mar 2012 22:17:29 -0400 Subject: Serious Question about the list... In-Reply-To: References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> <4F661569.7030403@hyperactivesw.com> Message-ID: I like mailing lists because 1) using a gmail account, not only do I get my own searchable archive of all the messages, but I can keep that online and not worry about ever running out of space 2) I do #1 not just for LC but for every development tool I use. I have one account that gets every message from every list for every tool going back YEARS. In the case of some tools, since the very early days of gmail being invite-only 3) It's easy to pre-categorize for every tool and for threads, authors, and topics within that tool. I want to pay attention to what the smart kids are doing, so I can set up categories so that I can stalk them. 4) I don't have to go poking through the groups on a forum the way that the forum has them set up, or poking through them at all. In the case of some of the tools that have multiple lists for various topics (attempting to mimic the categorization of a forum but in a list), I can completely ignore the list boundaries because the categories can merge all the lists. 5) It's many fewer clicks to get into the mailing lists and scan the messages than it is to get through the forums and scan them, and since gmail changes the colors on threads I've viewed, I know right away if I'm current on a thread I'm watching or not. Mailing lists are just much, much more convenient, IMHO. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From niconiko at gmail.com Sun Mar 18 22:22:38 2012 From: niconiko at gmail.com (Nicolas Cueto) Date: Mon, 19 Mar 2012 11:22:38 +0900 Subject: how to read/write data on Android? In-Reply-To: <4F6617F7.2070006@hyperactivesw.com> References: <4F6617F7.2070006@hyperactivesw.com> Message-ID: Thanks, Jacque, but still no luck. I followed your suggestions to the letter, including the Copy Files pane, and triple-checked all my typing (including quotation marks), but still getting a false for "file1.txt exists". (Actually, "file1.txt" is named "titleAndUniqueIDindex.txt".) Thinking maybe the IDE's "test" function is the problem, I also built a standalone apk, used Dropbox to transfer it to my tablet, and installed from there. But still get false for "file1.txt exists". Tried everything both with LC 5.0.2 and LC 5.5.rc2. Plus tried using the "search" function of a file explorer app for Android, but could not find my app or its folders (tho being new to Android, I don't really know what to look for and where). Here are the paths returned for "engine", "documents", and "cache", followed by the script that implemented your path suggestion. //////////////////////////////////////////////////////////////////////// file:/data/app/com.test_rc2.niconiko-1.apk/file1.txt file:/data/data/com.test_rc2.niconiko/files/file1.txt file:/data/data/com.test_rc2.niconiko/cache/file1.txt -- put "nada" into tData put ("file:" & specialFolderPath("engine") & slash & "titleAndUniqueIDindex.txt") into tPath answer "File in engine exists:" && there is a file tPath -- confirms existence if there is a file tPath then put url tPath into tData end if put "Engine path & data =" & cr & tPath & cr & tData & cr after tRez put "nada" into tData put ("file:" & specialFolderPath("documents") & slash & "titleAndUniqueIDindex.txt") into tPath answer "File in documents exists:" && there is a file tPath -- confirms existence if there is a file tPath then put url tPath into tData put "Documents path & data =" & cr & tPath & cr & tData & cr after tRez end if put "Documents path & data =" & cr & tPath & cr & tData & cr after tRez put "nada" into tData put ("file:" & specialFolderPath("cache") & slash & "titleAndUniqueIDindex.txt") into tPath answer "File in cache exists:" && there is a file tPath -- confirms existence if there is a file tPath then put url tPath into tData end if put "Cache path & data =" & cr & tPath & cr & tData & cr after tRez put tRez into field "test" /////////////////////////////////////////////////////////////////// Anyone? -- Nicolas Cueto From mikedoub at gmail.com Sun Mar 18 22:35:35 2012 From: mikedoub at gmail.com (mikedoub at gmail.com) Date: Mon, 19 Mar 2012 02:35:35 +0000 Subject: how to read/write data on Android? In-Reply-To: References: <4F6617F7.2070006@hyperactivesw.com> Message-ID: <1048154708-1332124536-cardhu_decombobulator_blackberry.rim.net-1132141705-@b17.c31.bise6.blackberry> Misery loves company. I saw your posting this morning so I tried to save settings in my app. No Luck. I seem to be having the same problem. -= Mike Sent from my BlackBerry device on the Rogers Wireless Network -----Original Message----- From: Nicolas Cueto Sender: use-livecode-bounces at lists.runrev.com Date: Mon, 19 Mar 2012 11:22:38 To: How to use LiveCode Reply-To: How to use LiveCode Subject: Re: how to read/write data on Android? Thanks, Jacque, but still no luck. I followed your suggestions to the letter, including the Copy Files pane, and triple-checked all my typing (including quotation marks), but still getting a false for "file1.txt exists". (Actually, "file1.txt" is named "titleAndUniqueIDindex.txt".) Thinking maybe the IDE's "test" function is the problem, I also built a standalone apk, used Dropbox to transfer it to my tablet, and installed from there. But still get false for "file1.txt exists". Tried everything both with LC 5.0.2 and LC 5.5.rc2. Plus tried using the "search" function of a file explorer app for Android, but could not find my app or its folders (tho being new to Android, I don't really know what to look for and where). Here are the paths returned for "engine", "documents", and "cache", followed by the script that implemented your path suggestion. //////////////////////////////////////////////////////////////////////// file:/data/app/com.test_rc2.niconiko-1.apk/file1.txt file:/data/data/com.test_rc2.niconiko/files/file1.txt file:/data/data/com.test_rc2.niconiko/cache/file1.txt -- put "nada" into tData put ("file:" & specialFolderPath("engine") & slash & "titleAndUniqueIDindex.txt") into tPath answer "File in engine exists:" && there is a file tPath -- confirms existence if there is a file tPath then put url tPath into tData end if put "Engine path & data =" & cr & tPath & cr & tData & cr after tRez put "nada" into tData put ("file:" & specialFolderPath("documents") & slash & "titleAndUniqueIDindex.txt") into tPath answer "File in documents exists:" && there is a file tPath -- confirms existence if there is a file tPath then put url tPath into tData put "Documents path & data =" & cr & tPath & cr & tData & cr after tRez end if put "Documents path & data =" & cr & tPath & cr & tData & cr after tRez put "nada" into tData put ("file:" & specialFolderPath("cache") & slash & "titleAndUniqueIDindex.txt") into tPath answer "File in cache exists:" && there is a file tPath -- confirms existence if there is a file tPath then put url tPath into tData end if put "Cache path & data =" & cr & tPath & cr & tData & cr after tRez put tRez into field "test" /////////////////////////////////////////////////////////////////// Anyone? -- Nicolas Cueto _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sun Mar 18 22:49:22 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 18 Mar 2012 21:49:22 -0500 Subject: how to read/write data on Android? In-Reply-To: References: <4F6617F7.2070006@hyperactivesw.com> Message-ID: <4F669EB2.4000507@hyperactivesw.com> On 3/18/12 9:22 PM, Nicolas Cueto wrote: > put ("file:"& specialFolderPath("engine")& slash& > "titleAndUniqueIDindex.txt") into tPath > answer "File in engine exists:"&& there is a file tPath -- > confirms existence I'm sorry, I told you wrong. I didn't mean to put you through that. There won't be a file named "file:data/etc". It should have been: put specialFolderPath("engine") & slash & "titleAndUniqueIDindex.txt into tPath answer "File in engine exists:" && there is a file tPath if there is a file tPath then put url ("file:" & tPath into tData end if Does that work? If not, I'll try it tomorrow. I haven't actually tried including a text file with a build, but I've been including sounds using Copy Files and they're found okay with the above path. I also write text files to the documents folder and retrieve them with that path, and that works too. Sorry again, you're probably pretty frustrated by now. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From niconiko at gmail.com Sun Mar 18 22:54:06 2012 From: niconiko at gmail.com (Nicolas Cueto) Date: Mon, 19 Mar 2012 11:54:06 +0900 Subject: how to read/write data on Android? In-Reply-To: References: <4F6617F7.2070006@hyperactivesw.com> Message-ID: Further to this puzzle. Running this script from the tablet: set the folder to specialFolderPath("engine") put "Engine files:" & cr & the files into tResult will list the txt file I selected in Copy Files of standalone settings. So, the txt file is there, but the path I'm using for "put url" is not connecting to it. Argh. -- Nicolas Cueto From mikedoub at gmail.com Sun Mar 18 22:54:26 2012 From: mikedoub at gmail.com (mikedoub at gmail.com) Date: Mon, 19 Mar 2012 02:54:26 +0000 Subject: how to read/write data on Android? In-Reply-To: <4F669EB2.4000507@hyperactivesw.com> References: <4F6617F7.2070006@hyperactivesw.com> <4F669EB2.4000507@hyperactivesw.com> Message-ID: <1318983582-1332125666-cardhu_decombobulator_blackberry.rim.net-1290190401-@b17.c31.bise6.blackberry> I am trying a binary file. Is there any thing special about the type of the file? I would not expect so. -= Mike Sent from my BlackBerry device on the Rogers Wireless Network -----Original Message----- From: "J. Landman Gay" Sender: use-livecode-bounces at lists.runrev.com Date: Sun, 18 Mar 2012 21:49:22 To: How to use LiveCode Reply-To: How to use LiveCode Subject: Re: how to read/write data on Android? On 3/18/12 9:22 PM, Nicolas Cueto wrote: > put ("file:"& specialFolderPath("engine")& slash& > "titleAndUniqueIDindex.txt") into tPath > answer "File in engine exists:"&& there is a file tPath -- > confirms existence I'm sorry, I told you wrong. I didn't mean to put you through that. There won't be a file named "file:data/etc". It should have been: put specialFolderPath("engine") & slash & "titleAndUniqueIDindex.txt into tPath answer "File in engine exists:" && there is a file tPath if there is a file tPath then put url ("file:" & tPath into tData end if Does that work? If not, I'll try it tomorrow. I haven't actually tried including a text file with a build, but I've been including sounds using Copy Files and they're found okay with the above path. I also write text files to the documents folder and retrieve them with that path, and that works too. Sorry again, you're probably pretty frustrated by now. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sun Mar 18 22:58:14 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 18 Mar 2012 21:58:14 -0500 Subject: how to read/write data on Android? In-Reply-To: <1048154708-1332124536-cardhu_decombobulator_blackberry.rim.net-1132141705-@b17.c31.bise6.blackberry> References: <4F6617F7.2070006@hyperactivesw.com> <1048154708-1332124536-cardhu_decombobulator_blackberry.rim.net-1132141705-@b17.c31.bise6.blackberry> Message-ID: <4F66A0C6.80807@hyperactivesw.com> On 3/18/12 9:35 PM, mikedoub at gmail.com wrote: > Misery loves company. I saw your posting this morning so I tried to > save settings in my app. No Luck. I seem to be having the same > problem. Here's working code from Casey's Solitaire, built on Android, which reads and writes a text file. I don't include the file in Copy Files when doing the build, it's created on first launch instead, but I don't see why copying it to the app bundle won't work. I add sound files into the build with the Copy Files pane and they work okay. function readPrefsFile -- called elsewhere in the stack put getPrefsPath() into tPath if there is no file tPath then -- first launch put "false,false,false,true,true" into tData put tData into url ("file:" & tPath) else -- file exists put url ("file:" & tPath) into tData end if return tData end readPrefsFile on writePrefsFile pData put pData into url ("file:" & getPrefsPath()) end writePrefsFile function getPrefsPath -- return writable location if the environment = "mobile" then put specialFolderPath("documents") & slash & "Casey.dat" into tPath else -- desktop; use stack folder put the effective filename of this stack into tPath set the itemDelimiter to "/" put "Casey.dat" into last item of tPath end if return tPath end getPrefsPath -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Mar 18 23:01:11 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 18 Mar 2012 22:01:11 -0500 Subject: how to read/write data on Android? In-Reply-To: <1318983582-1332125666-cardhu_decombobulator_blackberry.rim.net-1290190401-@b17.c31.bise6.blackberry> References: <4F6617F7.2070006@hyperactivesw.com> <4F669EB2.4000507@hyperactivesw.com> <1318983582-1332125666-cardhu_decombobulator_blackberry.rim.net-1290190401-@b17.c31.bise6.blackberry> Message-ID: <4F66A177.7030504@hyperactivesw.com> On 3/18/12 9:54 PM, mikedoub at gmail.com wrote: > I am trying a binary file. Is there any thing special about the type > of the file? I would not expect so. Instead of "file:" you need to use "binfile:". Otherwise the paths will be the same. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bonnmike at gmail.com Sun Mar 18 23:04:15 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 18 Mar 2012 21:04:15 -0600 Subject: how to read/write data on Android? In-Reply-To: <1318983582-1332125666-cardhu_decombobulator_blackberry.rim.net-1290190401-@b17.c31.bise6.blackberry> References: <4F6617F7.2070006@hyperactivesw.com> <4F669EB2.4000507@hyperactivesw.com> <1318983582-1332125666-cardhu_decombobulator_blackberry.rim.net-1290190401-@b17.c31.bise6.blackberry> Message-ID: I'm not sure but I don't think you have to set the default folder to specialfolderpath("engine") pretty sure thats the default on start. And since you area already pointing there you don't need a path to get to the file, you might just try it as a relative file. put URL ("binfile:" & "myfile.txt") into tData Doing it the other way, I assume you've looked at the contents of tPath to see if it makes sense? after you set the defaultfolder to specialfolderpath("engine") you might compare the defaultfolder to specialfolderpath("engine") to see if something strange is going on there. Either way, if you can set the defaultfolder first and then just do the relative accessing at least you will hopefully be able to test other functionality while you sort out all the pathing issues. From rdimola at evergreeninfo.net Sun Mar 18 23:15:43 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sun, 18 Mar 2012 23:15:43 -0400 Subject: how to read/write data on Android? In-Reply-To: References: <4F6617F7.2070006@hyperactivesw.com> <4F669EB2.4000507@hyperactivesw.com> <1318983582-1332125666-cardhu_decombobulator_blackberry.rim.net-1290190401-@b17.c31.bise6.blackberry> Message-ID: <001201cd057e$9211f140$b635d3c0$@net> I use this to copy a PDF and use it later. You can't write to the engine folder. put specialFolderPath("engine") & slash into FileSrc put specialFolderPath("documents") & slash into FileDest if there is not a file (Filedest&"10Minutes on the CEO agenda.pdf") then --only copy first time. put url ("binfile:"&FileSrc&"10Minutes on the CEO agenda.pdf") into url ("binfile:"&FileDest&"10Minutes on the CEO agenda.pdf") end if Later I do this put "10Minutes on the CEO agenda.pdf" into fName put specialFolderPath("documents") & slash into Fpath put Fpath & Fname into FullFileName FullFileName now contains a fully qualified and read/writable file reference Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mike Bonner Sent: Sunday, March 18, 2012 11:04 PM To: How to use LiveCode Subject: Re: how to read/write data on Android? I'm not sure but I don't think you have to set the default folder to specialfolderpath("engine") pretty sure thats the default on start. And since you area already pointing there you don't need a path to get to the file, you might just try it as a relative file. put URL ("binfile:" & "myfile.txt") into tData Doing it the other way, I assume you've looked at the contents of tPath to see if it makes sense? after you set the defaultfolder to specialfolderpath("engine") you might compare the defaultfolder to specialfolderpath("engine") to see if something strange is going on there. Either way, if you can set the defaultfolder first and then just do the relative accessing at least you will hopefully be able to test other functionality while you sort out all the pathing issues. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From niconiko at gmail.com Sun Mar 18 23:47:24 2012 From: niconiko at gmail.com (Nicolas Cueto) Date: Mon, 19 Mar 2012 12:47:24 +0900 Subject: how to read/write data on Android? In-Reply-To: <4F669EB2.4000507@hyperactivesw.com> References: <4F6617F7.2070006@hyperactivesw.com> <4F669EB2.4000507@hyperactivesw.com> Message-ID: > Sorry again, you're probably pretty frustrated by now. Pretty. But not with you or your advice. Still most thankful for that. Because now, thanks to your help, I finally got it all working. And not only for reading but for writing data too. Again, thank you! P.S. Since my app's files don't seem to get listed in the Android file explorer, can I assume that'd only work with unrooted Android devices? -- Nicolas Cueto From warren at warrensweb.us Sun Mar 18 23:47:28 2012 From: warren at warrensweb.us (Warren Samples) Date: Sun, 18 Mar 2012 22:47:28 -0500 Subject: Serious Question about the list... In-Reply-To: References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> Message-ID: <4F66AC50.3060704@warrensweb.us> On 03/18/2012 08:51 AM, Mark Schonewille wrote: > I am automatically notified of any new message on this mailing list. I don't know of a way to do this with the forum messages (unless I'm already participating in the discussion) RSS works, although it's not quite as nice as a properly threaded mailbox, at least for those receiving all posts individually. (On my computer, Thunderbird does a horrible job of threading. Kmail is much better and when I ran OS X, Powermail did this perfectly.) Warren From jacque at hyperactivesw.com Mon Mar 19 00:15:46 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 18 Mar 2012 23:15:46 -0500 Subject: how to read/write data on Android? In-Reply-To: References: <4F6617F7.2070006@hyperactivesw.com> <4F669EB2.4000507@hyperactivesw.com> Message-ID: <4F66B2F2.3010508@hyperactivesw.com> On 3/18/12 10:47 PM, Nicolas Cueto wrote: > P.S. Since my app's files don't seem to get listed in the Android file > explorer, can I assume that'd only work with unrooted Android devices? I don't have a rooted device either so I can't look in the /data/ directory. Someone else may know what LiveCode puts in there. I'd like to know more about how it works. In any case, the files are always written to the same place, but an unrooted device does not have permissions to open the /data/ folder, and a file utility won't be able to see in there either. If you had root, you could probably find the files. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gcanyon at gmail.com Mon Mar 19 00:32:32 2012 From: gcanyon at gmail.com (Geoff Canyon) Date: Sun, 18 Mar 2012 23:32:32 -0500 Subject: Failing to understand the oddities of the "line" chunk In-Reply-To: <4F669339.7080403@hyperactivesw.com> References: <4F648EBA.3070004@tweedly.net> <4F64BCE3.1080904@hyperactivesw.com> <4F667553.4080503@tweedly.net> <4F669339.7080403@hyperactivesw.com> Message-ID: So from a consistency standpoint, you are certainly correct; putting something into a negative range should behave the same whether the chunk involved is characters, items, words, or lines. But I'd still argue that the use of "into" instead of "before" or "after" demands that the target resolve to a valid range, which should be replaced by the command. Trying to interpret it another way requires making an arbitrary decision about using the starting or ending part of the expression, and whether to put the string before or after that chunk -- arbitrary decisions that have obviously been made in different ways for lines and chars. On Sun, Mar 18, 2012 at 9:00 PM, J. Landman Gay wrote: > An inverted range in character chunking equates to an insertion point. > I.e., char 2 to 1 of a line is an insertion point after char 1. Testing for > range inversion is one way to know whether a selection has any content. > > The behavior with lines looks like the engine is attempting that but it > isn't acting the same. > > > > put "a"& cr into t;put "b" into line 2 to -1 of t > > equates to "put 'b' into line 2 to 1". If inverted ranges should yield an > insertion point, then the insertion should go after after line 1. So it > isn't acting quite the same way but it looks like it's supposed to. > From niconiko at gmail.com Mon Mar 19 01:14:14 2012 From: niconiko at gmail.com (Nicolas Cueto) Date: Mon, 19 Mar 2012 14:14:14 +0900 Subject: [Android] how to include folders and files Message-ID: More hand-holding, please. I read the release notes about Copy Files, but can't find an explanation on how to do the following. Given these two directories: gazou1 oto1 and given each of these two directory holds various files (jpg, au), what must I do to ensure that those directories and their contents get placed on my Android tablet during either "test" in the IDE or when building an apk to export for an install from the tablet. Thank you. -- Nicolas Cueto From rdimola at evergreeninfo.net Mon Mar 19 01:36:29 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 19 Mar 2012 01:36:29 -0400 Subject: how to read/write data on Android=?UTF-8?B?Pw==?= In-Reply-To: <4F66B2F2.3010508@hyperactivesw.com> References: <4F6617F7.2070006@hyperactivesw.com> <4F669EB2.4000507@hyperactivesw.com> <4F66B2F2.3010508@hyperactivesw.com> Message-ID: You need to root to see these files. The engine folder is a virtual folder that looks into the .apk that gets loaded on the device. That is why you cant write to it. An .apk is in zip format. If you want to look at a .apk... create a standalone app. Find the apk and rename it to .zip. when you look at it, the assets folder is where the engine folder points to on the device. So if you want to see exactly what is in the engine folder just look in the assets folder in the zip file. That always helps. Now if you are rooted you can look into the elusive data folder. the apk is located at data/app. The documents folder is located at data/data/com.reverse.dns/files where com.reverse.dns is what you entered in the standalone application settings. Now for the good news.....When you build for iOS the engine and documents folders work exactly the same to the LC programer. I hope this helps.... Ralph DiMola MIS Director Evergreen Information Services rdimola at evergreeninfo.net -----Original message----- From: "J. Landman Gay" To: How to use LiveCode Sent: Mon, Mar 19, 2012 04:15:46 GMT+00:00 Subject: Re: how to read/write data on Android? On 3/18/12 10:47 PM, Nicolas Cueto wrote: > P.S. Since my app's files don't seem to get listed in the Android file > explorer, can I assume that'd only work with unrooted Android devices? I don't have a rooted device either so I can't look in the /data/ directory. Someone else may know what LiveCode puts in there. I'd like to know more about how it works. In any case, the files are always written to the same place, but an unrooted device does not have permissions to open the /data/ folder, and a file utility won't be able to see in there either. If you had root, you could probably find the files. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Mon Mar 19 01:44:42 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 19 Mar 2012 01:44:42 -0400 Subject: [Android] how to include folders and files In-Reply-To: References: Message-ID: <55edce29-130c-48f4-9d75-cf74bc6e1e1f@blur> See my previous post. The copyfiles file list goes into the assets folder in the apk that becomes the engine folder. Any files that are not in the folders below the stack location got to the engine folder if the file in a sub directory of the stack then a sub folder is created in the assets/engine folder. Ralph DiMola MIS Director Evergreen Information Services rdimola at evergreeninfo.net -----Original message----- From: Nicolas Cueto To: LiveCode - general LiveCode Sent: Mon, Mar 19, 2012 05:14:14 GMT+00:00 Subject: [Android] how to include folders and files More hand-holding, please. I read the release notes about Copy Files, but can't find an explanation on how to do the following. Given these two directories: gazou1 oto1 and given each of these two directory holds various files (jpg, au), what must I do to ensure that those directories and their contents get placed on my Android tablet during either "test" in the IDE or when building an apk to export for an install from the tablet. Thank you. -- Nicolas Cueto _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Mar 19 02:12:49 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 19 Mar 2012 01:12:49 -0500 Subject: [Android] how to include folders and files In-Reply-To: References: Message-ID: <4F66CE61.6010509@hyperactivesw.com> On 3/19/12 12:14 AM, Nicolas Cueto wrote: > > what must I do to ensure that those directories and their contents get > placed on my Android tablet during either "test" in the IDE or when > building an apk to export for an install from the tablet. Add them using the Copy Files pane. Click the Folder button and select a folder. It will show in the list as the folder name followed by "/*". The path to a file inside a folder will be like this: specialFolderPath("engine") & "/foldername/file.png" -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Mar 19 02:14:48 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 19 Mar 2012 01:14:48 -0500 Subject: how to read/write data on Android? In-Reply-To: References: <4F6617F7.2070006@hyperactivesw.com> <4F669EB2.4000507@hyperactivesw.com> <4F66B2F2.3010508@hyperactivesw.com> Message-ID: <4F66CED8.5020401@hyperactivesw.com> On 3/19/12 12:36 AM, Ralph DiMola wrote: > Now if you are rooted you can look into the elusive data > folder. the apk is located at data/app. The documents folder is located > at data/data/com.reverse.dns/files where com.reverse.dns is what you > entered in the standalone application settings. Thanks. The paths were what I was curious about. Is cache there too? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From reichenbach.marek at gmail.com Mon Mar 19 04:44:18 2012 From: reichenbach.marek at gmail.com (Marek Reichenbach) Date: Mon, 19 Mar 2012 10:44:18 +0200 Subject: MySQL joined select In-Reply-To: <94AF8A9F-1294-4E3A-9CD8-6177D46B071F@economy-x-talk.com> References: <398B55B7-9521-4003-A80D-A0E970C99AAB@economy-x-talk.com> <9F070803-F5A1-469D-AF63-F9ACF826A3E7@economy-x-talk.com> <20B40CD0-529B-4124-B6CB-E2E12AA82AA5@economy-x-talk.com> <94AF8A9F-1294-4E3A-9CD8-6177D46B071F@economy-x-talk.com> Message-ID: Hi Mark. Sorry for bothering you again. Wanna ask you smth. In LiveCode If I have a result in MySQL like: SELECT days from travel; I get: 1234567 123456- 123456- 123---- 12345-7 (days from monday till sunday) Question. How can I make my result in form like: when i get for example: 1234567 -> i should get result +++++++, 123-56- I would get +++-++- . Help please. From sschvarstein at gmail.com Mon Mar 19 05:33:16 2012 From: sschvarstein at gmail.com (Sergio Schvarstein) Date: Mon, 19 Mar 2012 10:33:16 +0100 Subject: App Rejected: Crash reports Message-ID: <5725AA58-1197-4D4C-A730-78DECEAA430B@gmail.com> Thanks Jaque & Dar, I've sent the stack and the crash reports to RunRev support people at the same time than my original post to this forum and I am waiting for the answer. I've made some of the stress tests Dar suggests during the developing process and I never couldn't make it crash. Actually I have no crash reported in Xcode from my app during the whole developing process. I will try some more stress tests, but if it is really a random bug I feel I am in a big trouble, facing Apple and specially, facing my client. Let's see the support people answer. Meanwhile, is there any event in LiveCode for detecting a crash ? Does the closeStack works when a crash occurs ? Maybe I can detect at least in which card and circumstances the crash occurs adding some code to the closeStack event. Thanks and Best Regards. ______________________________ Sergio Schvarstein ______________________________ From sschvarstein at gmail.com Mon Mar 19 06:05:55 2012 From: sschvarstein at gmail.com (Sergio Schvarstein) Date: Mon, 19 Mar 2012 11:05:55 +0100 Subject: New Xcode 4.3.1 Message-ID: <53E61B3E-5210-404C-A576-474CD13774B5@gmail.com> Hi, Thanks for all the answers and I didn?t expect to generate such a debate about this issue. ;-) My previous version of Xcode was the 4.2 and I couldn?t find the 4.3 in the Apple developers site, as Mike suggests. So, I will keep my 4.2 files while waiting for the "official" LC solution. I hope it will work in the next LC version, isn't it ? When it is supposed to be released ? I am really very tired of fighting against leopards and lions and bears and mountains and and and ? I share the opinion that all this stuff is running backwards, probably to make us all to spend more money in their brilliant and amazing and exciting solutions ? :-( Best regards. ______________________________ Sergio Schvarstein ______________________________ From toolbook at kestner.de Mon Mar 19 07:08:47 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 19 Mar 2012 12:08:47 +0100 Subject: AW: how to resize icons when resizing objects? In-Reply-To: <32A4BDC9-EEA5-467E-88F6-91CE4C76AD5B@sonsothunder.com> References: <002d01cd01c0$69b72010$3d256030$@de> <32A4BDC9-EEA5-467E-88F6-91CE4C76AD5B@sonsothunder.com> Message-ID: <005701cd05c0$a8cbca40$fa635ec0$@de> Hi Ken, hmmm, didn't thought about that yet. A button with it's predefined different states was the first choice. I have to test, if Terrys approach or using just images is more efficient. Are you using images instead of buttons in such a case? Thanks Tiemo > > Is there a reason you're using buttons with icons instead of just image > objects in this instance? > > Ken Ray > Sons of Thunder Software, Inc. > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Mon Mar 19 09:30:37 2012 From: dsc at swcp.com (Dar Scott) Date: Mon, 19 Mar 2012 07:30:37 -0600 Subject: OS X application ID Message-ID: <259C512C-9396-42A9-A1E2-A7816385E9E6@swcp.com> I am pondering about how a handler that is part of the development of an application that is being created and tested in the IDE might know about the eventual OS X application ID of that app. Where is the OS X application ID saved by the standalone application settings window? I assume this is in a property of the stack. And if one happens to know these... What is the value when no settings have been set up? What is the value in standalones and in IDE stacks? Dar From dsc at swcp.com Mon Mar 19 09:51:54 2012 From: dsc at swcp.com (Dar Scott) Date: Mon, 19 Mar 2012 07:51:54 -0600 Subject: App Rejected: Crash reports In-Reply-To: <5725AA58-1197-4D4C-A730-78DECEAA430B@gmail.com> References: <5725AA58-1197-4D4C-A730-78DECEAA430B@gmail.com> Message-ID: On Mar 19, 2012, at 3:33 AM, Sergio Schvarstein wrote: > Actually I have no crash reported in Xcode from my app during the whole developing process. I think this is important. If I understand right, if you go and look at the crash logs for your test device or devices, that list is empty for this app. I have seen crashes on a quit or a kill by iOS and need to track that down, but your situation seems to be something else. The only other thing I can think of is sending reports to your externals suppliers, too. Are using iphoneControls and referring to them by ID? Might the ID be corrupted or used after a delete? (Just a wild guess.) I wish you well in tracking this down. I, too, would feel more at ease with this resolved. Dar From MikeKerner at roadrunner.com Mon Mar 19 10:38:50 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 19 Mar 2012 10:38:50 -0400 Subject: New Xcode 4.3.1 In-Reply-To: <53E61B3E-5210-404C-A576-474CD13774B5@gmail.com> References: <53E61B3E-5210-404C-A576-474CD13774B5@gmail.com> Message-ID: Sergio, 1) Log into developer.apple.com 2) Top left (Dev Centers) pick "iOS" 3) Scroll down to the "Downloads" section. 4) Top item is "Xcode 4.3.1 for Lion". Click on the button that says "Download XCode 4" 5) Below the break is a section that says "Download Xcode 4 for free." Below that is a subsection that says "Xcode 4.3.1 for Lion". at the bottom of that section is a bolded hader that says "Looking for additional developer tools?". Click the link that says "View Downloads" 6) Pick your poison. Note that there are 7 pages of downloads, including "Xcode 4.3 for Lion". I have not tried to run this in Snow Leopard, but if you're looking for 4.3, that's where it is. Click on the blue disclosure triangle to see the download link. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From ray at linkit.com Mon Mar 19 12:52:06 2012 From: ray at linkit.com (Ray Horsley) Date: Mon, 19 Mar 2012 11:52:06 -0500 Subject: Passkey in 5.5.0 In-Reply-To: References: Message-ID: <2F9C49B3-2962-4082-9477-D614B2229E83@LinkIt.Com> Create a new stack in 5.5.0 and the passKey property comes back as true. I'm not sure what that means since I thought passKeys were empty until set. Setting the passkey to the also no longer seems to unlock the stack. Anything new going on here? Thanks, Ray Horsley LinkIt! Software From jhurley0305 at sbcglobal.net Mon Mar 19 12:05:26 2012 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Mon, 19 Mar 2012 09:05:26 -0700 Subject: Text formatting for a slider In-Reply-To: References: Message-ID: I have a slider in which the showValue is set to true. Unfortunately, the card background is gray and the black slider value is very difficult to read. The inspector for the slider does not display an option for the foreground color. Why not? Using 4W Properties (thank you RIchard) the foreground color is listed as an option (and can be changed there, or from the msg box.) Why this omission in the Inspector? (LC version 4 AND 5.) Jim From scott at tactilemedia.com Mon Mar 19 13:22:06 2012 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 19 Mar 2012 09:22:06 -0800 Subject: Text formatting for a slider In-Reply-To: Message-ID: Hi Jim: The Inspector doesn't provide options for changing *every* possible property of objects. One could argue that it should, but doing so would likely consume a lot more screen real estate, so RunRev probably opted to show what they consider to be core properties. As you found, you can always test settings via the message box or object scripts. Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Jim Hurley wrote: > I have a slider in which the showValue is set to true. > > Unfortunately, the card background is gray and the black slider value is very > difficult to read. > > The inspector for the slider does not display an option for the foreground > color. Why not? > > Using 4W Properties (thank you RIchard) the foreground color is listed as an > option (and can be changed there, or from the msg box.) > > Why this omission in the Inspector? (LC version 4 AND 5.) > > > Jim > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Mar 19 12:47:23 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 19 Mar 2012 09:47:23 -0700 Subject: Failing to understand the oddities of the "line" chunk In-Reply-To: References: <4F648EBA.3070004@tweedly.net> <4F64BCE3.1080904@hyperactivesw.com> <4F667553.4080503@tweedly.net> <4F669339.7080403@hyperactivesw.com> Message-ID: <467A9992-42A4-47C8-82BE-BE585BE4F00D@twft.com> If it resolves to an insertion point, then it's doing exactly what you would expect. It's putting something into that insertion point. Bob On Mar 18, 2012, at 9:32 PM, Geoff Canyon wrote: > So from a consistency standpoint, you are certainly correct; putting > something into a negative range should behave the same whether the chunk > involved is characters, items, words, or lines. But I'd still argue that > the use of "into" instead of "before" or "after" demands that the target > resolve to a valid range, which should be replaced by the command. Trying > to interpret it another way requires making an arbitrary decision about > using the starting or ending part of the expression, and whether to put the > string before or after that chunk -- arbitrary decisions that have > obviously been made in different ways for lines and chars. > > > On Sun, Mar 18, 2012 at 9:00 PM, J. Landman Gay wrote: > >> An inverted range in character chunking equates to an insertion point. >> I.e., char 2 to 1 of a line is an insertion point after char 1. Testing for >> range inversion is one way to know whether a selection has any content. >> >> The behavior with lines looks like the engine is attempting that but it >> isn't acting the same. >> >> >>> put "a"& cr into t;put "b" into line 2 to -1 of t >> >> equates to "put 'b' into line 2 to 1". If inverted ranges should yield an >> insertion point, then the insertion should go after after line 1. So it >> isn't acting quite the same way but it looks like it's supposed to. >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ray at linkit.com Mon Mar 19 13:53:50 2012 From: ray at linkit.com (Ray Horsley) Date: Mon, 19 Mar 2012 12:53:50 -0500 Subject: Passkey in 5.5.0 References: <2F9C49B3-2962-4082-9477-D614B2229E83@LinkIt.Com> Message-ID: <4012E454-5FA0-49BE-B7E0-B4C90E8DE304@LinkIt.Com> After restoring Livecode 5.0.2 and the same stack from week-old backups I've realized this might be a compatibility issue regarding stacks saved in 5.0.2 and then reopened in 5.5 (rc 2). The stack's scripts can be opened and modified but objects themselves (such as buttons) can't be created deleted or modified. The Inspector and Code buttons in the Rev toolbar are also disabled opening the 5.0.2 created stack in 5.5. Thanks, Ray Horsley LinkIt! Software Begin forwarded message: > From: Ray Horsley > Date: March 19, 2012 11:52:06 AM CDT > To: How to use LiveCode > Subject: Passkey in 5.5.0 > > Create a new stack in 5.5.0 and the passKey property comes back as true. I'm not sure what that means since I thought passKeys were empty until set. Setting the passkey to the also no longer seems to unlock the stack. Anything new going on here? > > Thanks, > > Ray Horsley > LinkIt! Software From kray at sonsothunder.com Mon Mar 19 12:55:13 2012 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 19 Mar 2012 11:55:13 -0500 Subject: how to resize icons when resizing objects? In-Reply-To: <005701cd05c0$a8cbca40$fa635ec0$@de> References: <002d01cd01c0$69b72010$3d256030$@de> <32A4BDC9-EEA5-467E-88F6-91CE4C76AD5B@sonsothunder.com> <005701cd05c0$a8cbca40$fa635ec0$@de> Message-ID: <1A9CE861-1361-4F23-A47C-A8E362B1295E@sonsothunder.com> On Mar 19, 2012, at 6:08 AM, Tiemo Hollmann TB wrote: > Hi Ken, > hmmm, didn't thought about that yet. A button with it's predefined different > states was the first choice. I have to test, if Terrys approach or using > just images is more efficient. > Are you using images instead of buttons in such a case? If I need to have them resize with the stack, then yes (although I usually don't need that). The other thing you can do is to resize the images that are the icons of the buttons and then force the buttons to redraw (lock/unlock screen might work, otherwise you can "set the icon" of the buttons to their same values). Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From rdimola at evergreeninfo.net Mon Mar 19 13:11:03 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 19 Mar 2012 13:11:03 -0400 Subject: how to read/write data on Android? In-Reply-To: <4F66CED8.5020401@hyperactivesw.com> References: <4F6617F7.2070006@hyperactivesw.com> <4F669EB2.4000507@hyperactivesw.com> <4F66B2F2.3010508@hyperactivesw.com> <4F66CED8.5020401@hyperactivesw.com> Message-ID: <005801cd05f3$43dcad60$cb960820$@net> I don't know where the cache is. I will investigate. There is also 2 other folders in the data/data/com.reverse.dns/ folder. 1) lib. This is where the externals for things such as SQLite db support are located. 2) databases. There is a SQLite db here named lc_notification.db. it has 2 tables 1) "android_metadata" that specifies the local. 2) "notification" that is empty and I can only assume it's for push updates? Need to get clarification on this one. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay Sent: Monday, March 19, 2012 2:15 AM To: How to use LiveCode Subject: Re: how to read/write data on Android? On 3/19/12 12:36 AM, Ralph DiMola wrote: > Now if you are rooted you can look into the elusive data > folder. the apk is located at data/app. The documents folder is located > at data/data/com.reverse.dns/files where com.reverse.dns is what you > entered in the standalone application settings. Thanks. The paths were what I was curious about. Is cache there too? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Mar 19 13:13:29 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 19 Mar 2012 10:13:29 -0700 Subject: IphoneDeviceScale In-Reply-To: <4F64C0D2.5030001@hyperactivesw.com> References: <4F64C0D2.5030001@hyperactivesw.com> Message-ID: <9FE6AC7F-53F7-4EA2-8136-C364CDC5316C@twft.com> I don't think you can use an iPhone as a scale. I just stood on mine and now it doesn't work anymore. Bob On Mar 17, 2012, at 9:50 AM, J. Landman Gay wrote: > What does iPhoneDeviceScale return on the new iPad? Four? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Mar 19 13:14:20 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 19 Mar 2012 10:14:20 -0700 Subject: IphoneDeviceScale In-Reply-To: <4F64C0D2.5030001@hyperactivesw.com> References: <4F64C0D2.5030001@hyperactivesw.com> Message-ID: <455D43A9-7466-485C-BCAD-06C41BFF9A49@twft.com> Dang!! Doesn't work on my iPad either! Bob > I don't think you can use an iPhone as a scale. I just stood on mine and now it doesn't work anymore. > > Bob > > > On Mar 17, 2012, at 9:50 AM, J. Landman Gay wrote: > >> What does iPhoneDeviceScale return on the new iPad? Four? >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com > From bobs at twft.com Mon Mar 19 13:18:59 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 19 Mar 2012 10:18:59 -0700 Subject: queryregistry problem win In-Reply-To: <1BF246C0-9FC6-496C-9095-A42F4E9DFFA2@major.on-rev.com> References: <6CEF5770-558A-400D-ACEF-497B92609D7C@major.on-rev.com> <1331953194222-4479965.post@n4.nabble.com> <999BB5FD-5A7C-4A60-8D23-977839BC3EA7@major.on-rev.com> <1331996743513-4480707.post@n4.nabble.com> <1BF246C0-9FC6-496C-9095-A42F4E9DFFA2@major.on-rev.com> Message-ID: <2A88456E-FA46-4BDC-A5EF-D3053A6061C4@twft.com> Yes, some apps install registry keys with authentication that only the system can access. Bummer huh? Same thing with Posix permissions though. At least as an administrator you can change the permissions of the registry (or folder/file). It may be possible that you can authenticate as the Administrator account and have access that way. Not sure what you are doing but if you are shelling in try using the Administrator account, and ask the user for the credentials beforehand. Bob On Mar 18, 2012, at 7:23 AM, Klaus on-rev wrote: > Hi Thunder, > > Am 17.03.2012 um 16:05 schrieb Thunder: > >> Do you have read permission ? >> >> Check this : >> Start regedit.exe >> Right click DefaultProductKey >> Click on permission > > Ah, OK, thanks, will check this! > I thought ADMINISTARTOR would have direct access to everyting?! > > But if it does not work "right out of the box" then I won't be able to use it anyway ;-) > > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From francois.chaplais at mines-paristech.fr Mon Mar 19 13:24:48 2012 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Mon, 19 Mar 2012 18:24:48 +0100 Subject: IphoneDeviceScale In-Reply-To: <455D43A9-7466-485C-BCAD-06C41BFF9A49@twft.com> References: <4F64C0D2.5030001@hyperactivesw.com> <455D43A9-7466-485C-BCAD-06C41BFF9A49@twft.com> Message-ID: Try using a fish. Fish! Fish! my favorite dish! Fran?ois Le 19 mars 2012 ? 18:14, Bob Sneidar a ?crit : > Dang!! Doesn't work on my iPad either! > > Bob > > >> I don't think you can use an iPhone as a scale. I just stood on mine and now it doesn't work anymore. >> >> Bob >> >> >> On Mar 17, 2012, at 9:50 AM, J. Landman Gay wrote: >> >>> What does iPhoneDeviceScale return on the new iPad? Four? >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >> From klaus at major.on-rev.com Mon Mar 19 13:28:26 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Mon, 19 Mar 2012 18:28:26 +0100 Subject: queryregistry problem win In-Reply-To: <2A88456E-FA46-4BDC-A5EF-D3053A6061C4@twft.com> References: <6CEF5770-558A-400D-ACEF-497B92609D7C@major.on-rev.com> <1331953194222-4479965.post@n4.nabble.com> <999BB5FD-5A7C-4A60-8D23-977839BC3EA7@major.on-rev.com> <1331996743513-4480707.post@n4.nabble.com> <1BF246C0-9FC6-496C-9095-A42F4E9DFFA2@major.on-rev.com> <2A88456E-FA46-4BDC-A5EF-D3053A6061C4@twft.com> Message-ID: Hi Bob, Am 19.03.2012 um 18:18 schrieb Bob Sneidar: > Yes, some apps install registry keys with authentication that only the system can access. Bummer huh? Yep! > Same thing with Posix permissions though. At least as an administrator you can change the permissions of the registry (or folder/file). It may be possible that you can authenticate as the Administrator account and have access that way. Not sure what you are doing See my last mails, I will use another reg key instead. Will do for me. > but if you are shelling in try using the Administrator account, and ask the user for the credentials beforehand. ASK THE USER? Come on, Bob, I was exspecting a waaaaay more funny proposal from you! :-D > Bob > > On Mar 18, 2012, at 7:23 AM, Klaus on-rev wrote: >> Hi Thunder, >> Am 17.03.2012 um 16:05 schrieb Thunder: >>> Do you have read permission ? >>> Check this : >>> Start regedit.exe >>> Right click DefaultProductKey >>> Click on permission >> Ah, OK, thanks, will check this! >> I thought ADMINISTARTOR would have direct access to everyting?! >> But if it does not work "right out of the box" then I won't be able to use it anyway ;-) Best Klaus > -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From kray at sonsothunder.com Mon Mar 19 13:29:06 2012 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 19 Mar 2012 12:29:06 -0500 Subject: MySQL joined select In-Reply-To: References: <398B55B7-9521-4003-A80D-A0E970C99AAB@economy-x-talk.com> <9F070803-F5A1-469D-AF63-F9ACF826A3E7@economy-x-talk.com> <20B40CD0-529B-4124-B6CB-E2E12AA82AA5@economy-x-talk.com> <94AF8A9F-1294-4E3A-9CD8-6177D46B071F@economy-x-talk.com> Message-ID: <06104763-FB0E-4978-A9A0-CEB3D35C5737@sonsothunder.com> On Mar 19, 2012, at 3:44 AM, Marek Reichenbach wrote: > when i get for example: 1234567 -> i should get result +++++++, 123-56- I > would get +++-++- . The only way I know is kind of ugly, requiring seven nested REPLACE statements: SELECT REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE("123-56-","1","+"),"2","+"),"3","+"),"4","+"),"5","+"),"6","+"),"7","+") This would return: +++-++- Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From jacque at hyperactivesw.com Mon Mar 19 13:29:14 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 19 Mar 2012 12:29:14 -0500 Subject: Failing to understand the oddities of the "line" chunk In-Reply-To: <467A9992-42A4-47C8-82BE-BE585BE4F00D@twft.com> References: <4F648EBA.3070004@tweedly.net> <4F64BCE3.1080904@hyperactivesw.com> <4F667553.4080503@tweedly.net> <4F669339.7080403@hyperactivesw.com> <467A9992-42A4-47C8-82BE-BE585BE4F00D@twft.com> Message-ID: <4F676CEA.9010709@hyperactivesw.com> On 3/19/12 11:47 AM, Bob Sneidar wrote: > If it resolves to an insertion point, then it's doing exactly what > you would expect. It's putting something into that insertion point. That was my first reaction too, but on closer inspection it's putting the text into the wrong line. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Mar 19 13:36:48 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 19 Mar 2012 12:36:48 -0500 Subject: AW: how to resize icons when resizing objects? In-Reply-To: <005701cd05c0$a8cbca40$fa635ec0$@de> References: <002d01cd01c0$69b72010$3d256030$@de> <32A4BDC9-EEA5-467E-88F6-91CE4C76AD5B@sonsothunder.com> <005701cd05c0$a8cbca40$fa635ec0$@de> Message-ID: <4F676EB0.5090901@hyperactivesw.com> On 3/19/12 6:08 AM, Tiemo Hollmann TB wrote: > Hi Ken, > hmmm, didn't thought about that yet. A button with it's predefined different > states was the first choice. I use buttons for that too. The way to resize the icon is to resize the images you are using as icons. Then the button icon will also change size. Make sure the images are locked or they won't keep their new sizes. The script needs to adjust the image sizes before the card is drawn. Otherwise the icon won't change size until the next redraw, usually when the user presses the button or leaves the card and comes back. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Mar 19 13:39:41 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 19 Mar 2012 12:39:41 -0500 Subject: OS X application ID In-Reply-To: <259C512C-9396-42A9-A1E2-A7816385E9E6@swcp.com> References: <259C512C-9396-42A9-A1E2-A7816385E9E6@swcp.com> Message-ID: <4F676F5D.2090607@hyperactivesw.com> On 3/19/12 8:30 AM, Dar Scott wrote: > I am pondering about how a handler that is part of the development of > an application that is being created and tested in the IDE might know > about the eventual OS X application ID of that app. > > Where is the OS X application ID saved by the standalone application > settings window? > > I assume this is in a property of the stack. > > And if one happens to know these... What is the value when no > settings have been set up? What is the value in standalones and in > IDE stacks? All the standalone settings are stored in a custom property set of the stack called "cRevStandaloneSettings". Turn on "LiveCode UI Elements in Lists" under the View menu and you'll be able to see that property set in the stack inspector. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at mollysrevenge.com Mon Mar 19 13:42:14 2012 From: pete at mollysrevenge.com (Pete) Date: Mon, 19 Mar 2012 10:42:14 -0700 Subject: Failing to understand the oddities of the "line" chunk In-Reply-To: <4F676CEA.9010709@hyperactivesw.com> References: <4F648EBA.3070004@tweedly.net> <4F64BCE3.1080904@hyperactivesw.com> <4F667553.4080503@tweedly.net> <4F669339.7080403@hyperactivesw.com> <467A9992-42A4-47C8-82BE-BE585BE4F00D@twft.com> <4F676CEA.9010709@hyperactivesw.com> Message-ID: I can't help but feel that LC should flag a run time error in this situation. it's not logical for a range to have an end point less than its start point. Any other action requires an arbitrary decision on what the user wants to happen and, as evident from this thread, different users expect different things. Pete On Mon, Mar 19, 2012 at 10:29 AM, J. Landman Gay wrote: > On 3/19/12 11:47 AM, Bob Sneidar wrote: > >> If it resolves to an insertion point, then it's doing exactly what >> you would expect. It's putting something into that insertion point. >> > > That was my first reaction too, but on closer inspection it's putting the > text into the wrong line. > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From wwaldman at klht.org Mon Mar 19 13:43:24 2012 From: wwaldman at klht.org (William Waldman) Date: Mon, 19 Mar 2012 13:43:24 -0400 Subject: Programmer needed - SQL PHP and... In-Reply-To: References: Message-ID: Dear List: This may be a bit off-topic. Sorry about that. I have a long term software development project that I require help with. We are a K-12 independent school in Connecticut. The software is now in it's third version, and we are embarking on version four (from scratch). I anticipate this will be an ongoing project for years to come (in progress 7 years now). What we have currently represents a small subset of the capabilities we will eventually implement. It is implemented in our email/groupware system (FirstClass) but the plan is to abandon that platform due to performance and GUI limitations. This **may** be implemented as a LiveCode client, but so far I have thought in terms of an SQL/php backend, web frontend. Down the road, an iOS client will be needed. To give a thumbnail sketch: Data comes in from many sources: Blackbaud (our Student Information System), the College Board testing service (SAT scores, ACT, other tests), on-line forms....lot's of tab delimited data. In addition, people (using the system) add more data to the related records. Point is - this is more than a viewer - it's also a system for adding and tracking data on students. Eventually, this will become the basis for a number of in-house systems that groups (such as the IT dept, College Counseling dept., Student Health, etc) will use. Anybody want to discuss this more? I have a short lead time - I need version 4 for June. Thanks! Bill Waldman Director of Technology King Low Heywood Thomas School 1450 Newfield Avenue Stamford, CT 06905 www.klht.org


This e-mail and any attachments may contain confidential and privileged information. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this e-mail and any attachments and destroy any copies. Any dissemination or use of this information by a person other than the intended recipient is unauthorized. From bobs at twft.com Mon Mar 19 13:43:49 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 19 Mar 2012 10:43:49 -0700 Subject: What should an undo/redo mechanism do ? In-Reply-To: <4F667A12.4090901@tweedly.net> References: <4F667A12.4090901@tweedly.net> Message-ID: On Mar 18, 2012, at 5:13 PM, Alex Tweedly wrote: > > The question here is not about how to implement undo/redo (that's relatively straightforward), but rather about the *idea* of undo/redo. I see a few issues that I'd like to hear opinions about : > > 1. the result (if any) of doing a 'save'. > Should the undo history get wiped when the user saves a document ? > (i.e. I can undo back as far as the last save, and no further) > Or should I be able to undo all the way to the start of this session ? > Or, indeed, should I store the undo history with the 'save', so that I can undo all the way back to the creation of the document ? I think it depends on the app. You would not want much of an undo function in an Accounting app for obvious reasons. On the other hand, the benefit of going backwards (and forwards again) in a photo editing or CAD application, even through multiple saves is also obvious. > > (I have seen each of the above, and can't decide which one I think is better :-) > > 2. Does inserting multiple characters count as a single event for undo-ing ? > Let's say I click somewhere in a doc, and then type "a" "b" "c" (i.e. abc) > If I then undo, should it remove just the 'c', or all 3 chars ('abc') ? > > If you said 'all three', then there's a follow-up question > - if I type 'a' 'b' right-arrow left-arrow 'c' (i.e. move the insertion cursor, but bring it back again) > does that make it into two separate insertion events, or still just one ? I think that a single undo for a text field should unto the last complete edit of that field between the openField and the closeField event. More that that would become incredibly tedious and people would not use it. > > 3. Is the intent to undo user actions, or to undo events that affect a document ? > > For instance, if I type 'a' 'b' "Italics" 'c' "undo" should I be left in italic or normal insertion mode ? > Should a subsequent "undo" then simply change the insertion mode, or should it remove the "ab" ? Undo should not be confused with Revert To Last Saved. Undo is for most purposes, a save event to save event feature. When things get really out of hand, Revert To Last Saved is what the user should opt for. > > 4. Should I stop worrying about this and just do any one of the above - users are grateful for any system that let's them undo multiple times and will get used to it :-) Again, depends on the App. If it's a data entry thing, I typically enter an edit state, where the user can choose to cancel or save his multiple edits. This gives the user a sense of security, knowing that the changes he is making are going to have no effect until he intentionally pushes the Save button, and even then you can confirm the choice. > > Thanks for any opinions > -- Alex. NP. Bob. From bobs at twft.com Mon Mar 19 13:49:58 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 19 Mar 2012 10:49:58 -0700 Subject: Serious Question about the list... In-Reply-To: References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> Message-ID: I use this because for whatever reason forum posts show up in my main mailbox even though I have a rule to put posts into a special folder when they come in. Bob On Mar 18, 2012, at 6:32 AM, Richard MacLemale wrote: > Here's my serious question. Why do so many people "in the know" use the list instead of the official RunRev LiveCode forums? Forums have so many advantages over mailing lists - they're easier to read, they're easier to search, you can access them from anywhere, I could keep going. I'm just curious as to why the best LiveCoders spend more time here than in the forums? There are people who participate in both - I see Jacque and Klaus in there all the time and I probably owe Klaus a case of beer at this point... > > Anyway, just curious? > > --- > Richard MacLemale > Music = http://www.richardmac.com > Programming = http://www.macandchee.se > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Mon Mar 19 13:50:51 2012 From: pete at mollysrevenge.com (Pete) Date: Mon, 19 Mar 2012 10:50:51 -0700 Subject: OS X application ID In-Reply-To: <4F676F5D.2090607@hyperactivesw.com> References: <259C512C-9396-42A9-A1E2-A7816385E9E6@swcp.com> <4F676F5D.2090607@hyperactivesw.com> Message-ID: But be careful - those properties aren't carried over to the standalone so if you need access to them in the standalone as well as the IDE, you'll need to grab them and put them into your own custom properties, possibly in the savingStandalone handler. Pete On Mon, Mar 19, 2012 at 10:39 AM, J. Landman Gay wrote: > On 3/19/12 8:30 AM, Dar Scott wrote: > >> I am pondering about how a handler that is part of the development of >> an application that is being created and tested in the IDE might know >> about the eventual OS X application ID of that app. >> >> Where is the OS X application ID saved by the standalone application >> settings window? >> >> I assume this is in a property of the stack. >> >> And if one happens to know these... What is the value when no >> settings have been set up? What is the value in standalones and in >> IDE stacks? >> > > All the standalone settings are stored in a custom property set of the > stack called "cRevStandaloneSettings". Turn on "LiveCode UI Elements in > Lists" under the View menu and you'll be able to see that property set in > the stack inspector. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From bobs at twft.com Mon Mar 19 13:51:40 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 19 Mar 2012 10:51:40 -0700 Subject: New Xcode 4.3.1 In-Reply-To: References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> Message-ID: <3CEB8B88-4AB9-40DF-A54C-BCCC2A539F91@twft.com> I'll bet, not knowing for sure, that if you hold down the shift key when you log in, the Finder will not re-open all those apps. Bob On Mar 18, 2012, at 8:25 AM, Roger Eller wrote: > On Sat, Mar 17, 2012 at 10:25 PM, J. Landman Gay wrote: > >> >> I don't want Lion. Apparently that's moot. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com > > > Really, Lion isn't so bad after you adjust its insane default mouse > preferences. I can see that on a trackpad or touchscreen, you might want > to 'push' the page when you pan. But with a mouse scrollwheel, it just > feels wrong. So I uncheck that option. There's also a default setting to > always re-open every freakin' document I had open the last time I used this > application. That one was really irritating. And in the event of a crash, > when you reboot, every app and document you had open will re-open (and you > can't change that one). > > Regarding crashing, it doesn't crash often. It is quite stable, but when/if > it does, the above applies. If you restart, you have to un-check the > option to re-open everything (unless that's what you want). > > As 7 of 9 (of Star Trek Voyager) would say, "You will - adapt." > > ~Roger > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Mar 19 13:54:04 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 19 Mar 2012 12:54:04 -0500 Subject: Failing to understand the oddities of the "line" chunk In-Reply-To: References: <4F648EBA.3070004@tweedly.net> <4F64BCE3.1080904@hyperactivesw.com> <4F667553.4080503@tweedly.net> <4F669339.7080403@hyperactivesw.com> <467A9992-42A4-47C8-82BE-BE585BE4F00D@twft.com> <4F676CEA.9010709@hyperactivesw.com> Message-ID: <4F6772BC.1050005@hyperactivesw.com> On 3/19/12 12:42 PM, Pete wrote: > I can't help but feel that LC should flag a run time error in this > situation. it's not logical for a range to have an end point less than its > start point. Any other action requires an arbitrary decision on what the > user wants to happen and, as evident from this thread, different users > expect different things. I think it should behave the same way character selections do. A negative range has been a valid construct since HyperCard and is, actually, the only way to set the insertion point by script. It's a necessary feature. When applied to lines instead of characters, the current implementation isn't following the same rules. My choice would be to make it consistent with the established behavior for character ranges. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Mon Mar 19 13:55:57 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 19 Mar 2012 10:55:57 -0700 Subject: queryregistry problem win In-Reply-To: References: <6CEF5770-558A-400D-ACEF-497B92609D7C@major.on-rev.com> <1331953194222-4479965.post@n4.nabble.com> <999BB5FD-5A7C-4A60-8D23-977839BC3EA7@major.on-rev.com> <1331996743513-4480707.post@n4.nabble.com> <1BF246C0-9FC6-496C-9095-A42F4E9DFFA2@major.on-rev.com> <2A88456E-FA46-4BDC-A5EF-D3053A6061C4@twft.com> Message-ID: <00DDCCEF-8217-4677-A2C4-E51F8054758A@twft.com> I come from an IT background, so from my perspective, if the user does not know the password to the Administrator account, they should probably not be installing software. But the more I think about it, most home users do not even KNOW there is an Administrator account! Ick! Bob On Mar 19, 2012, at 10:28 AM, Klaus on-rev wrote: >> but if you are shelling in try using the Administrator account, and ask the user for the credentials beforehand. > > ASK THE USER? > Come on, Bob, I was exspecting a waaaaay more funny proposal from you! :-D > >> Bob From sschvarstein at gmail.com Mon Mar 19 13:58:57 2012 From: sschvarstein at gmail.com (Sergio Schvarstein) Date: Mon, 19 Mar 2012 18:58:57 +0100 Subject: App Rejected: Crash reports Message-ID: <4FB58F82-A383-434F-B40A-C2ECD59B8437@gmail.com> Thanks again Dar :-) I am not using any external resource, other than LiveCode. The only external resource my app really uses is the data (csv files), the images (jpg files) and a couple of videos (mp4), which are all allocated in a web server. I also access and show a couple of websites, which are shown in a browser using iPhoneControls statements. When I use this iPhoneControls I always include a statement for deleting any iPhoneControls existing instance before opening a new one. Videos are also shown using iPhoneControls. I also use a very simple data picker, using iPhonePick. I will check the IDs and if everything is well protected for this kind of issues. How can I know if they are corrupted ? I also think there are certain probabilities that a crash can happen if the web server fails for any reason. I make several controls, for example, if a file is not found. But I cannot control if an image file is damaged or fails to load by a different reason. Also, I don't know how to control several iOS external events. For example, what happens if a phone call arrives while the data are loading ? What happens if an external iOS notification is shown ? I coudn't find any code for managing these kind of external events. Do they exist ? Thanks a lot for your interest and your time. :-) ______________________________ Sergio Schvarstein sschvarstein at gmail.com ______________________________ From sschvarstein at gmail.com Mon Mar 19 14:02:32 2012 From: sschvarstein at gmail.com (Sergio Schvarstein) Date: Mon, 19 Mar 2012 19:02:32 +0100 Subject: New Xcode 4.3.1 In-Reply-To: References: Message-ID: <09772BCF-2734-4A4E-9F9F-5D46136F6952@gmail.com> Thanks Mike ! Really a brilliant guided tour ! :-D I've got it and I am downloading it now. Thanks ++ ______________________________ Sergio Schvarstein ______________________________ El 19/03/2012, a las 18:00, use-livecode-request at lists.runrev.com escribi?: > Sergio, > > 1) Log into developer.apple.com > 2) Top left (Dev Centers) pick "iOS" > 3) Scroll down to the "Downloads" section. > 4) Top item is "Xcode 4.3.1 for Lion". Click on the button that says > "Download XCode 4" > 5) Below the break is a section that says "Download Xcode 4 for free." > Below that is a subsection that says "Xcode 4.3.1 for Lion". at the bottom > of that section is a bolded hader that says "Looking for additional > developer tools?". Click the link that says "View Downloads" > 6) Pick your poison. Note that there are 7 pages of downloads, including > "Xcode 4.3 for Lion". I have not tried to run this in Snow Leopard, but if > you're looking for 4.3, that's where it is. Click on the blue disclosure > triangle to see the download link. From richmondmathewson at gmail.com Mon Mar 19 14:09:07 2012 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 19 Mar 2012 20:09:07 +0200 Subject: Text formatting for a slider In-Reply-To: References: Message-ID: <4F677643.6080205@gmail.com> On 03/19/2012 06:05 PM, Jim Hurley wrote: > I have a slider in which the showValue is set to true. > > Unfortunately, the card background is gray and the black slider value is very difficult to read. > > The inspector for the slider does not display an option for the foreground color. Why not? > > Using 4W Properties (thank you RIchard) the foreground color is listed as an option (and can be changed there, or from the msg box.) > > Why this omission in the Inspector? (LC version 4 AND 5.) Almost all object have a vast number of options that one can fiddle around with; the Props Inspector only displays a subset of them; why? I don't know, but I can hazard a guess: a Props Inspector that displayed ALL the props of each object might be so unwieldy as to be virtually unusable. "Just for fun" . . . Set up a new stack with a scrollingListField field called "PROPPS" and try this in the MessageBox: put the propertyNames into fld "PROPPS" and "blow your mind" . . . :) > > > Jim > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major.on-rev.com Mon Mar 19 14:13:13 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Mon, 19 Mar 2012 19:13:13 +0100 Subject: queryregistry problem win In-Reply-To: <00DDCCEF-8217-4677-A2C4-E51F8054758A@twft.com> References: <6CEF5770-558A-400D-ACEF-497B92609D7C@major.on-rev.com> <1331953194222-4479965.post@n4.nabble.com> <999BB5FD-5A7C-4A60-8D23-977839BC3EA7@major.on-rev.com> <1331996743513-4480707.post@n4.nabble.com> <1BF246C0-9FC6-496C-9095-A42F4E9DFFA2@major.on-rev.com> <2A88456E-FA46-4BDC-A5EF-D3053A6061C4@twft.com> <00DDCCEF-8217-4677-A2C4-E51F8054758A@twft.com> Message-ID: <514F0504-DC57-45BA-B00D-A266BE469353@major.on-rev.com> Hi Bob, Am 19.03.2012 um 18:55 schrieb Bob Sneidar: > I come from an IT background, so from my perspective, if the user does not know the password to the Administrator account, they should probably not be installing software. But the more I think about it, most home users do not even KNOW there is an Administrator account! Ick! thanks, that was more like it! ;-) > Bob > > On Mar 19, 2012, at 10:28 AM, Klaus on-rev wrote: >>> but if you are shelling in try using the Administrator account, and ask the user for the credentials beforehand. >> ASK THE USER? >> Come on, Bob, I was exspecting a waaaaay more funny proposal from you! :-D Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From richmondmathewson at gmail.com Mon Mar 19 14:22:18 2012 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 19 Mar 2012 20:22:18 +0200 Subject: [OT] Battery slurping Message-ID: <4F67795A.4000800@gmail.com> This, if it is true, is rather worrying for those of you developing for handhelds: http://www.bbc.co.uk/news/technology-17431109 From pete at mollysrevenge.com Mon Mar 19 14:42:46 2012 From: pete at mollysrevenge.com (Pete) Date: Mon, 19 Mar 2012 11:42:46 -0700 Subject: Text formatting for a slider In-Reply-To: <4F677643.6080205@gmail.com> References: <4F677643.6080205@gmail.com> Message-ID: Yeah, but that displays all possible properties of any object. The "properties" property of an object gets you an array of properties for a specific object. Still a long list mind you, and not a complete list either according to the dictionary. I think you're probably right that it would make the inspector windows very unwieldy to include all properties. The problem is that by leaving some of them out, arbitrarily, it gives the impression that they aren't available, especially to new users. I remember when I first started using LC and wanted to set the behavior of an option menu button - there's no inspector window behavior field so I just assumed it wasn't possible for some reason and went down a different, much more complicated path. Seems like it would have been trivial to include one more option in the inspector option menu for "All Properties" or something similar. I ended up writing my own plugin to show all the properties of a selected object and allow me to change any of them. Pete On Mon, Mar 19, 2012 at 11:09 AM, Richmond wrote: > On 03/19/2012 06:05 PM, Jim Hurley wrote: > >> I have a slider in which the showValue is set to true. >> >> Unfortunately, the card background is gray and the black slider value is >> very difficult to read. >> >> The inspector for the slider does not display an option for the >> foreground color. Why not? >> >> Using 4W Properties (thank you RIchard) the foreground color is listed as >> an option (and can be changed there, or from the msg box.) >> >> Why this omission in the Inspector? (LC version 4 AND 5.) >> > > Almost all object have a vast number of options that one can fiddle around > with; the Props Inspector only > displays a subset of them; why? I don't know, but I can hazard a guess: > > a Props Inspector that displayed ALL the props of each object might be so > unwieldy as to be virtually unusable. > > "Just for fun" . . . > > Set up a new stack with a scrollingListField field called "PROPPS" > > and try this in the MessageBox: > > put the propertyNames into fld "PROPPS" > > and "blow your mind" . . . :) > > >> >> Jim >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From bobs at twft.com Mon Mar 19 14:47:59 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 19 Mar 2012 11:47:59 -0700 Subject: [OT] Battery slurping In-Reply-To: <4F67795A.4000800@gmail.com> References: <4F67795A.4000800@gmail.com> Message-ID: Doesn't surprise me. I don't think knowing this will change people's attitudes towards ad driven apps though. Hopefully, someone will develop a better battery technology, and it won't be a problem anymore. Myself, I just ordered a Mophie Battery pack for my iPhone because it doesn't last as long as I like given the way I use it, and I do not play any games on it, and have very few ad enabled apps. Bob On Mar 19, 2012, at 11:22 AM, Richmond wrote: > This, if it is true, is rather worrying for those of you developing for handhelds: > > http://www.bbc.co.uk/news/technology-17431109 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From kray at sonsothunder.com Mon Mar 19 16:25:45 2012 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 19 Mar 2012 15:25:45 -0500 Subject: New Xcode 4.3.1 In-Reply-To: <4F662976.9020301@hyperactivesw.com> References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> <4F661C68.8000909@hyperactivesw.com> <4F662976.9020301@hyperactivesw.com> Message-ID: <72D4213B-C966-44EE-9ADB-83477E31B3F0@sonsothunder.com> On Mar 18, 2012, at 1:29 PM, J. Landman Gay wrote: > On 3/18/12 1:13 PM, stephen barncard wrote: >> Also they have basically de-balled two included apps that I depended on - >> Preview and TextEdit - due to the removal of the Save As feature, > > Apparently all apps will follow suit eventually: > > > One more thing to add to my list. This is actually a lot uglier when you try to "Save as" a file on a locked volume to another place - you get multiple steps and tirades of dialogs informing you why you can't save the original file (which you weren't trying to do in the first place)? I'm just waiting for someone to write an OS extension that puts Save As back in the File menu? :D Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From rdimola at evergreeninfo.net Mon Mar 19 16:40:59 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 19 Mar 2012 16:40:59 -0400 Subject: New Xcode 4.3.1 In-Reply-To: <72D4213B-C966-44EE-9ADB-83477E31B3F0@sonsothunder.com> References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> <4F661C68.8000909@hyperactivesw.com> <4F662976.9020301@hyperactivesw.com> <72D4213B-C966-44EE-9ADB-83477E31B3F0@sonsothunder.com> Message-ID: <007f01cd0610$97d95ae0$c78c10a0$@net> What language is this article in? " "Save As" is dying. The Lion API establishes these changes." ?????????? "Now because of these changes, the traditional "Save As" command no longer makes since." Since???????? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Ken Ray Sent: Monday, March 19, 2012 4:26 PM To: How to use LiveCode Subject: Re: New Xcode 4.3.1 On Mar 18, 2012, at 1:29 PM, J. Landman Gay wrote: > On 3/18/12 1:13 PM, stephen barncard wrote: >> Also they have basically de-balled two included apps that I depended on - >> Preview and TextEdit - due to the removal of the Save As feature, > > Apparently all apps will follow suit eventually: > > > One more thing to add to my list. This is actually a lot uglier when you try to "Save as" a file on a locked volume to another place - you get multiple steps and tirades of dialogs informing you why you can't save the original file (which you weren't trying to do in the first place). I'm just waiting for someone to write an OS extension that puts Save As back in the File menu. :D Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From reichenbach.marek at gmail.com Mon Mar 19 17:04:57 2012 From: reichenbach.marek at gmail.com (Marek) Date: Mon, 19 Mar 2012 23:04:57 +0200 Subject: MySQL joined select In-Reply-To: <06104763-FB0E-4978-A9A0-CEB3D35C5737@sonsothunder.com> References: <398B55B7-9521-4003-A80D-A0E970C99AAB@economy-x-talk.com> <9F070803-F5A1-469D-AF63-F9ACF826A3E7@economy-x-talk.com> <20B40CD0-529B-4124-B6CB-E2E12AA82AA5@economy-x-talk.com> <94AF8A9F-1294-4E3A-9CD8-6177D46B071F@economy-x-talk.com> <06104763-FB0E-4978-A9A0-CEB3D35C5737@sonsothunder.com> Message-ID: Thanks a lot! That helped me a lot man. Marek Reichenbach On 2012 Kov. 19, at 19:29, Ken Ray wrote: > > On Mar 19, 2012, at 3:44 AM, Marek Reichenbach wrote: >> when i get for example: 1234567 -> i should get result +++++++, 123-56- I >> would get +++-++- . > > The only way I know is kind of ugly, requiring seven nested REPLACE statements: > > SELECT REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE("123-56-","1","+"),"2","+"),"3","+"),"4","+"),"5","+"),"6","+"),"7","+") > > This would return: > > +++-++- > > > Ken Ray > Sons of Thunder Software, Inc. > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Mon Mar 19 17:15:00 2012 From: pete at mollysrevenge.com (Pete) Date: Mon, 19 Mar 2012 14:15:00 -0700 Subject: MySQL joined select In-Reply-To: References: <398B55B7-9521-4003-A80D-A0E970C99AAB@economy-x-talk.com> <9F070803-F5A1-469D-AF63-F9ACF826A3E7@economy-x-talk.com> <20B40CD0-529B-4124-B6CB-E2E12AA82AA5@economy-x-talk.com> <94AF8A9F-1294-4E3A-9CD8-6177D46B071F@economy-x-talk.com> <06104763-FB0E-4978-A9A0-CEB3D35C5737@sonsothunder.com> Message-ID: I wonder if there might be a less ugly way to do this in LC instead of SQL... Pete On Mon, Mar 19, 2012 at 2:04 PM, Marek wrote: > Thanks a lot! That helped me a lot man. > > Marek Reichenbach > > On 2012 Kov. 19, at 19:29, Ken Ray wrote: > > > > > On Mar 19, 2012, at 3:44 AM, Marek Reichenbach wrote: > >> when i get for example: 1234567 -> i should get result +++++++, 123-56- > I > >> would get +++-++- . > > > > The only way I know is kind of ugly, requiring seven nested REPLACE > statements: > > > > SELECT > REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE("123-56-","1","+"),"2","+"),"3","+"),"4","+"),"5","+"),"6","+"),"7","+") > > > > This would return: > > > > +++-++- > > > > > > Ken Ray > > Sons of Thunder Software, Inc. > > Email: kray at sonsothunder.com > > Web Site: http://www.sonsothunder.com/ > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From mwieder at ahsoftware.net Mon Mar 19 17:55:18 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 19 Mar 2012 21:55:18 +0000 (UTC) Subject: MySQL joined select References: <398B55B7-9521-4003-A80D-A0E970C99AAB@economy-x-talk.com> <9F070803-F5A1-469D-AF63-F9ACF826A3E7@economy-x-talk.com> <20B40CD0-529B-4124-B6CB-E2E12AA82AA5@economy-x-talk.com> <94AF8A9F-1294-4E3A-9CD8-6177D46B071F@economy-x-talk.com> <06104763-FB0E-4978-A9A0-CEB3D35C5737@sonsothunder.com> Message-ID: Pete writes: > > I wonder if there might be a less ugly way to do this in LC instead of > SQL... put replacetext(inputString, "[1-7]", "+") into tNewText -- Mark Wieder From jhurley0305 at sbcglobal.net Mon Mar 19 17:57:23 2012 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Mon, 19 Mar 2012 14:57:23 -0700 Subject: Text formatting for a slider In-Reply-To: References: Message-ID: Pete, Yes, my feeling exactly. It looks like there was a conscious effort to omit the foregroundColor for the slider (and scollbar as well). I was worried that it was to be deprecated. (I wasn't concerned about ALL the properties being in the Inspector. It is odd, however, that there is a place for the foreGroundColor property, an icon but no defining text, but no way to access it. I suspect RR got distracted while implementing the slider Inspector.) You might want to check out Richard's 4wProps (under the Development/Plugins menu). Easy access to all the properties. Occasionally I have found (legendary) Renaldi's SmartProperties invalueable. It allows one to compare side by side the properties to two objects. It is valuable in finding out why two, apparently identical, controls behave or look different. Jim Hurley > Message: 24 > Date: Mon, 19 Mar 2012 11:42:46 -0700 > From: Pete > To: How to use LiveCode > Subject: Re: Text formatting for a slider > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > Yeah, but that displays all possible properties of any object. The > "properties" property of an object gets you an array of properties for a > specific object. Still a long list mind you, and not a complete list > either according to the dictionary. > > I think you're probably right that it would make the inspector windows very > unwieldy to include all properties. The problem is that by leaving some of > them out, arbitrarily, it gives the impression that they aren't available, > especially to new users. I remember when I first started using LC and > wanted to set the behavior of an option menu button - there's no inspector > window behavior field so I just assumed it wasn't possible for some reason > and went down a different, much more complicated path. > > Seems like it would have been trivial to include one more option in the > inspector option menu for "All Properties" or something similar. I ended > up writing my own plugin to show all the properties of a selected object > and allow me to change any of them. > > Pete > > On Mon, Mar 19, 2012 at 11:09 AM, Richmond wrote: > >> On 03/19/2012 06:05 PM, Jim Hurley wrote: >> >>> I have a slider in which the showValue is set to true. >>> >>> Unfortunately, the card background is gray and the black slider value is >>> very difficult to read. >>> >>> The inspector for the slider does not display an option for the >>> foreground color. Why not? >>> >>> Using 4W Properties (thank you RIchard) the foreground color is listed as >>> an option (and can be changed there, or from the msg box.) >>> >>> Why this omission in the Inspector? (LC version 4 AND 5.) >>> >> >> Almost all object have a vast number of options that one can fiddle around >> with; the Props Inspector only >> displays a subset of them; why? I don't know, but I can hazard a guess: >> >> a Props Inspector that displayed ALL the props of each object might be so >> unwieldy as to be virtually unusable. >> >> "Just for fun" . . . >> >> Set up a new stack with a scrollingListField field called "PROPPS" >> >> and try this in the MessageBox: >> >> put the propertyNames into fld "PROPPS" >> >> and "blow your mind" . . . :) >> >> >>> >>> Jim >>> ______________________________**_________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/**mailman/listinfo/use-livecode >>> >> From jrvalent at wisc.edu Mon Mar 19 18:08:59 2012 From: jrvalent at wisc.edu (rand valentine) Date: Mon, 19 Mar 2012 17:08:59 -0500 Subject: using a special keyboard in livecode fields (in Windows 7) Message-ID: <000f01cd061c$e2a68ff0$a7f3afd0$@wisc.edu> Hi, guys. Here?s another Unicode-related question. How can I use a Unicode keyboard to type in a Livecode field? I?m working with an American Indian language (called Hoca?k), and I need to be able to type characters such as s?, g? and a?a?. I can put them into a field with Unicode commands, but when I try and type in a field using the special keyboard (a system-level thing), the keyboard seems to be ignored. Is there some trick to this? Thanks so much. rand valentine university of wisconsin-madison From tolistim at me.com Mon Mar 19 18:09:54 2012 From: tolistim at me.com (Tim Jones) Date: Mon, 19 Mar 2012 15:09:54 -0700 Subject: New Xcode 4.3.1 In-Reply-To: <007f01cd0610$97d95ae0$c78c10a0$@net> References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> <4F661C68.8000909@hyperactivesw.com> <4F662976.9020301@hyperactivesw.com> <72D4213B-C966-44EE-9ADB-83477E31B3F0@sonsothunder.com> <007f01cd0610$97d95ae0$c78c10a0$@net> Message-ID: <8A2CDF1F-A17C-4A51-B4E6-0ADFD0287B9A@me.com> On Mar 19, 2012, at 1:40 PM, Ralph DiMola wrote: > What language is this article in? > " "Save As" is dying. The Lion API establishes these changes." ?????????? > "Now because of these changes, the traditional "Save As" command no longer > makes since." Since???????? Uh oh, looks like somebody's koolaid is wearing off. Eveyone knows that this is Apple-ese. Tim From bobs at twft.com Mon Mar 19 18:29:21 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 19 Mar 2012 15:29:21 -0700 Subject: New Xcode 4.3.1 In-Reply-To: <8A2CDF1F-A17C-4A51-B4E6-0ADFD0287B9A@me.com> References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> <4F661C68.8000909@hyperactivesw.com> <4F662976.9020301@hyperactivesw.com> <72D4213B-C966-44EE-9ADB-83477E31B3F0@sonsothunder.com> <007f01cd0610$97d95ae0$c78c10a0$@net> <8A2CDF1F-A17C-4A51-B4E6-0ADFD0287B9A@me.com> Message-ID: <08C559C8-8914-4FC1-89BC-F144D0862447@twft.com> My Kool-aid is still going strong. Bob On Mar 19, 2012, at 3:09 PM, Tim Jones wrote: > On Mar 19, 2012, at 1:40 PM, Ralph DiMola wrote: > >> What language is this article in? >> " "Save As" is dying. The Lion API establishes these changes." ?????????? >> "Now because of these changes, the traditional "Save As" command no longer >> makes since." Since???????? > > Uh oh, looks like somebody's koolaid is wearing off. Eveyone knows that this is Apple-ese. > > Tim > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Mon Mar 19 18:34:03 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 19 Mar 2012 15:34:03 -0700 Subject: Text formatting for a slider In-Reply-To: References: Message-ID: JIm, I'm a fan of Mr. Rinaldi as well - he supplied the first serial xcmds for hypercard back in 89 - however I can't get Smartproperties to work these days - have you used it lately? sqb On 19 March 2012 14:57, Jim Hurley wrote: > Pete, > > Yes, my feeling exactly. It looks like there was a conscious effort to > omit the foregroundColor for the slider (and scollbar as well). I was > worried that it was to be deprecated. > > (I wasn't concerned about ALL the properties being in the Inspector. It is > odd, however, that there is a place for the foreGroundColor property, an > icon but no defining text, but no way to access it. I suspect RR got > distracted while implementing the slider Inspector.) > > You might want to check out Richard's 4wProps (under the > Development/Plugins menu). Easy access to all the properties. > > Occasionally I have found (legendary) Renaldi's SmartProperties > invalueable. It allows one to compare side by side the properties to two > objects. It is valuable in finding out why two, apparently identical, > controls behave or look different. > > Jim Hurley > > > Message: 24 > > Date: Mon, 19 Mar 2012 11:42:46 -0700 > > From: Pete > > To: How to use LiveCode > > Subject: Re: Text formatting for a slider > > Message-ID: > > ybdn4Q at mail.gmail.com> > > Content-Type: text/plain; charset=ISO-8859-1 > > > > Yeah, but that displays all possible properties of any object. The > > "properties" property of an object gets you an array of properties for a > > specific object. Still a long list mind you, and not a complete list > > either according to the dictionary. > > > > I think you're probably right that it would make the inspector windows > very > > unwieldy to include all properties. The problem is that by leaving some > of > > them out, arbitrarily, it gives the impression that they aren't > available, > > especially to new users. I remember when I first started using LC and > > wanted to set the behavior of an option menu button - there's no > inspector > > window behavior field so I just assumed it wasn't possible for some > reason > > and went down a different, much more complicated path. > > > > Seems like it would have been trivial to include one more option in the > > inspector option menu for "All Properties" or something similar. I ended > > up writing my own plugin to show all the properties of a selected object > > and allow me to change any of them. > > > > Pete > > > > On Mon, Mar 19, 2012 at 11:09 AM, Richmond >wrote: > > > >> On 03/19/2012 06:05 PM, Jim Hurley wrote: > >> > >>> I have a slider in which the showValue is set to true. > >>> > >>> Unfortunately, the card background is gray and the black slider value > is > >>> very difficult to read. > >>> > >>> The inspector for the slider does not display an option for the > >>> foreground color. Why not? > >>> > >>> Using 4W Properties (thank you RIchard) the foreground color is listed > as > >>> an option (and can be changed there, or from the msg box.) > >>> > >>> Why this omission in the Inspector? (LC version 4 AND 5.) > >>> > >> > >> Almost all object have a vast number of options that one can fiddle > around > >> with; the Props Inspector only > >> displays a subset of them; why? I don't know, but I can hazard a guess: > >> > >> a Props Inspector that displayed ALL the props of each object might be > so > >> unwieldy as to be virtually unusable. > >> > >> "Just for fun" . . . > >> > >> Set up a new stack with a scrollingListField field called "PROPPS" > >> > >> and try this in the MessageBox: > >> > >> put the propertyNames into fld "PROPPS" > >> > >> and "blow your mind" . . . :) > >> > >> > >>> > >>> Jim > >>> ______________________________**_________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/**mailman/listinfo/use-livecode< > http://lists.runrev.com/mailman/listinfo/use-livecode> > >>> > >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From m.schonewille at economy-x-talk.com Mon Mar 19 18:40:59 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 19 Mar 2012 23:40:59 +0100 Subject: using a special keyboard in livecode fields (in Windows 7) In-Reply-To: <000f01cd061c$e2a68ff0$a7f3afd0$@wisc.edu> References: <000f01cd061c$e2a68ff0$a7f3afd0$@wisc.edu> Message-ID: <29DD73DB-E6E5-466B-8391-C465E56AFFF6@economy-x-talk.com> Hi Rand, When I choose a Chinese, Japanese, Arabic, Russian or Hebrew keyboard on Windows, I can type in the respective language. This works in LiveCode up to and including 5.0.2. However, I need to click in a field first and set the keyboard afterwards. -- 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 1.7 for LiveCode here http://qery.us/za On 19 mrt 2012, at 23:08, rand valentine wrote: > Hi, guys. Here?s another Unicode-related question. How can I use a Unicode keyboard to type in a Livecode field? I?m working with an American Indian language (called Hoca?k), and I need to be able to type characters such as s?, g? and a?a?. I can put them into a field with Unicode commands, but when I try and type in a field using the special keyboard (a system-level thing), the keyboard seems to be ignored. Is there some trick to this? Thanks so much. > > > > rand valentine > > university of wisconsin-madison From mwieder at ahsoftware.net Mon Mar 19 18:41:12 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 19 Mar 2012 15:41:12 -0700 Subject: New Xcode 4.3.1 In-Reply-To: <007f01cd0610$97d95ae0$c78c10a0$@net> References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> <4F661C68.8000909@hyperactivesw.com> <4F662976.9020301@hyperactivesw.com> <72D4213B-C966-44EE-9ADB-83477E31B3F0@sonsothunder.com> <007f01cd0610$97d95ae0$c78c10a0$@net> Message-ID: <161496549406.20120319154112@ahsoftware.net> Ralph- Monday, March 19, 2012, 1:40:59 PM, you wrote: > What language is this article in? > " "Save As" is dying. The Lion API establishes these changes." ?????????? > "Now because of these changes, the traditional "Save As" command no longer > makes since." Since???????? My guess is it was spellchecked by an iPhone. And grammarchecked by nobody. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Mon Mar 19 18:41:53 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 19 Mar 2012 17:41:53 -0500 Subject: Text formatting for a slider In-Reply-To: References: Message-ID: <4F67B631.3020403@hyperactivesw.com> On 3/19/12 5:34 PM, stephen barncard wrote: > JIm, I'm a fan of Mr. Rinaldi as well - he supplied the first serial xcmds > for hypercard back in 89 - > however I can't get Smartproperties to work these days - have you used it > lately? His auto-save plugin is broken too. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Mar 19 18:43:34 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 19 Mar 2012 17:43:34 -0500 Subject: New Xcode 4.3.1 In-Reply-To: <72D4213B-C966-44EE-9ADB-83477E31B3F0@sonsothunder.com> References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> <4F661C68.8000909@hyperactivesw.com> <4F662976.9020301@hyperactivesw.com> <72D4213B-C966-44EE-9ADB-83477E31B3F0@sonsothunder.com> Message-ID: <4F67B696.2060405@hyperactivesw.com> On 3/19/12 3:25 PM, Ken Ray wrote: > This is actually a lot uglier when you try to "Save as" a file on a > locked volume to another place - you get multiple steps and tirades > of dialogs informing you why you can't save the original file (which > you weren't trying to do in the first place)? Is "Export" supposed to do that now? Mind, I'm still going on theoreticals until I actually install Lion. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Mon Mar 19 18:43:46 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 19 Mar 2012 15:43:46 -0700 Subject: IphoneDeviceScale In-Reply-To: References: <4F64C0D2.5030001@hyperactivesw.com> <455D43A9-7466-485C-BCAD-06C41BFF9A49@twft.com> Message-ID: <97496703281.20120319154346@ahsoftware.net> Fran?ois- Monday, March 19, 2012, 10:24:48 AM, you wrote: > Try using a fish. -- -Mark Wieder mwieder at ahsoftware.net From pmbrig at gmail.com Mon Mar 19 18:45:28 2012 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Mon, 19 Mar 2012 18:45:28 -0400 Subject: IphoneDeviceScale In-Reply-To: References: <4F64C0D2.5030001@hyperactivesw.com> <455D43A9-7466-485C-BCAD-06C41BFF9A49@twft.com> Message-ID: <476D4FA9-1181-49A4-9465-843DD9A63A22@gmail.com> Now, I know for sure you can scale a fish. Never done it using LC, though. Is there an external for that? -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Mar 19, 2012, at 1:24 PM, Fran?ois Chaplais wrote: > Try using a fish. > Fish! Fish! my favorite dish! > Fran?ois > Le 19 mars 2012 ? 18:14, Bob Sneidar a ?crit : > >> Dang!! Doesn't work on my iPad either! >> >> Bob >> >> >>> I don't think you can use an iPhone as a scale. I just stood on mine and now it doesn't work anymore. >>> >>> Bob >>> >>> >>> On Mar 17, 2012, at 9:50 AM, J. Landman Gay wrote: >>> >>>> What does iPhoneDeviceScale return on the new iPad? Four? >>>> >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.com >>> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Mon Mar 19 18:45:57 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 19 Mar 2012 15:45:57 -0700 Subject: New Xcode 4.3.1 In-Reply-To: <4F67B696.2060405@hyperactivesw.com> References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> <4F661C68.8000909@hyperactivesw.com> <4F662976.9020301@hyperactivesw.com> <72D4213B-C966-44EE-9ADB-83477E31B3F0@sonsothunder.com> <4F67B696.2060405@hyperactivesw.com> Message-ID: yeah, export can do it. One just has to do a lot more clicking and cleaning up the mess. It used to be so simple. I want the name of the person that thought this one up. Stupid. sqb On 19 March 2012 15:43, J. Landman Gay wrote: > On 3/19/12 3:25 PM, Ken Ray wrote: > > This is actually a lot uglier when you try to "Save as" a file on a >> locked volume to another place - you get multiple steps and tirades >> of dialogs informing you why you can't save the original file (which >> you weren't trying to do in the first place)? >> > > Is "Export" supposed to do that now? Mind, I'm still going on theoreticals > until I actually install Lion. > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From pmbrig at gmail.com Mon Mar 19 18:50:27 2012 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Mon, 19 Mar 2012 18:50:27 -0400 Subject: MySQL joined select In-Reply-To: References: <398B55B7-9521-4003-A80D-A0E970C99AAB@economy-x-talk.com> <9F070803-F5A1-469D-AF63-F9ACF826A3E7@economy-x-talk.com> <20B40CD0-529B-4124-B6CB-E2E12AA82AA5@economy-x-talk.com> <94AF8A9F-1294-4E3A-9CD8-6177D46B071F@economy-x-talk.com> <06104763-FB0E-4978-A9A0-CEB3D35C5737@sonsothunder.com> Message-ID: repeat with n = 1 to length(tInput) if char n of tInput is a number then put "+" into char n of tInput else put "-" into char n of tInput end repeat Or am I missing something? -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Mar 19, 2012, at 5:15 PM, Pete wrote: > I wonder if there might be a less ugly way to do this in LC instead of > SQL... > Pete > > On Mon, Mar 19, 2012 at 2:04 PM, Marek wrote: > >> Thanks a lot! That helped me a lot man. >> >> Marek Reichenbach >> >> On 2012 Kov. 19, at 19:29, Ken Ray wrote: >> >>> >>> On Mar 19, 2012, at 3:44 AM, Marek Reichenbach wrote: >>>> when i get for example: 1234567 -> i should get result +++++++, 123-56- >> I >>>> would get +++-++- . >>> >>> The only way I know is kind of ugly, requiring seven nested REPLACE >> statements: >>> >>> SELECT >> REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE("123-56-","1","+"),"2","+"),"3","+"),"4","+"),"5","+"),"6","+"),"7","+") >>> >>> This would return: >>> >>> +++-++- >>> >>> >>> Ken Ray >>> Sons of Thunder Software, Inc. >>> Email: kray at sonsothunder.com >>> Web Site: http://www.sonsothunder.com/ >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > > -- > Pete > Molly's Revenge > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Mon Mar 19 18:50:43 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 19 Mar 2012 15:50:43 -0700 Subject: Passkey in 5.5.0 In-Reply-To: <4012E454-5FA0-49BE-B7E0-B4C90E8DE304@LinkIt.Com> References: <2F9C49B3-2962-4082-9477-D614B2229E83@LinkIt.Com> <4012E454-5FA0-49BE-B7E0-B4C90E8DE304@LinkIt.Com> Message-ID: <7497120937.20120319155043@ahsoftware.net> Ray- Check the improve-list. -- -Mark Wieder mwieder at ahsoftware.net From tolistim at me.com Mon Mar 19 18:57:53 2012 From: tolistim at me.com (Tim Jones) Date: Mon, 19 Mar 2012 15:57:53 -0700 Subject: New Xcode 4.3.1 In-Reply-To: <4F67B696.2060405@hyperactivesw.com> References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> <4F661C68.8000909@hyperactivesw.com> <4F662976.9020301@hyperactivesw.com> <72D4213B-C966-44EE-9ADB-83477E31B3F0@sonsothunder.com> <4F67B696.2060405@hyperactivesw.com> Message-ID: <81565DBC-5F4E-408B-8D74-D5086841EDA6@me.com> On Mar 19, 2012, at 3:43 PM, J. Landman Gay wrote: > On 3/19/12 3:25 PM, Ken Ray wrote: > >> This is actually a lot uglier when you try to "Save as" a file on a locked volume to another place - you get multiple steps and tirades of dialogs informing you why you can't save the original file (which you weren't trying to do in the first place)? > > Is "Export" supposed to do that now? Mind, I'm still going on theoreticals until I actually install Lion. ... but what you're supposed to do is according to my Apple Store Genius is "Duplicate" the opened file, close the original, change the new "Copy" and then "Save". When you save the duplicate, you'll be prompted with the normal "Save As..." dialogs. And I agree, this is two steps back. Tim From m.schonewille at economy-x-talk.com Mon Mar 19 19:01:04 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 20 Mar 2012 00:01:04 +0100 Subject: MySQL joined select In-Reply-To: References: <398B55B7-9521-4003-A80D-A0E970C99AAB@economy-x-talk.com> <9F070803-F5A1-469D-AF63-F9ACF826A3E7@economy-x-talk.com> <20B40CD0-529B-4124-B6CB-E2E12AA82AA5@economy-x-talk.com> <94AF8A9F-1294-4E3A-9CD8-6177D46B071F@economy-x-talk.com> <06104763-FB0E-4978-A9A0-CEB3D35C5737@sonsothunder.com> Message-ID: Hi, put replacetext(theInput,"[1-7]","+") into theInput is shorter. I don't know if it is also quicker. (I also wrote this on the forum, earlier today). -- 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 1.7 for LiveCode here http://qery.us/za On 19 mrt 2012, at 23:50, Peter M. Brigham, MD wrote: > repeat with n = 1 to length(tInput) > if char n of tInput is a number > then put "+" into char n of tInput > else put "-" into char n of tInput > end repeat > > Or am I missing something? > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig From pete at mollysrevenge.com Mon Mar 19 19:09:01 2012 From: pete at mollysrevenge.com (Pete) Date: Mon, 19 Mar 2012 16:09:01 -0700 Subject: MySQL joined select In-Reply-To: References: <398B55B7-9521-4003-A80D-A0E970C99AAB@economy-x-talk.com> <9F070803-F5A1-469D-AF63-F9ACF826A3E7@economy-x-talk.com> <20B40CD0-529B-4124-B6CB-E2E12AA82AA5@economy-x-talk.com> <94AF8A9F-1294-4E3A-9CD8-6177D46B071F@economy-x-talk.com> <06104763-FB0E-4978-A9A0-CEB3D35C5737@sonsothunder.com> Message-ID: Seems like either Peter or Mark's solution would be a lot better than trying to do it with an SQL SELECT, but I'm also not sure of what Marek is trying to achieve - seems strange to want to replace all the numbers with plus signs. Maybe he wants a floating plus sign at the start of the number, dunno. Pete On Mon, Mar 19, 2012 at 3:50 PM, Peter M. Brigham, MD wrote: > repeat with n = 1 to length(tInput) > if char n of tInput is a number > then put "+" into char n of tInput > else put "-" into char n of tInput > end repeat > > Or am I missing something? > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > On Mar 19, 2012, at 5:15 PM, Pete wrote: > > > I wonder if there might be a less ugly way to do this in LC instead of > > SQL... > > Pete > > > > On Mon, Mar 19, 2012 at 2:04 PM, Marek > wrote: > > > >> Thanks a lot! That helped me a lot man. > >> > >> Marek Reichenbach > >> > >> On 2012 Kov. 19, at 19:29, Ken Ray wrote: > >> > >>> > >>> On Mar 19, 2012, at 3:44 AM, Marek Reichenbach wrote: > >>>> when i get for example: 1234567 -> i should get result +++++++, > 123-56- > >> I > >>>> would get +++-++- . > >>> > >>> The only way I know is kind of ugly, requiring seven nested REPLACE > >> statements: > >>> > >>> SELECT > >> > REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE("123-56-","1","+"),"2","+"),"3","+"),"4","+"),"5","+"),"6","+"),"7","+") > >>> > >>> This would return: > >>> > >>> +++-++- > >>> > >>> > >>> Ken Ray > >>> Sons of Thunder Software, Inc. > >>> Email: kray at sonsothunder.com > >>> Web Site: http://www.sonsothunder.com/ > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > > > > > > -- > > Pete > > Molly's Revenge > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From pete at mollysrevenge.com Mon Mar 19 19:16:55 2012 From: pete at mollysrevenge.com (Pete) Date: Mon, 19 Mar 2012 16:16:55 -0700 Subject: Text formatting for a slider In-Reply-To: References: Message-ID: Thanks, 4wProps no installed. Pete On Mon, Mar 19, 2012 at 2:57 PM, Jim Hurley wrote: > You might want to check out Richard's 4wProps (under the > Development/Plugins menu). Easy access to all the properties. > -- Pete Molly's Revenge From martyknapp at comcast.net Tue Mar 20 00:07:28 2012 From: martyknapp at comcast.net (Marty Knapp) Date: Mon, 19 Mar 2012 21:07:28 -0700 Subject: Geometry Manager Problem Message-ID: <4F680280.1010402@comcast.net> All of a sudden I'm having trouble with the Geometry Manager. All works find in the IDE, but in my standalones, some object move/scale like they're supposed to and others don't. I'm using LC 5.0.2 and am not doing anything complicated - just moving a couple of buttons and scaling a field. It was fine the last time I checked. Anyone have a clue what's going on? Thanks, Marty Knapp From gcanyon at gmail.com Tue Mar 20 01:52:47 2012 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 20 Mar 2012 00:52:47 -0500 Subject: Failing to understand the oddities of the "line" chunk In-Reply-To: <4F6772BC.1050005@hyperactivesw.com> References: <4F648EBA.3070004@tweedly.net> <4F64BCE3.1080904@hyperactivesw.com> <4F667553.4080503@tweedly.net> <4F669339.7080403@hyperactivesw.com> <467A9992-42A4-47C8-82BE-BE585BE4F00D@twft.com> <4F676CEA.9010709@hyperactivesw.com> <4F6772BC.1050005@hyperactivesw.com> Message-ID: On Mon, Mar 19, 2012 at 12:54 PM, J. Landman Gay wrote: > I think it should behave the same way character selections do. A negative > range has been a valid construct since HyperCard and is, actually, the only > way to set the insertion point by script. It's a necessary feature. This seems to work, and is far clearer: *select* before char 8 of fld 1 "after" works as well, as do word and line references. From toolbook at kestner.de Tue Mar 20 03:52:45 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 20 Mar 2012 08:52:45 +0100 Subject: AW: AW: how to resize icons when resizing objects? In-Reply-To: <4F676EB0.5090901@hyperactivesw.com> References: <002d01cd01c0$69b72010$3d256030$@de> <32A4BDC9-EEA5-467E-88F6-91CE4C76AD5B@sonsothunder.com> <005701cd05c0$a8cbca40$fa635ec0$@de> <4F676EB0.5090901@hyperactivesw.com> Message-ID: <001901cd066e$708f6f70$51ae4e50$@de> Thanks Jacqueline for your useful hints Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von J. Landman Gay > Gesendet: Montag, 19. M?rz 2012 18:37 > An: How to use LiveCode > Betreff: Re: AW: how to resize icons when resizing objects? > > On 3/19/12 6:08 AM, Tiemo Hollmann TB wrote: > > Hi Ken, > > hmmm, didn't thought about that yet. A button with it's predefined > different > > states was the first choice. > > I use buttons for that too. The way to resize the icon is to resize the > images you are using as icons. Then the button icon will also change > size. Make sure the images are locked or they won't keep their new sizes. > > The script needs to adjust the image sizes before the card is drawn. > Otherwise the icon won't change size until the next redraw, usually when > the user presses the button or leaves the card and comes back. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Tue Mar 20 04:09:45 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 20 Mar 2012 09:09:45 +0100 Subject: AW: how to resize icons when resizing objects? In-Reply-To: <1A9CE861-1361-4F23-A47C-A8E362B1295E@sonsothunder.com> References: <002d01cd01c0$69b72010$3d256030$@de> <32A4BDC9-EEA5-467E-88F6-91CE4C76AD5B@sonsothunder.com> <005701cd05c0$a8cbca40$fa635ec0$@de> <1A9CE861-1361-4F23-A47C-A8E362B1295E@sonsothunder.com> Message-ID: <001a01cd0670$d10f3130$732d9390$@de> Thanks Ken, you say, you usually don't resize buttons with the stack. (I haven't done it yet either) I thought it could perhaps be a nice feature for tablet PCs (Windows 8), that you have bigger button icons, when increasing the window size to fullscreen to be better accessible with finger handling. Don't you think this could be nice? Or do I think of exotic features? Thanks Tiemo > > If I need to have them resize with the stack, then yes (although I usually > don't need that). The other thing you can do is to resize the images that > are the icons of the buttons and then force the buttons to redraw > (lock/unlock screen might work, otherwise you can "set the icon" of the > buttons to their same values). > > > Ken Ray > Sons of Thunder Software, Inc. > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > From reichenbach.marek at gmail.com Tue Mar 20 05:20:00 2012 From: reichenbach.marek at gmail.com (Marek Reichenbach) Date: Tue, 20 Mar 2012 11:20:00 +0200 Subject: MySQL joined select In-Reply-To: References: <398B55B7-9521-4003-A80D-A0E970C99AAB@economy-x-talk.com> <9F070803-F5A1-469D-AF63-F9ACF826A3E7@economy-x-talk.com> <20B40CD0-529B-4124-B6CB-E2E12AA82AA5@economy-x-talk.com> <94AF8A9F-1294-4E3A-9CD8-6177D46B071F@economy-x-talk.com> <06104763-FB0E-4978-A9A0-CEB3D35C5737@sonsothunder.com> Message-ID: Thanks for the replies. I've made it workin, but I wanna add something else: So the question in SQL is: Maybe there is a way to hide columns it the result, like: SELECT car_nr, model, travel_days FROM table1,table2 WHERE number <> 414 AND (car_nr > truck_nr) from transport; and show only result of the colums travel_days, but ONLY on* **separate* columns and HIDE OTHER COLUMNS. I've posted here more detailed: http://forums.runrev.com/viewtopic.php?f=12&t=11426&p=53702#p53702 Help please... On 20 March 2012 01:09, Pete wrote: > Seems like either Peter or Mark's solution would be a lot better than > trying to do it with an SQL SELECT, but I'm also not sure of what Marek is > trying to achieve - seems strange to want to replace all the numbers with > plus signs. Maybe he wants a floating plus sign at the start of the > number, dunno. > Pete > > On Mon, Mar 19, 2012 at 3:50 PM, Peter M. Brigham, MD >wrote: > > > repeat with n = 1 to length(tInput) > > if char n of tInput is a number > > then put "+" into char n of tInput > > else put "-" into char n of tInput > > end repeat > > > > Or am I missing something? > > > > -- Peter > > > > Peter M. Brigham > > pmbrig at gmail.com > > http://home.comcast.net/~pmbrig > > > > On Mar 19, 2012, at 5:15 PM, Pete wrote: > > > > > I wonder if there might be a less ugly way to do this in LC instead of > > > SQL... > > > Pete > > > > > > On Mon, Mar 19, 2012 at 2:04 PM, Marek > > wrote: > > > > > >> Thanks a lot! That helped me a lot man. > > >> > > >> Marek Reichenbach > > >> > > >> On 2012 Kov. 19, at 19:29, Ken Ray wrote: > > >> > > >>> > > >>> On Mar 19, 2012, at 3:44 AM, Marek Reichenbach wrote: > > >>>> when i get for example: 1234567 -> i should get result +++++++, > > 123-56- > > >> I > > >>>> would get +++-++- . > > >>> > > >>> The only way I know is kind of ugly, requiring seven nested REPLACE > > >> statements: > > >>> > > >>> SELECT > > >> > > > REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE("123-56-","1","+"),"2","+"),"3","+"),"4","+"),"5","+"),"6","+"),"7","+") > > >>> > > >>> This would return: > > >>> > > >>> +++-++- > > >>> > > >>> > > >>> Ken Ray > > >>> Sons of Thunder Software, Inc. > > >>> Email: kray at sonsothunder.com > > >>> Web Site: http://www.sonsothunder.com/ > > >>> > > >>> _______________________________________________ > > >>> use-livecode mailing list > > >>> use-livecode at lists.runrev.com > > >>> Please visit this url to subscribe, unsubscribe and manage your > > >> subscription preferences: > > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > > >> > > >> _______________________________________________ > > >> use-livecode mailing list > > >> use-livecode at lists.runrev.com > > >> Please visit this url to subscribe, unsubscribe and manage your > > >> subscription preferences: > > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >> > > >> > > > > > > > > > -- > > > Pete > > > Molly's Revenge > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > -- > Pete > Molly's Revenge > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bdrunrev at gmail.com Tue Mar 20 06:02:01 2012 From: bdrunrev at gmail.com (Bernard Devlin) Date: Tue, 20 Mar 2012 10:02:01 +0000 Subject: Serious Question about the list... In-Reply-To: References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> Message-ID: The mailing lists predate the forum by many years. Some people who used the mailing list complained they preferred a forum, so RunRev obliged and provided the forum. It's not that one discussion mechanism is officially sanctioned by RunRev, although I suspect new users find the forum before the find the mailing list (and I suspect that announcements from the MotherShip might be more notable in the mailing list channel than in the forum). Those of us for whom the mailing list was the way we discussed these things for years have continued to use the mailing list. Some people are quite disciplined in going off to the forum to help out in discussions there. Some of us (such as me) just have a look at the forum every few weeks or months. I have a load of different technologies to keep on top of, and just don't feel I have the time to visit the forum on a regular basis. Some of the old-hands (and some of the new-hands) here are super-human. Like others, I keep my email from RunRev in gmail, and have my own search mechanism at hand. I also use the 'draft' folder on gmail to hold RunRev related notes of my own, so that when searching for something I don't just find the past discussions of others, but also have my own notes turn up in the results. The forum is not actually (IMO) easier to read or search than using the mailing list via gmail. Bernard On Sun, Mar 18, 2012 at 1:32 PM, Richard MacLemale wrote: > Here's my serious question. ?Why do so many people "in the know" use the list instead of the official RunRev LiveCode forums? ?Forums have so many advantages over mailing lists - they're easier to read, they're easier to search, you can access them from anywhere, I could keep going. ?I'm just curious as to why the best LiveCoders spend more time here than in the forums? There are people who participate in both - I see Jacque and Klaus in there all the time and I probably owe Klaus a case of beer at this point... > > Anyway, just curious? > > --- > Richard MacLemale > Music = http://www.richardmac.com > Programming = http://www.macandchee.se > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Tue Mar 20 09:38:23 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 20 Mar 2012 09:38:23 -0400 Subject: [MobGUI]Geometry Reset? Message-ID: I have one of several apps that I'm using MG to create the layouts for the other iOS geometries. Everything is going fine until I select iPad Landscape. Then all of a sudden font sizes shrink and objects get bigger - the navBar, buttons, etc. all grew, but the fonts in all of those objects shrunk. This is especially obvious when you fire up the simulator. So has anybody else run into this, and how did you fix it? I tried the MG recovery but that didn't help matters. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From pmbrig at gmail.com Tue Mar 20 09:40:24 2012 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Tue, 20 Mar 2012 09:40:24 -0400 Subject: Failing to understand the oddities of the "line" chunk In-Reply-To: References: <4F648EBA.3070004@tweedly.net> <4F64BCE3.1080904@hyperactivesw.com> <4F667553.4080503@tweedly.net> <4F669339.7080403@hyperactivesw.com> <467A9992-42A4-47C8-82BE-BE585BE4F00D@twft.com> <4F676CEA.9010709@hyperactivesw.com> <4F6772BC.1050005@hyperactivesw.com> Message-ID: <8413D3F2-DF46-4980-983C-4E21A9365309@gmail.com> On Mar 20, 2012, at 1:52 AM, Geoff Canyon wrote: > On Mon, Mar 19, 2012 at 12:54 PM, J. Landman Gay > wrote: > >> I think it should behave the same way character selections do. A negative >> range has been a valid construct since HyperCard and is, actually, the only >> way to set the insertion point by script. It's a necessary feature. > > > This seems to work, and is far clearer: > > *select* before char 8 of fld 1 > > "after" works as well, as do word and line references. Right, but if you have an insertion point in a field (no text selected), then "the selectedChunk" will contain something like char 13 to 12 of field 2 This is designed so that the selectedChunk is always in the form char to of fld That's just the way it works. After dealing with chunks for a while it does make sense, and it's consistent. Jacque's point still holds, though -- the implementation of this form using lines instead of chars is *not* consistent. try this: put "one,two,three" into t replace comma with cr in t put t into tt put "WHAT!!!???" into line 3 to 2 of tt put t & cr & cr & tt which gives you: one two three WHAT!!!???one two three The "WHAT" should appear at the start of line 3, or possibly should replace the cr at the end of line 2, depending on how you look at it. I agree with you that this syntax should be blocked by the IDE at compile time if it's not going to be implemented properly at runtime. I'd call it a bug. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From jhurley0305 at sbcglobal.net Tue Mar 20 09:57:04 2012 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Tue, 20 Mar 2012 06:57:04 -0700 Subject: Text formatting for a slider In-Reply-To: References: Message-ID: <46E84A34-1F07-47FC-A23A-CA4639BE2F92@sbcglobal.net> Stephen, I have to go back to version 4 to get SmartProperties to work. Even then it is a bit quirky. Pity. Speaking of Rinaldi, as RR rushes headlong into a frenetic future, it would be nice if there were an historian amongst us to keep track of the past. For example: Where are Scott Rainey, Jean Devoto, Rinaldi, etc. now, those legendary names from the past who are responsible for this tool we all enjoy so much? Fortunately, many of those early pioneers are still with us, but it would be comforting to know that those "who have passed on" have found a fulfilling life after MetaCard, RR and LC. Jim > Message: 7 > Date: Mon, 19 Mar 2012 15:34:03 -0700 > From: stephen barncard > To: How to use LiveCode > Subject: Re: Text formatting for a slider > Message-ID: > > Content-Type: text/plain; charset=UTF-8 > > JIm, I'm a fan of Mr. Rinaldi as well - he supplied the first serial xcmds > for hypercard back in 89 - > however I can't get Smartproperties to work these days - have you used it > lately? > > sqb From klaus at major.on-rev.com Tue Mar 20 10:00:48 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Tue, 20 Mar 2012 15:00:48 +0100 Subject: Failing to understand the oddities of the "line" chunk In-Reply-To: <8413D3F2-DF46-4980-983C-4E21A9365309@gmail.com> References: <4F648EBA.3070004@tweedly.net> <4F64BCE3.1080904@hyperactivesw.com> <4F667553.4080503@tweedly.net> <4F669339.7080403@hyperactivesw.com> <467A9992-42A4-47C8-82BE-BE585BE4F00D@twft.com> <4F676CEA.9010709@hyperactivesw.com> <4F6772BC.1050005@hyperactivesw.com> <8413D3F2-DF46-4980-983C-4E21A9365309@gmail.com> Message-ID: Hi Peter, Am 20.03.2012 um 14:40 schrieb Peter M. Brigham, MD: > On Mar 20, 2012, at 1:52 AM, Geoff Canyon wrote: > >> On Mon, Mar 19, 2012 at 12:54 PM, J. Landman Gay >> wrote: >> > ... > Jacque's point still holds, though -- the implementation of this form using lines instead of chars is *not* consistent. > try this: > > put "one,two,three" into t > replace comma with cr in t > put t into tt > ##put "WHAT!!!???" into line 3 to 2 of tt ## Wrong ORDER of line range! put "Waht!!!???" into line 2 to 3 of tt ## Will give the desired result: ... one two three one WHAT!!!??? > ... > The "WHAT" should appear at the start of line 3, or possibly should replace the cr at the end of line 2, depending on how you look at it. > > I agree with you that this syntax should be blocked by the IDE at compile time if it's not going to be implemented properly at runtime. I'd call it a bug. > > -- Peter > > Peter M. Brigham Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From coiin at verizon.net Tue Mar 20 10:11:39 2012 From: coiin at verizon.net (Colin Holgate) Date: Tue, 20 Mar 2012 10:11:39 -0400 Subject: [MobGUI]Geometry Reset? In-Reply-To: References: Message-ID: With MobGUI you should be able to choose a setting, then arrange things to look nice, and choose the next setting, etc. When you go to the iPad Landscape for the first time, it's unlikely to know what layout you want. If you manually fix everything, can you then go in and out of that size ok? On Mar 20, 2012, at 9:38 AM, Mike Kerner wrote: > So has anybody else run into this, and how did you fix it? I tried the MG > recovery but that didn't help matters. From gcanyon at gmail.com Tue Mar 20 10:12:12 2012 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 20 Mar 2012 09:12:12 -0500 Subject: Failing to understand the oddities of the "line" chunk In-Reply-To: <8413D3F2-DF46-4980-983C-4E21A9365309@gmail.com> References: <4F648EBA.3070004@tweedly.net> <4F64BCE3.1080904@hyperactivesw.com> <4F667553.4080503@tweedly.net> <4F669339.7080403@hyperactivesw.com> <467A9992-42A4-47C8-82BE-BE585BE4F00D@twft.com> <4F676CEA.9010709@hyperactivesw.com> <4F6772BC.1050005@hyperactivesw.com> <8413D3F2-DF46-4980-983C-4E21A9365309@gmail.com> Message-ID: I understand that this is what the engine returns when the selection is empty, and I'm prepared to accept it as a necessary method for the engine to describe an empty insertion point, but just because the engine reports char 13 to 12 doesn't mean the engine should accept setting the selection to char 47 to 26, or to word 9 to 3, or line 7 to 4. The engine returns one exact format, and allowing it to accept that one exact format should be all it does. There's no reason other than bad history to do so. On Tue, Mar 20, 2012 at 8:40 AM, Peter M. Brigham, MD wrote: > Right, but if you have an insertion point in a field (no text selected), > then "the selectedChunk" will contain something like > char 13 to 12 of field 2 > This is designed so that the selectedChunk is always in the form > char to of fld > From MikeKerner at roadrunner.com Tue Mar 20 10:27:28 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 20 Mar 2012 10:27:28 -0400 Subject: [MobGUI]Geometry Reset? In-Reply-To: References: Message-ID: Every one of the other layouts went smoothly - switch to the layout setting, move and resize everything, repeat. However when I went to iPad Landscape all of a sudden the objects crew substantially and the fonts shrunk substantially. It is really dramatic when comparing to iPad Portrait. In the simulator the fonts look downright goofy. if I could trash the iPad Landscape geometry info and start over it would be fine. There aren't that many objects on this card. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From pmbrig at gmail.com Tue Mar 20 10:30:00 2012 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Tue, 20 Mar 2012 10:30:00 -0400 Subject: accessing colorized script Message-ID: Anyone know how I can get the colorized htmltext of a script from the script editor without opening the editor and copying the text? I have a handler that puts a section of a stack script into a field -- pretty straightforward to just extract the relevant plain text from the script. But it would be a bonus if I could put the colorized script into the field without recreating the colorizing scripts of the IDE. I'm doing this in the IDE, not a standalone, so I could make use of the hooks in the IDE if I could figure out how. I've looked at the scripts in the revNewScriptEditor stack but can't figure them out. I'm looking for something like a revColorizeScript handler.... -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From MikeKerner at roadrunner.com Tue Mar 20 10:33:41 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 20 Mar 2012 10:33:41 -0400 Subject: [MobGUI]Geometry Reset? In-Reply-To: References: Message-ID: Ugh. Well I just (foolishly) tried this with another stack as well, and in this one it's iPad Portrait that seems to break. Hmm. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From pmbrig at gmail.com Tue Mar 20 10:37:19 2012 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Tue, 20 Mar 2012 10:37:19 -0400 Subject: Failing to understand the oddities of the "line" chunk In-Reply-To: References: <4F648EBA.3070004@tweedly.net> <4F64BCE3.1080904@hyperactivesw.com> <4F667553.4080503@tweedly.net> <4F669339.7080403@hyperactivesw.com> <467A9992-42A4-47C8-82BE-BE585BE4F00D@twft.com> <4F676CEA.9010709@hyperactivesw.com> <4F6772BC.1050005@hyperactivesw.com> <8413D3F2-DF46-4980-983C-4E21A9365309@gmail.com> Message-ID: <719346F9-1D9D-476A-BB57-F3EEBF1B8083@gmail.com> On Mar 20, 2012, at 10:00 AM, Klaus on-rev wrote: > Hi Peter, > > Am 20.03.2012 um 14:40 schrieb Peter M. Brigham, MD: > >> On Mar 20, 2012, at 1:52 AM, Geoff Canyon wrote: >> >>> On Mon, Mar 19, 2012 at 12:54 PM, J. Landman Gay >>> wrote: >>> >> ... >> Jacque's point still holds, though -- the implementation of this form using lines instead of chars is *not* consistent. >> try this: >> >> put "one,two,three" into t >> replace comma with cr in t >> put t into tt > >> ##put "WHAT!!!???" into line 3 to 2 of tt > ## Wrong ORDER of line range! > > put "Waht!!!???" into line 2 to 3 of tt > ## Will give the desired result: That's my point. The compiler should reject put "WHAT!!!???" into line 3 to 2 of tt if it's not going to implement it in a way that is consistent with put "WHAT!!!???" into char 3 to 2 of tt -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From matthias_livecode_150811 at m-r-d.de Tue Mar 20 10:53:34 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 20 Mar 2012 15:53:34 +0100 Subject: [MobGUI]Geometry Reset? In-Reply-To: References: Message-ID: <6F525C7A-20C2-4A40-BBC6-7B4AC5AC8C6F@m-r-d.de> Hi Mike, the data is stored in custom properties of the card. For each object there is one custom property and for each orientation/resolution there is a set e.g. uMobGUIGeometry-640x960. Try to delete the set uMobGUIGeometry-640x960. This deletes all settings for ipad landscape. But please make a backup first, as i am not sure, if this is the correct way. John Craig should know the correct solution/answer. Regards, Matthias Am 20.03.2012 um 15:33 schrieb Mike Kerner: > Ugh. Well I just (foolishly) tried this with another stack as well, and in > this one it's iPad Portrait that seems to break. Hmm. > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Tue Mar 20 10:57:59 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 20 Mar 2012 15:57:59 +0100 Subject: [MobGUI]Geometry Reset? In-Reply-To: <6F525C7A-20C2-4A40-BBC6-7B4AC5AC8C6F@m-r-d.de> References: <6F525C7A-20C2-4A40-BBC6-7B4AC5AC8C6F@m-r-d.de> Message-ID: Hi Mike, i made a mistake in my last post. Try to delete uMobGUIGeometry-960x640. That is the correct set. Am 20.03.2012 um 15:53 schrieb Matthias Rebbe: > Hi Mike, > > the data is stored in custom properties of the card. > For each object there is one custom property and for each orientation/resolution there is a set e.g. uMobGUIGeometry-640x960. > Try to delete the set uMobGUIGeometry-640x960. This deletes all settings for ipad landscape. > But please make a backup first, as i am not sure, if this is the correct way. > > John Craig should know the correct solution/answer. > > Regards, > > Matthias > > Am 20.03.2012 um 15:33 schrieb Mike Kerner: > >> Ugh. Well I just (foolishly) tried this with another stack as well, and in >> this one it's iPad Portrait that seems to break. Hmm. >> >> >> -- >> On the first day, God created the heavens and the Earth >> On the second day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Tue Mar 20 11:28:58 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 20 Mar 2012 11:28:58 -0400 Subject: [MobGUI]Geometry Reset? In-Reply-To: References: <6F525C7A-20C2-4A40-BBC6-7B4AC5AC8C6F@m-r-d.de> Message-ID: Thanks, Matthias. I'll try that. John has been really busy, so I was hoping to get an answer from the masses first. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From mwieder at ahsoftware.net Tue Mar 20 11:29:55 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 20 Mar 2012 08:29:55 -0700 Subject: Failing to understand the oddities of the "line" chunk In-Reply-To: <719346F9-1D9D-476A-BB57-F3EEBF1B8083@gmail.com> References: <4F648EBA.3070004@tweedly.net> <4F64BCE3.1080904@hyperactivesw.com> <4F667553.4080503@tweedly.net> <4F669339.7080403@hyperactivesw.com> <467A9992-42A4-47C8-82BE-BE585BE4F00D@twft.com> <4F676CEA.9010709@hyperactivesw.com> <4F6772BC.1050005@hyperactivesw.com> <8413D3F2-DF46-4980-983C-4E21A9365309@gmail.com> <719346F9-1D9D-476A-BB57-F3EEBF1B8083@gmail.com> Message-ID: <92557072093.20120320082955@ahsoftware.net> Folks- Maybe I've missed this, but has a bug been filed? I can't think of a use case where the current behavior is preferred, and I can't see how changing it to something more consistent and er... correct... would break any existing code. I think this is something the rev team should fix, or at least look into. -- -Mark Wieder mwieder at ahsoftware.net From bobs at twft.com Tue Mar 20 11:43:00 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 20 Mar 2012 08:43:00 -0700 Subject: MySQL joined select In-Reply-To: References: <398B55B7-9521-4003-A80D-A0E970C99AAB@economy-x-talk.com> <9F070803-F5A1-469D-AF63-F9ACF826A3E7@economy-x-talk.com> <20B40CD0-529B-4124-B6CB-E2E12AA82AA5@economy-x-talk.com> <94AF8A9F-1294-4E3A-9CD8-6177D46B071F@economy-x-talk.com> <06104763-FB0E-4978-A9A0-CEB3D35C5737@sonsothunder.com> Message-ID: Any columns you define in the select statement will be in the returned data. You do not have to retrieve a column to use it in the select statement. This works: select zip from addresses where state = "CA" Besides that, I do not know what you mean by "hide". Hide from what? Your user interface? If you are using a datagrid, you can simply set the dgprop["columns"] of the datagrid to the ones you want to see, excluding the ones you want to hide. The data will still be there and can be referenced like all the other data, but it won't show in the datagrid. Bob On Mar 20, 2012, at 2:20 AM, Marek Reichenbach wrote: > Thanks for the replies. > I've made it workin, but I wanna add something else: > > So the question in SQL is: > > Maybe there is a way to hide columns it the result, like: > SELECT car_nr, model, travel_days FROM table1,table2 WHERE number <> 414 > AND (car_nr > truck_nr) from transport; > and show only result of the colums travel_days, but ONLY on* > **separate* columns > and HIDE OTHER COLUMNS. > > I've posted here more detailed: > http://forums.runrev.com/viewtopic.php?f=12&t=11426&p=53702#p53702 > Help please... > > On 20 March 2012 01:09, Pete wrote: > >> Seems like either Peter or Mark's solution would be a lot better than >> trying to do it with an SQL SELECT, but I'm also not sure of what Marek is >> trying to achieve - seems strange to want to replace all the numbers with >> plus signs. Maybe he wants a floating plus sign at the start of the >> number, dunno. >> Pete >> >> On Mon, Mar 19, 2012 at 3:50 PM, Peter M. Brigham, MD >> wrote: >> >>> repeat with n = 1 to length(tInput) >>> if char n of tInput is a number >>> then put "+" into char n of tInput >>> else put "-" into char n of tInput >>> end repeat >>> >>> Or am I missing something? >>> >>> -- Peter >>> >>> Peter M. Brigham >>> pmbrig at gmail.com >>> http://home.comcast.net/~pmbrig >>> >>> On Mar 19, 2012, at 5:15 PM, Pete wrote: >>> >>>> I wonder if there might be a less ugly way to do this in LC instead of >>>> SQL... >>>> Pete >>>> >>>> On Mon, Mar 19, 2012 at 2:04 PM, Marek >>> wrote: >>>> >>>>> Thanks a lot! That helped me a lot man. >>>>> >>>>> Marek Reichenbach >>>>> >>>>> On 2012 Kov. 19, at 19:29, Ken Ray wrote: >>>>> >>>>>> >>>>>> On Mar 19, 2012, at 3:44 AM, Marek Reichenbach wrote: >>>>>>> when i get for example: 1234567 -> i should get result +++++++, >>> 123-56- >>>>> I >>>>>>> would get +++-++- . >>>>>> >>>>>> The only way I know is kind of ugly, requiring seven nested REPLACE >>>>> statements: >>>>>> >>>>>> SELECT >>>>> >>> >> REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE("123-56-","1","+"),"2","+"),"3","+"),"4","+"),"5","+"),"6","+"),"7","+") >>>>>> >>>>>> This would return: >>>>>> >>>>>> +++-++- >>>>>> >>>>>> >>>>>> Ken Ray >>>>>> Sons of Thunder Software, Inc. >>>>>> Email: kray at sonsothunder.com >>>>>> Web Site: http://www.sonsothunder.com/ >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>> >>>> >>>> -- >>>> Pete >>>> Molly's Revenge >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >> >> >> -- >> Pete >> Molly's Revenge >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From kray at sonsothunder.com Tue Mar 20 11:46:19 2012 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 20 Mar 2012 10:46:19 -0500 Subject: MySQL joined select In-Reply-To: References: <398B55B7-9521-4003-A80D-A0E970C99AAB@economy-x-talk.com> <9F070803-F5A1-469D-AF63-F9ACF826A3E7@economy-x-talk.com> <20B40CD0-529B-4124-B6CB-E2E12AA82AA5@economy-x-talk.com> <94AF8A9F-1294-4E3A-9CD8-6177D46B071F@economy-x-talk.com> <06104763-FB0E-4978-A9A0-CEB3D35C5737@sonsothunder.com> Message-ID: <7470774E-72A1-4D94-BAFC-25DD7D534215@sonsothunder.com> On Mar 20, 2012, at 4:20 AM, Marek Reichenbach wrote: > Thanks for the replies. > I've made it workin, but I wanna add something else: > > So the question in SQL is: > > Maybe there is a way to hide columns it the result, like: > SELECT car_nr, model, travel_days FROM table1,table2 WHERE number <> 414 > AND (car_nr > truck_nr) from transport; > and show only result of the colums travel_days, but ONLY on* > **separate* columns > and HIDE OTHER COLUMNS. You only include the columns you want back in the SELECT part of the query: SELECT travel_days FROM ? Also, although I know you provided a dummy query, be aware that there are two inherent problems with the one you provided: 1) If you have multiple tables in the FROM clause, you need to identify the table attached to the column in the SELECT clause (although some SQL engines might just assume you meant the first table, it's good form to identify the table), either by full name: SELECT table1.travel_days FROM table1,table2 WHERE? or by alias: SELECT t1.travel_days FROM table1 t1,table2 t2 WHERE? 2) I'm not sure what "from transport" means since you already have a FROM clause in your example query The bottom line is that you don't have to include columns in the SELECT portion of the query that you don't want back, so long as you identify them properly and they actually exist in the table you're referencing. Just be aware that LiveCode's text parsing is second to none, so there are usually times where it may actually be easier and more efficient to let SQL handle getting the data, but let LiveCode handle parsing the data after it arrives. As I mentioned in an earlier post, you *can* use SQL to change your numbers to "+" symbols, but it's ugly - Mark's method to post-process it in LC with a single statement if far better (IMHO). Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From jacque at hyperactivesw.com Tue Mar 20 11:46:24 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 20 Mar 2012 10:46:24 -0500 Subject: accessing colorized script In-Reply-To: References: Message-ID: <4F68A650.1080702@hyperactivesw.com> On 3/20/12 9:30 AM, Peter M. Brigham, MD wrote: > Anyone know how I can get the colorized htmltext of a script from the > script editor without opening the editor and copying the text? I don't think you can any more, the colorization is done by the engine. There used to be a script for it in older versions of the IDE. If you have an old version of Rev you might find it. I can't recall which version had the changeover but if you go back to, say, version 3.x it's probably in there. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Tue Mar 20 11:52:12 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 20 Mar 2012 08:52:12 -0700 Subject: Failing to understand the oddities of the "line" chunk In-Reply-To: <8413D3F2-DF46-4980-983C-4E21A9365309@gmail.com> References: <4F648EBA.3070004@tweedly.net> <4F64BCE3.1080904@hyperactivesw.com> <4F667553.4080503@tweedly.net> <4F669339.7080403@hyperactivesw.com> <467A9992-42A4-47C8-82BE-BE585BE4F00D@twft.com> <4F676CEA.9010709@hyperactivesw.com> <4F6772BC.1050005@hyperactivesw.com> <8413D3F2-DF46-4980-983C-4E21A9365309@gmail.com> Message-ID: If I may be so bold, remember the discussion about the filter command returning different results depending on whether or not the chunk ended in a CR or not? Some argued that that was how it ought to behave. Are we now saying that consistency is the order of the day? So let it be written! So let it be done! But let's go with consistency in ALL things. Bob On Mar 20, 2012, at 6:40 AM, Peter M. Brigham, MD wrote: > Right, but if you have an insertion point in a field (no text selected), then "the selectedChunk" will contain something like > char 13 to 12 of field 2 > This is designed so that the selectedChunk is always in the form > char to of fld > That's just the way it works. After dealing with chunks for a while it does make sense, and it's consistent. > > Jacque's point still holds, though -- the implementation of this form using lines instead of chars is *not* consistent. From m.schonewille at economy-x-talk.com Tue Mar 20 11:54:11 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 20 Mar 2012 16:54:11 +0100 Subject: [ANN] New external to read icons from ICO and EXE files Message-ID: Hi guys, My colleague created an external to read 32 bit 48x48 px icons from ico and exe files. You can download a demo at http://qery.us/1w6 and obtain a license for ? 9.95 (for now, all money generated by this external will be used to improve it). -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za From bobs at twft.com Tue Mar 20 11:55:16 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 20 Mar 2012 08:55:16 -0700 Subject: accessing colorized script In-Reply-To: <4F68A650.1080702@hyperactivesw.com> References: <4F68A650.1080702@hyperactivesw.com> Message-ID: <8FF96699-6128-4C51-A97C-0FE639D7BE17@twft.com> Confounded new fangled engines! You can't work on 'em these days! Bob On Mar 20, 2012, at 8:46 AM, J. Landman Gay wrote: > On 3/20/12 9:30 AM, Peter M. Brigham, MD wrote: >> Anyone know how I can get the colorized htmltext of a script from the >> script editor without opening the editor and copying the text? > > I don't think you can any more, the colorization is done by the engine. There used to be a script for it in older versions of the IDE. If you have an old version of Rev you might find it. I can't recall which version had the changeover but if you go back to, say, version 3.x it's probably in there. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Tue Mar 20 12:29:07 2012 From: pete at mollysrevenge.com (Pete) Date: Tue, 20 Mar 2012 09:29:07 -0700 Subject: MySQL joined select In-Reply-To: References: <398B55B7-9521-4003-A80D-A0E970C99AAB@economy-x-talk.com> <9F070803-F5A1-469D-AF63-F9ACF826A3E7@economy-x-talk.com> <20B40CD0-529B-4124-B6CB-E2E12AA82AA5@economy-x-talk.com> <94AF8A9F-1294-4E3A-9CD8-6177D46B071F@economy-x-talk.com> <06104763-FB0E-4978-A9A0-CEB3D35C5737@sonsothunder.com> Message-ID: Hi Marek, I think you're confusing what you get back from the SELECT statement with what you display to your users - they are two different things. I'm going to assume that you need all the columns you name in your SELECT statement for some processing reasons but that doesn't mean you have to show them all to your users. Once you get the data back from the SELECT, it's up to you which columns you put in a filed, datagrid, or any other Livecode control. Maybe you're thinking that you have to SELECT the column because you refer to it elsewhere in the SELECT statement, but that's not the case. You can refer to any columns form the selected tables anywhere in your SELECT even if they are not explicitly selected. Pete On Tue, Mar 20, 2012 at 2:20 AM, Marek Reichenbach < reichenbach.marek at gmail.com> wrote: > Thanks for the replies. > I've made it workin, but I wanna add something else: > > So the question in SQL is: > > Maybe there is a way to hide columns it the result, like: > SELECT car_nr, model, travel_days FROM table1,table2 WHERE number <> 414 > AND (car_nr > truck_nr) from transport; > and show only result of the colums travel_days, but ONLY on* > **separate* columns > and HIDE OTHER COLUMNS. > > I've posted here more detailed: > http://forums.runrev.com/viewtopic.php?f=12&t=11426&p=53702#p53702 > Help please... > > On 20 March 2012 01:09, Pete wrote: > > > Seems like either Peter or Mark's solution would be a lot better than > > trying to do it with an SQL SELECT, but I'm also not sure of what Marek > is > > trying to achieve - seems strange to want to replace all the numbers with > > plus signs. Maybe he wants a floating plus sign at the start of the > > number, dunno. > > Pete > > > > On Mon, Mar 19, 2012 at 3:50 PM, Peter M. Brigham, MD > >wrote: > > > > > repeat with n = 1 to length(tInput) > > > if char n of tInput is a number > > > then put "+" into char n of tInput > > > else put "-" into char n of tInput > > > end repeat > > > > > > Or am I missing something? > > > > > > -- Peter > > > > > > Peter M. Brigham > > > pmbrig at gmail.com > > > http://home.comcast.net/~pmbrig > > > > > > On Mar 19, 2012, at 5:15 PM, Pete wrote: > > > > > > > I wonder if there might be a less ugly way to do this in LC instead > of > > > > SQL... > > > > Pete > > > > > > > > On Mon, Mar 19, 2012 at 2:04 PM, Marek > > > wrote: > > > > > > > >> Thanks a lot! That helped me a lot man. > > > >> > > > >> Marek Reichenbach > > > >> > > > >> On 2012 Kov. 19, at 19:29, Ken Ray wrote: > > > >> > > > >>> > > > >>> On Mar 19, 2012, at 3:44 AM, Marek Reichenbach wrote: > > > >>>> when i get for example: 1234567 -> i should get result +++++++, > > > 123-56- > > > >> I > > > >>>> would get +++-++- . > > > >>> > > > >>> The only way I know is kind of ugly, requiring seven nested REPLACE > > > >> statements: > > > >>> > > > >>> SELECT > > > >> > > > > > > REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE("123-56-","1","+"),"2","+"),"3","+"),"4","+"),"5","+"),"6","+"),"7","+") > > > >>> > > > >>> This would return: > > > >>> > > > >>> +++-++- > > > >>> > > > >>> > > > >>> Ken Ray > > > >>> Sons of Thunder Software, Inc. > > > >>> Email: kray at sonsothunder.com > > > >>> Web Site: http://www.sonsothunder.com/ > > > >>> > > > >>> _______________________________________________ > > > >>> use-livecode mailing list > > > >>> use-livecode at lists.runrev.com > > > >>> Please visit this url to subscribe, unsubscribe and manage your > > > >> subscription preferences: > > > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > > > >> > > > >> _______________________________________________ > > > >> use-livecode mailing list > > > >> use-livecode at lists.runrev.com > > > >> Please visit this url to subscribe, unsubscribe and manage your > > > >> subscription preferences: > > > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > >> > > > >> > > > > > > > > > > > > -- > > > > Pete > > > > Molly's Revenge > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode at lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > > > > -- > > Pete > > Molly's Revenge > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From pete at mollysrevenge.com Tue Mar 20 12:38:01 2012 From: pete at mollysrevenge.com (Pete) Date: Tue, 20 Mar 2012 09:38:01 -0700 Subject: MySQL joined select In-Reply-To: <7470774E-72A1-4D94-BAFC-25DD7D534215@sonsothunder.com> References: <398B55B7-9521-4003-A80D-A0E970C99AAB@economy-x-talk.com> <9F070803-F5A1-469D-AF63-F9ACF826A3E7@economy-x-talk.com> <20B40CD0-529B-4124-B6CB-E2E12AA82AA5@economy-x-talk.com> <94AF8A9F-1294-4E3A-9CD8-6177D46B071F@economy-x-talk.com> <06104763-FB0E-4978-A9A0-CEB3D35C5737@sonsothunder.com> <7470774E-72A1-4D94-BAFC-25DD7D534215@sonsothunder.com> Message-ID: Hi Ken, Good catch on the multiple FROM clauses, not sure what that's all about. Probably just needs to qualify the columns in the condition with the table name. The SELECT statement has a lot of problems in general. There's no JOIN statement to link table1 and table2 together, for example. That might work as long as the column(s) to be used to join the tables together have the same name in both tables but in general, it's much better to explicitly define the linkage with a JOIN statement - for clarity reasons if no other. Just one comment on the need to qualify columns with table names. I definitely agree it's good practice to do that for clarity but as long as a column name is unique among all tables, SQL will figure out which table an unqualified column name belongs to. Pete On Tue, Mar 20, 2012 at 8:46 AM, Ken Ray wrote: > > On Mar 20, 2012, at 4:20 AM, Marek Reichenbach wrote: > > > Thanks for the replies. > > I've made it workin, but I wanna add something else: > > > > So the question in SQL is: > > > > Maybe there is a way to hide columns it the result, like: > > SELECT car_nr, model, travel_days FROM table1,table2 WHERE number <> 414 > > AND (car_nr > truck_nr) from transport; > > and show only result of the colums travel_days, but ONLY on* > > **separate* columns > > and HIDE OTHER COLUMNS. > > You only include the columns you want back in the SELECT part of the query: > > SELECT travel_days FROM ? > > Also, although I know you provided a dummy query, be aware that there are > two inherent problems with the one you provided: > > 1) If you have multiple tables in the FROM clause, you need to identify > the table attached to the column in the SELECT clause (although some SQL > engines might just assume you meant the first table, it's good form to > identify the table), either by full name: > > SELECT table1.travel_days FROM table1,table2 WHERE? > > or by alias: > > SELECT t1.travel_days FROM table1 t1,table2 t2 WHERE? > > 2) I'm not sure what "from transport" means since you already have a FROM > clause in your example query > > The bottom line is that you don't have to include columns in the SELECT > portion of the query that you don't want back, so long as you identify them > properly and they actually exist in the table you're referencing. > > Just be aware that LiveCode's text parsing is second to none, so there are > usually times where it may actually be easier and more efficient to let SQL > handle getting the data, but let LiveCode handle parsing the data after it > arrives. As I mentioned in an earlier post, you *can* use SQL to change > your numbers to "+" symbols, but it's ugly - Mark's method to post-process > it in LC with a single statement if far better (IMHO). > > Ken Ray > Sons of Thunder Software, Inc. > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From reichenbach.marek at gmail.com Tue Mar 20 12:57:01 2012 From: reichenbach.marek at gmail.com (Marek Reichenbach) Date: Tue, 20 Mar 2012 18:57:01 +0200 Subject: MySQL joined select In-Reply-To: References: <398B55B7-9521-4003-A80D-A0E970C99AAB@economy-x-talk.com> <9F070803-F5A1-469D-AF63-F9ACF826A3E7@economy-x-talk.com> <20B40CD0-529B-4124-B6CB-E2E12AA82AA5@economy-x-talk.com> <94AF8A9F-1294-4E3A-9CD8-6177D46B071F@economy-x-talk.com> <06104763-FB0E-4978-A9A0-CEB3D35C5737@sonsothunder.com> <7470774E-72A1-4D94-BAFC-25DD7D534215@sonsothunder.com> Message-ID: Thanks for the replie!!! :), I'll make some research. On 20 March 2012 18:38, Pete wrote: > Hi Ken, > Good catch on the multiple FROM clauses, not sure what that's all about. > Probably just needs to qualify the columns in the condition with the table > name. > > The SELECT statement has a lot of problems in general. There's no JOIN > statement to link table1 and table2 together, for example. That might work > as long as the column(s) to be used to join the tables together have the > same name in both tables but in general, it's much better to explicitly > define the linkage with a JOIN statement - for clarity reasons if no other. > > Just one comment on the need to qualify columns with table names. I > definitely agree it's good practice to do that for clarity but as long as a > column name is unique among all tables, SQL will figure out which table an > unqualified column name belongs to. > > Pete > > On Tue, Mar 20, 2012 at 8:46 AM, Ken Ray wrote: > > > > > On Mar 20, 2012, at 4:20 AM, Marek Reichenbach wrote: > > > > > Thanks for the replies. > > > I've made it workin, but I wanna add something else: > > > > > > So the question in SQL is: > > > > > > Maybe there is a way to hide columns it the result, like: > > > SELECT car_nr, model, travel_days FROM table1,table2 WHERE number <> > 414 > > > AND (car_nr > truck_nr) from transport; > > > and show only result of the colums travel_days, but ONLY on* > > > **separate* columns > > > and HIDE OTHER COLUMNS. > > > > You only include the columns you want back in the SELECT part of the > query: > > > > SELECT travel_days FROM ? > > > > Also, although I know you provided a dummy query, be aware that there are > > two inherent problems with the one you provided: > > > > 1) If you have multiple tables in the FROM clause, you need to identify > > the table attached to the column in the SELECT clause (although some SQL > > engines might just assume you meant the first table, it's good form to > > identify the table), either by full name: > > > > SELECT table1.travel_days FROM table1,table2 WHERE? > > > > or by alias: > > > > SELECT t1.travel_days FROM table1 t1,table2 t2 WHERE? > > > > 2) I'm not sure what "from transport" means since you already have a FROM > > clause in your example query > > > > The bottom line is that you don't have to include columns in the SELECT > > portion of the query that you don't want back, so long as you identify > them > > properly and they actually exist in the table you're referencing. > > > > Just be aware that LiveCode's text parsing is second to none, so there > are > > usually times where it may actually be easier and more efficient to let > SQL > > handle getting the data, but let LiveCode handle parsing the data after > it > > arrives. As I mentioned in an earlier post, you *can* use SQL to change > > your numbers to "+" symbols, but it's ugly - Mark's method to > post-process > > it in LC with a single statement if far better (IMHO). > > > > Ken Ray > > Sons of Thunder Software, Inc. > > Email: kray at sonsothunder.com > > Web Site: http://www.sonsothunder.com/ > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > -- > Pete > Molly's Revenge > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From kray at sonsothunder.com Tue Mar 20 13:02:46 2012 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 20 Mar 2012 12:02:46 -0500 Subject: how to resize icons when resizing objects? In-Reply-To: <001a01cd0670$d10f3130$732d9390$@de> References: <002d01cd01c0$69b72010$3d256030$@de> <32A4BDC9-EEA5-467E-88F6-91CE4C76AD5B@sonsothunder.com> <005701cd05c0$a8cbca40$fa635ec0$@de> <1A9CE861-1361-4F23-A47C-A8E362B1295E@sonsothunder.com> <001a01cd0670$d10f3130$732d9390$@de> Message-ID: On Mar 20, 2012, at 3:09 AM, Tiemo Hollmann TB wrote: > Thanks Ken, you say, you usually don't resize buttons with the stack. (I > haven't done it yet either) > I thought it could perhaps be a nice feature for tablet PCs (Windows 8), > that you have bigger button icons, when increasing the window size to > fullscreen to be better accessible with finger handling. Don't you think > this could be nice? Or do I think of exotic features? No, you're absolutely right - the main reason I haven't had to do this is that 99.5% of my development is on desktop apps, so I'm more used to resizing windows and repositining controls rather than scaling them? :D Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From pete at mollysrevenge.com Tue Mar 20 13:17:53 2012 From: pete at mollysrevenge.com (Pete) Date: Tue, 20 Mar 2012 10:17:53 -0700 Subject: Failing to understand the oddities of the "line" chunk In-Reply-To: <719346F9-1D9D-476A-BB57-F3EEBF1B8083@gmail.com> References: <4F648EBA.3070004@tweedly.net> <4F64BCE3.1080904@hyperactivesw.com> <4F667553.4080503@tweedly.net> <4F669339.7080403@hyperactivesw.com> <467A9992-42A4-47C8-82BE-BE585BE4F00D@twft.com> <4F676CEA.9010709@hyperactivesw.com> <4F6772BC.1050005@hyperactivesw.com> <8413D3F2-DF46-4980-983C-4E21A9365309@gmail.com> <719346F9-1D9D-476A-BB57-F3EEBF1B8083@gmail.com> Message-ID: I'd like to chime in here again on a couple of things. First, I'm sticking by my assertion that a range with an end point less than a start point is not a logical structure in a general sense. I'm well aware the the selectedChunk uses that mechanism to indicate the position of the insertion point when no text is selected. That makes it valid in LC terms but it doesn't make it logical. I can think of several other ways LC could have indicated the position of the insertion point, for example the selectedChunk could have returned a single character position instead of a range. But the original design of Hypercard or whatever it was back in those days didn't do it that way so that's what we have. I'm also against making lines behave in the same way as characters. I know it's a self supporting statement but I just don;t like the idea of proliferating an illogical construct for the sake of consistency. But more important than that, lines and characters are two entirely different things. Lines don't have an insertion point, which seems to be the only reason that a range with an end point less than a start point is valid in LC. They have a terminating character (or separator depending on your point of view); characters don't have a separator that delineates them from each other. If you get the selectedLine, you will see either a single line number if one line is selected or a line number range if multiple lines are selected but you will never see a line range with the end line less than the start line. So I wouldn't vote for a bug report that asked for lines to behave like characters in this respect. I would vote for a bug report that asked for this situation to be caught as an error (although I think it would have to be a run time error not compile time since the start and end points could be variables or expressions). Lost in this discussion is the reason why someone wanted to do this in the first place. Alex, I think it was you that started this whole thread - did you have a specific reason for wanting to specify a line range with an end point before the start or was it just an observation? Pete On Tue, Mar 20, 2012 at 7:37 AM, Peter M. Brigham, MD wrote: > On Mar 20, 2012, at 10:00 AM, Klaus on-rev wrote: > > > Hi Peter, > > > > Am 20.03.2012 um 14:40 schrieb Peter M. Brigham, MD: > > > >> On Mar 20, 2012, at 1:52 AM, Geoff Canyon wrote: > >> > >>> On Mon, Mar 19, 2012 at 12:54 PM, J. Landman Gay > >>> wrote: > >>> > >> ... > >> Jacque's point still holds, though -- the implementation of this form > using lines instead of chars is *not* consistent. > >> try this: > >> > >> put "one,two,three" into t > >> replace comma with cr in t > >> put t into tt > > > >> ##put "WHAT!!!???" into line 3 to 2 of tt > > ## Wrong ORDER of line range! > > > > put "Waht!!!???" into line 2 to 3 of tt > > ## Will give the desired result: > > That's my point. The compiler should reject > put "WHAT!!!???" into line 3 to 2 of tt > if it's not going to implement it in a way that is consistent with > put "WHAT!!!???" into char 3 to 2 of tt > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From richmondmathewson at gmail.com Tue Mar 20 13:36:12 2012 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 20 Mar 2012 19:36:12 +0200 Subject: New Xcode 4.3.1 In-Reply-To: <8A2CDF1F-A17C-4A51-B4E6-0ADFD0287B9A@me.com> References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> <4F661C68.8000909@hyperactivesw.com> <4F662976.9020301@hyperactivesw.com> <72D4213B-C966-44EE-9ADB-83477E31B3F0@sonsothunder.com> <007f01cd0610$97d95ae0$c78c10a0$@net> <8A2CDF1F-A17C-4A51-B4E6-0ADFD0287B9A@me.com> Message-ID: <4F68C00C.7060004@gmail.com> On 03/20/2012 12:09 AM, Tim Jones wrote: > On Mar 19, 2012, at 1:40 PM, Ralph DiMola wrote: > >> What language is this article in? >> " "Save As" is dying. The Lion API establishes these changes." ?????????? >> "Now because of these changes, the traditional "Save As" command no longer >> makes since." Since???????? > Uh oh, looks like somebody's koolaid is wearing off. Eveyone knows that this is Apple-ese. Reminds me of the (un-un-politically correct) joke from my "yoof": Are you Japanese, Chinese or Dirtynese? > > Tim > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Tue Mar 20 13:37:56 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 20 Mar 2012 13:37:56 -0400 Subject: Error Codes In-Reply-To: References: <002d01cd01c0$69b72010$3d256030$@de> <32A4BDC9-EEA5-467E-88F6-91CE4C76AD5B@sonsothunder.com> <005701cd05c0$a8cbca40$fa635ec0$@de> <1A9CE861-1361-4F23-A47C-A8E362B1295E@sonsothunder.com> <001a01cd0670$d10f3130$732d9390$@de> Message-ID: <003901cd06c0$2fc109c0$8f431d40$@net> OK, I give up. How do you translate error number into descriptive text? The only reference I can find is: put line errorcode of the cErrorsList of stack "revErrorDisplay" I tried for example put line 353 of the cErrorsList of stack "revErrorDisplay" and all I get is empty. Thanks Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From richmondmathewson at gmail.com Tue Mar 20 13:37:05 2012 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 20 Mar 2012 19:37:05 +0200 Subject: using a special keyboard in livecode fields (in Windows 7) In-Reply-To: <000f01cd061c$e2a68ff0$a7f3afd0$@wisc.edu> References: <000f01cd061c$e2a68ff0$a7f3afd0$@wisc.edu> Message-ID: <4F68C041.1020607@gmail.com> On 03/20/2012 12:08 AM, rand valentine wrote: > Hi, guys. Here?s another Unicode-related question. How can I use a Unicode keyboard to type in a Livecode field? I?m working with an American Indian language (called Hoca?k), and I need to be able to type characters such as s?, g? and a?a?. I can put them into a field with Unicode commands, but when I try and type in a field using the special keyboard (a system-level thing), the keyboard seems to be ignored. Is there some trick to this? Thanks so much. > > > > rand valentine > > university of wisconsin-madison > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode On a Mac, a Win or a Lin? From toolbook at kestner.de Tue Mar 20 13:47:51 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 20 Mar 2012 18:47:51 +0100 Subject: AW: how to resize icons when resizing objects? In-Reply-To: References: <002d01cd01c0$69b72010$3d256030$@de> <32A4BDC9-EEA5-467E-88F6-91CE4C76AD5B@sonsothunder.com> <005701cd05c0$a8cbca40$fa635ec0$@de> <1A9CE861-1361-4F23-A47C-A8E362B1295E@sonsothunder.com> <001a01cd0670$d10f3130$732d9390$@de> Message-ID: <00b601cd06c1$9262dda0$b72898e0$@de> Yes so do I today too, but after I've seen first impressions of Win8, I'm thinking of where the journey goes to... Tiemo > > No, you're absolutely right - the main reason I haven't had to do this is > that 99.5% of my development is on desktop apps, so I'm more used to > resizing windows and repositining controls rather than scaling them. > > :D > > Ken Ray > Sons of Thunder Software, Inc. > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > From bobs at twft.com Tue Mar 20 13:52:04 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 20 Mar 2012 10:52:04 -0700 Subject: Failing to understand the oddities of the "line" chunk In-Reply-To: References: <4F648EBA.3070004@tweedly.net> <4F64BCE3.1080904@hyperactivesw.com> <4F667553.4080503@tweedly.net> <4F669339.7080403@hyperactivesw.com> <467A9992-42A4-47C8-82BE-BE585BE4F00D@twft.com> <4F676CEA.9010709@hyperactivesw.com> <4F6772BC.1050005@hyperactivesw.com> <8413D3F2-DF46-4980-983C-4E21A9365309@gmail.com> <719346F9-1D9D-476A-BB57-F3EEBF1B8083@gmail.com> Message-ID: <199A76A0-17E5-4BF1-9A2A-DD03E77D9570@twft.com> And I might add, you may or may not get a trailing CR in a filter result depending on whether or not the whole chunk ended in a CR, regardless of whether or not the filter results CONTAIN the last line with the trailing CR. I think the overriding principle now is that once a command or function which behaves a certain way is used in people's projects, RunRev is quite reticent to change it, because it *might* break people's code. That is the best argument I know of for leaving things the way they are. I believe that all languages have their odd little ways of doing things. Foxpro sure did! It's up to developers to work around things the way they are. JMHO Bob On Mar 20, 2012, at 10:17 AM, Pete wrote: > Lines don't have an insertion point, which seems to be the only reason that > a range with an end point less than a start point is valid in LC. They > have a terminating character (or separator depending on your point of > view); characters don't have a separator that delineates them from each > other. If you get the selectedLine, you will see either a single line > number if one line is selected or a line number range if multiple lines are > selected but you will never see a line range with the end line less than > the start line. From alex at tweedly.net Tue Mar 20 13:53:45 2012 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 20 Mar 2012 17:53:45 +0000 Subject: Failing to understand the oddities of the "line" chunk In-Reply-To: References: <4F648EBA.3070004@tweedly.net> <4F64BCE3.1080904@hyperactivesw.com> <4F667553.4080503@tweedly.net> <4F669339.7080403@hyperactivesw.com> <467A9992-42A4-47C8-82BE-BE585BE4F00D@twft.com> <4F676CEA.9010709@hyperactivesw.com> <4F6772BC.1050005@hyperactivesw.com> <8413D3F2-DF46-4980-983C-4E21A9365309@gmail.com> <719346F9-1D9D-476A-BB57-F3EEBF1B8083@gmail.com> Message-ID: <4F68C429.60308@tweedly.net> On 20/03/2012 17:17, Pete wrote: > So I wouldn't vote for a bug report that asked for lines to behave like > characters in this respect. I would vote for a bug report that asked for > this situation to be caught as an error (although I think it would have to > be a run time error not compile time since the start and end points could > be variables or expressions). > > Lost in this discussion is the reason why someone wanted to do this in the > first place. Alex, I think it was you that started this whole thread - did > you have a specific reason for wanting to specify a line range with an end > point before the start or was it just an observation? > No, no specific reason to want to do it - it kind of happened by accident :-) And it wasn't so much an observation as a question - can someone give me a rationale for this behaviour so I can deal with it better ? What I *wanted* to do was replace line 'x' of someContainer (and everything after it) by my new data, so I did the (temptingly logical - but WRONG) thing of put newData into line x to -1 of someContainer NB that is simply wrong, because "line -1" means the last line that is there - not to the end after what I specified :-) as it happened, the container had x-1 lines in it at the time (including a trailing line delimiter, just to confuse things), so that became equivalent to "put newData into line x to x-1 of someContainer" I knew that what was happening seemed wrong - but couldn't figure out how or why. Jacque's explanation showed me what I should do - but still left that niggling feeling of something being a bit odd. I can get what I wanted in a couple of safe ways a. delete line x to -1 of t !! inverted range - but AFAIK it does the right thing with it in all cases put newData into line 2 of t b. put newData into line 2 to kInfinity of t -- where kInfinity is some arbitrarily large constant I'm not sure what I would vote for now, hence I haven't yet put in a bug report. Personally, I'd probably like a run-time error, but I suspect that the need for backwards compatability would prevent that being feasible. -- Alex, still hoping for someone to come up with a "more right" answer :-) From m.schonewille at economy-x-talk.com Tue Mar 20 13:54:02 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 20 Mar 2012 18:54:02 +0100 Subject: Error Codes In-Reply-To: <003901cd06c0$2fc109c0$8f431d40$@net> References: <002d01cd01c0$69b72010$3d256030$@de> <32A4BDC9-EEA5-467E-88F6-91CE4C76AD5B@sonsothunder.com> <005701cd05c0$a8cbca40$fa635ec0$@de> <1A9CE861-1361-4F23-A47C-A8E362B1295E@sonsothunder.com> <001a01cd0670$d10f3130$732d9390$@de> <003901cd06c0$2fc109c0$8f431d40$@net> Message-ID: Hi Ralph, One possibility is to use the LiveCodeErrors app for iPhone. You can find this in the iTunes store. Another possibility is to use this http://qery.us/1w7 library (shareware). There is also quite some information about this available on the mailing list http://qery.us/1w8 and there you can find that you need to use the cErrorsList of cd 1 of stack "revErrorDisplay". -- 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 1.7 for LiveCode here http://qery.us/za On 20 mrt 2012, at 18:37, Ralph DiMola wrote: > OK, I give up. How do you translate error number into descriptive text? > > The only reference I can find is: > > put line errorcode of the cErrorsList of stack "revErrorDisplay" > > I tried for example > > put line 353 of the cErrorsList of stack "revErrorDisplay" > > and all I get is empty. > > Thanks > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > From richmondmathewson at gmail.com Tue Mar 20 13:55:41 2012 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 20 Mar 2012 19:55:41 +0200 Subject: Text formatting for a slider In-Reply-To: References: Message-ID: <4F68C49D.3060701@gmail.com> On 03/19/2012 11:57 PM, Jim Hurley wrote: > Pete, > > Yes, my feeling exactly. It looks like there was a conscious effort to omit the foregroundColor for the slider (and scollbar as well). I was worried that it was to be deprecated. > > (I wasn't concerned about ALL the properties being in the Inspector. It is odd, however, that there is a place for the foreGroundColor property, an icon but no defining text, but no way to access it. I suspect RR got distracted while implementing the slider Inspector.) > > You might want to check out Richard's 4wProps (under the Development/Plugins menu). Easy access to all the properties. > > Occasionally I have found (legendary) Renaldi's SmartProperties invalueable. It allows one to compare side by side the properties to two objects. It is valuable in finding out why two, apparently identical, controls behave or look different. > > Jim Hurley > > It would be wonderful if Livecode, instead of making judgement calls about what properties You or I might like to have access to for any particular object, made it so that the preferences palette would have all its possibilities enabled all the time. From alex at tweedly.net Tue Mar 20 14:03:24 2012 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 20 Mar 2012 18:03:24 +0000 Subject: accessing colorized script In-Reply-To: <4F68A650.1080702@hyperactivesw.com> References: <4F68A650.1080702@hyperactivesw.com> Message-ID: <4F68C66C.3030209@tweedly.net> Could you use the one from GLX ? (I don't know how stand alone it is, or how hard it might be to extract from its context). -- Alex. On 20/03/2012 15:46, J. Landman Gay wrote: > On 3/20/12 9:30 AM, Peter M. Brigham, MD wrote: >> Anyone know how I can get the colorized htmltext of a script from the >> script editor without opening the editor and copying the text? > > I don't think you can any more, the colorization is done by the > engine. There used to be a script for it in older versions of the IDE. > If you have an old version of Rev you might find it. I can't recall > which version had the changeover but if you go back to, say, version > 3.x it's probably in there. > From warren at warrensweb.us Tue Mar 20 14:10:00 2012 From: warren at warrensweb.us (Warren Samples) Date: Tue, 20 Mar 2012 13:10:00 -0500 Subject: using a special keyboard in livecode fields (in Windows 7) In-Reply-To: <4F68C041.1020607@gmail.com> References: <000f01cd061c$e2a68ff0$a7f3afd0$@wisc.edu> <4F68C041.1020607@gmail.com> Message-ID: <4F68C7F8.4030306@warrensweb.us> On 03/20/2012 12:37 PM, Richmond wrote: > On a Mac, a Win or a Lin? Did you fall asleep before you reached the end of the subject? :D From rdimola at evergreeninfo.net Tue Mar 20 14:15:58 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 20 Mar 2012 14:15:58 -0400 Subject: Error Codes In-Reply-To: References: <002d01cd01c0$69b72010$3d256030$@de> <32A4BDC9-EEA5-467E-88F6-91CE4C76AD5B@sonsothunder.com> <005701cd05c0$a8cbca40$fa635ec0$@de> <1A9CE861-1361-4F23-A47C-A8E362B1295E@sonsothunder.com> <001a01cd0670$d10f3130$732d9390$@de> <003901cd06c0$2fc109c0$8f431d40$@net> Message-ID: <004301cd06c5$803d2ff0$80b78fd0$@net> Mark, THANK YOU!!!! The "of card 1" was what I was missing. Again I'm guilty of reading the dictionary too fast. Thanks for your time! Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mark Schonewille Sent: Tuesday, March 20, 2012 1:54 PM To: How to use LiveCode Subject: Re: Error Codes Hi Ralph, One possibility is to use the LiveCodeErrors app for iPhone. You can find this in the iTunes store. Another possibility is to use this http://qery.us/1w7 library (shareware). There is also quite some information about this available on the mailing list http://qery.us/1w8 and there you can find that you need to use the cErrorsList of cd 1 of stack "revErrorDisplay". -- 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 1.7 for LiveCode here http://qery.us/za On 20 mrt 2012, at 18:37, Ralph DiMola wrote: > OK, I give up. How do you translate error number into descriptive text? > > The only reference I can find is: > > put line errorcode of the cErrorsList of stack "revErrorDisplay" > > I tried for example > > put line 353 of the cErrorsList of stack "revErrorDisplay" > > and all I get is empty. > > Thanks > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Tue Mar 20 14:16:35 2012 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 20 Mar 2012 20:16:35 +0200 Subject: using a special keyboard in livecode fields (in Windows 7) In-Reply-To: <4F68C7F8.4030306@warrensweb.us> References: <000f01cd061c$e2a68ff0$a7f3afd0$@wisc.edu> <4F68C041.1020607@gmail.com> <4F68C7F8.4030306@warrensweb.us> Message-ID: <4F68C983.1060600@gmail.com> On 03/20/2012 08:10 PM, Warren Samples wrote: > On 03/20/2012 12:37 PM, Richmond wrote: >> On a Mac, a Win or a Lin? > > > Did you fall asleep before you reached the end of the subject? > > :D > Pretty well. From martyknapp at comcast.net Tue Mar 20 14:16:58 2012 From: martyknapp at comcast.net (Marty Knapp) Date: Tue, 20 Mar 2012 11:16:58 -0700 Subject: Geometry Manager Problem In-Reply-To: <4F680280.1010402@comcast.net> References: <4F680280.1010402@comcast.net> Message-ID: <4F68C99A.9040301@comcast.net> So I wrote my own resizeStack handlers. Two of the effected stacks work fine - I was moving 3 buttons and a graphic and sizing a field. The 3rd stack has a dataGrid with about 250 rows in it. I move a couple of buttons, a graphic and then size the dataGrid height. Resizing on this stack is *very* sluggish. When I go back to using the geometry manager, sizing is much smoother and faster. As I mentioned, it works fine in the IDE, but in the standalone some objects don't move/scale while others do. I am using live resizing in both cases. I'm stumped. Marty K > All of a sudden I'm having trouble with the Geometry Manager. All > works find in the IDE, but in my standalones, some object move/scale > like they're supposed to and others don't. I'm using LC 5.0.2 and am > not doing anything complicated - just moving a couple of buttons and > scaling a field. It was fine the last time I checked. Anyone have a > clue what's going on? > > Thanks, > Marty Knapp > From richmondmathewson at gmail.com Tue Mar 20 14:20:02 2012 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 20 Mar 2012 20:20:02 +0200 Subject: Text formatting for a slider In-Reply-To: References: Message-ID: <4F68CA52.6010706@gmail.com> Being bloody-minded, I created a stack containing a slider in Livecode, saved the thing, and opened it in Metacard . . . Metacard let me set all the colorProps of the slider . . . NONE showed up in the actual slider in Metacard, NOR did they on reopening in Livecode, EXCEPT setting the INK to reverse in Metacard, which makes the thing look even more revolting than at the start. SO . . . what is the advantage of being able to set all those colors if they then don't change the appearance of the slider anyway? Stumping off for some coffee. From richmondmathewson at gmail.com Tue Mar 20 14:33:58 2012 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 20 Mar 2012 20:33:58 +0200 Subject: using a special keyboard in livecode fields (in Windows 7) Message-ID: <4F68CD96.9020307@gmail.com> Did you fall asleep before you reached the end of the subject? :/D You ought to think a wee bit before you decide to be rude. Thunderbird cut off the end of your subject line (I found out what it was by accessing the Use-List via Firefox). --------------------------------------------------------- Richmond. / From bobs at twft.com Tue Mar 20 14:48:03 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 20 Mar 2012 11:48:03 -0700 Subject: using a special keyboard in livecode fields (in Windows 7) In-Reply-To: <4F68CD96.9020307@gmail.com> References: <4F68CD96.9020307@gmail.com> Message-ID: <6201A764-A324-4457-BC14-831E7D6EAC6B@twft.com> Me?? I never replied to this subject. On Mar 20, 2012, at 11:33 AM, Richmond wrote: > Did you fall asleep before you reached the end of the subject? > > :/D > > You ought to think a wee bit before you decide to be rude. > > Thunderbird cut off the end of your subject line (I found out what it was > by accessing the Use-List via Firefox). > > --------------------------------------------------------- > > Richmond. > / > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Tue Mar 20 14:57:02 2012 From: pete at mollysrevenge.com (Pete) Date: Tue, 20 Mar 2012 11:57:02 -0700 Subject: Failing to understand the oddities of the "line" chunk In-Reply-To: <4F68C429.60308@tweedly.net> References: <4F648EBA.3070004@tweedly.net> <4F64BCE3.1080904@hyperactivesw.com> <4F667553.4080503@tweedly.net> <4F669339.7080403@hyperactivesw.com> <467A9992-42A4-47C8-82BE-BE585BE4F00D@twft.com> <4F676CEA.9010709@hyperactivesw.com> <4F6772BC.1050005@hyperactivesw.com> <8413D3F2-DF46-4980-983C-4E21A9365309@gmail.com> <719346F9-1D9D-476A-BB57-F3EEBF1B8083@gmail.com> <4F68C429.60308@tweedly.net> Message-ID: I think it's unlikely anything about this behavior will change no matter what bug report is filed. There's the backward compatibility issue you raised (although I personally think that is usually a cop out) but you could also argue that what happens is by design. I'm thinking your hope for a "more right" answer is probably in vain at this point! Pete On Tue, Mar 20, 2012 at 10:53 AM, Alex Tweedly wrote: > On 20/03/2012 17:17, Pete wrote: > >> So I wouldn't vote for a bug report that asked for lines to behave like >> characters in this respect. I would vote for a bug report that asked for >> this situation to be caught as an error (although I think it would have to >> be a run time error not compile time since the start and end points could >> be variables or expressions). >> >> Lost in this discussion is the reason why someone wanted to do this in the >> first place. Alex, I think it was you that started this whole thread - >> did >> you have a specific reason for wanting to specify a line range with an end >> point before the start or was it just an observation? >> >> No, no specific reason to want to do it - it kind of happened by > accident :-) > And it wasn't so much an observation as a question - > can someone give me a rationale for this behaviour so I can deal with it > better ? > > What I *wanted* to do was replace line 'x' of someContainer (and > everything after it) by my new data, > so I did the (temptingly logical - but WRONG) thing of > > put newData into line x to -1 of someContainer > > NB that is simply wrong, because "line -1" means the last line that is > there - not to the end after what I specified :-) > > as it happened, the container had x-1 lines in it at the time (including a > trailing line delimiter, just to confuse things), so that became equivalent > to "put newData into line x to x-1 of someContainer" > > I knew that what was happening seemed wrong - but couldn't figure out how > or why. Jacque's explanation showed me what I should do - but still left > that niggling feeling of something being a bit odd. > > I can get what I wanted in a couple of safe ways > a. delete line x to -1 of t !! inverted range - but AFAIK it does > the right thing with it in all cases > put newData into line 2 of t > > b. put newData into line 2 to kInfinity of t -- where kInfinity is > some arbitrarily large constant > > I'm not sure what I would vote for now, hence I haven't yet put in a bug > report. Personally, I'd probably like a run-time error, but I suspect that > the need for backwards compatability would prevent that being feasible. > > -- Alex, still hoping for someone to come up with a "more right" answer :-) > > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From richmondmathewson at gmail.com Tue Mar 20 14:59:22 2012 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 20 Mar 2012 20:59:22 +0200 Subject: using a special keyboard in livecode fields (in Windows 7) In-Reply-To: <6201A764-A324-4457-BC14-831E7D6EAC6B@twft.com> References: <4F68CD96.9020307@gmail.com> <6201A764-A324-4457-BC14-831E7D6EAC6B@twft.com> Message-ID: <4F68D38A.5050007@gmail.com> On 03/20/2012 08:48 PM, Bob Sneidar wrote: > Me?? I never replied to this subject. @Bob: you have never been rude to me; unless, of course, I am so goofy as to have misunderstood the subtleties of what you are saying . . . :) The person who wrote this "Did you fall asleep before you reached the end of the subject?" knows very well who they are. AND . . . between you, me and the rest of the Use-List, I am sufficiently thick-skinned not to let that sort of thing really fuss me: but the person who wrote it should no that I am only partly cretinous, and that there might have been a perfectly good reason for my question: which there was. ---------------------------------------------- Just been over to my Mac and managed very successfully to type some Hindi into a Unicode field, so suspect this is a Windows 7 thing. Knowing that Non-Latin keyboards do tend to "screw up" in Windows (faced this with Vista a while back), I went through a merry time with my Devawriter; to the extent that it locks out all keyboard mappings except the ones I have programmed into the standalone itself. J. Landman Gay was writing something that I only saw out of half and eye that Unicode types would be happy about whatever is forthcoming in LC 5.5 (personally don't have the money right now); so, just maybe, this aspect of things will be sorted out. > > > On Mar 20, 2012, at 11:33 AM, Richmond wrote: > >> Did you fall asleep before you reached the end of the subject? >> >> :/D >> >> You ought to think a wee bit before you decide to be rude. >> >> Thunderbird cut off the end of your subject line (I found out what it was >> by accessing the Use-List via Firefox). >> >> --------------------------------------------------------- >> >> Richmond. >> / >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sl at trackandfieldnews.com Tue Mar 20 15:00:17 2012 From: sl at trackandfieldnews.com (Sieg Lindstrom) Date: Tue, 20 Mar 2012 12:00:17 -0700 Subject: MySQL standalone issues Message-ID: Can anyone point me to an article or tutorial that walks thru all the considerations for making MySQL database functionality work in a standalone? I have created several apps that query a MySQL database. They work fine in the IDE but I have never been able to get them to run as standalones, from which they return a variety of error messages depending on the specific query involved. Thanks in advance, Sieg Lindstrom From richmondmathewson at gmail.com Tue Mar 20 15:16:13 2012 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 20 Mar 2012 21:16:13 +0200 Subject: Text formatting for a slider In-Reply-To: References: Message-ID: <4F68D77D.5080802@gmail.com> I wonder what is wrong with this: put the propertyNames of scrollbar "ZLIDE" into fld "PROPPS" From lvhdgc7 at gmail.com Tue Mar 20 15:20:36 2012 From: lvhdgc7 at gmail.com (tbodine) Date: Tue, 20 Mar 2012 12:20:36 -0700 (PDT) Subject: answer dlog box changes Mac full screen mode Message-ID: <1332271236785-4490058.post@n4.nabble.com> Hi all. Found a quirk on MacOSX and wonder if you have a workaround. Scenario: Standalone (made with LC 4.6.4) and running on Mac Lion is set to full screen, so there is not titlebar when it opens. However, if app uses the answer command, after dismissing that dlog box the Mac puts a titlebar across the top of the full screen monitor. (PC does not do this.) Since the app is for use in a presentation, I want to avoid the titlebar. Anyone know a workaround? Thanks, Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/answer-dlog-box-changes-Mac-full-screen-mode-tp4490058p4490058.html Sent from the Revolution - User mailing list archive at Nabble.com. From pete at mollysrevenge.com Tue Mar 20 15:21:26 2012 From: pete at mollysrevenge.com (Pete) Date: Tue, 20 Mar 2012 12:21:26 -0700 Subject: New Xcode 4.3.1 In-Reply-To: <81565DBC-5F4E-408B-8D74-D5086841EDA6@me.com> References: <39D9DA4B-E717-418D-91FF-68AAC9FBCFE0@gmail.com> <2834740B-E92A-41F0-86CC-EB0CADCDE8E8@mac.com> <37C4D7A7-A264-4A37-BC5E-3030EE77077D@mac.com> <1826C79A-A1EA-44D5-8B7D-6BD4B00344F2@mac.com> <4F6547B2.6020202@hyperactivesw.com> <4F661C68.8000909@hyperactivesw.com> <4F662976.9020301@hyperactivesw.com> <72D4213B-C966-44EE-9ADB-83477E31B3F0@sonsothunder.com> <4F67B696.2060405@hyperactivesw.com> <81565DBC-5F4E-408B-8D74-D5086841EDA6@me.com> Message-ID: I'm happy to see in the newsletter announcement of LC 5.5 I just received that it retains "Save As" as a file menu option. Maybe Apple will ban LC from use on desktops because of that, who knows. Pete On Mon, Mar 19, 2012 at 3:57 PM, Tim Jones wrote: > On Mar 19, 2012, at 3:43 PM, J. Landman Gay wrote: > > > On 3/19/12 3:25 PM, Ken Ray wrote: > > > >> This is actually a lot uglier when you try to "Save as" a file on a > locked volume to another place - you get multiple steps and tirades of > dialogs informing you why you can't save the original file (which you > weren't trying to do in the first place)? > > > > Is "Export" supposed to do that now? Mind, I'm still going on > theoreticals until I actually install Lion. > > ... but what you're supposed to do is according to my Apple Store Genius > is "Duplicate" the opened file, close the original, change the new "Copy" > and then "Save". When you save the duplicate, you'll be prompted with the > normal "Save As..." dialogs. > > And I agree, this is two steps back. > > Tim > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From mwieder at ahsoftware.net Tue Mar 20 15:24:21 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 20 Mar 2012 19:24:21 +0000 (UTC) Subject: accessing colorized script References: Message-ID: Peter M. Brigham, MD writes: > I'm looking for something like a revColorizeScript handler.... _internal script colorize line 1 to (the number of lines of field 1) of field 1 -- Mark Wieder From pete at mollysrevenge.com Tue Mar 20 15:25:57 2012 From: pete at mollysrevenge.com (Pete) Date: Tue, 20 Mar 2012 12:25:57 -0700 Subject: MySQL standalone issues In-Reply-To: References: Message-ID: Hi Sieg, I don't know of such an article but people on this list can probably help if you give use a bit more detail about what the queries are and what error messages you are getting. There shouldn't be any SQL reasons for things not working in a standalone if they worked in the IDE so I suspect it's some LC related issue. The favorite candidate for things like this is usually relying on data being saved somewhere in the standalone, which can't be done. Pete On Tue, Mar 20, 2012 at 12:00 PM, Sieg Lindstrom wrote: > Can anyone point me to an article or tutorial that walks thru all the > considerations for making MySQL database functionality work in a standalone? > > I have created several apps that query a MySQL database. They work fine in > the IDE but I have never been able to get them to run as standalones, from > which they return a variety of error messages depending on the specific > query involved. > > Thanks in advance, > > Sieg Lindstrom > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From mwieder at ahsoftware.net Tue Mar 20 15:27:20 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 20 Mar 2012 19:27:20 +0000 (UTC) Subject: accessing colorized script References: <4F68A650.1080702@hyperactivesw.com> <4F68C66C.3030209@tweedly.net> Message-ID: Alex Tweedly writes: > > Could you use the one from GLX ? > (I don't know how stand alone it is, or how hard it might be to > extract from its context). > It's pretty involved and takes a lot of setup. And the colorization scheme isn't the same as the IDE. The code is all there in the open, but it's not what I would call straightforward. Or easy to understand. I've been refactoring it bit by bit, but even so... -- Mark Wieder From dixonja at hotmail.co.uk Tue Mar 20 16:02:25 2012 From: dixonja at hotmail.co.uk (John Dixon) Date: Tue, 20 Mar 2012 20:02:25 +0000 Subject: answer dlog box changes Mac full screen mode In-Reply-To: <1332271236785-4490058.post@n4.nabble.com> References: <1332271236785-4490058.post@n4.nabble.com> Message-ID: set the decorations of stack "myStack" to empty... should take the titleBar away, would that help ? > Date: Tue, 20 Mar 2012 12:20:36 -0700 > From: lvhdgc7 at gmail.com > To: use-revolution at lists.runrev.com > Subject: answer dlog box changes Mac full screen mode > > Hi all. > > Found a quirk on MacOSX and wonder if you have a workaround. Scenario: > > Standalone (made with LC 4.6.4) and running on Mac Lion is set to full > screen, so there is not titlebar when it opens. However, if app uses the > answer command, after dismissing that dlog box the Mac puts a titlebar > across the top of the full screen monitor. (PC does not do this.) > > Since the app is for use in a presentation, I want to avoid the titlebar. > Anyone know a workaround? > > Thanks, > Tom Bodine > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/answer-dlog-box-changes-Mac-full-screen-mode-tp4490058p4490058.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Tue Mar 20 16:20:51 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 20 Mar 2012 15:20:51 -0500 Subject: accessing colorized script In-Reply-To: References: Message-ID: <4F68E6A3.8000706@hyperactivesw.com> On 3/20/12 2:24 PM, Mark Wieder wrote: > Peter M. Brigham, MD writes: > >> I'm looking for something like a revColorizeScript handler.... > > _internal script colorize line 1 to (the number of lines of field 1) of field 1 > Ooooh! -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Tue Mar 20 16:30:59 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 20 Mar 2012 13:30:59 -0700 Subject: accessing colorized script In-Reply-To: <4F68E6A3.8000706@hyperactivesw.com> References: <4F68E6A3.8000706@hyperactivesw.com> Message-ID: <14575136906.20120320133059@ahsoftware.net> Jacque- Tuesday, March 20, 2012, 1:20:51 PM, you wrote: >> _internal script colorize line 1 to (the number of lines of field 1) of field 1 > Ooooh! You can also use chars instead of lines. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Tue Mar 20 16:40:26 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 20 Mar 2012 15:40:26 -0500 Subject: Error Codes In-Reply-To: <003901cd06c0$2fc109c0$8f431d40$@net> References: <002d01cd01c0$69b72010$3d256030$@de> <32A4BDC9-EEA5-467E-88F6-91CE4C76AD5B@sonsothunder.com> <005701cd05c0$a8cbca40$fa635ec0$@de> <1A9CE861-1361-4F23-A47C-A8E362B1295E@sonsothunder.com> <001a01cd0670$d10f3130$732d9390$@de> <003901cd06c0$2fc109c0$8f431d40$@net> Message-ID: <4F68EB3A.70209@hyperactivesw.com> On 3/20/12 12:37 PM, Ralph DiMola wrote: > OK, I give up. How do you translate error number into descriptive > text? There's a plugin that Richard Gaskin and I developed. I've been trying to upload it to RevOnline for some time but it won't let me. Until that gets fixed, anyone who wants it can grab it from my Dropbox: The advantage of this little stack over a static resource (besides being free) is that it dynamically loads the error list from the currently running copy of LiveCode. That means it will never go out of date, and will change depending on which version of LiveCode you open it in. There's a second card that's intended for use with debugging iOS errors copied from the Console app. There's an Info button in the stack for more details. It hasn't been thoroughly tested but I've been using it for some time without any problems. The scripts are open, so you can change it if you want. If you do, please let me know so I can update the "master" copy. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sl at trackandfieldnews.com Tue Mar 20 16:41:53 2012 From: sl at trackandfieldnews.com (Sieg Lindstrom) Date: Tue, 20 Mar 2012 13:41:53 -0700 Subject: MySQL standalone issues In-Reply-To: References: Message-ID: Thanks, Pete. That gives me a clue. The LC app of primary concern to me has such a long history it started out as a HyperCard stack (and formerly interfaced with a local database, not MySQL). There are instances in which it temporarily saves data to text files to get around HyperCard's 30,000-character field length limit. That said, I have considered that aspect before, and the text files in question are included with the stack in the standalone settings, but maybe I haven't done that properly. In fact, I now realize that the text files, being of such ancient vintage, don't have .txt extensions. Now wondering if that is the root of the problem, even though this app has worked in the IDE for 7 years. Sieg Lindstrom On Mar 20, 2012, at 1:20 PM, Pete wrote: > Hi Sieg, > I don't know of such an article but people on this list can probably help > if you give use a bit more detail about what the queries are and what error > messages you are getting. > > There shouldn't be any SQL reasons for things not working in a standalone > if they worked in the IDE so I suspect it's some LC related issue. The > favorite candidate for things like this is usually relying on data being > saved somewhere in the standalone, which can't be done. From jacque at hyperactivesw.com Tue Mar 20 16:44:08 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 20 Mar 2012 15:44:08 -0500 Subject: accessing colorized script In-Reply-To: <14575136906.20120320133059@ahsoftware.net> References: <4F68E6A3.8000706@hyperactivesw.com> <14575136906.20120320133059@ahsoftware.net> Message-ID: <4F68EC18.8030701@hyperactivesw.com> On 3/20/12 3:30 PM, Mark Wieder wrote: > Jacque- > > Tuesday, March 20, 2012, 1:20:51 PM, you wrote: > >>> _internal script colorize line 1 to (the number of lines of field 1) of field 1 > >> Ooooh! > > You can also use chars instead of lines. > You mean like, "line 2 to -1 of" ...oh never mind. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Tue Mar 20 16:51:55 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 20 Mar 2012 13:51:55 -0700 Subject: accessing colorized script In-Reply-To: <4F68EC18.8030701@hyperactivesw.com> References: <4F68E6A3.8000706@hyperactivesw.com> <14575136906.20120320133059@ahsoftware.net> <4F68EC18.8030701@hyperactivesw.com> Message-ID: <196576392843.20120320135155@ahsoftware.net> Jacque- Tuesday, March 20, 2012, 1:44:08 PM, you wrote: > On 3/20/12 3:30 PM, Mark Wieder wrote: >> Jacque- >> >> Tuesday, March 20, 2012, 1:20:51 PM, you wrote: >> >>>> _internal script colorize line 1 to (the number of lines of field 1) of field 1 >> >>> Ooooh! >> >> You can also use chars instead of lines. >> > You mean like, "line 2 to -1 of" ...oh never mind. Actually, (ignoring the other discussion...) the colorize routine for some reason won't take -1 as a parameter - you have to be explicit about it and say "(the number of lines of x") instead. -- -Mark Wieder mwieder at ahsoftware.net From bobs at twft.com Tue Mar 20 17:02:43 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 20 Mar 2012 14:02:43 -0700 Subject: accessing colorized script In-Reply-To: <4F68EC18.8030701@hyperactivesw.com> References: <4F68E6A3.8000706@hyperactivesw.com> <14575136906.20120320133059@ahsoftware.net> <4F68EC18.8030701@hyperactivesw.com> Message-ID: <33285224-FA92-4543-9A99-1A87E6140480@twft.com> That will invert the colors of the previous lines to their polar opposites. But only if they have a trailing CR. ;-) Bob > You mean like, "line 2 to -1 of" ...oh never mind. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Tue Mar 20 18:03:04 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 20 Mar 2012 15:03:04 -0700 Subject: Text formatting for a slider In-Reply-To: References: Message-ID: I made an attempt at 'fixing' Smart properties a while back, but found it's not as simple as it might seem to be. Three objects created for each property in real time made to scroll together and some other trickery going on. It's a project I do want to tackle one of these days. On 19 March 2012 15:34, stephen barncard wrote: > JIm, I'm a fan of Mr. Rinaldi as well - he supplied the first serial xcmds > for hypercard back in 89 - > however I can't get Smartproperties to work these days - have you used it > lately? > > sqb > > > On 19 March 2012 14:57, Jim Hurley wrote: > >> Pete, >> >> Yes, my feeling exactly. It looks like there was a conscious effort to >> omit the foregroundColor for the slider (and scollbar as well). I was >> worried that it was to be deprecated. >> >> (I wasn't concerned about ALL the properties being in the Inspector. It >> is odd, however, that there is a place for the foreGroundColor property, an >> icon but no defining text, but no way to access it. I suspect RR got >> distracted while implementing the slider Inspector.) >> >> You might want to check out Richard's 4wProps (under the >> Development/Plugins menu). Easy access to all the properties. >> >> Occasionally I have found (legendary) Renaldi's SmartProperties >> invalueable. It allows one to compare side by side the properties to two >> objects. It is valuable in finding out why two, apparently identical, >> controls behave or look different. >> >> Jim Hurley >> >> > Message: 24 >> > Date: Mon, 19 Mar 2012 11:42:46 -0700 >> > From: Pete >> > To: How to use LiveCode >> > Subject: Re: Text formatting for a slider >> > Message-ID: >> > > ybdn4Q at mail.gmail.com> >> > Content-Type: text/plain; charset=ISO-8859-1 >> > >> > Yeah, but that displays all possible properties of any object. The >> > "properties" property of an object gets you an array of properties for a >> > specific object. Still a long list mind you, and not a complete list >> > either according to the dictionary. >> > >> > I think you're probably right that it would make the inspector windows >> very >> > unwieldy to include all properties. The problem is that by leaving >> some of >> > them out, arbitrarily, it gives the impression that they aren't >> available, >> > especially to new users. I remember when I first started using LC and >> > wanted to set the behavior of an option menu button - there's no >> inspector >> > window behavior field so I just assumed it wasn't possible for some >> reason >> > and went down a different, much more complicated path. >> > >> > Seems like it would have been trivial to include one more option in the >> > inspector option menu for "All Properties" or something similar. I >> ended >> > up writing my own plugin to show all the properties of a selected object >> > and allow me to change any of them. >> > >> > Pete >> > >> > On Mon, Mar 19, 2012 at 11:09 AM, Richmond > >wrote: >> > >> >> On 03/19/2012 06:05 PM, Jim Hurley wrote: >> >> >> >>> I have a slider in which the showValue is set to true. >> >>> >> >>> Unfortunately, the card background is gray and the black slider value >> is >> >>> very difficult to read. >> >>> >> >>> The inspector for the slider does not display an option for the >> >>> foreground color. Why not? >> >>> >> >>> Using 4W Properties (thank you RIchard) the foreground color is >> listed as >> >>> an option (and can be changed there, or from the msg box.) >> >>> >> >>> Why this omission in the Inspector? (LC version 4 AND 5.) >> >>> >> >> >> >> Almost all object have a vast number of options that one can fiddle >> around >> >> with; the Props Inspector only >> >> displays a subset of them; why? I don't know, but I can hazard a guess: >> >> >> >> a Props Inspector that displayed ALL the props of each object might be >> so >> >> unwieldy as to be virtually unusable. >> >> >> >> "Just for fun" . . . >> >> >> >> Set up a new stack with a scrollingListField field called "PROPPS" >> >> >> >> and try this in the MessageBox: >> >> >> >> put the propertyNames into fld "PROPPS" >> >> >> >> and "blow your mind" . . . :) >> >> >> >> >> >>> >> >>> Jim >> >>> ______________________________**_________________ >> >>> use-livecode mailing list >> >>> use-livecode at lists.runrev.com >> >>> Please visit this url to subscribe, unsubscribe and manage your >> >>> subscription preferences: >> >>> http://lists.runrev.com/**mailman/listinfo/use-livecode< >> http://lists.runrev.com/mailman/listinfo/use-livecode> >> >>> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > > -- Stephen Barncard San Francisco Ca. USA more about sqb From pete at mollysrevenge.com Tue Mar 20 18:25:22 2012 From: pete at mollysrevenge.com (Pete) Date: Tue, 20 Mar 2012 15:25:22 -0700 Subject: MySQL standalone issues In-Reply-To: References: Message-ID: Hi Sieg, Doesn't seem like storing data in external files should be a problem, especially since the app has been working for so long, although maybe there's a different path to the files needed for the standalone than in the IDE. Still think there could be clues in a sample of the failing code along with the error message you're getting. Pete On Tue, Mar 20, 2012 at 1:41 PM, Sieg Lindstrom wrote: > Thanks, Pete. That gives me a clue. The LC app of primary concern to me > has such a long history it started out as a HyperCard stack (and formerly > interfaced with a local database, not MySQL). There are instances in which > it temporarily saves data to text files to get around HyperCard's > 30,000-character field length limit. That said, I have considered that > aspect before, and the text files in question are included with the stack > in the standalone settings, but maybe I haven't done that properly. > > In fact, I now realize that the text files, being of such ancient vintage, > don't have .txt extensions. Now wondering if that is the root of the > problem, even though this app has worked in the IDE for 7 years. > > Sieg Lindstrom > > On Mar 20, 2012, at 1:20 PM, Pete wrote: > > > Hi Sieg, > > I don't know of such an article but people on this list can probably help > > if you give use a bit more detail about what the queries are and what > error > > messages you are getting. > > > > There shouldn't be any SQL reasons for things not working in a standalone > > if they worked in the IDE so I suspect it's some LC related issue. The > > favorite candidate for things like this is usually relying on data being > > saved somewhere in the standalone, which can't be done. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From lvhdgc7 at gmail.com Tue Mar 20 18:52:53 2012 From: lvhdgc7 at gmail.com (tbodine) Date: Tue, 20 Mar 2012 15:52:53 -0700 (PDT) Subject: answer dlog box changes Mac full screen mode In-Reply-To: References: <1332271236785-4490058.post@n4.nabble.com> Message-ID: <1332283973912-4490632.post@n4.nabble.com> Thanks. I'll give that a go! Tom -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/answer-dlog-box-changes-Mac-full-screen-mode-tp4490058p4490632.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Tue Mar 20 19:05:43 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 20 Mar 2012 23:05:43 +0000 (UTC) Subject: Failing to understand the oddities of the References: <4F648EBA.3070004@tweedly.net> <4F64BCE3.1080904@hyperactivesw.com> <4F667553.4080503@tweedly.net> <4F669339.7080403@hyperactivesw.com> <467A9992-42A4-47C8-82BE-BE585BE4F00D@twft.com> <4F676CEA.9010709@hyperactivesw.com> <4F6772BC.1050005@hyperactivesw.com> <8413D3F2-DF46-4980-983C-4E21A9365309@gmail.com> <719346F9-1D9D-476A-BB57-F3EEBF1B8083@gmail.com> Message-ID: I filed bug 10109 on this. It's open for comments and of course the rev team can act on it or punt as they see fit. But I think it does need fixing. I can't see any way now in which the current implementation makes sense, even as an accidental side-effect. It's rather something to have to be aware of and studiously avoid when coding. It would be nice to have One Less Pitfall, and I don't see a downside to fixing it. From terryhass at tdheng.com Tue Mar 20 19:24:27 2012 From: terryhass at tdheng.com (TERRY HASS) Date: Tue, 20 Mar 2012 18:24:27 -0500 Subject: LiveCode 5.5 Message-ID: <5257FA01-2142-42EF-AC9D-46C3A3FC2331@tdheng.com> Hello List, I read this list almost everyday, but this is only the second time I have posted here. I guess I feel like I am still a newbie compared to everybody else. After reading the LiveCode 5.5 iOS release notes, I think I am missing something very basic concerning the recent LiveCode upgrade to 5.5. Unless I overlooked it, LiveCode does not support Xcode 4.3.1 (and therefore iOS 5.1). Can this be correct?? Do we have to wait for the next upgrade for that capability? I know another member put out a terminal based workaround to shoehorn the iOS 5.1 simulator into Xcode 4.2.1, could this now be the official approach?? Thanks for sharing ANY insight into what RunRev has in mind here concerning this subject. I will have a very tough sell ahead of me justifying this fee based upgrade without official LiveCode support for the most recent iOS. Terry Confused in St. Louis. From sl at trackandfieldnews.com Tue Mar 20 19:32:24 2012 From: sl at trackandfieldnews.com (Sieg Lindstrom) Date: Tue, 20 Mar 2012 16:32:24 -0700 Subject: MySQL standalone issues In-Reply-To: References: Message-ID: Pete, I investigated further. I found something strange. I copied the simple script below from lessons.runrev.com and put it in a button on a brand new stack. Saved as a standalone and it worked as designed. Next I copied the button containing the working script to my existing app and saved that as a standalone. This time it didn't open the database. Instead it returned the answer error "Unable to connect to the database. revdberr, invalid database type." What could possibly cause the same button to work in a brand new stack but not work in an old one once it's saved as a standalone? Any suggestions for what to do short of recreating a stack that has many buttons and fields? Here is the script in the button in question. on mouseUp -- use a global variable to hold the connection ID so other scripts can use it global gConnectionID -- set up the connection parameters - edit these to suit your database put "fake.com" into tDatabaseAddress put "fake_stats" into tDatabaseName put "fake_username" into tDatabaseUser put "fakepassword" into tDatabasePassword -- connect to the database put revOpenDatabase("MySQL", tDatabaseAddress, tDatabaseName, tDatabaseUser, tDatabasePassword) into tResult -- check if it worked and display an error message if it didn't -- & set the connection ID global if tResult is a number then put tResult into gConnectionID answer info "Connected to the database." & cr & "Connection ID = " & gConnectionID else put empty into gConnectionID answer error "Unable to connect to the database:" & cr & tResult end if end mouseUp Thanks, Sieg Lindstrom On Mar 20, 2012, at 1:20 PM, Pete wrote: > > Hi Sieg, > I don't know of such an article but people on this list can probably help > if you give use a bit more detail about what the queries are and what error > messages you are getting. > > There shouldn't be any SQL reasons for things not working in a standalone > if they worked in the IDE so I suspect it's some LC related issue. The > favorite candidate for things like this is usually relying on data being > saved somewhere in the standalone, which can't be done. > > Pete > > On Tue, Mar 20, 2012 at 12:00 PM, Sieg Lindstrom > wrote: > >> Can anyone point me to an article or tutorial that walks thru all the >> considerations for making MySQL database functionality work in a standalone? >> >> I have created several apps that query a MySQL database. They work fine in >> the IDE but I have never been able to get them to run as standalones, from >> which they return a variety of error messages depending on the specific >> query involved. >> >> Thanks in advance, >> >> Sieg Lindstrom >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > > -- > Pete > Molly's Revenge > From stephenREVOLUTION2 at barncard.com Tue Mar 20 19:57:21 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 20 Mar 2012 16:57:21 -0700 Subject: accessing colorized script In-Reply-To: <33285224-FA92-4543-9A99-1A87E6140480@twft.com> References: <4F68E6A3.8000706@hyperactivesw.com> <14575136906.20120320133059@ahsoftware.net> <4F68EC18.8030701@hyperactivesw.com> <33285224-FA92-4543-9A99-1A87E6140480@twft.com> Message-ID: I've done it but the IDE has to be involved... sqb Stephen Barncard San Francisco Ca. USA more about sqb From coiin at verizon.net Tue Mar 20 20:06:16 2012 From: coiin at verizon.net (Colin Holgate) Date: Tue, 20 Mar 2012 20:06:16 -0400 Subject: LiveCode 5.5 In-Reply-To: <5257FA01-2142-42EF-AC9D-46C3A3FC2331@tdheng.com> References: <5257FA01-2142-42EF-AC9D-46C3A3FC2331@tdheng.com> Message-ID: <3F3F96A5-4F1E-423F-9046-2129F627FB3E@verizon.net> I'm not sure if the full posting was on this list, but they did say that they are immediately working on 5.5.1, to come out as soon as it can, and that will support the new SDK and Xcode. On Mar 20, 2012, at 7:24 PM, TERRY HASS wrote: > Thanks for sharing ANY insight into what RunRev has in mind here concerning this subject. I will have a very tough sell ahead of me justifying this fee based upgrade without official LiveCode support for the most recent iOS. From niconiko at gmail.com Tue Mar 20 22:29:22 2012 From: niconiko at gmail.com (Nicolas Cueto) Date: Wed, 21 Mar 2012 11:29:22 +0900 Subject: [TEASER] Dropbox Support Almost Ready Message-ID: Hi Andre, How's your Dropbox library going? Looking through the archives for info about adding Dropbox functionality to an Android app, I hit upon this thread and your explanation at: http://andregarzia.clarify-it.com/d/earp64 Clicking around a little further, I discovered your projects page for Social Network Library Suite. And then, I got even more confused ^_^ . Is the the Dropbox library part of the Social Network Library Suite? I ask because the SNLS webpage has a "Fundraising Options" area, and it seems making a donation for SNLS would also speed up the Dropbox library. Right? It'd be great to have Dropbox working with my Android apps. Thank you. -- Nicolas Cueto From kray at sonsothunder.com Tue Mar 20 23:13:33 2012 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 20 Mar 2012 22:13:33 -0500 Subject: MySQL standalone issues In-Reply-To: References: Message-ID: <2A3F5C51-52AA-4F34-A8FB-A7B1091D2EC7@sonsothunder.com> On Mar 20, 2012, at 6:32 PM, Sieg Lindstrom wrote: > Next I copied the button containing the working script to my existing app and saved that as a standalone. This time it didn't open the database. Instead it returned the answer error "Unable to connect to the database. revdberr, invalid database type." Sieg, I had that happen recently - it had to do with the proper spelling/capitalization of the first parameter. Try using "mysql" (all lower case)? it *shouldn't* make a difference, but it did for me. Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From mwieder at ahsoftware.net Wed Mar 21 01:11:36 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 20 Mar 2012 22:11:36 -0700 Subject: Error Codes In-Reply-To: <4F68EB3A.70209@hyperactivesw.com> References: <002d01cd01c0$69b72010$3d256030$@de> <32A4BDC9-EEA5-467E-88F6-91CE4C76AD5B@sonsothunder.com> <005701cd05c0$a8cbca40$fa635ec0$@de> <1A9CE861-1361-4F23-A47C-A8E362B1295E@sonsothunder.com> <001a01cd0670$d10f3130$732d9390$@de> <003901cd06c0$2fc109c0$8f431d40$@net> <4F68EB3A.70209@hyperactivesw.com> Message-ID: <13606373203.20120320221136@ahsoftware.net> Jacque- Tuesday, March 20, 2012, 1:40:26 PM, you wrote: > On 3/20/12 12:37 PM, Ralph DiMola wrote: >> OK, I give up. How do you translate error number into descriptive >> text? You could just let the engine do the heavy lifting: put line tErrorNumber of the scriptExecutionErrors -- -Mark Wieder mwieder at ahsoftware.net From bogdanoff at me.com Wed Mar 21 01:56:43 2012 From: bogdanoff at me.com (Peter Bogdanoff) Date: Tue, 20 Mar 2012 22:56:43 -0700 Subject: Audio from online server In-Reply-To: <4F68EB3A.70209@hyperactivesw.com> References: <002d01cd01c0$69b72010$3d256030$@de> <32A4BDC9-EEA5-467E-88F6-91CE4C76AD5B@sonsothunder.com> <005701cd05c0$a8cbca40$fa635ec0$@de> <1A9CE861-1361-4F23-A47C-A8E362B1295E@sonsothunder.com> <001a01cd0670$d10f3130$732d9390$@de> <003901cd06c0$2fc109c0$8f431d40$@net> <4F68EB3A.70209@hyperactivesw.com> Message-ID: Hi, I'm working on a music-related LC project that plays audio that is delivered from a server. Works great, especially with fast start checked on .movs. The project has moved on to the point that we are now in negotiations to license music from a major media corporation that will be served to potentially many users--desktop and mobile. They are concerned about the security of their files. We are concerned about reliability. 1. Is a media file written temporarily to the hard drive or is it just in memory? Can we say that it is secure from copying (assuming we do things correctly)? Of course, I'm referring to standard Livecode. 2. Our audio library for the immediate future is fairly small, a couple of gigs of files. However, potentially there could be many simultaneous users--let's say a couple of thousand or more. We need someone to host the content. They want to know how secure their files will be. They mentioned Akamai but said that we have a microscopic amount of content for that company. What kind of company should we be looking for, and any suggestions? Hopefully, we'll be forced to scale up in the future if all goes well (and I can quit my day job). Peter Bogdanoff From ben at runrev.com Wed Mar 21 07:04:34 2012 From: ben at runrev.com (Benjamin Beaumont) Date: Wed, 21 Mar 2012 11:04:34 +0000 Subject: LiveCode 5.5 In-Reply-To: <5257FA01-2142-42EF-AC9D-46C3A3FC2331@tdheng.com> References: <5257FA01-2142-42EF-AC9D-46C3A3FC2331@tdheng.com> Message-ID: Hi Terry, Thanks for your post. I can confirm that iOS 5.1 support will be available in our 5.5.1 release. We expect the first preview of this to be out very soon. This will be a free release for all 5.5 customers. Warm regards, Ben On 20 March 2012 23:24, TERRY HASS wrote: > Hello List, > > I read this list almost everyday, but this is only the second time I have > posted here. I guess I feel like I am still a newbie compared to everybody > else. > > After reading the LiveCode 5.5 iOS release notes, I think I am missing > something very basic concerning the recent LiveCode upgrade to 5.5. Unless > I overlooked it, LiveCode does not support Xcode 4.3.1 (and therefore iOS > 5.1). Can this be correct?? Do we have to wait for the next upgrade for > that capability? I know another member put out a terminal based workaround > to shoehorn the iOS 5.1 simulator into Xcode 4.2.1, could this now be the > official approach?? > > Thanks for sharing ANY insight into what RunRev has in mind here > concerning this subject. I will have a very tough sell ahead of me > justifying this fee based upgrade without official LiveCode support for the > most recent iOS. > > Terry > Confused in St. Louis. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- _____________________________________________ Benjamin Beaumont . RunRev Ltd LiveCode Product Manager mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW email : ben at runrev.com company : +44(0) 845 219 89 23 fax : +44(0) 845 458 8487 web : www.runrev.com LiveCode - Unleash Your Killer App From pmbrig at gmail.com Wed Mar 21 08:44:42 2012 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Wed, 21 Mar 2012 08:44:42 -0400 Subject: accessing colorized script In-Reply-To: <4F68A650.1080702@hyperactivesw.com> References: <4F68A650.1080702@hyperactivesw.com> Message-ID: <0836517C-2FF7-4E9C-B745-87D71511A78C@gmail.com> On Mar 20, 2012, at 11:46 AM, J. Landman Gay wrote: > On 3/20/12 9:30 AM, Peter M. Brigham, MD wrote: >> Anyone know how I can get the colorized htmltext of a script from the >> script editor without opening the editor and copying the text? > > I don't think you can any more, the colorization is done by the engine. There used to be a script for it in older versions of the IDE. If you have an old version of Rev you might find it. I can't recall which version had the changeover but if you go back to, say, version 3.x it's probably in there. Oh, too bad. Well, at least it's simple to color the comments green in my display field, that facilitates looking through the scripts to some extent. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From bmmeili at swissonline.ch Wed Mar 21 10:16:17 2012 From: bmmeili at swissonline.ch (Martin Meili) Date: Wed, 21 Mar 2012 15:16:17 +0100 Subject: Video Capture Message-ID: Hi, the sample stack Video Capture from the Ressource Centre works fine. But, as soon as I enable "Float above everything" in the basic properties pannel, the image gets lost. I want to have a stack with video capture capability floating above everything. Is this possible at all? Cheers Martin From rdimola at evergreeninfo.net Wed Mar 21 10:20:23 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 21 Mar 2012 10:20:23 -0400 Subject: Error Codes In-Reply-To: <13606373203.20120320221136@ahsoftware.net> References: <002d01cd01c0$69b72010$3d256030$@de> <32A4BDC9-EEA5-467E-88F6-91CE4C76AD5B@sonsothunder.com> <005701cd05c0$a8cbca40$fa635ec0$@de> <1A9CE861-1361-4F23-A47C-A8E362B1295E@sonsothunder.com> <001a01cd0670$d10f3130$732d9390$@de> <003901cd06c0$2fc109c0$8f431d40$@net> <4F68EB3A.70209@hyperactivesw.com> <13606373203.20120320221136@ahsoftware.net> Message-ID: <001e01cd076d$c154c400$43fe4c00$@net> Mark, Where in the docs did I miss this little ditty also? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mark Wieder Sent: Wednesday, March 21, 2012 1:12 AM To: use-livecode at lists.runrev.com Subject: Re: Error Codes Jacque- Tuesday, March 20, 2012, 1:40:26 PM, you wrote: > On 3/20/12 12:37 PM, Ralph DiMola wrote: >> OK, I give up. How do you translate error number into descriptive >> text? You could just let the engine do the heavy lifting: put line tErrorNumber of the scriptExecutionErrors -- -Mark Wieder mwieder at ahsoftware.net _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Wed Mar 21 10:42:37 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 21 Mar 2012 15:42:37 +0100 Subject: Video Capture In-Reply-To: References: Message-ID: Hi Martin, I have been struggling with this problem for years now, but I don't think runrev cares about it. Rather than fixing the bug, they decided to start from scratch --and yet they don't, since the new parts are added to the old video external. Anyway, I don't expect a solution within the next few years. -- 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 21 mrt. 2012 om 15:16 heeft Martin Meili het volgende geschreven: > Hi, > the sample stack Video Capture from the Ressource Centre works fine. But, as soon as I enable "Float above everything" in the basic properties pannel, the image gets lost. > I want to have a stack with video capture capability floating above everything. > Is this possible at all? > Cheers > Martin From wow at together.net Wed Mar 21 11:16:29 2012 From: wow at together.net (Richard Miller) Date: Wed, 21 Mar 2012 11:16:29 -0400 Subject: MobGUI orientationchanged issue In-Reply-To: References: Message-ID: <4F69F0CD.8070706@together.net> Can't find a solution for this yet. MobGUI is certainly a useful product, but badly needs more documentation to work through its many nuances. Start with a 2-card stack. The first card is designed for portrait-only display. This is specified in MobGUI. Changing to landscape creates no changes to the card. Everything just turns to the right as the phone is rotated. The second card has a unique landscape display, established by using the Landscape option in MobGUI. Controls change properly (i.e. become vertical) when the phone is rotated. Go to the 2nd card. Rotate the phone. All works nice. Now navigate back to card 1 WITHOUT rotating the phone back to portrait. The layout of the card will now be vertical, as if it was trying to display correctly for landscape mode. But the controls SHOULD all be rotated 90 degrees. It acts as if the MobGUI info for this card (card 1) isn't aware that the phone is still in landscape mode, since no NEW orientationchanged message was sent. I tried placing a "send orientationchanged to this cd" into the opencard handler of cd 1, but it had no effect. How can I force MobGUI to adjust/update the card layout properly? Thanks. Richard Miller From MikeKerner at roadrunner.com Wed Mar 21 11:26:25 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 21 Mar 2012 11:26:25 -0400 Subject: MobGUI orientationchanged issue In-Reply-To: <4F69F0CD.8070706@together.net> References: <4F69F0CD.8070706@together.net> Message-ID: I ran into this as well, and I have also been trying to work around it. I've also found some script bugs in MG that I have forwarded to John. I'm hoping he has time to work on it, there hasn't been a new release in a while. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From m.schonewille at economy-x-talk.com Wed Mar 21 12:22:50 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 21 Mar 2012 17:22:50 +0100 Subject: accessing colorized script In-Reply-To: <0836517C-2FF7-4E9C-B745-87D71511A78C@gmail.com> References: <4F68A650.1080702@hyperactivesw.com> <0836517C-2FF7-4E9C-B745-87D71511A78C@gmail.com> Message-ID: Hi Peter, Perhaps you could use MetaCard's script colorising routines. http://qery.us/1w9 -- 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 1.7 for LiveCode here http://qery.us/za On 21 mrt 2012, at 13:44, Peter M. Brigham, MD wrote: > > Oh, too bad. Well, at least it's simple to color the comments green in my display field, that facilitates looking through the scripts to some extent. > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > From bobs at twft.com Wed Mar 21 12:25:18 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 21 Mar 2012 09:25:18 -0700 Subject: Highest Image File ID Message-ID: <28D433C1-2C7F-42DF-B9EF-99EE740E99F3@twft.com> Can anyone think of a quick way (other than a repeat loop) to determine the highest ID of all the image files in a stack? Since I have a datagrid, the assigned ID is way up there and I want to keep my image files in sequence. It would be great if there were a command to get ALL the objects of a stack or card as an array. Even if there were a way to get all the objects, I could use a filter command to get the ones I wanted. Bob From jacque at hyperactivesw.com Wed Mar 21 12:49:50 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 21 Mar 2012 11:49:50 -0500 Subject: Highest Image File ID In-Reply-To: <28D433C1-2C7F-42DF-B9EF-99EE740E99F3@twft.com> References: <28D433C1-2C7F-42DF-B9EF-99EE740E99F3@twft.com> Message-ID: <4F6A06AE.1020405@hyperactivesw.com> On 3/21/12 11:25 AM, Bob Sneidar wrote: > Can anyone think of a quick way (other than a repeat loop) to > determine the highest ID of all the image files in a stack? The ID of the stack is the either the last-used ID or the next available one, I forget which. It doesn't discriminate between the kinds of controls though. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at mollysrevenge.com Wed Mar 21 12:53:02 2012 From: pete at mollysrevenge.com (Pete) Date: Wed, 21 Mar 2012 09:53:02 -0700 Subject: accessing colorized script In-Reply-To: References: <4F68A650.1080702@hyperactivesw.com> <0836517C-2FF7-4E9C-B745-87D71511A78C@gmail.com> Message-ID: The new 5.5 release has lots of stuff related to field formatting. Maybe some of that might help, especially if RunRev used the new features to colorise scripts. Pete On Wed, Mar 21, 2012 at 9:22 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi Peter, > > Perhaps you could use MetaCard's script colorising routines. > http://qery.us/1w9 > > -- > 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 1.7 for LiveCode here > http://qery.us/za > > On 21 mrt 2012, at 13:44, Peter M. Brigham, MD wrote: > > > > Oh, too bad. Well, at least it's simple to color the comments green in > my display field, that facilitates looking through the scripts to some > extent. > > > > -- Peter > > > > Peter M. Brigham > > pmbrig at gmail.com > > http://home.comcast.net/~pmbrig > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From pete at mollysrevenge.com Wed Mar 21 12:53:42 2012 From: pete at mollysrevenge.com (Pete) Date: Wed, 21 Mar 2012 09:53:42 -0700 Subject: MySQL standalone issues In-Reply-To: <2A3F5C51-52AA-4F34-A8FB-A7B1091D2EC7@sonsothunder.com> References: <2A3F5C51-52AA-4F34-A8FB-A7B1091D2EC7@sonsothunder.com> Message-ID: I think I vaguely remember running into that once, worth a try. Pete On Tue, Mar 20, 2012 at 8:13 PM, Ken Ray wrote: > > On Mar 20, 2012, at 6:32 PM, Sieg Lindstrom wrote: > > > Next I copied the button containing the working script to my existing > app and saved that as a standalone. This time it didn't open the database. > Instead it returned the answer error "Unable to connect to the database. > revdberr, invalid database type." > > Sieg, I had that happen recently - it had to do with the proper > spelling/capitalization of the first parameter. Try using "mysql" (all > lower case)? it *shouldn't* make a difference, but it did for me. > > Ken Ray > Sons of Thunder Software, Inc. > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From pete at mollysrevenge.com Wed Mar 21 13:07:23 2012 From: pete at mollysrevenge.com (Pete) Date: Wed, 21 Mar 2012 10:07:23 -0700 Subject: Highest Image File ID In-Reply-To: <4F6A06AE.1020405@hyperactivesw.com> References: <28D433C1-2C7F-42DF-B9EF-99EE740E99F3@twft.com> <4F6A06AE.1020405@hyperactivesw.com> Message-ID: Maybe "get the ID of the last image of stack "xyz"? Not sure if that would work or not, I seem to remember having problems with using the "last" keyword in the past but I think that was specifically to do with groups. Pete On Wed, Mar 21, 2012 at 9:49 AM, J. Landman Gay wrote: > On 3/21/12 11:25 AM, Bob Sneidar wrote: > >> Can anyone think of a quick way (other than a repeat loop) to >> determine the highest ID of all the image files in a stack? >> > > The ID of the stack is the either the last-used ID or the next available > one, I forget which. It doesn't discriminate between the kinds of controls > though. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From bobs at twft.com Wed Mar 21 13:11:45 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 21 Mar 2012 10:11:45 -0700 Subject: Highest Image File ID In-Reply-To: <4F6A06AE.1020405@hyperactivesw.com> References: <28D433C1-2C7F-42DF-B9EF-99EE740E99F3@twft.com> <4F6A06AE.1020405@hyperactivesw.com> Message-ID: <5177AE7E-D290-452B-81F7-1244FEBFD1D6@twft.com> Yup. And I want to reuse all those wasted ID's that the Datagrid left behind. I am writing a function using repeat loops and if I lock screen and messages it is quite fast. I Will post it when I am done for anyone who might find it useful. Bob On Mar 21, 2012, at 9:49 AM, J. Landman Gay wrote: > On 3/21/12 11:25 AM, Bob Sneidar wrote: >> Can anyone think of a quick way (other than a repeat loop) to >> determine the highest ID of all the image files in a stack? > > The ID of the stack is the either the last-used ID or the next available one, I forget which. It doesn't discriminate between the kinds of controls though. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Mar 21 13:14:46 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 21 Mar 2012 19:14:46 +0200 Subject: Highest Image File ID In-Reply-To: References: <28D433C1-2C7F-42DF-B9EF-99EE740E99F3@twft.com> <4F6A06AE.1020405@hyperactivesw.com> Message-ID: <4F6A0C86.7000700@gmail.com> I just did this: put the ID of the last control and it worked a charm. From ray at linkit.com Wed Mar 21 14:15:22 2012 From: ray at linkit.com (Ray Horsley) Date: Wed, 21 Mar 2012 13:15:22 -0500 Subject: Revlet Basics In-Reply-To: References: <4F68A650.1080702@hyperactivesw.com> <0836517C-2FF7-4E9C-B745-87D71511A78C@gmail.com> Message-ID: I experimented with standalones in browser a while back and never got too far with it. I'm taking another look now but can't get anything other than the "Test Page" text to show up. I've completely deleted and reinstalled the LiveCodePlayer but still no buttons in the standalone revlet show up. As I recall there was some editing of the html necessary to link files up. Is that what's missing? Thanks, Ray Horsley LinkIt! Software From pmbrig at gmail.com Wed Mar 21 13:33:12 2012 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Wed, 21 Mar 2012 13:33:12 -0400 Subject: Failing to understand the oddities of the "line" chunk In-Reply-To: References: <4F648EBA.3070004@tweedly.net> <4F64BCE3.1080904@hyperactivesw.com> <4F667553.4080503@tweedly.net> <4F669339.7080403@hyperactivesw.com> <467A9992-42A4-47C8-82BE-BE585BE4F00D@twft.com> <4F676CEA.9010709@hyperactivesw.com> <4F6772BC.1050005@hyperactivesw.com> <8413D3F2-DF46-4980-983C-4E21A9365309@gmail.com> Message-ID: <47B1BE1D-6B3E-41FF-B4EC-4C0C34B68E33@gmail.com> On Mar 20, 2012, at 11:52 AM, Bob Sneidar wrote: > So let it be done! But let's go with consistency in ALL things. Tough to do, as long as we're using English -- though you might have thought through this already (cough, cough) :-) -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From pete at mollysrevenge.com Wed Mar 21 13:34:48 2012 From: pete at mollysrevenge.com (Pete) Date: Wed, 21 Mar 2012 10:34:48 -0700 Subject: revCopyFile Message-ID: Anyone know of a way to get rid of that annoying sound when revCopyFile has finished copying a file? This is on a Mac, don't know if it happens in Windows. -- Pete Molly's Revenge From stephenREVOLUTION2 at barncard.com Wed Mar 21 13:40:21 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 21 Mar 2012 10:40:21 -0700 Subject: revCopyFile In-Reply-To: References: Message-ID: system preferences (apple menu) -->sound-->sound effects tab---> deselect "Play User Interface Sound Effects" checkbox On 21 March 2012 10:34, Pete wrote: > Anyone know of a way to get rid of that annoying sound when revCopyFile has > finished copying a file? This is on a Mac, don't know if it happens in > Windows. > > > -- > Pete > Molly's Revenge > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From gcanyon at gmail.com Wed Mar 21 13:44:54 2012 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 21 Mar 2012 12:44:54 -0500 Subject: revCopyFile In-Reply-To: References: Message-ID: Funny, I went through this just a week ago. I found four reasons to abandon revCopyFile for a shell command: 1. The sound. 2. It's slow. 3. For large numbers of commands it died on me. 4. It can't change the name of the file as part of the copy process. I was trying to turn 1,700 files in one location into about 22,000 files with different names in another location. I found that with revCopyFile and renaming, it took several hours to do about 7,000 files and then died, taking the Finder with it. By changing to the command below, I ran the entire job with no sounds and no problems in about fifteen minutes. *on* shellCopyFile tSource,tTarget *get* shell("cp" && quote & tSource & quote && quote & tTarget & quote) *if* it is not empty *then* *-- handle errors here* *end* *if* *end* shellCopyFile On Wed, Mar 21, 2012 at 12:34 PM, Pete wrote: > Anyone know of a way to get rid of that annoying sound when revCopyFile has > finished copying a file? This is on a Mac, don't know if it happens in > Windows. > From jacque at hyperactivesw.com Wed Mar 21 13:45:36 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 21 Mar 2012 12:45:36 -0500 Subject: Highest Image File ID In-Reply-To: <4F6A0C86.7000700@gmail.com> References: <28D433C1-2C7F-42DF-B9EF-99EE740E99F3@twft.com> <4F6A06AE.1020405@hyperactivesw.com> <4F6A0C86.7000700@gmail.com> Message-ID: <4F6A13C0.7070006@hyperactivesw.com> On 3/21/12 12:14 PM, Richmond wrote: > I just did this: > > put the ID of the last control > > and it worked a charm. I think that will only give the highest ID on that card. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Wed Mar 21 13:46:05 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 21 Mar 2012 10:46:05 -0700 Subject: Highest Image File ID In-Reply-To: References: <28D433C1-2C7F-42DF-B9EF-99EE740E99F3@twft.com> <4F6A06AE.1020405@hyperactivesw.com> Message-ID: <4DABD268-AF7A-423D-BF79-7C3BB453E58A@twft.com> Thanks Richmond and Pete. What I want it for is to set the ID of the image I just created to theHighestID +1. Obviously, if I just created an image, those functions will return that image ID. As promised, I have written a function that I think is fairly bullet proof. It checks for an invalid object type, as well as handling singular or plural forms of object types. It returns a sorted list of whatever property for whatever object type you tell it, excluding duplicates. I will probably enhance it to accept a scope, either card or stack. I'm wondering if this would be more useful to others if each line was a list of the long ID of the object followed by the property value? eg. put objectList("buttons", "short name", "descending") into theButtonNames function objectList theType, theProp, theSort if the last char of theType is "s" then put char 1 to -2 of theType into theType if theSort is empty then put "ascending" into theSort if theSort is not in "ascending.descending" then return "Error: Invalid sort" end if try do "get the " & theProp & " of " & theType & " 1 of this card" catch theError if item 1 of the last line of theError is "166" then return "Error: Invalid type" else return "Error: " & the last line of theError end if end try put empty into theObjectList put 1 into theLineNum put theType & "s" into thePluralType put the name of this card into theStartCard lock screen lock messages repeat with theCardNum = 1 to the number of cards of this stack go card theCardNum try do "put the number of " & thePluralType & " of this card into theTypeCount" repeat with theObjectNum = 1 to theTypeCount do "put the " & theProp & " of " & theType && theObjectNum & " into theValue" if theValue is not in theObjectList then put theValue into line theLineNum of theObjectList add 1 to theLineNum end if end repeat catch theError breakpoint end try end repeat go card theStartCard if line 1 of theObjectList is a number then do "sort theObjectList numeric" && theSort else do "sort theObjectList" && theSort end if return theObjectList end objectList On Mar 21, 2012, at 10:07 AM, Pete wrote: > Maybe "get the ID of the last image of stack "xyz"? Not sure if that would > work or not, I seem to remember having problems with using the "last" > keyword in the past but I think that was specifically to do with groups. > Pete > > On Wed, Mar 21, 2012 at 9:49 AM, J. Landman Gay wrote: > >> On 3/21/12 11:25 AM, Bob Sneidar wrote: >> >>> Can anyone think of a quick way (other than a repeat loop) to >>> determine the highest ID of all the image files in a stack? >>> >> >> The ID of the stack is the either the last-used ID or the next available >> one, I forget which. It doesn't discriminate between the kinds of controls >> though. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> >> > > > -- > Pete > Molly's Revenge > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Wed Mar 21 13:49:00 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 21 Mar 2012 10:49:00 -0700 Subject: revCopyFile In-Reply-To: References: Message-ID: <51B2AA08-EAB6-4600-B2B0-B684A73BF230@twft.com> I was gonna say "Turn off your speakers?" But I think I used up all my Smart A$$ quota for the month! ;-) Bob On Mar 21, 2012, at 10:40 AM, stephen barncard wrote: > system preferences (apple menu) -->sound-->sound effects tab---> > > deselect "Play User Interface Sound Effects" checkbox > > On 21 March 2012 10:34, Pete wrote: > >> Anyone know of a way to get rid of that annoying sound when revCopyFile has >> finished copying a file? This is on a Mac, don't know if it happens in >> Windows. >> >> >> -- >> Pete >> Molly's Revenge >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Mar 21 13:52:30 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 21 Mar 2012 19:52:30 +0200 Subject: Highest Image File ID In-Reply-To: <4F6A13C0.7070006@hyperactivesw.com> References: <28D433C1-2C7F-42DF-B9EF-99EE740E99F3@twft.com> <4F6A06AE.1020405@hyperactivesw.com> <4F6A0C86.7000700@gmail.com> <4F6A13C0.7070006@hyperactivesw.com> Message-ID: <4F6A155E.3060206@gmail.com> On 03/21/2012 07:45 PM, J. Landman Gay wrote: > On 3/21/12 12:14 PM, Richmond wrote: >> I just did this: >> >> put the ID of the last control >> >> and it worked a charm. > > I think that will only give the highest ID on that card. > Perhaps if one adds this: put the ID of the last control in stack "DAFTY" that would do the trick? From mwieder at ahsoftware.net Wed Mar 21 14:03:05 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 21 Mar 2012 11:03:05 -0700 Subject: revCopyFile In-Reply-To: <51B2AA08-EAB6-4600-B2B0-B684A73BF230@twft.com> References: <51B2AA08-EAB6-4600-B2B0-B684A73BF230@twft.com> Message-ID: <175652662687.20120321110305@ahsoftware.net> Bob- Wednesday, March 21, 2012, 10:49:00 AM, you wrote: > I was gonna say "Turn off your speakers?" But I think I used up > all my Smart A$$ quota for the month! ;-) Uh oh. There's a quota? I am so gonna be in trouble now... -- -Mark Wieder mwieder at ahsoftware.net From richmondmathewson at gmail.com Wed Mar 21 14:13:30 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 21 Mar 2012 20:13:30 +0200 Subject: revCopyFile In-Reply-To: <175652662687.20120321110305@ahsoftware.net> References: <51B2AA08-EAB6-4600-B2B0-B684A73BF230@twft.com> <175652662687.20120321110305@ahsoftware.net> Message-ID: <4F6A1A4A.2010907@gmail.com> Presumably, buried somewhere amongst the Livecode stacks there is an AudioClip. I suppose one could trawl through them with the application browser and remove it........... From richmondmathewson at gmail.com Wed Mar 21 14:21:24 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 21 Mar 2012 20:21:24 +0200 Subject: [OT] WINE 1.5.0 Message-ID: <4F6A1C24.5@gmail.com> For those of you who go in for this sort of thing: Crack open a Terminal [AND, that reminds me of those snide remarks somebody made about the command-line being past-it on this Use-List a while back..........]: and type in these commands wget http://prdownloads.sourceforge.net/wine/wine-1.5.0.tar.bz2 tar -xjvf wine-1.5.0.tar.bz2 cd wine-1.5.0 sudo apt-get install flex bison qt3-dev-tools qt4-qmake ./configure DON'T be "suckered" when the Terminal tells you to do MAKE at the end of this! cd tools ./wineinstall There is a lot of tedious stuff that scrolls past in the Terminal . . . I wondered off and had a cup of coffee. Love, Richmond. From stephenREVOLUTION2 at barncard.com Wed Mar 21 14:24:01 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 21 Mar 2012 11:24:01 -0700 Subject: revCopyFile In-Reply-To: <4F6A1A4A.2010907@gmail.com> References: <51B2AA08-EAB6-4600-B2B0-B684A73BF230@twft.com> <175652662687.20120321110305@ahsoftware.net> <4F6A1A4A.2010907@gmail.com> Message-ID: no, he's speaking about the cute (and or annoying) little UI sounds that the Mac has had for some time, and one has to "opt in" to turn it off. It's a soft clunk sound that occurs after ever file transfer to indicate 'transfer complete'. That was probably a big reason why multiple file transfers would take more time - loading and unloading the sound - and perhaps the reason why it failed after memory was exceeded. When the mac runs out of 'real' memory, then the 'virtual memory' kicks in and you'll see the spinning OS gold ball. On 21 March 2012 11:13, Richmond wrote: > Presumably, buried somewhere amongst the Livecode stacks there is > an AudioClip. I suppose one could trawl through them with the > application browser and remove it........... > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From richmondmathewson at gmail.com Wed Mar 21 14:29:10 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 21 Mar 2012 20:29:10 +0200 Subject: revCopyFile In-Reply-To: References: <51B2AA08-EAB6-4600-B2B0-B684A73BF230@twft.com> <175652662687.20120321110305@ahsoftware.net> <4F6A1A4A.2010907@gmail.com> Message-ID: <4F6A1DF6.3070405@gmail.com> On 03/21/2012 08:24 PM, stephen barncard wrote: > no, he's speaking about the cute (and or annoying) little UI sounds They have begun appearing in the more popular Linux distros as well. > that > the Mac has had for some time, and one has to "opt in" to turn it off. It's > a soft clunk sound that occurs after ever file transfer to indicate > 'transfer complete'. > > That was probably a big reason why multiple file transfers would take more > time - loading and unloading the sound - and perhaps the reason why it > failed after memory was exceeded. When the mac runs out of 'real' memory, > then the 'virtual memory' kicks in and you'll see the spinning OS gold ball. > > On 21 March 2012 11:13, Richmond wrote: > >> Presumably, buried somewhere amongst the Livecode stacks there is >> an AudioClip. I suppose one could trawl through them with the >> application browser and remove it........... >> >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> > > From gcanyon at gmail.com Wed Mar 21 14:33:29 2012 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 21 Mar 2012 13:33:29 -0500 Subject: revCopyFile In-Reply-To: <4F6A1A4A.2010907@gmail.com> References: <51B2AA08-EAB6-4600-B2B0-B684A73BF230@twft.com> <175652662687.20120321110305@ahsoftware.net> <4F6A1A4A.2010907@gmail.com> Message-ID: The sound is coming from the Finder, not LC. revCopyFile works via AppleScript, and the Finder (oddly) treats moving a file by script the same as moving a file by the user interface. On Wed, Mar 21, 2012 at 1:13 PM, Richmond wrote: > Presumably, buried somewhere amongst the Livecode stacks there is > an AudioClip. I suppose one could trawl through them with the > application browser and remove it........... > From gcanyon at gmail.com Wed Mar 21 14:35:31 2012 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 21 Mar 2012 13:35:31 -0500 Subject: revCopyFile In-Reply-To: References: <51B2AA08-EAB6-4600-B2B0-B684A73BF230@twft.com> <175652662687.20120321110305@ahsoftware.net> <4F6A1A4A.2010907@gmail.com> Message-ID: I went straight to the shell command, so I don't know for sure, but this sounds reasonable. There's also the overhead of spinning up AppleScript in the first place. If Apple is doing that badly, that might also cause problems I suppose. On Wed, Mar 21, 2012 at 1:24 PM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > That was probably a big reason why multiple file transfers would take more > time - loading and unloading the sound - and perhaps the reason why it > failed after memory was exceeded. > From jacque at hyperactivesw.com Wed Mar 21 14:49:08 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 21 Mar 2012 13:49:08 -0500 Subject: Highest Image File ID In-Reply-To: <4F6A155E.3060206@gmail.com> References: <28D433C1-2C7F-42DF-B9EF-99EE740E99F3@twft.com> <4F6A06AE.1020405@hyperactivesw.com> <4F6A0C86.7000700@gmail.com> <4F6A13C0.7070006@hyperactivesw.com> <4F6A155E.3060206@gmail.com> Message-ID: <4F6A22A4.6090804@hyperactivesw.com> On 3/21/12 12:52 PM, Richmond wrote: > On 03/21/2012 07:45 PM, J. Landman Gay wrote: >> On 3/21/12 12:14 PM, Richmond wrote: >>> I just did this: >>> >>> put the ID of the last control >>> >>> and it worked a charm. >> >> I think that will only give the highest ID on that card. >> > > Perhaps if one adds this: > > put the ID of the last control in stack "DAFTY" > > that would do the trick? Nope. Card-only. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pmbrig at gmail.com Wed Mar 21 14:54:36 2012 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Wed, 21 Mar 2012 14:54:36 -0400 Subject: accessing colorized script In-Reply-To: <196576392843.20120320135155@ahsoftware.net> References: <4F68E6A3.8000706@hyperactivesw.com> <14575136906.20120320133059@ahsoftware.net> <4F68EC18.8030701@hyperactivesw.com> <196576392843.20120320135155@ahsoftware.net> Message-ID: On Mar 20, 2012, at 4:51 PM, Mark Wieder wrote: > Jacque- > > Tuesday, March 20, 2012, 1:44:08 PM, you wrote: > >> On 3/20/12 3:30 PM, Mark Wieder wrote: >>> Jacque- >>> >>> Tuesday, March 20, 2012, 1:20:51 PM, you wrote: >>> >>>>> _internal script colorize line 1 to (the number of lines of field 1) of field 1 >>> >>>> Ooooh! >>> >>> You can also use chars instead of lines. >>> > >> You mean like, "line 2 to -1 of" ...oh never mind. > > Actually, (ignoring the other discussion...) the colorize routine for > some reason won't take -1 as a parameter - you have to be explicit > about it and say "(the number of lines of x") instead. Yes. When I use "-1" instead of the lengthier form, it won't compile, and the long form compiles but doesn't do anything when I execute it. No error, no action. MacBook, OSX 10.6.8, Rev Studio 4.5.3, build 1210, operating on an ordinary text field. I was so hopeful! Any other ideas? -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From richmondmathewson at gmail.com Wed Mar 21 15:26:50 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 21 Mar 2012 21:26:50 +0200 Subject: Highest Image File ID In-Reply-To: <4F6A22A4.6090804@hyperactivesw.com> References: <28D433C1-2C7F-42DF-B9EF-99EE740E99F3@twft.com> <4F6A06AE.1020405@hyperactivesw.com> <4F6A0C86.7000700@gmail.com> <4F6A13C0.7070006@hyperactivesw.com> <4F6A155E.3060206@gmail.com> <4F6A22A4.6090804@hyperactivesw.com> Message-ID: <4F6A2B7A.5090402@gmail.com> On 03/21/2012 08:49 PM, J. Landman Gay wrote: > On 3/21/12 12:52 PM, Richmond wrote: >> On 03/21/2012 07:45 PM, J. Landman Gay wrote: >>> On 3/21/12 12:14 PM, Richmond wrote: >>>> I just did this: >>>> >>>> put the ID of the last control >>>> >>>> and it worked a charm. >>> >>> I think that will only give the highest ID on that card. >>> >> >> Perhaps if one adds this: >> >> put the ID of the last control in stack "DAFTY" >> >> that would do the trick? > > Nope. Card-only. > > Ah, I think I know why: It is quite possible to have a control with an ID of 1004 on one card, and another with an ID of 1004 on the next card. And, at that point, one can see that looking for the object with the highest ID in the stack is pretty pointless. From pete at mollysrevenge.com Wed Mar 21 16:04:47 2012 From: pete at mollysrevenge.com (Pete) Date: Wed, 21 Mar 2012 13:04:47 -0700 Subject: revCopyFile In-Reply-To: References: <51B2AA08-EAB6-4600-B2B0-B684A73BF230@twft.com> <175652662687.20120321110305@ahsoftware.net> <4F6A1A4A.2010907@gmail.com> Message-ID: Thanks all for the input. Sounds like Stephen's approach is the only way to get rid of it. Seems like that setting will apply to other sounds as well, but I'm OK with that. As far as using AppleScript, I'm using revCopyFile because the dictionary claims there are "certain advantages" to using it over "put URL" or any other method, amongst which is that it does not require reading the file into memory, and since some of these files could be pretty large, that's significant. On a Mac, it also displays a progress bar which I don;t think would be possible if I used "put URL". Pete On Wed, Mar 21, 2012 at 11:35 AM, Geoff Canyon wrote: > I went straight to the shell command, so I don't know for sure, but this > sounds reasonable. There's also the overhead of spinning up AppleScript in > the first place. If Apple is doing that badly, that might also cause > problems I suppose. > > On Wed, Mar 21, 2012 at 1:24 PM, stephen barncard < > stephenREVOLUTION2 at barncard.com> wrote: > > > That was probably a big reason why multiple file transfers would take > more > > time - loading and unloading the sound - and perhaps the reason why it > > failed after memory was exceeded. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From bobs at twft.com Wed Mar 21 16:07:00 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 21 Mar 2012 13:07:00 -0700 Subject: Highest Image File ID In-Reply-To: <4F6A2B7A.5090402@gmail.com> References: <28D433C1-2C7F-42DF-B9EF-99EE740E99F3@twft.com> <4F6A06AE.1020405@hyperactivesw.com> <4F6A0C86.7000700@gmail.com> <4F6A13C0.7070006@hyperactivesw.com> <4F6A155E.3060206@gmail.com> <4F6A22A4.6090804@hyperactivesw.com> <4F6A2B7A.5090402@gmail.com> Message-ID: <9E350597-5C4D-4264-9B4E-19641FA3EE5B@twft.com> Well an object that appears on multiple cards will of course show up multiple times when you go from card to card. That is why my function ignores duplicates. But it is all probably quite moot anyway, at least for ID's because the vast majority of people don't care about them. So I wrote my function to return a list of any property you give it. In retrospect, I did not account for properties that are arrays, so I should actually build an array and return that. Back ina bit... Bob > Ah, I think I know why: It is quite possible to have a control with an ID of 1004 on one card, > and another with an ID of 1004 on the next card. > > And, at that point, one can see that looking for the object with the highest ID in the stack is pretty pointless. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jhurley0305 at sbcglobal.net Wed Mar 21 16:12:19 2012 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Wed, 21 Mar 2012 13:12:19 -0700 Subject: Text formatting for a slider In-Reply-To: References: Message-ID: <1A4AA4FD-A44F-42FC-BAB5-9EECF9E028DC@sbcglobal.net> Stephen, What has me puzzled, maybe you have the answer, is a function to return ALL the properties of a given object. As many have said, the "properties" function is incomplete. For one thing it omits the foregroundcolor of the scrollbar. (I wonder whether those properties in the inspector palette for which there is an opening but no property are those among those missing from "put the properties of ...") So I wonder where Rinaldi and Richard Gaskin got their lists from? This would be the first task in reconstruction Rinaldi's plug-in. Jim > > Message: 7 > Date: Tue, 20 Mar 2012 15:03:04 -0700 > From: stephen barncard > To: How to use LiveCode > Subject: Re: Text formatting for a slider > Message-ID: > > Content-Type: text/plain; charset=UTF-8 > > I made an attempt at 'fixing' Smart properties a while back, but found it's > not as simple as it might seem to be. Three objects created for each > property in real time made to scroll together and some other trickery going > on. It's a project I do want to tackle one of these days. > > On 19 March 2012 15:34, stephen barncard wrote: > >> JIm, I'm a fan of Mr. Rinaldi as well - he supplied the first serial xcmds >> for hypercard back in 89 - >> however I can't get Smartproperties to work these days - have you used it >> lately? >> >> sqb From pete at mollysrevenge.com Wed Mar 21 16:15:25 2012 From: pete at mollysrevenge.com (Pete) Date: Wed, 21 Mar 2012 13:15:25 -0700 Subject: Speaking of SmartAss.. Message-ID: I just came across this quote. It was new to me, maybe not to others. Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rich Cook -- Pete Molly's Revenge From richmondmathewson at gmail.com Wed Mar 21 16:24:10 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 21 Mar 2012 22:24:10 +0200 Subject: Text formatting for a slider In-Reply-To: <1A4AA4FD-A44F-42FC-BAB5-9EECF9E028DC@sbcglobal.net> References: <1A4AA4FD-A44F-42FC-BAB5-9EECF9E028DC@sbcglobal.net> Message-ID: <4F6A38EA.6040601@gmail.com> On 03/21/2012 10:12 PM, Jim Hurley wrote: > Stephen, > > What has me puzzled, maybe you have the answer, is a function to return ALL the properties of a given object. > > Here's what I did to get ALL the props of a slider: on mouseUp put the properties of control "ZLIDER" into propARRAY combine propARRAY by return and tab put propARRAY into fld "PROPPS" end mouseUp I think the middle line is what throws most people "off". From richmondmathewson at gmail.com Wed Mar 21 16:24:47 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 21 Mar 2012 22:24:47 +0200 Subject: Speaking of SmartAss.. In-Reply-To: References: Message-ID: <4F6A390F.4090008@gmail.com> On 03/21/2012 10:15 PM, Pete wrote: > I just came across this quote. It was new to me, maybe not to others. > > Programming today is a race between software engineers striving to build > bigger and better idiot-proof programs, and the Universe trying to produce > bigger and better idiots. So far, the Universe is winning. - Rich Cook > Chalk one up for me . . . :) From jacque at hyperactivesw.com Wed Mar 21 16:28:09 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 21 Mar 2012 15:28:09 -0500 Subject: UrlEncode oddness Message-ID: <4F6A39D9.1060204@hyperactivesw.com> If I urlencode a word with diacritcals, like "?lan", I get this: %8Elan But if I name a file with that and get a Dropbox encoded URL, I get this: %C3%A9lan I need the Dropbox version. What's the difference, and how come it happens, and how do I change LiveCode's output? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Wed Mar 21 16:38:09 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 21 Mar 2012 13:38:09 -0700 Subject: Highest Image File ID In-Reply-To: <4F6A2B7A.5090402@gmail.com> References: <28D433C1-2C7F-42DF-B9EF-99EE740E99F3@twft.com> <4F6A06AE.1020405@hyperactivesw.com> <4F6A0C86.7000700@gmail.com> <4F6A13C0.7070006@hyperactivesw.com> <4F6A155E.3060206@gmail.com> <4F6A22A4.6090804@hyperactivesw.com> <4F6A2B7A.5090402@gmail.com> Message-ID: <42961EDB-C22C-4DBB-B21B-DDD75A42C835@twft.com> Okay I updated the function to return an array to account for properties that are in array form. It returns a numbered array with two keys, the long ID of the object, and the property of each object you passed as an argument. I had to remove the sorting though because I am not about to sort an array. So far as I know sorting does not work with arrays. There should be some kind of form of sort for arrays like: sort the keys of myArrayA by myArray[id] of each -- or maybe by element 2 of each but of course there is not. At any rate sorting arrays is too much trouble, and I digress. Here's the updated function: function objectList theType, theProp if the last char of theType is "s" then put char 1 to -2 of theType into theType if theSort is empty then put "ascending" into theSort try do "get the " & theProp & " of " & theType & " 1 of this card" catch theError if item 1 of the last line of theError is "166" then return "Error: Invalid type" else return "Error: " & the last line of theError end if end try put empty into theObjectList put empty into theObjectListA put 1 into theLineNum put theType & "s" into thePluralType put the name of this card into theStartCard lock screen lock messages repeat with theCardNum = 1 to the number of cards of this stack go card theCardNum try do "put the number of " & thePluralType & " of this card into theTypeCount" repeat with theObjectNum = 1 to theTypeCount do "put the long ID of " & theType && theObjectNum & " into theObjectID" do "put the " & theProp & " of " & theType && theObjectNum & " into theValue" if theValue is not in theObjectList then put theObjectID into theObjectListA[theLineNum][LongID] put theValue into theObjectListA[theLineNum][theProp] put theValue into line 1 of theObjectList add 1 to theLineNum end if end repeat catch theError breakpoint end try end repeat go card theStartCard return theObjectListA end objectList The results for a call like put objectList("images", "short name") into theArrayA returns a result (in printKeys() format) like this: 1 short name: imgLogonsHi LongID: image id 10101 of card id 1002 of stack "/Users/bobsneidar/Documents/LiveCode Stacks/Conference Scheduler/CSL Main.livecode" 2 short name: barpattern.png LongID: image id 9999 of card id 1002 of stack "/Users/bobsneidar/Documents/LiveCode Stacks/Conference Scheduler/CSL Main.livecode" From m.schonewille at economy-x-talk.com Wed Mar 21 16:39:13 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 21 Mar 2012 21:39:13 +0100 Subject: UrlEncode oddness In-Reply-To: <4F6A39D9.1060204@hyperactivesw.com> References: <4F6A39D9.1060204@hyperactivesw.com> Message-ID: <9E3C6AE2-B4BC-463D-AC93-9E0071BB3C39@economy-x-talk.com> Jacque, put urlencode(unidecode(uniencode("?lan"),"UTF8")) -- 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 1.7 for LiveCode here http://qery.us/za On 21 mrt 2012, at 21:28, J. Landman Gay wrote: > If I urlencode a word with diacritcals, like "?lan", I get this: > > %8Elan > > But if I name a file with that and get a Dropbox encoded URL, I get this: > > %C3%A9lan > > I need the Dropbox version. What's the difference, and how come it happens, and how do I change LiveCode's output? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Wed Mar 21 16:41:10 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 21 Mar 2012 13:41:10 -0700 Subject: Speaking of SmartAss.. In-Reply-To: References: Message-ID: <6690FF77-F900-495B-BD45-E5A7A6E94425@twft.com> I LOVE THAT! On Mar 21, 2012, at 1:15 PM, Pete wrote: > I just came across this quote. It was new to me, maybe not to others. > > Programming today is a race between software engineers striving to build > bigger and better idiot-proof programs, and the Universe trying to produce > bigger and better idiots. So far, the Universe is winning. - Rich Cook > > -- > Pete > Molly's Revenge > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jhurley0305 at sbcglobal.net Wed Mar 21 16:43:35 2012 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Wed, 21 Mar 2012 13:43:35 -0700 Subject: Text formatting for a slider In-Reply-To: References: Message-ID: <0C0E6EBD-F2D6-4FFC-82E5-1F8275F0B2DE@sbcglobal.net> Richmond, Here is the definition of Properties in the dictionary: Summary: Specifies SOME of an object's properties and their current values. Emphasis mine. Jim > > Message: 27 > Date: Wed, 21 Mar 2012 22:24:10 +0200 > From: Richmond > To: How to use LiveCode > Subject: Re: Text formatting for a slider > Message-ID: <4F6A38EA.6040601 at gmail.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > On 03/21/2012 10:12 PM, Jim Hurley wrote: >> Stephen, >> >> What has me puzzled, maybe you have the answer, is a function to return ALL the properties of a given object. >> >> > > Here's what I did to get ALL the props of a slider: > > on mouseUp > put the properties of control "ZLIDER" into propARRAY > combine propARRAY by return and tab > put propARRAY into fld "PROPPS" > end mouseUp > > I think the middle line is what throws most people "off". > > > > ********************************************* From bobs at twft.com Wed Mar 21 16:45:58 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 21 Mar 2012 13:45:58 -0700 Subject: UrlEncode oddness In-Reply-To: <4F6A39D9.1060204@hyperactivesw.com> References: <4F6A39D9.1060204@hyperactivesw.com> Message-ID: <2F8B7E50-5B2B-43DE-8B28-E17A788A3CEF@twft.com> I am going to guess and say that the second one is also uniencoded. I think that because it appears that there are 2 characters being URLEncoded there. Bob On Mar 21, 2012, at 1:28 PM, J. Landman Gay wrote: > If I urlencode a word with diacritcals, like "?lan", I get this: > > %8Elan > > But if I name a file with that and get a Dropbox encoded URL, I get this: > > %C3%A9lan > > I need the Dropbox version. What's the difference, and how come it happens, and how do I change LiveCode's output? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Wed Mar 21 16:48:58 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 21 Mar 2012 15:48:58 -0500 Subject: UrlEncode oddness In-Reply-To: <9E3C6AE2-B4BC-463D-AC93-9E0071BB3C39@economy-x-talk.com> References: <4F6A39D9.1060204@hyperactivesw.com> <9E3C6AE2-B4BC-463D-AC93-9E0071BB3C39@economy-x-talk.com> Message-ID: <4F6A3EBA.4070307@hyperactivesw.com> On 3/21/12 3:39 PM, Mark Schonewille wrote: > Jacque, > > put urlencode(unidecode(uniencode("?lan"),"UTF8")) Thanks. I tried a few things with uniencode before posting but I must not have hit on the right combination. This works. Seems like urlencode should just do this for us. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Wed Mar 21 17:38:55 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 21 Mar 2012 23:38:55 +0200 Subject: Text formatting for a slider In-Reply-To: <0C0E6EBD-F2D6-4FFC-82E5-1F8275F0B2DE@sbcglobal.net> References: <0C0E6EBD-F2D6-4FFC-82E5-1F8275F0B2DE@sbcglobal.net> Message-ID: <4F6A4A6F.5000908@gmail.com> On 03/21/2012 10:43 PM, Jim Hurley wrote: > Richmond, > > Here is the definition of Properties in the dictionary: > > Summary: > Specifies SOME of an object's properties and their current values. What? There's more? Shock, Horror! > > Emphasis mine. > > Jim > >> Message: 27 >> Date: Wed, 21 Mar 2012 22:24:10 +0200 >> From: Richmond >> To: How to use LiveCode >> Subject: Re: Text formatting for a slider >> Message-ID:<4F6A38EA.6040601 at gmail.com> >> Content-Type: text/plain; charset=ISO-8859-1; format=flowed >> >> On 03/21/2012 10:12 PM, Jim Hurley wrote: >>> Stephen, >>> >>> What has me puzzled, maybe you have the answer, is a function to return ALL the properties of a given object. >>> >>> >> Here's what I did to get ALL the props of a slider: >> >> on mouseUp >> put the properties of control "ZLIDER" into propARRAY >> combine propARRAY by return and tab >> put propARRAY into fld "PROPPS" >> end mouseUp >> >> I think the middle line is what throws most people "off". >> >> >> >> ********************************************* > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gbojsza at gmail.com Wed Mar 21 18:01:55 2012 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 21 Mar 2012 16:01:55 -0600 Subject: Setting script in object not working... Message-ID: Hello, I have a stack where I generate a series of images. I then set the script of each image to a script that is stored in a custom property. In the ide the script works when you click an image and when you inspect the image's script in the script editor it is there. But when I take the stack and make it into an application it looks as if the images contain no script because when an image is clicked nothing happens. I have tried making the script very simple ie on mouseUp answer "Success" with "OK" end mouseUp Again this works in the ide but not in the final application? I have tried several other methods such as adding a button that I can manually test in the application to copy a script to an image but this fails? Has anybody experienced this before or have any suggestions? thanks, Glen From alex at tweedly.net Wed Mar 21 18:11:56 2012 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 21 Mar 2012 22:11:56 +0000 Subject: Setting script in object not working... In-Reply-To: References: Message-ID: <4F6A522C.4030202@tweedly.net> Sounds like you're running into something to do with scriptlimits (though I don't see why when you have a very simple short script). It's not clear from your description whether the script you want to set is known ahead of time and simply stored in custom property, or whether it is genuinely dynamic. Would you be able to, rather than set the script of each image, simply set the behaviour of the image to some (pre-created) button with the appropriate script already in place? -- Alex. On 21/03/2012 22:01, Glen Bojsza wrote: > Hello, > > I have a stack where I generate a series of images. > > I then set the script of each image to a script that is stored in a custom > property. > > In the ide the script works when you click an image and when you inspect > the image's script in the script editor it is there. > > But when I take the stack and make it into an application it looks as if > the images contain no script because when an image is clicked nothing > happens. > > I have tried making the script very simple ie > > on mouseUp > answer "Success" with "OK" > end mouseUp > > Again this works in the ide but not in the final application? > > I have tried several other methods such as adding a button that I can > manually test in the application to copy a script to an image but this > fails? > > Has anybody experienced this before or have any suggestions? > > thanks, > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From gbojsza at gmail.com Wed Mar 21 18:25:14 2012 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 21 Mar 2012 16:25:14 -0600 Subject: Setting script in object not working... In-Reply-To: <4F6A522C.4030202@tweedly.net> References: <4F6A522C.4030202@tweedly.net> Message-ID: Thanks Alex, I will try the behavior path... The funny thing is I swear that this was working in earlier versions. I even created a new simple stack with two buttons and a field. the stack has a customproperty call mymessage mymessage is on mouseUp put "hello" into fld tOut end mouseUp button "start" has the following script on mouseUp set the script of btn "test" to the mymessage of stack tmirror end mouseUp Pressing button "start" sets the script of button "test" with the customproperty. Pressing button "test" puts "hello" into fld tOut It works for both ide and the application. So some how my main project stack has something that changes when made into an application... I confirmed this with adding a test button to output the images' scripts... they were all empty? It is hard to trouble shoot an app if it works in the ide. The behavior path is a good idea as it might point to where the issue lies. thanks, Glen On Wed, Mar 21, 2012 at 4:11 PM, Alex Tweedly wrote: > Sounds like you're running into something to do with scriptlimits (though > I don't see why when you have a very simple short script). > > It's not clear from your description whether the script you want to set is > known ahead of time and simply stored in custom property, or whether it is > genuinely dynamic. Would you be able to, rather than set the script of each > image, simply set the behaviour of the image to some (pre-created) button > with the appropriate script already in place? > > -- Alex. > > > On 21/03/2012 22:01, Glen Bojsza wrote: > >> Hello, >> >> I have a stack where I generate a series of images. >> >> I then set the script of each image to a script that is stored in a custom >> property. >> >> In the ide the script works when you click an image and when you inspect >> the image's script in the script editor it is there. >> >> But when I take the stack and make it into an application it looks as if >> the images contain no script because when an image is clicked nothing >> happens. >> >> I have tried making the script very simple ie >> >> on mouseUp >> answer "Success" with "OK" >> end mouseUp >> >> Again this works in the ide but not in the final application? >> >> I have tried several other methods such as adding a button that I can >> manually test in the application to copy a script to an image but this >> fails? >> >> Has anybody experienced this before or have any suggestions? >> >> thanks, >> >> Glen >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> >> > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From pete at mollysrevenge.com Wed Mar 21 18:27:54 2012 From: pete at mollysrevenge.com (Pete) Date: Wed, 21 Mar 2012 15:27:54 -0700 Subject: Setting script in object not working... In-Reply-To: References: Message-ID: Is this another manifestation of not being able to save anything in a stack in a standalone program? Pete On Wed, Mar 21, 2012 at 3:01 PM, Glen Bojsza wrote: > Hello, > > I have a stack where I generate a series of images. > > I then set the script of each image to a script that is stored in a custom > property. > > In the ide the script works when you click an image and when you inspect > the image's script in the script editor it is there. > > But when I take the stack and make it into an application it looks as if > the images contain no script because when an image is clicked nothing > happens. > > I have tried making the script very simple ie > > on mouseUp > answer "Success" with "OK" > end mouseUp > > Again this works in the ide but not in the final application? > > I have tried several other methods such as adding a button that I can > manually test in the application to copy a script to an image but this > fails? > > Has anybody experienced this before or have any suggestions? > > thanks, > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From gbojsza at gmail.com Wed Mar 21 18:52:49 2012 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 21 Mar 2012 16:52:49 -0600 Subject: Setting script in object not working... In-Reply-To: References: Message-ID: Hi Pete, I am not trying to save the new images in the standalone but only show them. If the user wants to save the images they are exported as png's. But I am now certain that there is something amiss... I can set the tooltip for the images and it works fine in both ide and the application. I have also tried adding a couple of test buttons, one that cycles through the images of the group and sets their script and one that reads the list of image ids that I store and then set the scripts with direct references... both fail in the application but work in the ide. This looks like it will come down to massive trial and error to solve the problem... so any ideas on tackling the issue? By the way the behavior idea failed. thanks, Glen On Wed, Mar 21, 2012 at 4:27 PM, Pete wrote: > Is this another manifestation of not being able to save anything in a stack > in a standalone program? > Pete > > On Wed, Mar 21, 2012 at 3:01 PM, Glen Bojsza wrote: > > > Hello, > > > > I have a stack where I generate a series of images. > > > > I then set the script of each image to a script that is stored in a > custom > > property. > > > > In the ide the script works when you click an image and when you inspect > > the image's script in the script editor it is there. > > > > But when I take the stack and make it into an application it looks as if > > the images contain no script because when an image is clicked nothing > > happens. > > > > I have tried making the script very simple ie > > > > on mouseUp > > answer "Success" with "OK" > > end mouseUp > > > > Again this works in the ide but not in the final application? > > > > I have tried several other methods such as adding a button that I can > > manually test in the application to copy a script to an image but this > > fails? > > > > Has anybody experienced this before or have any suggestions? > > > > thanks, > > > > Glen > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > -- > Pete > Molly's Revenge > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From stephenREVOLUTION2 at barncard.com Wed Mar 21 19:05:46 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 21 Mar 2012 16:05:46 -0700 Subject: Text formatting for a slider In-Reply-To: References: Message-ID: I think what broke Smart properties was that some of the newer properites in never versions are multi-dimensional - and SP was written early in the 2000's. On 20 March 2012 15:03, stephen barncard wrote: > I made an attempt at 'fixing' Smart properties a while back, but found > it's not as simple as it might seem to be. Three objects created for each > property in real time made to scroll together and some other trickery going > on. It's a project I do want to tackle one of these days. > > > On 19 March 2012 15:34, stephen barncard wrote: > >> JIm, I'm a fan of Mr. Rinaldi as well - he supplied the first serial >> xcmds for hypercard back in 89 - >> however I can't get Smartproperties to work these days - have you used it >> lately? >> >> sqb >> >> >> On 19 March 2012 14:57, Jim Hurley wrote: >> >>> Pete, >>> >>> Yes, my feeling exactly. It looks like there was a conscious effort to >>> omit the foregroundColor for the slider (and scollbar as well). I was >>> worried that it was to be deprecated. >>> >>> (I wasn't concerned about ALL the properties being in the Inspector. It >>> is odd, however, that there is a place for the foreGroundColor property, an >>> icon but no defining text, but no way to access it. I suspect RR got >>> distracted while implementing the slider Inspector.) >>> >>> You might want to check out Richard's 4wProps (under the >>> Development/Plugins menu). Easy access to all the properties. >>> >>> Occasionally I have found (legendary) Renaldi's SmartProperties >>> invalueable. It allows one to compare side by side the properties to two >>> objects. It is valuable in finding out why two, apparently identical, >>> controls behave or look different. >>> >>> Jim Hurley >>> >>> > Message: 24 >>> > Date: Mon, 19 Mar 2012 11:42:46 -0700 >>> > From: Pete >>> > To: How to use LiveCode >>> > Subject: Re: Text formatting for a slider >>> > Message-ID: >>> > >> ybdn4Q at mail.gmail.com> >>> > Content-Type: text/plain; charset=ISO-8859-1 >>> > >>> > Yeah, but that displays all possible properties of any object. The >>> > "properties" property of an object gets you an array of properties for >>> a >>> > specific object. Still a long list mind you, and not a complete list >>> > either according to the dictionary. >>> > >>> > I think you're probably right that it would make the inspector windows >>> very >>> > unwieldy to include all properties. The problem is that by leaving >>> some of >>> > them out, arbitrarily, it gives the impression that they aren't >>> available, >>> > especially to new users. I remember when I first started using LC and >>> > wanted to set the behavior of an option menu button - there's no >>> inspector >>> > window behavior field so I just assumed it wasn't possible for some >>> reason >>> > and went down a different, much more complicated path. >>> > >>> > Seems like it would have been trivial to include one more option in the >>> > inspector option menu for "All Properties" or something similar. I >>> ended >>> > up writing my own plugin to show all the properties of a selected >>> object >>> > and allow me to change any of them. >>> > >>> > Pete >>> > >>> > On Mon, Mar 19, 2012 at 11:09 AM, Richmond < >>> richmondmathewson at gmail.com>wrote: >>> > >>> >> On 03/19/2012 06:05 PM, Jim Hurley wrote: >>> >> >>> >>> I have a slider in which the showValue is set to true. >>> >>> >>> >>> Unfortunately, the card background is gray and the black slider >>> value is >>> >>> very difficult to read. >>> >>> >>> >>> The inspector for the slider does not display an option for the >>> >>> foreground color. Why not? >>> >>> >>> >>> Using 4W Properties (thank you RIchard) the foreground color is >>> listed as >>> >>> an option (and can be changed there, or from the msg box.) >>> >>> >>> >>> Why this omission in the Inspector? (LC version 4 AND 5.) >>> >>> >>> >> >>> >> Almost all object have a vast number of options that one can fiddle >>> around >>> >> with; the Props Inspector only >>> >> displays a subset of them; why? I don't know, but I can hazard a >>> guess: >>> >> >>> >> a Props Inspector that displayed ALL the props of each object might >>> be so >>> >> unwieldy as to be virtually unusable. >>> >> >>> >> "Just for fun" . . . >>> >> >>> >> Set up a new stack with a scrollingListField field called "PROPPS" >>> >> >>> >> and try this in the MessageBox: >>> >> >>> >> put the propertyNames into fld "PROPPS" >>> >> >>> >> and "blow your mind" . . . :) >>> >> >>> >> >>> >>> >>> >>> Jim >>> >>> ______________________________**_________________ >>> >>> use-livecode mailing list >>> >>> use-livecode at lists.runrev.com >>> >>> Please visit this url to subscribe, unsubscribe and manage your >>> >>> subscription preferences: >>> >>> http://lists.runrev.com/**mailman/listinfo/use-livecode< >>> http://lists.runrev.com/mailman/listinfo/use-livecode> >>> >>> >>> >> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> >> -- >> >> >> >> Stephen Barncard >> San Francisco Ca. USA >> >> more about sqb >> >> > > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > > -- Stephen Barncard San Francisco Ca. USA more about sqb From pete at mollysrevenge.com Wed Mar 21 19:11:36 2012 From: pete at mollysrevenge.com (Pete) Date: Wed, 21 Mar 2012 16:11:36 -0700 Subject: Setting script in object not working... In-Reply-To: References: Message-ID: Hi Glen, I guess I'm referring to storing the script of the image, not the image itself. I'm wondering if setting the script of an object invokes a save, same for the tooltip, because you can't save data in a currently executing program. One thing for sure is that the scripts you set would not be there in any following executions of the standalone. All this is predicated on the standalone being one self-contained stack file and not a splash stack that loads the real application stack at run time. Somewhat stabbing in the dark though.... Pete On Wed, Mar 21, 2012 at 3:52 PM, Glen Bojsza wrote: > Hi Pete, > > I am not trying to save the new images in the standalone but only show > them. If the user wants to save the images they are exported as png's. > > But I am now certain that there is something amiss... I can set the tooltip > for the images and it works fine in both ide and the application. > > I have also tried adding a couple of test buttons, one that cycles through > the images of the group and sets their script and one that reads the list > of image ids that I store and then set the scripts with direct > references... both fail in the application but work in the ide. > > This looks like it will come down to massive trial and error to solve the > problem... so any ideas on tackling the issue? > > By the way the behavior idea failed. > > thanks, > > Glen > > On Wed, Mar 21, 2012 at 4:27 PM, Pete wrote: > > > Is this another manifestation of not being able to save anything in a > stack > > in a standalone program? > > Pete > > > > On Wed, Mar 21, 2012 at 3:01 PM, Glen Bojsza wrote: > > > > > Hello, > > > > > > I have a stack where I generate a series of images. > > > > > > I then set the script of each image to a script that is stored in a > > custom > > > property. > > > > > > In the ide the script works when you click an image and when you > inspect > > > the image's script in the script editor it is there. > > > > > > But when I take the stack and make it into an application it looks as > if > > > the images contain no script because when an image is clicked nothing > > > happens. > > > > > > I have tried making the script very simple ie > > > > > > on mouseUp > > > answer "Success" with "OK" > > > end mouseUp > > > > > > Again this works in the ide but not in the final application? > > > > > > I have tried several other methods such as adding a button that I can > > > manually test in the application to copy a script to an image but this > > > fails? > > > > > > Has anybody experienced this before or have any suggestions? > > > > > > thanks, > > > > > > Glen > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > > > > -- > > Pete > > Molly's Revenge > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From alex at tweedly.net Wed Mar 21 19:12:17 2012 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 21 Mar 2012 23:12:17 +0000 Subject: Setting script in object not working... In-Reply-To: References: Message-ID: <4F6A6051.8020408@tweedly.net> I'd try adding your 'start' and 'test' buttons to the real stack, and see if they work there. If they do, add an image 'test1' and have the 'start' button set its script as well. If that works, try doing that *after* you have created all the other images (in case its an issue with total number of script lines set). No other ideas yet .... -- Alex. On 21/03/2012 22:52, Glen Bojsza wrote: > Hi Pete, > > I am not trying to save the new images in the standalone but only show > them. If the user wants to save the images they are exported as png's. > > But I am now certain that there is something amiss... I can set the tooltip > for the images and it works fine in both ide and the application. > > I have also tried adding a couple of test buttons, one that cycles through > the images of the group and sets their script and one that reads the list > of image ids that I store and then set the scripts with direct > references... both fail in the application but work in the ide. > > This looks like it will come down to massive trial and error to solve the > problem... so any ideas on tackling the issue? > > By the way the behavior idea failed. > > thanks, > > Glen > > On Wed, Mar 21, 2012 at 4:27 PM, Pete wrote: > >> Is this another manifestation of not being able to save anything in a stack >> in a standalone program? >> Pete >> >> On Wed, Mar 21, 2012 at 3:01 PM, Glen Bojsza wrote: >> >>> Hello, >>> >>> I have a stack where I generate a series of images. >>> >>> I then set the script of each image to a script that is stored in a >> custom >>> property. >>> >>> In the ide the script works when you click an image and when you inspect >>> the image's script in the script editor it is there. >>> >>> But when I take the stack and make it into an application it looks as if >>> the images contain no script because when an image is clicked nothing >>> happens. >>> >>> I have tried making the script very simple ie >>> >>> on mouseUp >>> answer "Success" with "OK" >>> end mouseUp >>> >>> Again this works in the ide but not in the final application? >>> >>> I have tried several other methods such as adding a button that I can >>> manually test in the application to copy a script to an image but this >>> fails? >>> >>> Has anybody experienced this before or have any suggestions? >>> >>> thanks, >>> >>> Glen >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >> >> -- >> Pete >> Molly's Revenge >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From gbojsza at gmail.com Wed Mar 21 20:02:14 2012 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 21 Mar 2012 18:02:14 -0600 Subject: Setting script in object not working... In-Reply-To: <4F6A6051.8020408@tweedly.net> References: <4F6A6051.8020408@tweedly.net> Message-ID: Here is where it gets interesting... I created a couple of fields and test buttons one field I add what I want as a script and the button beside it sets the script of the image (just doing one for now) the other button reads what the script is from the image into the field beside it ; also the field I can use to output any mouseUp info from the image. when I try to set the script of the image with the following text in the field it does nothing (does not set the script of the image at all??) on mouseUp lock screen if exists(img tempPlot) then delete img tempPlot copy me paste set the name of the last img to "tempPlot" set the width of img "tempPlot" to 727 set the height of img "tempPlot" to 255 set the loc of img "tempPlot" to the loc of btn locStripChart set the lockloc of img "tempPlot" to true set the script of of img "tempPlot" to the plotZoom of stack "NM V1" set the tooltip of of img "tempPlot" to the tempPlotTooltip of stack "NM V1" unlock screen end mouseUp When I remove the lock screen if exists(img tempPlot) then delete img tempPlot unlock screen from the field leaving the following in the field it then sets the image script AND when I click the image it generates the image expected? But the new image's script is missing (which is probably the same problem we are trying to solve currently) on mouseUP copy me paste set the name of the last img to "tempPlot" set the width of img "tempPlot" to 727 set the height of img "tempPlot" to 255 set the loc of img "tempPlot" to the loc of btn locStripChart set the lockloc of img "tempPlot" to true set the script of of img "tempPlot" to the plotZoom of stack "NM V1" set the tooltip of of img "tempPlot" to the tempPlotTooltip of stack "NM V1" end mouseUP Remember that all of this works in the ide without any problems?? From gbojsza at gmail.com Wed Mar 21 20:18:08 2012 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 21 Mar 2012 18:18:08 -0600 Subject: Setting script in object not working... In-Reply-To: References: <4F6A6051.8020408@tweedly.net> Message-ID: Further testing points to my main project stack has the problem... I rebuilt a smaller stack that creates an image, and derives it's script in the same fashion as my main stack and it works without any issues. It's going to be a long night... thanks for the ideas and help but I have something that is specific to this stack and I don't want to bother anyone since it won't be reproducible else where. On Wed, Mar 21, 2012 at 6:02 PM, Glen Bojsza wrote: > Here is where it gets interesting... > > I created a couple of fields and test buttons > > one field I add what I want as a script and the button beside it sets the > script of the image (just doing one for now) > > the other button reads what the script is from the image into the field > beside it ; also the field I can use to output any mouseUp info from the > image. > > when I try to set the script of the image with the following text in the > field it does nothing (does not set the script of the image at all??) > > on mouseUp > lock screen > if exists(img tempPlot) then delete img tempPlot > copy me > paste > set the name of the last img to "tempPlot" > set the width of img "tempPlot" to 727 > set the height of img "tempPlot" to 255 > set the loc of img "tempPlot" to the loc of btn locStripChart > set the lockloc of img "tempPlot" to true > set the script of of img "tempPlot" to the plotZoom of stack "NM V1" > set the tooltip of of img "tempPlot" to the tempPlotTooltip of stack "NM > V1" > unlock screen > end mouseUp > > When I remove the > lock screen > if exists(img tempPlot) then delete img tempPlot > unlock screen > > from the field leaving the following in the field it then sets the image > script AND when I click the image it generates the image expected? But the > new image's script is missing (which is probably the same problem we are > trying to solve currently) > > on mouseUP > copy me > paste > set the name of the last img to "tempPlot" > set the width of img "tempPlot" to 727 > set the height of img "tempPlot" to 255 > set the loc of img "tempPlot" to the loc of btn locStripChart > set the lockloc of img "tempPlot" to true > set the script of of img "tempPlot" to the plotZoom of stack "NM V1" > set the tooltip of of img "tempPlot" to the tempPlotTooltip of stack "NM > V1" > end mouseUP > > Remember that all of this works in the ide without any problems?? > From bonnmike at gmail.com Wed Mar 21 20:23:18 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 21 Mar 2012 18:23:18 -0600 Subject: Setting script in object not working... In-Reply-To: <4F6A6051.8020408@tweedly.net> References: <4F6A6051.8020408@tweedly.net> Message-ID: Might set up a hidden image object with the script already there and just clone or copy it. That way you don't have to worry about whether its a scriptlimits issue if nothing else. On Wed, Mar 21, 2012 at 5:12 PM, Alex Tweedly wrote: > I'd try adding your 'start' and 'test' buttons to the real stack, and see > if they work there. > If they do, add an image 'test1' and have the 'start' button set its > script as well. > If that works, try doing that *after* you have created all the other > images (in case its an issue with total number of script lines set). > > No other ideas yet .... > -- Alex. > > > On 21/03/2012 22:52, Glen Bojsza wrote: > >> Hi Pete, >> >> I am not trying to save the new images in the standalone but only show >> them. If the user wants to save the images they are exported as png's. >> >> But I am now certain that there is something amiss... I can set the >> tooltip >> for the images and it works fine in both ide and the application. >> >> I have also tried adding a couple of test buttons, one that cycles through >> the images of the group and sets their script and one that reads the list >> of image ids that I store and then set the scripts with direct >> references... both fail in the application but work in the ide. >> >> This looks like it will come down to massive trial and error to solve the >> problem... so any ideas on tackling the issue? >> >> By the way the behavior idea failed. >> >> thanks, >> >> Glen >> >> On Wed, Mar 21, 2012 at 4:27 PM, Pete wrote: >> >> Is this another manifestation of not being able to save anything in a >>> stack >>> in a standalone program? >>> Pete >>> >>> On Wed, Mar 21, 2012 at 3:01 PM, Glen Bojsza wrote: >>> >>> Hello, >>>> >>>> I have a stack where I generate a series of images. >>>> >>>> I then set the script of each image to a script that is stored in a >>>> >>> custom >>> >>>> property. >>>> >>>> In the ide the script works when you click an image and when you inspect >>>> the image's script in the script editor it is there. >>>> >>>> But when I take the stack and make it into an application it looks as if >>>> the images contain no script because when an image is clicked nothing >>>> happens. >>>> >>>> I have tried making the script very simple ie >>>> >>>> on mouseUp >>>> answer "Success" with "OK" >>>> end mouseUp >>>> >>>> Again this works in the ide but not in the final application? >>>> >>>> I have tried several other methods such as adding a button that I can >>>> manually test in the application to copy a script to an image but this >>>> fails? >>>> >>>> Has anybody experienced this before or have any suggestions? >>>> >>>> thanks, >>>> >>>> Glen >>>> ______________________________**_________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/**mailman/listinfo/use-livecode >>>> >>>> >>>> >>> -- >>> Pete >>> Molly's Revenge >>> > >>> ______________________________**_________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/**mailman/listinfo/use-livecode >>> >>> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> >> > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From gbojsza at gmail.com Wed Mar 21 20:48:16 2012 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 21 Mar 2012 18:48:16 -0600 Subject: Setting script in object not working... In-Reply-To: References: <4F6A6051.8020408@tweedly.net> Message-ID: I tried a variation of that but for some reason the images aren't taking the script consistently? It's like the images sometimes work when they do get a script and other times it takes several clicks before the script is executed? I was thinking if there was a way to determine if the user clicks over an image that is in a group and possible set a script in the group. This would eliminate scripts limitations and any other possible issues. I am not sure how to approach this... the group scrolls when there are more images that can be seen on the screen but I don't think a mouseUp script for the group is trapped on the scroll bar so that should be fine. The question is how to determine the image below the mouse when the user does click? On Wed, Mar 21, 2012 at 6:23 PM, Mike Bonner wrote: > Might set up a hidden image object with the script already there and just > clone or copy it. That way you don't have to worry about whether its a > scriptlimits issue if nothing else. > > From mwieder at ahsoftware.net Wed Mar 21 21:02:35 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 21 Mar 2012 18:02:35 -0700 Subject: Text formatting for a slider In-Reply-To: References: Message-ID: <3677832125.20120321180235@ahsoftware.net> stephen- Wednesday, March 21, 2012, 4:05:46 PM, you wrote: > I think what broke Smart properties was that some of the newer properites > in never versions are multi-dimensional - and SP was written early in the > 2000's. And some of the multidimensional ones don't appear in the list when you get "the properties of". Luckily, the list of missing items is short if you don't include custom properties. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Wed Mar 21 21:38:49 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 21 Mar 2012 20:38:49 -0500 Subject: Setting script in object not working... In-Reply-To: References: <4F6A6051.8020408@tweedly.net> Message-ID: <4F6A82A9.6070804@hyperactivesw.com> On 3/21/12 7:02 PM, Glen Bojsza wrote: > when I try to set the script of the image with the following text in the > field it does nothing (does not set the script of the image at all??) > > on mouseUp > lock screen > if exists(img tempPlot) then delete img tempPlot > copy me > paste > set the name of the last img to "tempPlot" > set the width of img "tempPlot" to 727 > set the height of img "tempPlot" to 255 > set the loc of img "tempPlot" to the loc of btn locStripChart > set the lockloc of img "tempPlot" to true > set the script of of img "tempPlot" to the plotZoom of stack "NM V1" > set the tooltip of of img "tempPlot" to the tempPlotTooltip of stack "NM V1" > unlock screen > end mouseUp Sure looks like script limits to me. The above counts as 12 lines of script. There's a limit of 10 lines. > > When I remove the > lock screen > if exists(img tempPlot) then delete img tempPlot > unlock screen > > from the field leaving the following in the field it then sets the image > script AND when I click the image it generates the image expected? After removing 3 lines there are 9 lines remaining, which is within the limit. The "on" and "end" lines don't count. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rdimola at evergreeninfo.net Wed Mar 21 21:44:55 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 21 Mar 2012 21:44:55 -0400 Subject: Setting script in object not working... In-Reply-To: References: <4F6A6051.8020408@tweedly.net> Message-ID: <002f01cd07cd$6258a880$2709f980$@net> I create option buttons on the fly for the Android menu button and iOS menus from a soft menu button. I have no problem putting a script in them. I do ==>set the script of bname to ("on mouseup" & cr & tab & "ProcessMenu" && quote & (item 2 of line I of MenuList) & quote & cr & "end mouseup") This 3 line script works for mobile standalone and in the IDE. Although looking at it again, I don't know what that tab was for. Shouldn't hurt. Is this an image control only problem? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Glen Bojsza Sent: Wednesday, March 21, 2012 8:48 PM To: How to use LiveCode Subject: Re: Setting script in object not working... I tried a variation of that but for some reason the images aren't taking the script consistently? It's like the images sometimes work when they do get a script and other times it takes several clicks before the script is executed? I was thinking if there was a way to determine if the user clicks over an image that is in a group and possible set a script in the group. This would eliminate scripts limitations and any other possible issues. I am not sure how to approach this... the group scrolls when there are more images that can be seen on the screen but I don't think a mouseUp script for the group is trapped on the scroll bar so that should be fine. The question is how to determine the image below the mouse when the user does click? On Wed, Mar 21, 2012 at 6:23 PM, Mike Bonner wrote: > Might set up a hidden image object with the script already there and just > clone or copy it. That way you don't have to worry about whether its a > scriptlimits issue if nothing else. > > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Wed Mar 21 21:47:45 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 21 Mar 2012 19:47:45 -0600 Subject: Setting script in object not working... In-Reply-To: References: <4F6A6051.8020408@tweedly.net> Message-ID: With the mouseup handler at the grouplevel, you can look at 'the target' to determine which image has been clicked. >> The question is how to determine the image below the mouse when the user does click? On Wed, Mar 21, 2012 at 6:48 PM, Glen Bojsza wrote: > I tried a variation of that but for some reason the images aren't taking > the script consistently? > > It's like the images sometimes work when they do get a script and other > times it takes several clicks before the script is executed? > > I was thinking if there was a way to determine if the user clicks over an > image that is in a group and possible set a script in the group. This would > eliminate scripts limitations and any other possible issues. > > I am not sure how to approach this... the group scrolls when there are more > images that can be seen on the screen but I don't think a mouseUp script > for the group is trapped on the scroll bar so that should be fine. > > The question is how to determine the image below the mouse when the user > does click? > > > > On Wed, Mar 21, 2012 at 6:23 PM, Mike Bonner wrote: > > > Might set up a hidden image object with the script already there and just > > clone or copy it. That way you don't have to worry about whether its a > > scriptlimits issue if nothing else. > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From gbojsza at gmail.com Wed Mar 21 22:29:22 2012 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 21 Mar 2012 20:29:22 -0600 Subject: Setting script in object not working... In-Reply-To: References: <4F6A6051.8020408@tweedly.net> Message-ID: Well it turns out that Jacque is correct it was the script limits... I have resolved the first half of my problem as Mike was also correct on the use of "target" for the group. So, I am over the first hurdle with everything working the second hurdle on how to handle a single new image that is not in a group. From niconiko at gmail.com Thu Mar 22 01:30:40 2012 From: niconiko at gmail.com (Nicolas Cueto) Date: Thu, 22 Mar 2012 14:30:40 +0900 Subject: [irev] passing a parameter Message-ID: Hello All, I'm streamlining an already working irev setup, and have a two-part question. I have an url that connects to an irev script, and now want to also pass an id parameter thru that same url. For example: http://kweto.com/receiveData.irev?Jan2012 http://kweto.com/receiveData.irev?Feb2012 http://kweto.com/receiveData.irev?Mar2012 How would I append that id parameter to the url? My examples above show "?", but that's just a wild guess on my part. Secondly, how can the irev script at "http://kweto.com/receiveData.irev" be modified to read in that id parameter from the url? Thank you. -- Nicolas Cueto From gcanyon at gmail.com Thu Mar 22 02:25:26 2012 From: gcanyon at gmail.com (Geoff Canyon) Date: Thu, 22 Mar 2012 01:25:26 -0500 Subject: revCopyFile In-Reply-To: References: <51B2AA08-EAB6-4600-B2B0-B684A73BF230@twft.com> <175652662687.20120321110305@ahsoftware.net> <4F6A1A4A.2010907@gmail.com> Message-ID: The advantages derive from the fact that LiveCode isn't doing the actual copying with revCopyFile -- the Finder is. For completeness, the same advantage applies to using a shell command. You don't get a progress dialog though. Okay, I just did a quick one-off test with interface sounds off. For thirty files that were each about 70kb, using a shell command was about 3x faster than using revCopyFile. That's without taking advantage of the ability to move and rename in one step with a shell command. If that's what you're doing, the advantage would be even greater. On Wed, Mar 21, 2012 at 3:04 PM, Pete wrote: > Thanks all for the input. Sounds like Stephen's approach is the only way > to get rid of it. Seems like that setting will apply to other sounds as > well, but I'm OK with that. > > As far as using AppleScript, I'm using revCopyFile because the dictionary > claims there are "certain advantages" to using it over "put URL" or any > other method, amongst which is that it does not require reading the file > into memory, and since some of these files could be pretty large, that's > significant. On a Mac, it also displays a progress bar which I don;t think > would be possible if I used "put URL". > > Pete > > On Wed, Mar 21, 2012 at 11:35 AM, Geoff Canyon wrote: > > > I went straight to the shell command, so I don't know for sure, but this > > sounds reasonable. There's also the overhead of spinning up AppleScript > in > > the first place. If Apple is doing that badly, that might also cause > > problems I suppose. > > > > On Wed, Mar 21, 2012 at 1:24 PM, stephen barncard < > > stephenREVOLUTION2 at barncard.com> wrote: > > > > > That was probably a big reason why multiple file transfers would take > > more > > > time - loading and unloading the sound - and perhaps the reason why it > > > failed after memory was exceeded. > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > -- > Pete > Molly's Revenge > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ken at kencorey.com Thu Mar 22 03:01:02 2012 From: ken at kencorey.com (Ken Corey) Date: Thu, 22 Mar 2012 07:01:02 +0000 Subject: Setting script in object not working... In-Reply-To: References: Message-ID: <4F6ACE2E.8020602@kencorey.com> On 21/03/2012 22:01, Glen Bojsza wrote: > I have a stack where I generate a series of images. > > I then set the script of each image to a script that is stored in a custom > property. I'm *very* new to all of this but...isn't this when the 'behavior' field would come in handy? Put the script into a button, and then for each image you create set the behavior field to the button. -Ken From jhurley0305 at sbcglobal.net Thu Mar 22 03:11:48 2012 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Thu, 22 Mar 2012 00:11:48 -0700 Subject: Text formatting for a slider In-Reply-To: References: Message-ID: It is not just the arrays. It omits things like the foregroundcolor and backgroundcolor. I get a rough count of 34 properties using "the properties of" for a scrollbar and Richard shows 57. Jim > > Message: 19 > Date: Wed, 21 Mar 2012 18:02:35 -0700 > From: Mark Wieder > To: How to use LiveCode > Subject: Re: Text formatting for a slider > Message-ID: <3677832125.20120321180235 at ahsoftware.net> > Content-Type: text/plain; charset=us-ascii > > stephen- > > Wednesday, March 21, 2012, 4:05:46 PM, you wrote: > >> I think what broke Smart properties was that some of the newer properites >> in never versions are multi-dimensional - and SP was written early in the >> 2000's. > > And some of the multidimensional ones don't appear in the list when > you get "the properties of". Luckily, the list of missing items is > short if you don't include custom properties. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > From kee at kagi.com Thu Mar 22 03:15:55 2012 From: kee at kagi.com (Kee Nethery) Date: Thu, 22 Mar 2012 00:15:55 -0700 Subject: [irev] passing a parameter In-Reply-To: References: Message-ID: <2930E0E3-8F6A-4D97-9F89-B9E459D5DA92@kagi.com> This is correct except it is a key value pair: http://kweto.com/receiveData.irev?date=Jan2012,sender=Nicolas%20Cuelo that kind of thing. Also, the data you pass should be URL encoded (as in above replacing the space between your names with the URL encoded version of that character). Kee From alex at tweedly.net Thu Mar 22 04:54:39 2012 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 22 Mar 2012 08:54:39 +0000 Subject: [irev] passing a parameter In-Reply-To: References: Message-ID: <4F6AE8CF.8080007@tweedly.net> You pass the parameter in the URL using a name=value pair, like http://kweto.com/receiveData.irev?month=Jan2012 or http://kweto.com/receiveData.irev?day=12&month=Jan2012 Note that if you are passing this from a script, you should URLencode the value before passing it put URLencode(mydata) into temp get URL ("http"//kweto.com/receiveData.irev?keyname="& temp) into myreturnvalue Within the itev script, you access the keyname value pairs form the&_GET array, put $_GET["month" into tMonth put URLdecode( $_GET["keyname"] ) into tData -- Alex. On 22/03/2012 05:30, Nicolas Cueto wrote: > Hello All, > > I'm streamlining an already working irev setup, and have a two-part question. > > I have an url that connects to an irev script, and now want to also > pass an id parameter thru that same url. For example: > > http://kweto.com/receiveData.irev?Jan2012 > http://kweto.com/receiveData.irev?Feb2012 > http://kweto.com/receiveData.irev?Mar2012 > > How would I append that id parameter to the url? My examples above > show "?", but that's just a wild guess on my part. > > Secondly, how can the irev script at > "http://kweto.com/receiveData.irev" be modified to read in that id > parameter from the url? > > Thank you. > > -- > Nicolas Cueto > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dave.cragg at lacscentre.co.uk Thu Mar 22 05:56:22 2012 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Thu, 22 Mar 2012 09:56:22 +0000 Subject: [irev] passing a parameter In-Reply-To: <4F6AE8CF.8080007@tweedly.net> References: <4F6AE8CF.8080007@tweedly.net> Message-ID: <0E2D56A1-8596-4323-AEB9-12510EA95D6F@lacscentre.co.uk> On 22 Mar 2012, at 08:54, Alex Tweedly wrote: > put URLdecode( $_GET["keyname"] ) into tData Alex, just a question for future reference. Is it necessary to URLDecode the $_GET values? I'm going on php experience here where $_GET values are already decoded. I was assuming it would be the same with Livecode. Cheers Dave From alex at tweedly.net Thu Mar 22 06:47:38 2012 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 22 Mar 2012 10:47:38 +0000 Subject: [irev] passing a parameter In-Reply-To: <0E2D56A1-8596-4323-AEB9-12510EA95D6F@lacscentre.co.uk> References: <4F6AE8CF.8080007@tweedly.net> <0E2D56A1-8596-4323-AEB9-12510EA95D6F@lacscentre.co.uk> Message-ID: <4F6B0349.9040903@tweedly.net> No idea - I've just always done it :-) Yep - a quick check says you're right, they are already urlDecoded In fact, the release notes say: > $_GET > Available when running in CGI mode. > It is an array variable, translated from the QUERY_STRING. It assumes > the query string is encoded as url-form-encoded data. > The data will be converted to the native character set from the > character set defined in the outputTextEncoding. (and it's the same for $_POST, etc.) Thanks - I can go remove a whole bunch of urlDecode calls now :-) -- Alex. On 22/03/2012 09:56, Dave Cragg wrote: > On 22 Mar 2012, at 08:54, Alex Tweedly wrote: > >> put URLdecode( $_GET["keyname"] ) into tData > Alex, just a question for future reference. Is it necessary to URLDecode the $_GET values? I'm going on php experience here where $_GET values are already decoded. I was assuming it would be the same with Livecode. > > Cheers > Dave > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dave.cragg at lacscentre.co.uk Thu Mar 22 07:34:26 2012 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Thu, 22 Mar 2012 11:34:26 +0000 Subject: [irev] passing a parameter In-Reply-To: <4F6B0349.9040903@tweedly.net> References: <4F6AE8CF.8080007@tweedly.net> <0E2D56A1-8596-4323-AEB9-12510EA95D6F@lacscentre.co.uk> <4F6B0349.9040903@tweedly.net> Message-ID: On 22 Mar 2012, at 10:47, Alex Tweedly wrote: > > No idea - I've just always done it :-) > > Yep - a quick check says you're right, they are already urlDecoded Thanks for checking. From lists at mangomultimedia.com Thu Mar 22 09:18:49 2012 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 22 Mar 2012 09:18:49 -0400 Subject: Playing Flash Video? Message-ID: I know someone who would like to add Flash video playback to a LiveCode project that already supports QuickTime and DirectShow. It must be possible to query the duration and current time of the video, set the current time, and play/pause the video via script. I'm looking for anyone who has done work in this area and might be able to help them out. Please contact me off-list. Thanks, -- Trevor DeVore Blue Mango Learning Systems www.clarify-it.com - www.screensteps.com From MikeKerner at roadrunner.com Thu Mar 22 11:02:11 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 22 Mar 2012 11:02:11 -0400 Subject: Two More Resolutions On The Way Message-ID: In case you missed it, the rumor on the iPhone 5's new display: http://www.reuters.com/article/2012/03/22/us-apple-iphone-idUSBRE82L01G20120322 I think it's time to discuss a better way to do geometry design for iOS in LC. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From ray at linkit.com Thu Mar 22 12:18:57 2012 From: ray at linkit.com (Ray Horsley) Date: Thu, 22 Mar 2012 11:18:57 -0500 Subject: LiveCode Player for 5.5 In-Reply-To: References: Message-ID: <5A25FEED-1153-43BD-84F6-F107DAB9382E@LinkIt.Com> I've always downloaded the plugin at: http://revweb.runrev.com/ This gives me version (R9) which does not run standalones built for Web in Livecode 5.5. Is there another site to get the LiveCode player which will run standalones built in 5.5? Thanks, Ray Horsley LinkIt! Software From m.schonewille at economy-x-talk.com Thu Mar 22 11:27:03 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 22 Mar 2012 16:27:03 +0100 Subject: LiveCode Player for 5.5 In-Reply-To: <5A25FEED-1153-43BD-84F6-F107DAB9382E@LinkIt.Com> References: <5A25FEED-1153-43BD-84F6-F107DAB9382E@LinkIt.Com> Message-ID: <12DA7B06-9014-4AFD-8665-52E0B889ED35@economy-x-talk.com> Ray, no. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za On 22 mrt 2012, at 17:18, Ray Horsley wrote: > I've always downloaded the plugin at: > > http://revweb.runrev.com/ > > This gives me version (R9) which does not run standalones built for Web in Livecode 5.5. Is there another site to get the LiveCode player which will run standalones built in 5.5? > > Thanks, > > Ray Horsley > LinkIt! Software From jhurley0305 at sbcglobal.net Thu Mar 22 11:33:06 2012 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Thu, 22 Mar 2012 08:33:06 -0700 Subject: Need an example of how to use "try" and "catch" In-Reply-To: References: Message-ID: <36C903FC-E040-4EF7-9CD7-3037B05F0B2F@sbcglobal.net> The dictionary needs an example of how the "try" command is used to catch an error. Anyone have an illustration? For example, suppose one wanted to catch an error in the statement: put the {some built-in property of an object] of button "soAndso" into tProp Where the built in property may not exist.How would one catch the error and perhaps proceed on the basis of the particular error message? Thanks, Jim From bobs at twft.com Thu Mar 22 11:35:35 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 22 Mar 2012 08:35:35 -0700 Subject: revCopyFile In-Reply-To: References: <51B2AA08-EAB6-4600-B2B0-B684A73BF230@twft.com> <175652662687.20120321110305@ahsoftware.net> <4F6A1A4A.2010907@gmail.com> Message-ID: Could you share the shell script that does the copy? That would be useful to many I think. Bob On Mar 21, 2012, at 11:25 PM, Geoff Canyon wrote: > The advantages derive from the fact that LiveCode isn't doing the actual > copying with revCopyFile -- the Finder is. For completeness, the same > advantage applies to using a shell command. You don't get a progress dialog > though. > > Okay, I just did a quick one-off test with interface sounds off. For thirty > files that were each about 70kb, using a shell command was about 3x faster > than using revCopyFile. That's without taking advantage of the ability to > move and rename in one step with a shell command. If that's what you're > doing, the advantage would be even greater. > > On Wed, Mar 21, 2012 at 3:04 PM, Pete wrote: > >> Thanks all for the input. Sounds like Stephen's approach is the only way >> to get rid of it. Seems like that setting will apply to other sounds as >> well, but I'm OK with that. >> >> As far as using AppleScript, I'm using revCopyFile because the dictionary >> claims there are "certain advantages" to using it over "put URL" or any >> other method, amongst which is that it does not require reading the file >> into memory, and since some of these files could be pretty large, that's >> significant. On a Mac, it also displays a progress bar which I don;t think >> would be possible if I used "put URL". >> >> Pete >> >> On Wed, Mar 21, 2012 at 11:35 AM, Geoff Canyon wrote: >> >>> I went straight to the shell command, so I don't know for sure, but this >>> sounds reasonable. There's also the overhead of spinning up AppleScript >> in >>> the first place. If Apple is doing that badly, that might also cause >>> problems I suppose. >>> >>> On Wed, Mar 21, 2012 at 1:24 PM, stephen barncard < >>> stephenREVOLUTION2 at barncard.com> wrote: >>> >>>> That was probably a big reason why multiple file transfers would take >>> more >>>> time - loading and unloading the sound - and perhaps the reason why it >>>> failed after memory was exceeded. >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >> >> >> -- >> Pete >> Molly's Revenge >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major.on-rev.com Thu Mar 22 11:36:06 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Thu, 22 Mar 2012 16:36:06 +0100 Subject: LiveCode Player for 5.5 In-Reply-To: <12DA7B06-9014-4AFD-8665-52E0B889ED35@economy-x-talk.com> References: <5A25FEED-1153-43BD-84F6-F107DAB9382E@LinkIt.Com> <12DA7B06-9014-4AFD-8665-52E0B889ED35@economy-x-talk.com> Message-ID: <593EC738-3401-4864-83A7-C4DE841132BC@major.on-rev.com> Hi all, did you read the copyright notice on the download page: Copyright RunRev Ltd 2009 All rights reserved. That's the year when the plug-in was updated the last time! Well... Am 22.03.2012 um 16:27 schrieb Mark Schonewille: > Ray, no. > > -- > Best regards, > Mark Schonewille > On 22 mrt 2012, at 17:18, Ray Horsley wrote: >> I've always downloaded the plugin at: >> http://revweb.runrev.com/ >> This gives me version (R9) which does not run standalones built for Web in Livecode 5.5. Is there another site to get the LiveCode player which will run standalones built in 5.5? >> >> Thanks, >> >> Ray Horsley >> LinkIt! Software Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From ray at linkit.com Thu Mar 22 12:44:40 2012 From: ray at linkit.com (Ray Horsley) Date: Thu, 22 Mar 2012 11:44:40 -0500 Subject: LiveCode Player for 5.5 In-Reply-To: <593EC738-3401-4864-83A7-C4DE841132BC@major.on-rev.com> References: <5A25FEED-1153-43BD-84F6-F107DAB9382E@LinkIt.Com> <12DA7B06-9014-4AFD-8665-52E0B889ED35@economy-x-talk.com> <593EC738-3401-4864-83A7-C4DE841132BC@major.on-rev.com> Message-ID: <4366CDDA-FA69-4F50-89B1-0FFED406838F@LinkIt.Com> So building standalones for Web has been discontinued for quite some time now in LiveCode? On Mar 22, 2012, at 10:36 AM, Klaus on-rev wrote: > Hi all, > > did you read the copyright notice on the download page: > Copyright RunRev Ltd 2009 All rights reserved. > > That's the year when the plug-in was updated the last time! > > Well... > > Am 22.03.2012 um 16:27 schrieb Mark Schonewille: > >> Ray, no. >> >> -- >> Best regards, >> Mark Schonewille >> On 22 mrt 2012, at 17:18, Ray Horsley wrote: >>> I've always downloaded the plugin at: >>> http://revweb.runrev.com/ >>> This gives me version (R9) which does not run standalones built for Web in Livecode 5.5. Is there another site to get the LiveCode player which will run standalones built in 5.5? >>> >>> Thanks, >>> >>> Ray Horsley >>> LinkIt! Software > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Thu Mar 22 11:48:03 2012 From: coiin at verizon.net (Colin Holgate) Date: Thu, 22 Mar 2012 11:48:03 -0400 Subject: Two More Resolutions On The Way In-Reply-To: References: Message-ID: I don't see anything in that article that suggests there are new resolutions. If the new phone used the same dpi as the new iPad, instead of the dpi of the iPhone 4, then you would get a 4.3 inch screen that is still 640x960. From bobs at twft.com Thu Mar 22 11:52:52 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 22 Mar 2012 08:52:52 -0700 Subject: Need an example of how to use "try" and "catch" In-Reply-To: <36C903FC-E040-4EF7-9CD7-3037B05F0B2F@sbcglobal.net> References: <36C903FC-E040-4EF7-9CD7-3037B05F0B2F@sbcglobal.net> Message-ID: <55E66B85-B94A-4954-9DD7-6E95AAFF7ABA@twft.com> try put "foo" into myVar put the value of myVarr catch theError, theNum -- breakpoint answer theNum & cr & line1 of theError as sheet exit to top end try Is that what you mean? Bob On Mar 22, 2012, at 8:33 AM, Jim Hurley wrote: > The dictionary needs an example of how the "try" command is used to catch an error. > > Anyone have an illustration? > > For example, suppose one wanted to catch an error in the statement: > > put the {some built-in property of an object] of button "soAndso" into tProp > > Where the built in property may not exist.How would one catch the error and perhaps proceed on the basis of the particular error message? > > Thanks, > > Jim > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Thu Mar 22 11:53:28 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 22 Mar 2012 16:53:28 +0100 Subject: LiveCode Player for 5.5 In-Reply-To: <4366CDDA-FA69-4F50-89B1-0FFED406838F@LinkIt.Com> References: <5A25FEED-1153-43BD-84F6-F107DAB9382E@LinkIt.Com> <12DA7B06-9014-4AFD-8665-52E0B889ED35@economy-x-talk.com> <593EC738-3401-4864-83A7-C4DE841132BC@major.on-rev.com> <4366CDDA-FA69-4F50-89B1-0FFED406838F@LinkIt.Com> Message-ID: Ray, We know as much as you do. Also, I would consider it a waste of money if RunRev were to invest in the plugin again. I'd rather expect them to invest in HTML5 export. -- 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 1.7 for LiveCode here http://qery.us/za On 22 mrt 2012, at 17:44, Ray Horsley wrote: > So building standalones for Web has been discontinued for quite some time now in LiveCode? > From pmbrig at gmail.com Thu Mar 22 12:22:29 2012 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Thu, 22 Mar 2012 12:22:29 -0400 Subject: Need an example of how to use "try" and "catch" In-Reply-To: <36C903FC-E040-4EF7-9CD7-3037B05F0B2F@sbcglobal.net> References: <36C903FC-E040-4EF7-9CD7-3037B05F0B2F@sbcglobal.net> Message-ID: <45D4B864-60D9-4AD0-BFF4-7D2CB8330FAC@gmail.com> On Mar 22, 2012, at 11:33 AM, Jim Hurley wrote: > The dictionary needs an example of how the "try" command is used to catch an error. > > Anyone have an illustration? > > For example, suppose one wanted to catch an error in the statement: > > put the {some built-in property of an object] of button "soAndso" into tProp > > Where the built in property may not exist.How would one catch the error and perhaps proceed on the basis of the particular error message? example: try put sha1digest(tString) into tDigest catch tErr put md5digest(tString) into tDigest -- if version < 4.5.3 end try -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From jhurley0305 at sbcglobal.net Thu Mar 22 12:22:49 2012 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Thu, 22 Mar 2012 09:22:49 -0700 Subject: Need an example of how to use "try" and "catch" In-Reply-To: References: Message-ID: <01C662C6-A225-4706-98FB-D944E9BC97FA@sbcglobal.net> Bob, Yes that would be fine, except that I get a compilation error at the line: catch theError, theNum RR says: (try: not a command), char 7 Jim > Bob Sneidar wrote: > try > put "foo" into myVar > put the value of myVarr > catch theError, theNum > -- breakpoint > answer theNum & cr & line1 of theError as sheet > exit to top > end try > > Is that what you mean? > > Bob > From dan at clearvisiontech.com Thu Mar 22 12:26:35 2012 From: dan at clearvisiontech.com (Dan Friedman) Date: Thu, 22 Mar 2012 09:26:35 -0700 Subject: iOS Caching? In-Reply-To: References: Message-ID: <201756A1-B135-4FE2-B166-A9FE0B12966E@clearvisiontech.com> Greetings, I am experiencing an issue on my iPad with my LiveCode project that is puzzling me. It appears that my iOS app is caching data from a server. Once I read a file from my server in my app, that's the only version of the file that I get. For example, I read the file and I get the correct data. I then change the data on the server. I then read the data again on the iPad, and I get the original copy of the data! The same thing happens even if I alter the data on the server from the iPad its self! To read the data, I am using a simple put: put decompress(url myFilePath) into tMyData I can write to the server without issue. Using a simple "put", I can write the data to the server without issue. I have verified this is working. However, re-reading the data returns the original version of the data! I don't think the issue is my server as the EXACT code is working perfectly on the desktop version of LC (and has been for years). Any thoughts or ideas of what could cause this?? ANY advice is appreciated as I have already pulled most of my hair out on this! -Dan From pmbrig at gmail.com Thu Mar 22 12:27:39 2012 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Thu, 22 Mar 2012 12:27:39 -0400 Subject: Need an example of how to use "try" and "catch" In-Reply-To: <36C903FC-E040-4EF7-9CD7-3037B05F0B2F@sbcglobal.net> References: <36C903FC-E040-4EF7-9CD7-3037B05F0B2F@sbcglobal.net> Message-ID: <36DC7FF2-0F8A-4711-B468-A9187AFFE024@gmail.com> On Mar 22, 2012, at 11:33 AM, Jim Hurley wrote: > For example, suppose one wanted to catch an error in the statement: > > put the {some built-in property of an object] of button "soAndso" into tProp > > Where the built in property may not exist.How would one catch the error and perhaps proceed on the basis of the particular error message? Note that getting the customProp of an object where the property doesn't exist will return but won't trigger any error. If you want to "catch" this then don't use a try statement, do something like put the myProperty of btn "x" into tProp if tProp <> empty then -- do something with the property else -- handle "error" here end if -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From MikeKerner at roadrunner.com Thu Mar 22 12:30:00 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 22 Mar 2012 12:30:00 -0400 Subject: Two More Resolutions On The Way In-Reply-To: References: Message-ID: I guess I didn't think about them using the new iPad's pixel density instead of the iPhone 4's density. I guess we'll find out... From ray at linkit.com Thu Mar 22 13:34:32 2012 From: ray at linkit.com (Ray Horsley) Date: Thu, 22 Mar 2012 12:34:32 -0500 Subject: LiveCode Player for 5.5 In-Reply-To: References: <5A25FEED-1153-43BD-84F6-F107DAB9382E@LinkIt.Com> <12DA7B06-9014-4AFD-8665-52E0B889ED35@economy-x-talk.com> <593EC738-3401-4864-83A7-C4DE841132BC@major.on-rev.com> <4366CDDA-FA69-4F50-89B1-0FFED406838F@LinkIt.Com> Message-ID: <8EA69F12-15D5-43EF-91B9-0871D76D3BC9@LinkIt.Com> I like the idea of HTML5 export, too. But regarding building standalones for Web, why do you think that option is still in the Standalone Application Settings window? On Mar 22, 2012, at 10:53 AM, Mark Schonewille wrote: > Ray, > > We know as much as you do. > > Also, I would consider it a waste of money if RunRev were to invest in the plugin again. I'd rather expect them to invest in HTML5 export. > > -- > 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 1.7 for LiveCode here http://qery.us/za > > On 22 mrt 2012, at 17:44, Ray Horsley wrote: > >> So building standalones for Web has been discontinued for quite some time now in LiveCode? >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pmbrig at gmail.com Thu Mar 22 12:40:58 2012 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Thu, 22 Mar 2012 12:40:58 -0400 Subject: Need an example of how to use "try" and "catch" In-Reply-To: <01C662C6-A225-4706-98FB-D944E9BC97FA@sbcglobal.net> References: <01C662C6-A225-4706-98FB-D944E9BC97FA@sbcglobal.net> Message-ID: <7CEB64B1-8CEA-4154-B659-E4A6BDE9FA4A@gmail.com> On Mar 22, 2012, at 12:22 PM, Jim Hurley wrote: > Bob, > > Yes that would be fine, except that I get a compilation error at the line: > > catch theError, theNum > > RR says: (try: not a command), char 7 The syntax for the try construction is try catch tError end try and the error number is put into the variable tError. So the could be, eg, if tError = 314 then answer "range error in loading array" else if ... etc. end if -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From m.schonewille at economy-x-talk.com Thu Mar 22 12:44:44 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 22 Mar 2012 17:44:44 +0100 Subject: iOS Caching? In-Reply-To: <201756A1-B135-4FE2-B166-A9FE0B12966E@clearvisiontech.com> References: <201756A1-B135-4FE2-B166-A9FE0B12966E@clearvisiontech.com> Message-ID: Hi Dan, Although the internet library is no included in the iOS version of LiveCode as far as I know, you could try to unload the url before loading it again. If that doesn't work, you could try to use a different url every time, e.g. put decompress(url myFilePath & "?=" & the millisecs) into tMyData I'd expect to have a neat way to clear the cache but I don't know of 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 Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za On 22 mrt 2012, at 17:26, Dan Friedman wrote: > Greetings, > > I am experiencing an issue on my iPad with my LiveCode project that is puzzling me. It appears that my iOS app is caching data from a server. Once I read a file from my server in my app, that's the only version of the file that I get. For example, I read the file and I get the correct data. I then change the data on the server. I then read the data again on the iPad, and I get the original copy of the data! The same thing happens even if I alter the data on the server from the iPad its self! > > To read the data, I am using a simple put: > put decompress(url myFilePath) into tMyData > > I can write to the server without issue. Using a simple "put", I can write the data to the server without issue. I have verified this is working. However, re-reading the data returns the original version of the data! > > I don't think the issue is my server as the EXACT code is working perfectly on the desktop version of LC (and has been for years). > > Any thoughts or ideas of what could cause this?? ANY advice is appreciated as I have already pulled most of my hair out on this! > > -Dan From MikeKerner at roadrunner.com Thu Mar 22 12:45:24 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 22 Mar 2012 12:45:24 -0400 Subject: Dismiss iOS KB Message-ID: OK, this is weird - I can't seem to get rid of the iOS KB, even after the field that was being edited loses the focus by changing cards. This works in one project but not another. From m.schonewille at economy-x-talk.com Thu Mar 22 12:45:52 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 22 Mar 2012 17:45:52 +0100 Subject: LiveCode Player for 5.5 In-Reply-To: <8EA69F12-15D5-43EF-91B9-0871D76D3BC9@LinkIt.Com> References: <5A25FEED-1153-43BD-84F6-F107DAB9382E@LinkIt.Com> <12DA7B06-9014-4AFD-8665-52E0B889ED35@economy-x-talk.com> <593EC738-3401-4864-83A7-C4DE841132BC@major.on-rev.com> <4366CDDA-FA69-4F50-89B1-0FFED406838F@LinkIt.Com> <8EA69F12-15D5-43EF-91B9-0871D76D3BC9@LinkIt.Com> Message-ID: <0996D6A7-3737-45B2-B0F7-73CFB8F19E92@economy-x-talk.com> Ray, I think it is just in case someone wants to use that feature and is willing to pay for it. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za On 22 mrt 2012, at 18:34, Ray Horsley wrote: > I like the idea of HTML5 export, too. But regarding building standalones for Web, why do you think that option is still in the Standalone Application Settings window? From pete at mollysrevenge.com Thu Mar 22 12:46:35 2012 From: pete at mollysrevenge.com (Pete) Date: Thu, 22 Mar 2012 09:46:35 -0700 Subject: revCopyFile In-Reply-To: References: <51B2AA08-EAB6-4600-B2B0-B684A73BF230@twft.com> <175652662687.20120321110305@ahsoftware.net> <4F6A1A4A.2010907@gmail.com> Message-ID: Hi Geoff, Thanks for the speed test info. I'm not very familiar with shell commands so maybe you could let me know the command to use? What I need to do is copy a file to a different folder with a different file name. The lack of a progress bar might be a problem, but if the speed differences are as much as you found, there may not be a need for a progress bar at all. Also, I assume the shell commands would be different on Windows and Mac. That's an inconvenience because it means extra coding, but not a show stopper. Thanks, Pete On Wed, Mar 21, 2012 at 11:25 PM, Geoff Canyon wrote: > The advantages derive from the fact that LiveCode isn't doing the actual > copying with revCopyFile -- the Finder is. For completeness, the same > advantage applies to using a shell command. You don't get a progress dialog > though. > > Okay, I just did a quick one-off test with interface sounds off. For thirty > files that were each about 70kb, using a shell command was about 3x faster > than using revCopyFile. That's without taking advantage of the ability to > move and rename in one step with a shell command. If that's what you're > doing, the advantage would be even greater. > > On Wed, Mar 21, 2012 at 3:04 PM, Pete wrote: > > > Thanks all for the input. Sounds like Stephen's approach is the only way > > to get rid of it. Seems like that setting will apply to other sounds as > > well, but I'm OK with that. > > > > As far as using AppleScript, I'm using revCopyFile because the dictionary > > claims there are "certain advantages" to using it over "put URL" or any > > other method, amongst which is that it does not require reading the file > > into memory, and since some of these files could be pretty large, that's > > significant. On a Mac, it also displays a progress bar which I don;t > think > > would be possible if I used "put URL". > > > > Pete > > > > On Wed, Mar 21, 2012 at 11:35 AM, Geoff Canyon > wrote: > > > > > I went straight to the shell command, so I don't know for sure, but > this > > > sounds reasonable. There's also the overhead of spinning up AppleScript > > in > > > the first place. If Apple is doing that badly, that might also cause > > > problems I suppose. > > > > > > On Wed, Mar 21, 2012 at 1:24 PM, stephen barncard < > > > stephenREVOLUTION2 at barncard.com> wrote: > > > > > > > That was probably a big reason why multiple file transfers would take > > > more > > > > time - loading and unloading the sound - and perhaps the reason why > it > > > > failed after memory was exceeded. > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > > > > -- > > Pete > > Molly's Revenge > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From keith.clarke at clarkeandclarke.co.uk Thu Mar 22 12:48:06 2012 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Thu, 22 Mar 2012 16:48:06 +0000 Subject: LiveCode Player for 5.5 In-Reply-To: <8EA69F12-15D5-43EF-91B9-0871D76D3BC9@LinkIt.Com> References: <5A25FEED-1153-43BD-84F6-F107DAB9382E@LinkIt.Com> <12DA7B06-9014-4AFD-8665-52E0B889ED35@economy-x-talk.com> <593EC738-3401-4864-83A7-C4DE841132BC@major.on-rev.com> <4366CDDA-FA69-4F50-89B1-0FFED406838F@LinkIt.Com> <8EA69F12-15D5-43EF-91B9-0871D76D3BC9@LinkIt.Com> Message-ID: <95C3CF68-9060-4A24-8C25-8EC64428EFCC@clarkeandclarke.co.uk> I think if the option was pulled, there would be a hue and cry from the developer community, whereas leaving it to whither on the vine has meant that most have just given up asking for an update. Given RunRev's 'no more roadmaps' policy, any web or enterprise developers who were waiting have probably been forced to move to alternative tools. It's a shame - so much potential but nothing to plan against. Best, Keith.. On 22 Mar 2012, at 17:34, Ray Horsley wrote: > I like the idea of HTML5 export, too. But regarding building standalones for Web, why do you think that option is still in the Standalone Application Settings window? > > On Mar 22, 2012, at 10:53 AM, Mark Schonewille wrote: > >> Ray, >> >> We know as much as you do. >> >> Also, I would consider it a waste of money if RunRev were to invest in the plugin again. I'd rather expect them to invest in HTML5 export. >> >> -- >> 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 1.7 for LiveCode here http://qery.us/za >> >> On 22 mrt 2012, at 17:44, Ray Horsley wrote: >> >>> So building standalones for Web has been discontinued for quite some time now in LiveCode? >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Thu Mar 22 12:55:20 2012 From: pete at mollysrevenge.com (Pete) Date: Thu, 22 Mar 2012 09:55:20 -0700 Subject: Need an example of how to use "try" and "catch" In-Reply-To: <01C662C6-A225-4706-98FB-D944E9BC97FA@sbcglobal.net> References: <01C662C6-A225-4706-98FB-D944E9BC97FA@sbcglobal.net> Message-ID: You're getting an error because the catch part of try takes only 1 parameter - the variable that holds the error - not two as in the script. Also, as noted by Peter, the try statement doesn't help you with the specific example you used since getting a non-existant custom property doesn't cause an error. I've sometimes wished there was a preference similar to the "Strict Compilation Mode" to deal with that. Pete On Thu, Mar 22, 2012 at 9:22 AM, Jim Hurley wrote: > Bob, > > Yes that would be fine, except that I get a compilation error at the line: > > catch theError, theNum > > RR says: (try: not a command), char 7 > > Jim > > > > Bob Sneidar wrote: > > > try > > put "foo" into myVar > > put the value of myVarr > > catch theError, theNum > > -- breakpoint > > answer theNum & cr & line1 of theError as sheet > > exit to top > > end try > > > > Is that what you mean? > > > > Bob > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From bobs at twft.com Thu Mar 22 12:59:40 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 22 Mar 2012 09:59:40 -0700 Subject: Need an example of how to use "try" and "catch" In-Reply-To: <01C662C6-A225-4706-98FB-D944E9BC97FA@sbcglobal.net> References: <01C662C6-A225-4706-98FB-D944E9BC97FA@sbcglobal.net> Message-ID: <434E3229-E392-46C5-A209-ED0543C4B826@twft.com> Whoops maybe the second argument is not valid. On Mar 22, 2012, at 9:22 AM, Jim Hurley wrote: > Bob, > > Yes that would be fine, except that I get a compilation error at the line: > > catch theError, theNum > > RR says: (try: not a command), char 7 > > Jim > > >> Bob Sneidar wrote: > >> try >> put "foo" into myVar >> put the value of myVarr >> catch theError, theNum >> -- breakpoint >> answer theNum & cr & line1 of theError as sheet >> exit to top >> end try >> >> Is that what you mean? >> >> Bob >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Thu Mar 22 13:02:03 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 22 Mar 2012 10:02:03 -0700 Subject: Need an example of how to use "try" and "catch" In-Reply-To: <01C662C6-A225-4706-98FB-D944E9BC97FA@sbcglobal.net> References: <01C662C6-A225-4706-98FB-D944E9BC97FA@sbcglobal.net> Message-ID: Also I forgot the finally part try -- some statements catch theError -- do some stuff if there is an error finally -- do some other stuff no matter what end try On Mar 22, 2012, at 9:22 AM, Jim Hurley wrote: > Bob, > > Yes that would be fine, except that I get a compilation error at the line: > > catch theError, theNum > > RR says: (try: not a command), char 7 > > Jim > > >> Bob Sneidar wrote: > >> try >> put "foo" into myVar >> put the value of myVarr >> catch theError, theNum >> -- breakpoint >> answer theNum & cr & line1 of theError as sheet >> exit to top >> end try >> >> Is that what you mean? >> >> Bob >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Thu Mar 22 13:05:13 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 22 Mar 2012 10:05:13 -0700 Subject: LiveCode Player for 5.5 In-Reply-To: <95C3CF68-9060-4A24-8C25-8EC64428EFCC@clarkeandclarke.co.uk> References: <5A25FEED-1153-43BD-84F6-F107DAB9382E@LinkIt.Com> <12DA7B06-9014-4AFD-8665-52E0B889ED35@economy-x-talk.com> <593EC738-3401-4864-83A7-C4DE841132BC@major.on-rev.com> <4366CDDA-FA69-4F50-89B1-0FFED406838F@LinkIt.Com> <8EA69F12-15D5-43EF-91B9-0871D76D3BC9@LinkIt.Com> <95C3CF68-9060-4A24-8C25-8EC64428EFCC@clarkeandclarke.co.uk> Message-ID: <413019EB-B1C8-4837-B129-D53F4BC840F2@twft.com> There was some discussion about this in the past, and a lot of people seemed to think that making people install a plugin to run a web app was very undesirable these days. I think Runrev at that point put it on the back burner. I mean the stove in the shed on the north 40. Bob On Mar 22, 2012, at 9:48 AM, Keith Clarke wrote: > I think if the option was pulled, there would be a hue and cry from the developer community, whereas leaving it to whither on the vine has meant that most have just given up asking for an update. > > Given RunRev's 'no more roadmaps' policy, any web or enterprise developers who were waiting have probably been forced to move to alternative tools. > > It's a shame - so much potential but nothing to plan against. > Best, > Keith.. From jhurley0305 at sbcglobal.net Thu Mar 22 13:11:12 2012 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Thu, 22 Mar 2012 10:11:12 -0700 Subject: Need an example of how to use "try" and "catch" In-Reply-To: References: Message-ID: It does give an error here. I get the error message: button "Button": execution error at line n/a (Object: object does not have this property) Jim > > Message: 2 > Date: Thu, 22 Mar 2012 09:55:20 -0700 > From: Pete > To: How to use LiveCode > Subject: Re: Need an example of how to use "try" and "catch" > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > You're getting an error because the catch part of try takes only 1 > parameter - the variable that holds the error - not two as in the script. > > Also, as noted by Peter, the try statement doesn't help you with the > specific example you used since getting a non-existant custom property > doesn't cause an error. I've sometimes wished there was a preference > similar to the "Strict Compilation Mode" to deal with that. > > Pete > > ********************************************* From jhurley0305 at sbcglobal.net Thu Mar 22 13:21:56 2012 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Thu, 22 Mar 2012 10:21:56 -0700 Subject: Need an example of how to use "try" and "catch" In-Reply-To: References: Message-ID: <65EBF765-D194-4700-9154-C792CF656A02@sbcglobal.net> Thanks Peter. The problem now is what do these bloody error numbers translate into. Is the a list somewhere? When I try: on mouseUP try put the cantdelete of me into temp catch tErr --- if tErr is ?????? end try end mouseUP I get an error of 348,0,0 Jim > Peter Brigham wrote: > > The syntax for the try construction is > > try > > catch tError > > end try > > and the error number is put into the variable tError. So the could be, eg, > > if tError = 314 then > answer "range error in loading array" > else if ... > etc. > end if > > -- Peter > > Peter M. Brigham > > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > From jacque at hyperactivesw.com Thu Mar 22 13:32:01 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 22 Mar 2012 12:32:01 -0500 Subject: Need an example of how to use "try" and "catch" In-Reply-To: <65EBF765-D194-4700-9154-C792CF656A02@sbcglobal.net> References: <65EBF765-D194-4700-9154-C792CF656A02@sbcglobal.net> Message-ID: <4F6B6211.3070900@hyperactivesw.com> On 3/22/12 12:21 PM, Jim Hurley wrote: > Thanks Peter. > > The problem now is what do these bloody error numbers translate into. > Is the a list somewhere? The list is explained in the "errordialog" entry in the dictionary. You can retrieve the list with the line of script the dictionary provides. There is also this utility for manual lookups: -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pmbrig at gmail.com Thu Mar 22 13:32:01 2012 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Thu, 22 Mar 2012 13:32:01 -0400 Subject: Need an example of how to use "try" and "catch" In-Reply-To: References: Message-ID: <81E4C7D1-0EB1-4807-B600-53F4A4285DD5@gmail.com> On Mar 22, 2012, at 1:11 PM, Jim Hurley wrote: > It does give an error here. I get the error message: > > button "Button": execution error at line n/a (Object: object does not have this property) Sounds as if you're trying to get a built-in property that doesn't apply to that type of object. If you try to get the scroll of a button, you'll get an error. If you try to get the mycustomProp of a button and you've never set the mycustomProp of that button to anything (so it "doesn't exist"), you'll get with no error message. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From mikedoub at gmail.com Thu Mar 22 13:33:07 2012 From: mikedoub at gmail.com (Michael Doub) Date: Thu, 22 Mar 2012 13:33:07 -0400 Subject: Need an example of how to use "try" and "catch" In-Reply-To: <65EBF765-D194-4700-9154-C792CF656A02@sbcglobal.net> References: <65EBF765-D194-4700-9154-C792CF656A02@sbcglobal.net> Message-ID: <63F4B63D-5B8B-492B-904E-9EF548434CF1@gmail.com> Does anyone have any guidelines as to when you should use the try and catch structure? I don't really know when or when not to use it. -= Mike On Mar 22, 2012, at 1:21 PM, Jim Hurley wrote: > Thanks Peter. > > The problem now is what do these bloody error numbers translate into. > Is the a list somewhere? > > When I try: > > on mouseUP > try > put the cantdelete of me into temp > catch tErr > --- if tErr is ?????? > end try > end mouseUP > > I get an error of 348,0,0 > > Jim > > > > >> Peter Brigham wrote: >> >> The syntax for the try construction is >> >> try >> >> catch tError >> >> end try >> >> and the error number is put into the variable tError. So the could be, eg, >> >> if tError = 314 then >> answer "range error in loading array" >> else if ... >> etc. >> end if >> >> -- Peter >> >> Peter M. Brigham >> >> pmbrig at gmail.com >> http://home.comcast.net/~pmbrig >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pmbrig at gmail.com Thu Mar 22 13:38:38 2012 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Thu, 22 Mar 2012 13:38:38 -0400 Subject: Need an example of how to use "try" and "catch" In-Reply-To: <65EBF765-D194-4700-9154-C792CF656A02@sbcglobal.net> References: <65EBF765-D194-4700-9154-C792CF656A02@sbcglobal.net> Message-ID: On Mar 22, 2012, at 1:21 PM, Jim Hurley wrote: > Thanks Peter. > > The problem now is what do these bloody error numbers translate into. > Is the a list somewhere? Jacque posted this two days ago: -------- On 3/20/12 12:37 PM, Ralph DiMola wrote: > OK, I give up. How do you translate error number into descriptive > text? There's a plugin that Richard Gaskin and I developed. I've been trying to upload it to RevOnline for some time but it won't let me. Until that gets fixed, anyone who wants it can grab it from my Dropbox: The advantage of this little stack over a static resource (besides being free) is that it dynamically loads the error list from the currently running copy of LiveCode. That means it will never go out of date, and will change depending on which version of LiveCode you open it in. There's a second card that's intended for use with debugging iOS errors copied from the Console app. There's an Info button in the stack for more details. It hasn't been thoroughly tested but I've been using it for some time without any problems. The scripts are open, so you can change it if you want. If you do, please let me know so I can update the "master" copy. --------- > When I try: > > on mouseUP > try > put the cantdelete of me into temp > catch tErr > --- if tErr is ?????? > end try > end mouseUP > > I get an error of 348,0,0 first item is the error number, second item is the line number of the script where it hangs, and the third is the character number in the line. Error 348 is: 348 Object: object does not have this property Not sure what line 0 char 0 means. Maybe someone else knows? -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From ray at linkit.com Thu Mar 22 14:45:07 2012 From: ray at linkit.com (Ray Horsley) Date: Thu, 22 Mar 2012 13:45:07 -0500 Subject: LiveCode Player for 5.5 In-Reply-To: <413019EB-B1C8-4837-B129-D53F4BC840F2@twft.com> References: <5A25FEED-1153-43BD-84F6-F107DAB9382E@LinkIt.Com> <12DA7B06-9014-4AFD-8665-52E0B889ED35@economy-x-talk.com> <593EC738-3401-4864-83A7-C4DE841132BC@major.on-rev.com> <4366CDDA-FA69-4F50-89B1-0FFED406838F@LinkIt.Com> <8EA69F12-15D5-43EF-91B9-0871D76D3BC9@LinkIt.Com> <95C3CF68-9060-4A24-8C25-8EC64428EFCC@clarkeandclarke.co.uk> <413019EB-B1C8-4837-B129-D53F4BC840F2@twft.com> Message-ID: <263E07BD-E6ED-4E03-BAE6-30DEB47F663F@LinkIt.Com> I'm in the K-12 education field. Teachers are quickly moving away from downloading anything and their IT guys are even worse, sometimes setting up systems which disallow downloading a desktop app. I hadn't looked at building for Web in a while but this is very discouraging to find it's gone. I had hoped it had been cleaned up since I last worked with it, not abandoned. From what I see the education industry is not the only area moving rapidly toward doing everything in a browser. Healthcare, finance, you name it, everybody spends most of the day in browsers today. Does this mean the majority of us Livecoders are doing nothing more than writing mobile apps? Ray Horsley LinkIt! Software On Mar 22, 2012, at 12:05 PM, Bob Sneidar wrote: > There was some discussion about this in the past, and a lot of people seemed to think that making people install a plugin to run a web app was very undesirable these days. I think Runrev at that point put it on the back burner. I mean the stove in the shed on the north 40. > > Bob > > > On Mar 22, 2012, at 9:48 AM, Keith Clarke wrote: > >> I think if the option was pulled, there would be a hue and cry from the developer community, whereas leaving it to whither on the vine has meant that most have just given up asking for an update. >> >> Given RunRev's 'no more roadmaps' policy, any web or enterprise developers who were waiting have probably been forced to move to alternative tools. >> >> It's a shame - so much potential but nothing to plan against. >> Best, >> Keith.. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Thu Mar 22 14:02:51 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 22 Mar 2012 14:02:51 -0400 Subject: Need an example of how to use "try" and "catch" In-Reply-To: References: <01C662C6-A225-4706-98FB-D944E9BC97FA@sbcglobal.net> Message-ID: <001e01cd0855$ffe236b0$ffa6a410$@net> I second this! Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net Also, as noted by Peter, the try statement doesn't help you with the specific example you used since getting a non-existant custom property doesn't cause an error. I've sometimes wished there was a preference similar to the "Strict Compilation Mode" to deal with that. From pmbrig at gmail.com Thu Mar 22 14:20:51 2012 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Thu, 22 Mar 2012 14:20:51 -0400 Subject: Need an example of how to use "try" and "catch" In-Reply-To: <4F6B6211.3070900@hyperactivesw.com> References: <65EBF765-D194-4700-9154-C792CF656A02@sbcglobal.net> <4F6B6211.3070900@hyperactivesw.com> Message-ID: On Mar 22, 2012, at 1:32 PM, J. Landman Gay wrote: > On 3/22/12 12:21 PM, Jim Hurley wrote: >> Thanks Peter. >> >> The problem now is what do these bloody error numbers translate into. >> Is the a list somewhere? > > The list is explained in the "errordialog" entry in the dictionary. You can retrieve the list with the line of script the dictionary provides. > > There is also this utility for manual lookups: > Or, here's something for your library, so you can call it from a script or from the message box: function expandError tErr repeat for each line e in tErr put item 1 of e into errNbr put item 2 of e into tLineNbr put item 3 of e into tCharNbr put errNbr & " (line" && tLineNbr & "," && "char" && tCharNbr & "):" && \ line errNbr of the cErrorsList of card 1 of stack "revErrorDisplay" \ into tErrMsg put tErrMsg & cr after errorlist end repeat if char -1 of errorlist = cr then delete char -1 of errorlist return errorlist end expandError -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From bobs at twft.com Thu Mar 22 14:30:33 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 22 Mar 2012 11:30:33 -0700 Subject: Need an example of how to use "try" and "catch" In-Reply-To: <63F4B63D-5B8B-492B-904E-9EF548434CF1@gmail.com> References: <65EBF765-D194-4700-9154-C792CF656A02@sbcglobal.net> <63F4B63D-5B8B-492B-904E-9EF548434CF1@gmail.com> Message-ID: <9ECD7AE7-9F20-4CFB-BA50-D0E64E4F159D@twft.com> I use it to determine if there has been an error executing a sequel query for example. All my database calls go inside a try catch statement. If you put it into a repeat loop, you can test to see if perhaps you have been disconnected, or if a runtime error occurred due to a bad query, and then act accordingly, either try to reconnect if disconnected, or bail out gracefully if a runtime error has occurred. Bob On Mar 22, 2012, at 10:33 AM, Michael Doub wrote: > Does anyone have any guidelines as to when you should use the try and catch structure? I don't really know when or when not to use it. > > -= Mike > > > > On Mar 22, 2012, at 1:21 PM, Jim Hurley wrote: > >> Thanks Peter. >> >> The problem now is what do these bloody error numbers translate into. >> Is the a list somewhere? >> >> When I try: >> >> on mouseUP >> try >> put the cantdelete of me into temp >> catch tErr >> --- if tErr is ?????? >> end try >> end mouseUP >> >> I get an error of 348,0,0 >> >> Jim >> >> >> >> >>> Peter Brigham wrote: >>> >>> The syntax for the try construction is >>> >>> try >>> >>> catch tError >>> >>> end try >>> >>> and the error number is put into the variable tError. So the could be, eg, >>> >>> if tError = 314 then >>> answer "range error in loading array" >>> else if ... >>> etc. >>> end if >>> >>> -- Peter >>> >>> Peter M. Brigham >>> >>> pmbrig at gmail.com >>> http://home.comcast.net/~pmbrig >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Thu Mar 22 14:49:38 2012 From: pete at mollysrevenge.com (Pete) Date: Thu, 22 Mar 2012 11:49:38 -0700 Subject: Need an example of how to use "try" and "catch" In-Reply-To: <9ECD7AE7-9F20-4CFB-BA50-D0E64E4F159D@twft.com> References: <65EBF765-D194-4700-9154-C792CF656A02@sbcglobal.net> <63F4B63D-5B8B-492B-904E-9EF548434CF1@gmail.com> <9ECD7AE7-9F20-4CFB-BA50-D0E64E4F159D@twft.com> Message-ID: Interesting, never thought of that. Is there an advantage to doing that over just issuing the database call and checking for an error right after? I've mostly thought of try/catch for as a debugging tool. I also use it any place where I put together a command in a variable and execute the command with a do statement. Pete On Thu, Mar 22, 2012 at 11:30 AM, Bob Sneidar wrote: > I use it to determine if there has been an error executing a sequel query > for example. All my database calls go inside a try catch statement. If you > put it into a repeat loop, you can test to see if perhaps you have been > disconnected, or if a runtime error occurred due to a bad query, and then > act accordingly, either try to reconnect if disconnected, or bail out > gracefully if a runtime error has occurred. > > Bob > > > On Mar 22, 2012, at 10:33 AM, Michael Doub wrote: > > > Does anyone have any guidelines as to when you should use the try and > catch structure? I don't really know when or when not to use it. > > > > -= Mike > > > > > > > > On Mar 22, 2012, at 1:21 PM, Jim Hurley wrote: > > > >> Thanks Peter. > >> > >> The problem now is what do these bloody error numbers translate into. > >> Is the a list somewhere? > >> > >> When I try: > >> > >> on mouseUP > >> try > >> put the cantdelete of me into temp > >> catch tErr > >> --- if tErr is ?????? > >> end try > >> end mouseUP > >> > >> I get an error of 348,0,0 > >> > >> Jim > >> > >> > >> > >> > >>> Peter Brigham wrote: > >>> > >>> The syntax for the try construction is > >>> > >>> try > >>> > >>> catch tError > >>> > >>> end try > >>> > >>> and the error number is put into the variable tError. So the commands> could be, eg, > >>> > >>> if tError = 314 then > >>> answer "range error in loading array" > >>> else if ... > >>> etc. > >>> end if > >>> > >>> -- Peter > >>> > >>> Peter M. Brigham > >>> > >>> pmbrig at gmail.com > >>> http://home.comcast.net/~pmbrig > >>> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From klaus at major.on-rev.com Thu Mar 22 15:04:31 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Thu, 22 Mar 2012 20:04:31 +0100 Subject: =?iso-8859-1?Q?_Translation_s=27il_vous_pl=E2it/por_favor_=3A-?= =?iso-8859-1?Q?=29?= Message-ID: Hi friends, could you please translate this into french and spanish for me? ... Copy XXX to your "Applications" folder. ... Vielen Dank! Thanks a lot! Merci beaucoup! Muchas gracias! :-) Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From tolistim at me.com Thu Mar 22 15:15:54 2012 From: tolistim at me.com (Tim Jones) Date: Thu, 22 Mar 2012 12:15:54 -0700 Subject: =?iso-8859-1?Q?Re=3A_Translation_s=27il_vous_pl=E2it/por_favor_?= =?iso-8859-1?Q?=3A-=29?= In-Reply-To: References: Message-ID: <302CE053-60CF-4DD4-9EE7-891B5B55E184@me.com> We've already got them, so here you go: Francais: Copiez le fichier "" ? votre dossier Applications Espanol: Copie "thefile" a su carpeta Aplicaciones If others could vet these JUST TO BE SURE :-). Tim On Mar 22, 2012, at 12:04 PM, Klaus on-rev wrote: > Hi friends, > > could you please translate this into french and spanish for me? > ... > Copy XXX to your "Applications" folder. > ... > > Vielen Dank! > Thanks a lot! > Merci beaucoup! > Muchas gracias! > > :-) > > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tolistim at me.com Thu Mar 22 15:18:18 2012 From: tolistim at me.com (Tim Jones) Date: Thu, 22 Mar 2012 12:18:18 -0700 Subject: =?iso-8859-1?Q?Re=3A_Translation_s=27il_vous_pl=E2it/por_favor_?= =?iso-8859-1?Q?=3A-=29?= In-Reply-To: <302CE053-60CF-4DD4-9EE7-891B5B55E184@me.com> References: <302CE053-60CF-4DD4-9EE7-891B5B55E184@me.com> Message-ID: <5A314FB4-0C3E-40DA-A022-72DD4984A533@me.com> On Mar 22, 2012, at 12:15 PM, Tim Jones wrote: > We've already got them, so here you go: > > Francais: Copiez le fichier "" ? votre dossier Applications Also may be: Copiez le fichier "" sur votre dossier "Applications" Tim From klaus at major.on-rev.com Thu Mar 22 15:22:30 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Thu, 22 Mar 2012 20:22:30 +0100 Subject: =?iso-8859-1?Q?Re=3A_Translation_s=27il_vous_pl=E2it/por_favor_?= =?iso-8859-1?Q?=3A-=29?= In-Reply-To: <302CE053-60CF-4DD4-9EE7-891B5B55E184@me.com> References: <302CE053-60CF-4DD4-9EE7-891B5B55E184@me.com> Message-ID: Hi Tim, Am 22.03.2012 um 20:15 schrieb Tim Jones: > We've already got them, so here you go: > > Francais: Copiez le fichier "" ? votre dossier Applications > > Espanol: Copie "thefile" a su carpeta Aplicaciones Thanks a BUNCH! > If others could vet these JUST TO BE SURE :-). OK ;-) > Tim > > On Mar 22, 2012, at 12:04 PM, Klaus on-rev wrote: > >> Hi friends, >> >> could you please translate this into french and spanish for me? >> ... >> Copy XXX to your "Applications" folder. >> ... >> >> Vielen Dank! >> Thanks a lot! >> Merci beaucoup! >> Muchas gracias! >> >> :-) Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From ludovic.thebault at laposte.net Thu Mar 22 15:22:09 2012 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Thu, 22 Mar 2012 20:22:09 +0100 Subject: =?iso-8859-1?Q?Re=3A_Translation_s=27il_vous_pl=E2it/por_favor_?= =?iso-8859-1?Q?=3A-=29?= In-Reply-To: References: Message-ID: <77C6E432-E0F3-4A8C-95FB-9D564D9F871A@laposte.net> Le 22 mars 2012 ? 20:04, Klaus on-rev a ?crit : > Hi friends, > > could you please translate this into french and spanish for me? > ... > Copy XXX to your "Applications" folder. Copiez XXX dans votre dossier Applications. From sc at sahores-conseil.com Thu Mar 22 15:24:14 2012 From: sc at sahores-conseil.com (Pierre Sahores) Date: Thu, 22 Mar 2012 20:24:14 +0100 Subject: =?iso-8859-1?Q?Re=3A_Translation_s=27il_vous_pl=E2it/por_favor_?= =?iso-8859-1?Q?=3A-=29?= In-Reply-To: <5A314FB4-0C3E-40DA-A022-72DD4984A533@me.com> References: <302CE053-60CF-4DD4-9EE7-891B5B55E184@me.com> <5A314FB4-0C3E-40DA-A022-72DD4984A533@me.com> Message-ID: <24D8CCAC-8B26-44AD-8A07-068E29AB6642@sahores-conseil.com> or : Copiez le fichier "" dans votre dossier "Applications" -- Pierre Sahores mobile : 06 03 95 77 70 www.spimsco.net : la premi?re solution saas open source et commerciale de d?veloppement s?mantique pr?programm? Le 22 mars 2012 ? 20:18, Tim Jones a ?crit : > On Mar 22, 2012, at 12:15 PM, Tim Jones wrote: > >> We've already got them, so here you go: >> >> Francais: Copiez le fichier "" ? votre dossier Applications > > Also may be: > > Copiez le fichier "" sur votre dossier "Applications" > > Tim > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major.on-rev.com Thu Mar 22 15:31:19 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Thu, 22 Mar 2012 20:31:19 +0100 Subject: =?iso-8859-1?Q?Re=3A_Translation_s=27il_vous_pl=E2it/por_favor_?= =?iso-8859-1?Q?=3A-=29?= In-Reply-To: <24D8CCAC-8B26-44AD-8A07-068E29AB6642@sahores-conseil.com> References: <302CE053-60CF-4DD4-9EE7-891B5B55E184@me.com> <5A314FB4-0C3E-40DA-A022-72DD4984A533@me.com> <24D8CCAC-8B26-44AD-8A07-068E29AB6642@sahores-conseil.com> Message-ID: Mes amies, mi amigos, Am 22.03.2012 um 20:24 schrieb Pierre Sahores: > Copiez le fichier "" dans votre dossier "Applications" > -- > Pierre Sahores Am 22.03.2012 um 20:22 schrieb Ludovic Th?bault: > Copiez XXX dans votre dossier Applications. Le 22 mars 2012 ? 20:18, Tim Jones a ?crit : >> On Mar 22, 2012, at 12:15 PM, Tim Jones wrote: >>> We've already got them, so here you go: >>> Francais: Copiez le fichier "" ? votre dossier Applications >> Also may be: >> Copiez le fichier "" sur votre dossier "Applications" >> Tim merci mille fois! Muchas gracias! I just love this list! :-) Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From tolistim at me.com Thu Mar 22 15:41:04 2012 From: tolistim at me.com (Tim Jones) Date: Thu, 22 Mar 2012 12:41:04 -0700 Subject: =?iso-8859-1?Q?Re=3A_Translation_s=27il_vous_pl=E2it/por_favor_?= =?iso-8859-1?Q?=3A-=29?= In-Reply-To: <24D8CCAC-8B26-44AD-8A07-068E29AB6642@sahores-conseil.com> References: <302CE053-60CF-4DD4-9EE7-891B5B55E184@me.com> <5A314FB4-0C3E-40DA-A022-72DD4984A533@me.com> <24D8CCAC-8B26-44AD-8A07-068E29AB6642@sahores-conseil.com> Message-ID: Pierre, would you mind explaining the tense differences between the three options: ? votre sur votre dans votre It turns out that one of our products has the first two as the text for this exact message. Your option is a third variant and I'm now completely confused :-/ Thanks, Tim On Mar 22, 2012, at 12:24 PM, Pierre Sahores wrote: > or : > > Copiez le fichier "" dans votre dossier "Applications" > From ken at kencorey.com Thu Mar 22 15:50:06 2012 From: ken at kencorey.com (Ken Corey) Date: Thu, 22 Mar 2012 19:50:06 +0000 Subject: datagrid in iOS scroller Message-ID: <4F6B826E.4020001@kencorey.com> Okay, so I decided to devote myself to a little toy project: download a list, display it to the user, and filter according to tags. Precisely the sort of thing I'd want a high-level language for, and LiveCode should be ideal, as I want it on Android devices as well! Okay, so I dig around and find dataGrid. Brilliant, it does exactly what I want. I spend the day figuring out how to make custom templates, populate things from a script, filter according to my custom needs, everything. Fantastic! Okay, let's run it on iOS. Oh rats. That motif scrollbar has to go. Okay, let's dig around a bit more. Find a thread on the forums "DataGrid and a native Scroller". After playing around with it, it seems to only work with a table datagrid, not a form datagrid. Oh dear. The symptom is that a limited amount of the datagrid is rendered at the beginning. When scrolled, that is painfully obvious. Can anyone here save me from dataGrid purgatory? Is there an easy solution, or should I just dive back into iOS tables? -Ken From mikedoub at gmail.com Thu Mar 22 16:02:35 2012 From: mikedoub at gmail.com (Michael Doub) Date: Thu, 22 Mar 2012 16:02:35 -0400 Subject: datagrid in iOS scroller In-Reply-To: <4F6B826E.4020001@kencorey.com> References: <4F6B826E.4020001@kencorey.com> Message-ID: <86358D2F-9052-4EDA-879F-452A02549C5F@gmail.com> I have successfully used form data grids on IOS with no problem. Can you be more clear on the symptoms of your problem? Are you setting the layer mode of the grid to scrolling and AcceleratedRendering of the stack to true? http://livecodejournal.com/forum/viewtopic.php?f=23&t=54 -= Mike On Mar 22, 2012, at 3:50 PM, Ken Corey wrote: > Okay, so I decided to devote myself to a little toy project: download a list, display it to the user, and filter according to tags. Precisely the sort of thing I'd want a high-level language for, and LiveCode should be ideal, as I want it on Android devices as well! > > Okay, so I dig around and find dataGrid. Brilliant, it does exactly what I want. > > I spend the day figuring out how to make custom templates, populate things from a script, filter according to my custom needs, everything. Fantastic! > > Okay, let's run it on iOS. Oh rats. That motif scrollbar has to go. > > Okay, let's dig around a bit more. Find a thread on the forums "DataGrid and a native Scroller". > > After playing around with it, it seems to only work with a table datagrid, not a form datagrid. Oh dear. > > The symptom is that a limited amount of the datagrid is rendered at the beginning. When scrolled, that is painfully obvious. > > Can anyone here save me from dataGrid purgatory? Is there an easy solution, or should I just dive back into iOS tables? > > -Ken > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Thu Mar 22 16:08:25 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 22 Mar 2012 20:08:25 +0000 (UTC) Subject: Need an example of how to use "try" and "catch" References: <65EBF765-D194-4700-9154-C792CF656A02@sbcglobal.net> <63F4B63D-5B8B-492B-904E-9EF548434CF1@gmail.com> <9ECD7AE7-9F20-4CFB-BA50-D0E64E4F159D@twft.com> Message-ID: > On Mar 22, 2012, at 10:33 AM, Michael Doub wrote: > > > Does anyone have any guidelines as to when you should use the try and catch structure? I don't really know > when or when not to use it. Here's another use (and apropos a different thread here) In order to recreate a control you'd want to 1. get the list of properties and their values 2. create a new control of the same type 3. set each of the properties to the original value One problem with this is that some properties are read-only, and some can only be applied to the parent object (can't set the rect of a card, for example). So I do something like repeat for each element tProp in tPropertyArray try set the tProp of tNewControl to tPropertyArray[tProp] catch e -- just ignore the error here end try end repeat -- Mark Wieder From capellan2000 at gmail.com Thu Mar 22 16:09:25 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 22 Mar 2012 13:09:25 -0700 (PDT) Subject: Using Quicktime to record sounds in Livecode Message-ID: <1332446965145-4496711.post@n4.nabble.com> Hi All, Recently, I have been struggling in Windows XP with sound recording in LiveCode using QuickTime 7.7.1 When I start recording, I see that hard disk is writing but when I click the button "Stop recording", there is no file written. This is the code that I am using, copied from a forum post. Please, test in your own setup and post your results using the development environment and the more recent version of StackRunner: http://www.sonsothunder.com/devres/revolution/downloads/StackRunner.htm Thanks in advance! Al ---------------------------------------------- Button "Record Sound": on mouseUp set the recordInput to "dflt" -- default -- other options are imic (internal microphone) emic (external microphone), etc set the recordRate to 48 put the platform into tPlatform if tPlatform is "win32" then set the recordFormat to "wave" put ".wav" into tSuffix else set the recordFormat to "aiff" put ".aif" into tSuffix end if set the playLoudness to 100 record sound file (specialfolderpath("desktop") & "/SoundTest" & tSuffix) end mouseUp Button "Stop Recording" on mouseup stop recording end mouseup -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Using-Quicktime-to-record-sounds-in-Livecode-tp4496711p4496711.html Sent from the Revolution - User mailing list archive at Nabble.com. From sc at sahores-conseil.com Thu Mar 22 16:21:02 2012 From: sc at sahores-conseil.com (Pierre Sahores) Date: Thu, 22 Mar 2012 21:21:02 +0100 Subject: =?iso-8859-1?Q?Re=3A_Translation_s=27il_vous_pl=E2it/por_favor_?= =?iso-8859-1?Q?=3A-=29?= In-Reply-To: References: <302CE053-60CF-4DD4-9EE7-891B5B55E184@me.com> <5A314FB4-0C3E-40DA-A022-72DD4984A533@me.com> <24D8CCAC-8B26-44AD-8A07-068E29AB6642@sahores-conseil.com> Message-ID: <6ED40E1A-6438-4994-96F2-73610BC7A7D0@sahores-conseil.com> Hi Tim, No big semantical differences but the use is to say "dans votre" ? votre --> to your sur votre --> on your dans votre --> in your Best, -- Pierre Sahores mobile : 06 03 95 77 70 www.spimsco.net : la premi?re solution saas open source et commerciale de d?veloppement s?mantique pr?programm? Le 22 mars 2012 ? 20:41, Tim Jones a ?crit : > Pierre, would you mind explaining the tense differences between the three options: > > ? votre > sur votre > dans votre > > It turns out that one of our products has the first two as the text for this exact message. Your option is a third variant and I'm now completely confused :-/ > > Thanks, > Tim > > On Mar 22, 2012, at 12:24 PM, Pierre Sahores wrote: > >> or : >> >> Copiez le fichier "" dans votre dossier "Applications" >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Thu Mar 22 16:25:18 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 22 Mar 2012 13:25:18 -0700 Subject: Need an example of how to use "try" and "catch" In-Reply-To: References: <65EBF765-D194-4700-9154-C792CF656A02@sbcglobal.net> <63F4B63D-5B8B-492B-904E-9EF548434CF1@gmail.com> <9ECD7AE7-9F20-4CFB-BA50-D0E64E4F159D@twft.com> Message-ID: <3552AC67-3678-48E0-8128-3DB664032FC7@twft.com> No advantage per se, but I use sqlYoga and the only way to determine what went wrong is in a try catch statement as the libSQLYoga stack is locked. Bob On Mar 22, 2012, at 11:49 AM, Pete wrote: > Interesting, never thought of that. Is there an advantage to doing that > over just issuing the database call and checking for an error right after? > > I've mostly thought of try/catch for as a debugging tool. I also use it > any place where I put together a command in a variable and execute the > command with a do statement. > > Pete > > On Thu, Mar 22, 2012 at 11:30 AM, Bob Sneidar wrote: > >> I use it to determine if there has been an error executing a sequel query >> for example. All my database calls go inside a try catch statement. If you >> put it into a repeat loop, you can test to see if perhaps you have been >> disconnected, or if a runtime error occurred due to a bad query, and then >> act accordingly, either try to reconnect if disconnected, or bail out >> gracefully if a runtime error has occurred. >> >> Bob >> >> >> On Mar 22, 2012, at 10:33 AM, Michael Doub wrote: >> >>> Does anyone have any guidelines as to when you should use the try and >> catch structure? I don't really know when or when not to use it. >>> >>> -= Mike >>> >>> >>> >>> On Mar 22, 2012, at 1:21 PM, Jim Hurley wrote: >>> >>>> Thanks Peter. >>>> >>>> The problem now is what do these bloody error numbers translate into. >>>> Is the a list somewhere? >>>> >>>> When I try: >>>> >>>> on mouseUP >>>> try >>>> put the cantdelete of me into temp >>>> catch tErr >>>> --- if tErr is ?????? >>>> end try >>>> end mouseUP >>>> >>>> I get an error of 348,0,0 >>>> >>>> Jim >>>> >>>> >>>> >>>> >>>>> Peter Brigham wrote: >>>>> >>>>> The syntax for the try construction is >>>>> >>>>> try >>>>> >>>>> catch tError >>>>> >>>>> end try >>>>> >>>>> and the error number is put into the variable tError. So the > commands> could be, eg, >>>>> >>>>> if tError = 314 then >>>>> answer "range error in loading array" >>>>> else if ... >>>>> etc. >>>>> end if >>>>> >>>>> -- Peter >>>>> >>>>> Peter M. Brigham >>>>> >>>>> pmbrig at gmail.com >>>>> http://home.comcast.net/~pmbrig >>>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > > -- > Pete > Molly's Revenge > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Thu Mar 22 16:29:17 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 22 Mar 2012 13:29:17 -0700 Subject: Need an example of how to use "try" and "catch" In-Reply-To: References: <65EBF765-D194-4700-9154-C792CF656A02@sbcglobal.net> <63F4B63D-5B8B-492B-904E-9EF548434CF1@gmail.com> <9ECD7AE7-9F20-4CFB-BA50-D0E64E4F159D@twft.com> Message-ID: RunRev was thinking of calling the try construct, "TryAndDontStopDeadInYourTracksUponAnError" but they opted for the shorter version. ;-) Bob On Mar 22, 2012, at 1:08 PM, Mark Wieder wrote: >> On Mar 22, 2012, at 10:33 AM, Michael Doub wrote: >> >>> Does anyone have any guidelines as to when you should use the try and catch > structure? I don't really know >> when or when not to use it. > > Here's another use (and apropos a different thread here) > > In order to recreate a control you'd want to > > 1. get the list of properties and their values > 2. create a new control of the same type > 3. set each of the properties to the original value > > One problem with this is that some properties are read-only, and some can only > be applied to the parent object (can't set the rect of a card, for example). > > So I do something like > > repeat for each element tProp in tPropertyArray > try > set the tProp of tNewControl to tPropertyArray[tProp] > catch e > -- just ignore the error here > end try > end repeat > > -- > Mark Wieder > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacques.clavel at gmail.com Thu Mar 22 16:30:16 2012 From: jacques.clavel at gmail.com (jacques CLAVEL) Date: Thu, 22 Mar 2012 21:30:16 +0100 Subject: =?ISO-8859-1?Q?Re=3A_Translation_s=27il_vous_pl=E2it=2Fpor_favor_=3A=2D=29?= In-Reply-To: References: <302CE053-60CF-4DD4-9EE7-891B5B55E184@me.com> <5A314FB4-0C3E-40DA-A022-72DD4984A533@me.com> <24D8CCAC-8B26-44AD-8A07-068E29AB6642@sahores-conseil.com> Message-ID: I agree with Pierre answer. Examples : mettez le fichier sur votre bureau put the file on your desktop copiez le fichier dans votre dossier copy the file to (into) your folder mettez la montre ? votre poignet put the watch on your wrist Hope this help Jacques Clavel 2012/3/22 Tim Jones > Pierre, would you mind explaining the tense differences between the three > options: > > ? votre > sur votre > dans votre > > It turns out that one of our products has the first two as the text for > this exact message. Your option is a third variant and I'm now completely > confused :-/ > > Thanks, > Tim > > On Mar 22, 2012, at 12:24 PM, Pierre Sahores wrote: > > > or : > > > > Copiez le fichier "" dans votre dossier "Applications" > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From tolistim at me.com Thu Mar 22 16:34:21 2012 From: tolistim at me.com (Tim Jones) Date: Thu, 22 Mar 2012 13:34:21 -0700 Subject: =?iso-8859-1?Q?Re=3A_Translation_s=27il_vous_pl=E2it/por_favor_?= =?iso-8859-1?Q?=3A-=29?= In-Reply-To: References: <302CE053-60CF-4DD4-9EE7-891B5B55E184@me.com> <5A314FB4-0C3E-40DA-A022-72DD4984A533@me.com> <24D8CCAC-8B26-44AD-8A07-068E29AB6642@sahores-conseil.com> Message-ID: Make's perfect sense. "dans votre" is the proper direction and I've changed the strings in our lang files. Thanks to you and Pierre for the clarification. Tim On Mar 22, 2012, at 1:30 PM, jacques CLAVEL wrote: > I agree with Pierre answer. > Examples : > > mettez le fichier sur votre bureau > put the file on your desktop > > copiez le fichier dans votre dossier > copy the file to (into) your folder > > mettez la montre ? votre poignet > put the watch on your wrist > > Hope this help > > Jacques Clavel > > 2012/3/22 Tim Jones > >> Pierre, would you mind explaining the tense differences between the three >> options: >> >> ? votre >> sur votre >> dans votre >> >> It turns out that one of our products has the first two as the text for >> this exact message. Your option is a third variant and I'm now completely >> confused :-/ >> >> Thanks, >> Tim >> >> On Mar 22, 2012, at 12:24 PM, Pierre Sahores wrote: >> >>> or : >>> >>> Copiez le fichier "" dans votre dossier "Applications" >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Thu Mar 22 16:44:21 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 22 Mar 2012 13:44:21 -0700 Subject: LiveCode Player for 5.5 In-Reply-To: <8EA69F12-15D5-43EF-91B9-0871D76D3BC9@LinkIt.Com> References: <8EA69F12-15D5-43EF-91B9-0871D76D3BC9@LinkIt.Com> Message-ID: <4F6B8F25.8080408@fourthworld.com> Ray Horsley wrote: > I like the idea of HTML5 export, too. Me too, but although translating layout isn't hard, given the vast differences between LiveCode and its object model and JavaScript/DOM, I wouldn't bet on it. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Thu Mar 22 16:58:18 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 22 Mar 2012 13:58:18 -0700 Subject: LiveCode Player for 5.5 In-Reply-To: <263E07BD-E6ED-4E03-BAE6-30DEB47F663F@LinkIt.Com> References: <263E07BD-E6ED-4E03-BAE6-30DEB47F663F@LinkIt.Com> Message-ID: <4F6B926A.5070403@fourthworld.com> Ray Horsley wrote: > I'm in the K-12 education field. Teachers are quickly moving away > from downloading anything and their IT guys are even worse, sometimes > setting up systems which disallow downloading a desktop app. I > hadn't looked at building for Web in a while but this is very > discouraging to find it's gone. I had hoped it had been cleaned up > since I last worked with it, not abandoned. If it's gone someone should let RunRev know: > From what I see the education industry is not the only area moving > rapidly toward doing everything in a browser. Healthcare, finance, > you name it, everybody spends most of the day in browsers today. > Does this mean the majority of us Livecoders are doing nothing more > than writing mobile apps? Ironically, a mobile app is very much like the most viable, flexible, and cost-effective alternative to RevWeb: net-savvy standalones. Whether the LiveCode engine is wrapped as a browser plugin or your own standalone, either way it'll need institutional buy-in to get your stacks distributed. Any org that will allow a third-party binary browser plugin should also allow a standalone. Like the browser plugin, a standalone can easily download stacks from a server, even compressed stacks for quick delivery. But unlike a browser you have far more options: Your users can enjoy the flexibility any desktop app has in terms of a UI dedicated for its workflow, along with local file access and other traditional app features, which can be used to provide an offline mode, smart caching, and more. And if needed, a standalone can be more secure than a browser: just turn on the secureMode as the first line in your startup handler, and your app will be prevented from many any changes at all on the local machine. I suspect that most of the laments from not being able to use RevWeb for deployment fall into two camps: a) Devs who've had to work with orgs run by dumb really dumb IT staff who somehow think that a proprietary binary executable that's called a "browser plugin" is somehow inherently safer than an application b) Devs who haven't really pursued such conversations with their clients seriously, so the issue is largely just theoretical for them. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mwieder at ahsoftware.net Thu Mar 22 17:21:36 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 22 Mar 2012 21:21:36 +0000 (UTC) Subject: accessing colorized script References: <4F68E6A3.8000706@hyperactivesw.com> <14575136906.20120320133059@ahsoftware.net> <4F68EC18.8030701@hyperactivesw.com> <196576392843.20120320135155@ahsoftware.net> Message-ID: Peter M. Brigham, MD writes: > >> Yes. When I use "-1" instead of the lengthier form, it won't compile, and the long form compiles but doesn't > do anything when I execute it. No error, no action. MacBook, OSX 10.6.8, Rev Studio 4.5.3, build 1210, > operating on an ordinary text field. I was so hopeful! Any other ideas? As long as you're staying in the IDE, you can let the IDE's script editor set up the colorization tables for you: on mouseUp pMouseBtnNo local tScript local tNum put field "fldScript" into tScript put the number of lines of field "fldScript" into tNum send "sePrefInit" to stack "revNewScriptEditor" send "revSEColorize tScript,default" to stack "revNewScriptEditor" _internal script colorize line 1 to tNum of field "fldScript" end mouseUp -- Mark Wieder From bdrunrev at gmail.com Thu Mar 22 17:37:57 2012 From: bdrunrev at gmail.com (Bernard Devlin) Date: Thu, 22 Mar 2012 21:37:57 +0000 Subject: Need an example of how to use "try" and "catch" In-Reply-To: <3552AC67-3678-48E0-8128-3DB664032FC7@twft.com> References: <65EBF765-D194-4700-9154-C792CF656A02@sbcglobal.net> <63F4B63D-5B8B-492B-904E-9EF548434CF1@gmail.com> <9ECD7AE7-9F20-4CFB-BA50-D0E64E4F159D@twft.com> <3552AC67-3678-48E0-8128-3DB664032FC7@twft.com> Message-ID: I have been using the try/catch idiom for years. I like the structure it gives my code - visually it makes it very clear where I am expecting problematic sections to be. I rarely use 'finally'. However the problem has always been with interpreting the error codes that arise. For years I got round that by incorporating Mark Schonewille's errorLib in my stacks. Like you, I find that sqlYoga really needs try/catch. I did see somewhere else that Trevor recommended having some specific error handler implemented, but for me just wrapping the calls that go to the database in try/catch solves the problem. Bernard On Thu, Mar 22, 2012 at 8:25 PM, Bob Sneidar wrote: > No advantage per se, but I use sqlYoga and the only way to determine what went wrong is in a try catch statement as the libSQLYoga stack is locked. > > Bob From ken at kencorey.com Thu Mar 22 17:42:07 2012 From: ken at kencorey.com (Ken Corey) Date: Thu, 22 Mar 2012 21:42:07 +0000 Subject: datagrid in iOS scroller In-Reply-To: <86358D2F-9052-4EDA-879F-452A02549C5F@gmail.com> References: <4F6B826E.4020001@kencorey.com> <86358D2F-9052-4EDA-879F-452A02549C5F@gmail.com> Message-ID: <4F6B9CAF.1090107@kencorey.com> On 22/03/2012 20:02, Michael Doub wrote: > I have successfully used form data grids on IOS with no problem. Can you be more clear on the symptoms of your problem? > > Are you setting the layer mode of the grid to scrolling and AcceleratedRendering of the stack to true? > > http://livecodejournal.com/forum/viewtopic.php?f=23&t=54 Hi Michael, Thanks for writing. The symptom is that when I touch and drag to scroll the formatted area of the dataGris scrolls up too without revealing any more of the details of itself. -Ken From jhurley0305 at sbcglobal.net Thu Mar 22 18:06:10 2012 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Thu, 22 Mar 2012 15:06:10 -0700 Subject: Need an example of how to use "try" and "catch" In-Reply-To: References: Message-ID: The following script will provide a start in finding all the property values of a given object, in this case the button "button" It starts with "the propertynames" which is a list of ALL built-in property names in LC. It then attempts to put the value of each of these properties for the given object. If the attempt was successful, it goes into the object property list, otherwise not. on mouseUp put the propertynames into tProps repeat for each line tLine in tProps put "" into tErr try put the tLine of button "button" into tPropVal catch tErr put tLine & cr after tOmits next repeat end try if tPropVal is not empty then put tLine & tab & tPropVal & cr after tSaves end repeat put tSaves into field "saves" put tOmits into field "omits" end mouseUp From pete at mollysrevenge.com Thu Mar 22 18:31:15 2012 From: pete at mollysrevenge.com (Pete) Date: Thu, 22 Mar 2012 15:31:15 -0700 Subject: Need an example of how to use "try" and "catch" In-Reply-To: References: <65EBF765-D194-4700-9154-C792CF656A02@sbcglobal.net> <63F4B63D-5B8B-492B-904E-9EF548434CF1@gmail.com> <9ECD7AE7-9F20-4CFB-BA50-D0E64E4F159D@twft.com> <3552AC67-3678-48E0-8128-3DB664032FC7@twft.com> Message-ID: Sorry to keep this thread going but I'm trying to figure out if I should be using try/catch more, particularly for database calls. As far as I know, you can tell if any of the standard rev db calls fail by checking their returned value or the result. Are there circumstances where that's not the case or does SQLYoga silent about errors? I have experienced silent datagrid problems that were only revealed by enclosing the datagrid access statements in try/catch. Pete On Thu, Mar 22, 2012 at 2:37 PM, Bernard Devlin wrote: > I have been using the try/catch idiom for years. I like the structure > it gives my code - visually it makes it very clear where I am > expecting problematic sections to be. I rarely use 'finally'. > However the problem has always been with interpreting the error codes > that arise. For years I got round that by incorporating Mark > Schonewille's errorLib in my stacks. > > Like you, I find that sqlYoga really needs try/catch. I did see > somewhere else that Trevor recommended having some specific error > handler implemented, but for me just wrapping the calls that go to the > database in try/catch solves the problem. > > Bernard > > On Thu, Mar 22, 2012 at 8:25 PM, Bob Sneidar wrote: > > No advantage per se, but I use sqlYoga and the only way to determine > what went wrong is in a try catch statement as the libSQLYoga stack is > locked. > > > > Bob > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From jmyepes at mac.com Thu Mar 22 18:31:56 2012 From: jmyepes at mac.com (Josep M Yepes) Date: Thu, 22 Mar 2012 23:31:56 +0100 Subject: Translation s'il vous pl?it/por favor :-) In-Reply-To: References: Message-ID: <7AD2A0C1-A9C5-4056-B839-7669B358CD11@mac.com> Hi, Better... Copiar XXX a su carpeta Aplicaciones Salut, Josep M El 22/03/2012, a las 21:30, use-livecode-request at lists.runrev.com escribi?: > Espanol: Copie "thefile" a su carpeta Aplicaciones From tolistim at me.com Thu Mar 22 18:45:13 2012 From: tolistim at me.com (Tim Jones) Date: Thu, 22 Mar 2012 15:45:13 -0700 Subject: Translation s'il vous pl?it/por favor :-) In-Reply-To: <7AD2A0C1-A9C5-4056-B839-7669B358CD11@mac.com> References: <7AD2A0C1-A9C5-4056-B839-7669B358CD11@mac.com> Message-ID: Josep - As with my French, would you mind clarifying the difference between Copie and Copiar? Thanks, Tim On Mar 22, 2012, at 3:31 PM, Josep M Yepes wrote: > Hi, > > Better... Copiar XXX a su carpeta Aplicaciones > > Salut, > Josep M > > El 22/03/2012, a las 21:30, use-livecode-request at lists.runrev.com escribi?: > >> Espanol: Copie "thefile" a su carpeta Aplicaciones From bobs at twft.com Thu Mar 22 19:10:04 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 22 Mar 2012 16:10:04 -0700 Subject: Need an example of how to use "try" and "catch" In-Reply-To: References: <65EBF765-D194-4700-9154-C792CF656A02@sbcglobal.net> <63F4B63D-5B8B-492B-904E-9EF548434CF1@gmail.com> <9ECD7AE7-9F20-4CFB-BA50-D0E64E4F159D@twft.com> <3552AC67-3678-48E0-8128-3DB664032FC7@twft.com> Message-ID: When you are in a standalone, a runtime error that would halt execution might be fatal. Try/Catch allows you to handle the error gracefully without presenting the user with an ugly dialog and a QTD afterwards. You can politely inform the user that something has gone wrong and you have to exit the application, after tidying things up a bit if necessary. Databases can just go away sometimes, like the IT guy deciding it's time to update the servers and restart them while the user is working late on an important project. Setting a repeat loop around a try/catch construct allows you to attempt a reconnect a certain number of times, or present the user with a Retry/Cancel dialog, allowing you to clean up and exit gracefully if necessary. As a case in point, I was having a problem with a low level broadcast storm which was causing the uplinks on our switches to reset (they are designed to do that). Anyone who uses Microsoft SQL knows this can be fatal, depending on how the software is written. Our accounting software was not very well written, and as a result, the end user was subject to a never ending stream of error dialogs allowing a cancel, retry or abort! None of them exited gracefully. ICK!! Had the developer accounted for the possibility that the user could be disconnected from the database, and provided a graceful exit, my reputation would not now be so tarnished, because they all blamed me of course. :-) To the accounting girl's credit however, they did make me brownies when I found the source of the broadcast storm and fixed it. Bob On Mar 22, 2012, at 3:31 PM, Pete wrote: > Sorry to keep this thread going but I'm trying to figure out if I should be > using try/catch more, particularly for database calls. > > As far as I know, you can tell if any of the standard rev db calls fail by > checking their returned value or the result. Are there circumstances where > that's not the case or does SQLYoga silent about errors? > > I have experienced silent datagrid problems that were only revealed by > enclosing the datagrid access statements in try/catch. > > Pete From maarten.koopmans at gmail.com Thu Mar 22 19:11:54 2012 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Fri, 23 Mar 2012 00:11:54 +0100 Subject: revCopyFile In-Reply-To: References: <51B2AA08-EAB6-4600-B2B0-B684A73BF230@twft.com> <175652662687.20120321110305@ahsoftware.net> <4F6A1A4A.2010907@gmail.com> Message-ID: I scripted this using the read as binary etc. using 16KB buffers some time ago in pure LC. Much faster, and cross-platform. Idon'thave the code here at hand, but it is really straightforward: Open the source file for read binary Open the destination file for write binary Read 16KB or whatever is left if it's less from the source into a buffer Append the buffer to the destination Loop until done Close the files Faster then revCopyFile (in fact, why doesn't itdo it this way....) and no hassle with shells or external processes where you need to check if they actually did what you asked. HTH, Maarten On Thursday, March 22, 2012, Pete wrote: > Hi Geoff, > Thanks for the speed test info. I'm not very familiar with shell commands > so maybe you could let me know the command to use? What I need to do is > copy a file to a different folder with a different file name. > > The lack of a progress bar might be a problem, but if the speed differences > are as much as you found, there may not be a need for a progress bar at all. > > Also, I assume the shell commands would be different on Windows and Mac. > That's an inconvenience because it means extra coding, but not a show > stopper. > > Thanks, > Pete > > On Wed, Mar 21, 2012 at 11:25 PM, Geoff Canyon wrote: > >> The advantages derive from the fact that LiveCode isn't doing the actual >> copying with revCopyFile -- the Finder is. For completeness, the same >> advantage applies to using a shell command. You don't get a progress dialog >> though. >> >> Okay, I just did a quick one-off test with interface sounds off. For thirty >> files that were each about 70kb, using a shell command was about 3x faster >> than using revCopyFile. That's without taking advantage of the ability to >> move and rename in one step with a shell command. If that's what you're >> doing, the advantage would be even greater. >> >> On Wed, Mar 21, 2012 at 3:04 PM, Pete wrote: >> >> > Thanks all for the input. Sounds like Stephen's approach is the only way >> > to get rid of it. Seems like that setting will apply to other sounds as >> > well, but I'm OK with that. >> > >> > As far as using AppleScript, I'm using revCopyFile because the dictionary >> > claims there are "certain advantages" to using it over "put URL" or any >> > other method, amongst which is that it does not require reading the file >> > into memory, and since some of these files could be pretty large, that's >> > significant. On a Mac, it also displays a progress bar which I don;t >> think >> > would be possible if I used "put URL". >> > >> > Pete >> > >> > On Wed, Mar 21, 2012 at 11:35 AM, Geoff Canyon >> wrote: >> > >> > > I went straight to the shell command, so I don't know for sure, but >> this >> > > sounds reasonable. There's also the overhead of spinning up AppleScript >> > in >> > > the first place. If Apple is doing that badly, that might also cause >> > > problems I suppose. >> > > >> > > On Wed, Mar 21, 2012 at 1:24 PM, stephen barncard < >> > > stephenREVOLUTION2 at barncard.com> wrote: >> > > >> > > > That was probably a big reason why multiple file transfers would take >> > > more >> > > > time - loading and unloading the sound - and perhaps the reason why >> it >> > > > failed after memory was exceeded. >> > > > >> > > _______________________________________________ >> > > use-livecode mailing list >> > > use-livecode at lists.runrev.com >> > > Please visit this url to subscribe, unsubscribe and manage your >> > > subscription preferences: >> > > http://lists.runrev.com/mailman/listinfo/use-livecode >> > > >> > > >> > >> > >> > -- >> > Pete >> > Molly's Revenge >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> > subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> > >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > > -- > Pete > Molly's Revenge > _______________________________________________ > use-liv From bobs at twft.com Thu Mar 22 19:19:14 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 22 Mar 2012 16:19:14 -0700 Subject: revCopyFile In-Reply-To: References: <51B2AA08-EAB6-4600-B2B0-B684A73BF230@twft.com> <175652662687.20120321110305@ahsoftware.net> <4F6A1A4A.2010907@gmail.com> Message-ID: <0A0C5118-6F1B-4A43-800C-8907C6CCC424@twft.com> Ohhh... good idea. And a perfect case for try/catch too! ;-) Bob On Mar 22, 2012, at 4:11 PM, Maarten Koopmans wrote: > I scripted this using the read as binary etc. using 16KB buffers some time > ago in pure LC. Much faster, and cross-platform. Idon'thave the code here > at hand, but it is really straightforward: > > Open the source file for read binary > Open the destination file for write binary > Read 16KB or whatever is left if it's less from the source into a buffer > Append the buffer to the destination > Loop until done > Close the files > > Faster then revCopyFile (in fact, why doesn't itdo it this way....) and no > hassle with shells or external processes where you need to check if they > actually did what you asked. > > HTH, Maarten From m.schonewille at economy-x-talk.com Thu Mar 22 19:24:29 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 23 Mar 2012 00:24:29 +0100 Subject: UrlEncode oddness In-Reply-To: <4F6A3EBA.4070307@hyperactivesw.com> References: <4F6A39D9.1060204@hyperactivesw.com> <9E3C6AE2-B4BC-463D-AC93-9E0071BB3C39@economy-x-talk.com> <4F6A3EBA.4070307@hyperactivesw.com> Message-ID: Hi Jacque, I should point out that we need control over the way we encode our URL's. The default still is MacRoman on Mac and Latin-1 on Windows. If urlEncode converted all text to UTF8 by default, we'd have a lot of trouble getting MacRoman and Latin-1 encoded URL's. So, no, you don't want urlEncode to just do this for us. -- 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 1.7 for LiveCode here http://qery.us/za On 21 mrt 2012, at 21:48, J. Landman Gay wrote: > > Thanks. I tried a few things with uniencode before posting but I must not have hit on the right combination. This works. > > Seems like urlencode should just do this for us. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From tolistim at me.com Thu Mar 22 19:30:15 2012 From: tolistim at me.com (Tim Jones) Date: Thu, 22 Mar 2012 16:30:15 -0700 Subject: Need an example of how to use "try" and "catch" In-Reply-To: References: <01C662C6-A225-4706-98FB-D944E9BC97FA@sbcglobal.net> Message-ID: Or - this can be applied to a night out clubbing - try put myBestPickupLine into myMouth catch theResponse If theResponse is not negative -- Oh yeah! set luckynight to true else put wittingComback into myMouth move body to new location finally if not luckynight then goHomeAlone end try Sorry, it's just too obvious? Tim From jacque at hyperactivesw.com Thu Mar 22 19:36:59 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 22 Mar 2012 18:36:59 -0500 Subject: UrlEncode oddness In-Reply-To: References: <4F6A39D9.1060204@hyperactivesw.com> <9E3C6AE2-B4BC-463D-AC93-9E0071BB3C39@economy-x-talk.com> <4F6A3EBA.4070307@hyperactivesw.com> Message-ID: <4F6BB79B.2040003@hyperactivesw.com> On 3/22/12 6:24 PM, Mark Schonewille wrote: > Hi Jacque, > > I should point out that we need control over the way we encode our > URL's. The default still is MacRoman on Mac and Latin-1 on Windows. > If urlEncode converted all text to UTF8 by default, we'd have a lot > of trouble getting MacRoman and Latin-1 encoded URL's. So, no, you > don't want urlEncode to just do this for us. Okay. As it turns out, the method didn't work anyway, even though it did match the Dropbox URL. iOS 5.1 has changed something in how it handles url encoded paths with high-ascii characters. I can't get your method or the native LiveCode encoding to work. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From m.schonewille at economy-x-talk.com Thu Mar 22 19:50:36 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 23 Mar 2012 00:50:36 +0100 Subject: UrlEncode oddness In-Reply-To: <4F6BB79B.2040003@hyperactivesw.com> References: <4F6A39D9.1060204@hyperactivesw.com> <9E3C6AE2-B4BC-463D-AC93-9E0071BB3C39@economy-x-talk.com> <4F6A3EBA.4070307@hyperactivesw.com> <4F6BB79B.2040003@hyperactivesw.com> Message-ID: <62ADBC11-E4E8-4560-9214-F2B3AF33E8FF@economy-x-talk.com> Hi Jacque, Do you mean that the syntax I posted produced different results on OSX and iOS? That could be a bug. What happens if you just try to open the UTF-8 encoded URL on iOS (without urlEncoding it). -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za On 23 mrt 2012, at 00:36, J. Landman Gay wrote: > > Okay. > > As it turns out, the method didn't work anyway, even though it did match the Dropbox URL. iOS 5.1 has changed something in how it handles url encoded paths with high-ascii characters. I can't get your method or the native LiveCode encoding to work. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Mar 22 20:04:46 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 22 Mar 2012 19:04:46 -0500 Subject: UrlEncode oddness In-Reply-To: <62ADBC11-E4E8-4560-9214-F2B3AF33E8FF@economy-x-talk.com> References: <4F6A39D9.1060204@hyperactivesw.com> <9E3C6AE2-B4BC-463D-AC93-9E0071BB3C39@economy-x-talk.com> <4F6A3EBA.4070307@hyperactivesw.com> <4F6BB79B.2040003@hyperactivesw.com> <62ADBC11-E4E8-4560-9214-F2B3AF33E8FF@economy-x-talk.com> Message-ID: <4F6BBE1E.5090104@hyperactivesw.com> On 3/22/12 6:50 PM, Mark Schonewille wrote: > Hi Jacque, > > Do you mean that the syntax I posted produced different results on > OSX and iOS? That could be a bug. > > What happens if you just try to open the UTF-8 encoded URL on iOS > (without urlEncoding it). I've tried both, and several other things too. iOS 5.1 will not resolve a URL with high-ascii characters, even if I paste in Dropbox's encoded URL directly. This only happens if a directory has those characters. If the file name itself is urlEncoded, it works fine. Spaces in directory names used to work if they were encoded as "%20", now those are failing for me too since I updated to 5.1. Again, spaces in file names work okay as long as they are encoded. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at mollysrevenge.com Thu Mar 22 20:25:48 2012 From: pete at mollysrevenge.com (Pete) Date: Thu, 22 Mar 2012 17:25:48 -0700 Subject: revCopyFile In-Reply-To: References: <51B2AA08-EAB6-4600-B2B0-B684A73BF230@twft.com> <175652662687.20120321110305@ahsoftware.net> <4F6A1A4A.2010907@gmail.com> Message-ID: Hi Maarten, That's a nice solution. Fast and doing it in chunks allows me to show a progress bar. I think I'll settle on that method. Is there a way to get the size of a file in LC? With that, I could decide if it's even worth displaying a progress bar. Pete On Thu, Mar 22, 2012 at 4:11 PM, Maarten Koopmans < maarten.koopmans at gmail.com> wrote: > I scripted this using the read as binary etc. using 16KB buffers some time > ago in pure LC. Much faster, and cross-platform. Idon'thave the code here > at hand, but it is really straightforward: > > Open the source file for read binary > Open the destination file for write binary > Read 16KB or whatever is left if it's less from the source into a buffer > Append the buffer to the destination > Loop until done > Close the files > > Faster then revCopyFile (in fact, why doesn't itdo it this way....) and no > hassle with shells or external processes where you need to check if they > actually did what you asked. > > HTH, Maarten > > On Thursday, March 22, 2012, Pete wrote: > > Hi Geoff, > > Thanks for the speed test info. I'm not very familiar with shell > commands > > so maybe you could let me know the command to use? What I need to do is > > copy a file to a different folder with a different file name. > > > > The lack of a progress bar might be a problem, but if the speed > differences > > are as much as you found, there may not be a need for a progress bar at > all. > > > > Also, I assume the shell commands would be different on Windows and Mac. > > That's an inconvenience because it means extra coding, but not a show > > stopper. > > > > Thanks, > > Pete > > > > On Wed, Mar 21, 2012 at 11:25 PM, Geoff Canyon > wrote: > > > >> The advantages derive from the fact that LiveCode isn't doing the actual > >> copying with revCopyFile -- the Finder is. For completeness, the same > >> advantage applies to using a shell command. You don't get a progress > dialog > >> though. > >> > >> Okay, I just did a quick one-off test with interface sounds off. For > thirty > >> files that were each about 70kb, using a shell command was about 3x > faster > >> than using revCopyFile. That's without taking advantage of the ability > to > >> move and rename in one step with a shell command. If that's what you're > >> doing, the advantage would be even greater. > >> > >> On Wed, Mar 21, 2012 at 3:04 PM, Pete wrote: > >> > >> > Thanks all for the input. Sounds like Stephen's approach is the only > way > >> > to get rid of it. Seems like that setting will apply to other sounds > as > >> > well, but I'm OK with that. > >> > > >> > As far as using AppleScript, I'm using revCopyFile because the > dictionary > >> > claims there are "certain advantages" to using it over "put URL" or > any > >> > other method, amongst which is that it does not require reading the > file > >> > into memory, and since some of these files could be pretty large, > that's > >> > significant. On a Mac, it also displays a progress bar which I don;t > >> think > >> > would be possible if I used "put URL". > >> > > >> > Pete > >> > > >> > On Wed, Mar 21, 2012 at 11:35 AM, Geoff Canyon > >> wrote: > >> > > >> > > I went straight to the shell command, so I don't know for sure, but > >> this > >> > > sounds reasonable. There's also the overhead of spinning up > AppleScript > >> > in > >> > > the first place. If Apple is doing that badly, that might also cause > >> > > problems I suppose. > >> > > > >> > > On Wed, Mar 21, 2012 at 1:24 PM, stephen barncard < > >> > > stephenREVOLUTION2 at barncard.com> wrote: > >> > > > >> > > > That was probably a big reason why multiple file transfers would > take > >> > > more > >> > > > time - loading and unloading the sound - and perhaps the reason > why > >> it > >> > > > failed after memory was exceeded. > >> > > > > >> > > _______________________________________________ > >> > > use-livecode mailing list > >> > > use-livecode at lists.runrev.com > >> > > Please visit this url to subscribe, unsubscribe and manage your > >> > > subscription preferences: > >> > > http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > >> > > > >> > > >> > > >> > -- > >> > Pete > >> > Molly's Revenge > >> > _______________________________________________ > >> > use-livecode mailing list > >> > use-livecode at lists.runrev.com > >> > Please visit this url to subscribe, unsubscribe and manage your > >> > subscription preferences: > >> > http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > > > > > > -- > > Pete > > Molly's Revenge > > _______________________________________________ > > use-liv > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From pmbrig at gmail.com Thu Mar 22 21:48:15 2012 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Thu, 22 Mar 2012 21:48:15 -0400 Subject: accessing colorized script In-Reply-To: References: <4F68E6A3.8000706@hyperactivesw.com> <14575136906.20120320133059@ahsoftware.net> <4F68EC18.8030701@hyperactivesw.com> <196576392843.20120320135155@ahsoftware.net> Message-ID: <59C26DDF-2AD6-429B-AEAE-558650835A2F@gmail.com> On Mar 22, 2012, at 5:21 PM, Mark Wieder wrote: > Peter M. Brigham, MD writes: > >>>> Yes. When I use "-1" instead of the lengthier form, it won't compile, and > the long form compiles but doesn't >> do anything when I execute it. No error, no action. MacBook, OSX 10.6.8, Rev > Studio 4.5.3, build 1210, >> operating on an ordinary text field. I was so hopeful! Any other ideas? > > As long as you're staying in the IDE, you can let the IDE's script editor set up > the colorization tables for you: > > on mouseUp pMouseBtnNo > local tScript > local tNum > > put field "fldScript" into tScript > put the number of lines of field "fldScript" into tNum > send "sePrefInit" to stack "revNewScriptEditor" > send "revSEColorize tScript,default" to stack "revNewScriptEditor" > _internal script colorize line 1 to tNum of field "fldScript" > end mouseUp Works like a charm! Fantastic!!! I am in awe!!! How did you discover this? -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From jacque at hyperactivesw.com Thu Mar 22 21:55:28 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 22 Mar 2012 20:55:28 -0500 Subject: revCopyFile In-Reply-To: References: <51B2AA08-EAB6-4600-B2B0-B684A73BF230@twft.com> <175652662687.20120321110305@ahsoftware.net> <4F6A1A4A.2010907@gmail.com> Message-ID: <4F6BD810.5000406@hyperactivesw.com> On 3/22/12 7:25 PM, Pete wrote: > Hi Maarten, > That's a nice solution. Fast and doing it in chunks allows me to show a > progress bar. I think I'll settle on that method. Is there a way to get > the size of a file in LC? With that, I could decide if it's even worth > displaying a progress bar. The reason RR chose AppleScript is because it retains the metadata in a file, which a straight binary copy doesn't do. Apple is veering away from metadata though, so it may not be as important as it used to be. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at mollysrevenge.com Thu Mar 22 22:26:45 2012 From: pete at mollysrevenge.com (Pete) Date: Thu, 22 Mar 2012 19:26:45 -0700 Subject: revCopyFile In-Reply-To: <4F6BD810.5000406@hyperactivesw.com> References: <51B2AA08-EAB6-4600-B2B0-B684A73BF230@twft.com> <175652662687.20120321110305@ahsoftware.net> <4F6A1A4A.2010907@gmail.com> <4F6BD810.5000406@hyperactivesw.com> Message-ID: Hi Jacque, Yes, I saw that in the dictionary. I don't think there's any metadata in the files I will be copying (straight .txt files) but I'll have to check that before going down this path. I found the files function in the dictionary and it includes the file size in one of it's formats but it lists all the files in the default folder, not an individual file. I guess it won;t take too long to get that and use filter to narrow it down to the source file for the copy. Pete On Thu, Mar 22, 2012 at 6:55 PM, J. Landman Gay wrote: > On 3/22/12 7:25 PM, Pete wrote: > >> Hi Maarten, >> That's a nice solution. Fast and doing it in chunks allows me to show a >> progress bar. I think I'll settle on that method. Is there a way to get >> the size of a file in LC? With that, I could decide if it's even worth >> displaying a progress bar. >> > > The reason RR chose AppleScript is because it retains the metadata in a > file, which a straight binary copy doesn't do. Apple is veering away from > metadata though, so it may not be as important as it used to be. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From mwieder at ahsoftware.net Thu Mar 22 22:36:23 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 22 Mar 2012 19:36:23 -0700 Subject: accessing colorized script In-Reply-To: <59C26DDF-2AD6-429B-AEAE-558650835A2F@gmail.com> References: <4F68E6A3.8000706@hyperactivesw.com> <14575136906.20120320133059@ahsoftware.net> <4F68EC18.8030701@hyperactivesw.com> <196576392843.20120320135155@ahsoftware.net> <59C26DDF-2AD6-429B-AEAE-558650835A2F@gmail.com> Message-ID: <55769860828.20120322193623@ahsoftware.net> Peter- Thursday, March 22, 2012, 6:48:15 PM, you wrote: > Works like a charm! Fantastic!!! I am in awe!!! How did you discover this? Can't claim much ingenuity involved. Just poking about in the script editor stack and then just trial and (lots of) error. I was really hoping I could get it down to two lines, but that's been eluding me. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Thu Mar 22 22:59:02 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 22 Mar 2012 21:59:02 -0500 Subject: revCopyFile In-Reply-To: References: <51B2AA08-EAB6-4600-B2B0-B684A73BF230@twft.com> <175652662687.20120321110305@ahsoftware.net> <4F6A1A4A.2010907@gmail.com> <4F6BD810.5000406@hyperactivesw.com> Message-ID: <4F6BE6F6.2090104@hyperactivesw.com> On 3/22/12 9:26 PM, Pete wrote: > Hi Jacque, > Yes, I saw that in the dictionary. I don't think there's any metadata in > the files I will be copying (straight .txt files) but I'll have to check > that before going down this path. It should be fine with text files. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bvlahos at mac.com Thu Mar 22 23:56:14 2012 From: bvlahos at mac.com (Bill Vlahos) Date: Thu, 22 Mar 2012 20:56:14 -0700 Subject: Prevent openStack message Message-ID: <97691177-0ED8-4024-BDA1-648F7960E393@mac.com> I'm trying to suppress openStack messages being sent. Lock messages doesn't prevent it. This script generates an openStack message. How can I prevent that for the duration of the answer command? on mouseUp lock messages answer "Hello" end mouseUp What I'm trying to do is know when a stack that isn't part of my plugin is opened? Bill Vlahos From niconiko at gmail.com Fri Mar 23 00:14:11 2012 From: niconiko at gmail.com (Nicolas Cueto) Date: Fri, 23 Mar 2012 13:14:11 +0900 Subject: [irev] retrieve HTTP header info Message-ID: Hello All, I want to identify mobile users who visit my webpage. By looking at the HTTP header info. By way of experimentation/curiosity, I figured out a PHP way of doing this. For example, here's the PHP-retrieved header data from my browser: --------- [Accept] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 [Accept-Charset] => ISO-8859-1,utf-8;q=0.7,*;q=0.3 [Accept-Encoding] => gzip,deflate,sdch [Accept-Language] => en-US,en;q=0.8 [Cache-Control] => max-age=259200 [Connection] => keep-alive [Cookie] => myCookie [Host] => kweto.com [User-Agent] => Mozilla/5.0 (Windows NT 6.0) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.83 Safari/535.11 [Via] => 1.1 unknown:8080 (squid/2.5.STABLE6) [X-Forwarded-For] => 1.1.1.1 ) --------- All the same, I'd much prefer to use an irev script. Is there already a way for an irev script to do this? Thank you. -- Nicolas Cueto From jhurley0305 at sbcglobal.net Fri Mar 23 00:59:14 2012 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Thu, 22 Mar 2012 21:59:14 -0700 Subject: Need an example of how to use "try" and "catch" In-Reply-To: References: Message-ID: Jacque, Thanks. LC is an English muffin. So many nooks and crannies. Jim P.S. There really ought to be an illustration of the try-catch syntax in the dictionary. > > Message: 5 > Date: Thu, 22 Mar 2012 12:32:01 -0500 > From: "J. Landman Gay" > To: How to use LiveCode > Subject: Re: Need an example of how to use "try" and "catch" > Message-ID: <4F6B6211.3070900 at hyperactivesw.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > On 3/22/12 12:21 PM, Jim Hurley wrote: >> Thanks Peter. >> >> The problem now is what do these bloody error numbers translate into. >> Is the a list somewhere? > > The list is explained in the "errordialog" entry in the dictionary. You > can retrieve the list with the line of script the dictionary provides. > > There is also this utility for manual lookups: > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > From mwieder at ahsoftware.net Fri Mar 23 01:16:11 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 22 Mar 2012 22:16:11 -0700 Subject: Prevent openStack message In-Reply-To: <97691177-0ED8-4024-BDA1-648F7960E393@mac.com> References: <97691177-0ED8-4024-BDA1-648F7960E393@mac.com> Message-ID: <46779448765.20120322221611@ahsoftware.net> Bill- Thursday, March 22, 2012, 8:56:14 PM, you wrote: > I'm trying to suppress openStack messages being sent. Lock messages doesn't prevent it. > This script generates an openStack message. How can I prevent > that for the duration of the answer command? > on mouseUp > lock messages > answer "Hello" > end mouseUp > What I'm trying to do is know when a stack that isn't part of my plugin is opened? Sorry, I'm really confused by this. Do you not want the answer dialog to open? Do you want the answer dialog to be modal? Are you trying to prevent stacks from being opened or do you just want to know that a stack has opened? -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Fri Mar 23 01:19:59 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 23 Mar 2012 00:19:59 -0500 Subject: Need an example of how to use "try" and "catch" In-Reply-To: References: Message-ID: <4F6C07FF.3000605@hyperactivesw.com> On 3/22/12 11:59 PM, Jim Hurley wrote: > LC is an English muffin. So many nooks and crannies. I like that. :) > > P.S. There really ought to be an illustration of the try-catch syntax > in the dictionary. I just looked, and I'm amazed there isn't. Myabe you could add a user note. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From niconiko at gmail.com Fri Mar 23 01:27:42 2012 From: niconiko at gmail.com (Nicolas Cueto) Date: Fri, 23 Mar 2012 14:27:42 +0900 Subject: [irev] retrieve HTTP header info In-Reply-To: References: Message-ID: Sorry. Found an answer: Cheers. -- Nicolas Cueto From mwieder at ahsoftware.net Fri Mar 23 01:33:42 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 22 Mar 2012 22:33:42 -0700 Subject: Need an example of how to use "try" and "catch" In-Reply-To: <4F6C07FF.3000605@hyperactivesw.com> References: <4F6C07FF.3000605@hyperactivesw.com> Message-ID: <33780499187.20120322223342@ahsoftware.net> Jacque- Thursday, March 22, 2012, 10:19:59 PM, you wrote: >> P.S. There really ought to be an illustration of the try-catch syntax >> in the dictionary. > I just looked, and I'm amazed there isn't. Myabe you could add a user note. Yeah - the throw command should be mentioned there as well. -- -Mark Wieder mwieder at ahsoftware.net From bvlahos at mac.com Fri Mar 23 01:36:03 2012 From: bvlahos at mac.com (Bill Vlahos) Date: Thu, 22 Mar 2012 22:36:03 -0700 Subject: Prevent openStack message In-Reply-To: <46779448765.20120322221611@ahsoftware.net> References: <97691177-0ED8-4024-BDA1-648F7960E393@mac.com> <46779448765.20120322221611@ahsoftware.net> Message-ID: <605DAF5C-F8DE-4486-96E7-46F88D06C8B3@mac.com> Mark, I want the dialog box to open but not send an openStack message. I'm writing a plugin for the LiveCode IDE that triggers when a stack is opened. In the case of my own stack I don't want to trigger it when all I'm doing is opening up a dialog box in my own plugin. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Mar 22, 2012, at 10:16 PM, Mark Wieder wrote: > Bill- > > Thursday, March 22, 2012, 8:56:14 PM, you wrote: > >> I'm trying to suppress openStack messages being sent. Lock messages doesn't prevent it. > >> This script generates an openStack message. How can I prevent >> that for the duration of the answer command? > >> on mouseUp >> lock messages >> answer "Hello" >> end mouseUp > >> What I'm trying to do is know when a stack that isn't part of my plugin is opened? > > Sorry, I'm really confused by this. Do you not want the answer dialog > to open? Do you want the answer dialog to be modal? Are you trying to > prevent stacks from being opened or do you just want to know that a > stack has opened? > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Fri Mar 23 01:47:37 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 22 Mar 2012 22:47:37 -0700 Subject: Prevent openStack message In-Reply-To: <605DAF5C-F8DE-4486-96E7-46F88D06C8B3@mac.com> References: <97691177-0ED8-4024-BDA1-648F7960E393@mac.com> <46779448765.20120322221611@ahsoftware.net> <605DAF5C-F8DE-4486-96E7-46F88D06C8B3@mac.com> Message-ID: <147781334171.20120322224737@ahsoftware.net> Bill- Thursday, March 22, 2012, 10:36:03 PM, you wrote: > I'm writing a plugin for the LiveCode IDE that triggers when a > stack is opened. In the case of my own stack I don't want to trigger > it when all I'm doing is opening up a dialog box in my own plugin. Hmmm... can you catch openStack in a frontscript and check for the target there? -- -Mark Wieder mwieder at ahsoftware.net From bvlahos at mac.com Fri Mar 23 02:09:32 2012 From: bvlahos at mac.com (Bill Vlahos) Date: Thu, 22 Mar 2012 23:09:32 -0700 Subject: Prevent openStack message In-Reply-To: <147781334171.20120322224737@ahsoftware.net> References: <97691177-0ED8-4024-BDA1-648F7960E393@mac.com> <46779448765.20120322221611@ahsoftware.net> <605DAF5C-F8DE-4486-96E7-46F88D06C8B3@mac.com> <147781334171.20120322224737@ahsoftware.net> Message-ID: Mark, Yes I can. In fact, that is how I'm seeing it in the first place. I have an openStack handler in the front script. My example script doesn't normally generate an openStack message but LiveCode did. Thanks, Bill On Mar 22, 2012, at 10:47 PM, Mark Wieder wrote: >> I'm writing a plugin for the LiveCode IDE that triggers when a >> stack is opened. In the case of my own stack I don't want to trigger >> it when all I'm doing is opening up a dialog box in my own plugin. > > Hmmm... can you catch openStack in a frontscript and check for the > target there? From ken at kencorey.com Fri Mar 23 02:32:21 2012 From: ken at kencorey.com (Ken Corey) Date: Fri, 23 Mar 2012 06:32:21 +0000 Subject: datagrid in iOS scroller (improved questions) In-Reply-To: <4F6B9CAF.1090107@kencorey.com> References: <4F6B826E.4020001@kencorey.com> <86358D2F-9052-4EDA-879F-452A02549C5F@gmail.com> <4F6B9CAF.1090107@kencorey.com> Message-ID: <4F6C18F5.4090305@kencorey.com> On 22/03/2012 21:42, Ken Corey wrote: > On 22/03/2012 20:02, Michael Doub wrote: >> I have successfully used form data grids on IOS with no problem. Can >> you be more clear on the symptoms of your problem? >> >> Are you setting the layer mode of the grid to scrolling and >> AcceleratedRendering of the stack to true? >> >> http://livecodejournal.com/forum/viewtopic.php?f=23&t=54 > > Hi Michael, > > Thanks for writing. > > The symptom is that when I touch and drag to scroll the formatted area > of the dataGris scrolls up too without revealing any more of the details > of itself. Ah, that's better. After a night's sleep, I can (hopefully) express myself better. The symptom is that scroll events are used to set the hScroll and vScroll of the group, which moves the contents up. What I want to do is forward the "scrollerDidScroll" method on to the datagrid, and let the datagrid handle the scrolling instead of moving a group. Of course, the datagrid needs to be able to talk back to the scroller to tell it how big it is, where it is in the total height of its content, etc. Added wrinkle: The datagrid does not have fixed-height rows. They are variable. That means that if I'm at the top of a 50 element datagrid, and displaying 10, the size of the other 40 haven't been created yet, and so I don't know how big they'll be. I guess I could shoot for an average height, and just guess. So I guess my improved questions would be: 1) How do I send scrollerDidScroll events into a datagrid? 2) How do I tell the scroller how big the datagrid is? 3) BONUS: if I don't have fixed height rows in the datagrid, how can I figure out how tall the datagrid is in total? -Ken From richmondmathewson at gmail.com Fri Mar 23 02:38:51 2012 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 23 Mar 2012 08:38:51 +0200 Subject: Using Quicktime to record sounds in Livecode In-Reply-To: <1332446965145-4496711.post@n4.nabble.com> References: <1332446965145-4496711.post@n4.nabble.com> Message-ID: <4F6C1A7B.5010209@gmail.com> On 03/22/2012 10:09 PM, Alejandro Tejada wrote: That's an "old chestnut" (will try to see about it this evening after work), but, while I am here this occurs to me: How can one record sounds in Livecode on Linux (can one?) ? If the answer to my question, Alejandro, is positive, maybe, just maybe, it might not be a bad idea to install some kind of Linux on another partition to XP, or get another machine running with Linux, and then use Livecode over there for sound recording. > Hi All, > > Recently, I have been struggling in Windows XP with > sound recording in LiveCode using QuickTime 7.7.1 > When I start recording, I see that hard disk is writing > but when I click the button "Stop recording", there is > no file written. > > This is the code that I am using, copied from a forum > post. Please, test in your own setup and post your results > using the development environment and the more recent version of > StackRunner: > http://www.sonsothunder.com/devres/revolution/downloads/StackRunner.htm > > Thanks in advance! > > Al > > ---------------------------------------------- > Button "Record Sound": > > on mouseUp > set the recordInput to "dflt" -- default > -- other options are imic (internal microphone) emic (external > microphone), etc > set the recordRate to 48 > put the platform into tPlatform > > if tPlatform is "win32" then > set the recordFormat to "wave" > put ".wav" into tSuffix > else > set the recordFormat to "aiff" > put ".aif" into tSuffix > end if > set the playLoudness to 100 > record sound file (specialfolderpath("desktop")& "/SoundTest"& tSuffix) > end mouseUp > > Button "Stop Recording" > > on mouseup > stop recording > end mouseup > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Using-Quicktime-to-record-sounds-in-Livecode-tp4496711p4496711.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From terry.judd at unimelb.edu.au Fri Mar 23 02:48:50 2012 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Fri, 23 Mar 2012 06:48:50 +0000 Subject: datagrid in iOS scroller (improved questions) In-Reply-To: <4F6C18F5.4090305@kencorey.com> References: <4F6B826E.4020001@kencorey.com> <86358D2F-9052-4EDA-879F-452A02549C5F@gmail.com> <4F6B9CAF.1090107@kencorey.com>,<4F6C18F5.4090305@kencorey.com> Message-ID: <7A3C9586-FDC5-491A-B9DA-78ACC052848A@unimelb.edu.au> On 23/03/2012, at 5:34 PM, "Ken Corey" wrote: > On 22/03/2012 21:42, Ken Corey wrote: >> On 22/03/2012 20:02, Michael Doub wrote: >>> I have successfully used form data grids on IOS with no problem. Can >>> you be more clear on the symptoms of your problem? >>> >>> Are you setting the layer mode of the grid to scrolling and >>> AcceleratedRendering of the stack to true? >>> >>> http://livecodejournal.com/forum/viewtopic.php?f=23&t=54 >> >> Hi Michael, >> >> Thanks for writing. >> >> The symptom is that when I touch and drag to scroll the formatted area >> of the dataGris scrolls up too without revealing any more of the details >> of itself. > > Ah, that's better. After a night's sleep, I can (hopefully) express myself better. > > The symptom is that scroll events are used to set the hScroll and vScroll of the group, which moves the contents up. > > What I want to do is forward the "scrollerDidScroll" method on to the datagrid, and let the datagrid handle the scrolling instead of moving a group. > > Of course, the datagrid needs to be able to talk back to the scroller to tell it how big it is, where it is in the total height of its content, etc. > > Added wrinkle: The datagrid does not have fixed-height rows. They are variable. That means that if I'm at the top of a 50 element datagrid, and displaying 10, the size of the other 40 haven't been created yet, and so I don't know how big they'll be. I guess I could shoot for an average height, and just guess. > > So I guess my improved questions would be: > 1) How do I send scrollerDidScroll events into a datagrid? > 2) How do I tell the scroller how big the datagrid is? > 3) BONUS: if I don't have fixed height rows in the datagrid, how can I figure out how tall the datagrid is in total? > > -Ken Hi Ken - don't know if it will help but what I usually do is put group the form datagrid inside of another group (with the datagrid as the only member) and then lock the 'parent' group to the required size. Then, each time I update the datagrid I set it's height to the maximum value of the height of the parent group and the dgFormattedHeight of the datagrid. I use this same value to set the scroller object's dimensions. Terry... From richmondmathewson at gmail.com Fri Mar 23 02:49:23 2012 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 23 Mar 2012 08:49:23 +0200 Subject: Using Quicktime to record sounds in Livecode In-Reply-To: <1332446965145-4496711.post@n4.nabble.com> References: <1332446965145-4496711.post@n4.nabble.com> Message-ID: <4F6C1CF3.5060906@gmail.com> Come to think of things...... I will re-ask a question I posed about 3 or 4 years ago! Why has Livecode not, yet, developed an in-built sound recording facility that is truly cross-platform and does not depend on o0ther software being present on the end-user's machine? And, the answer is (I'm a great one for answering my own questions): Sound recording in Livecode is so low down the RunRev people's list of priorities it has dropped off the bottom; hence the Quicktime "thing" which has been there since very nearly the beginning. So............. the probable answer to my question at the top is one of those that RunRev seem to be rather good at; an incredibly loud silence. From toolbook at kestner.de Fri Mar 23 03:41:27 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 23 Mar 2012 08:41:27 +0100 Subject: How to get the user or his rights? Message-ID: <003201cd08c8$5ba3df40$12eb9dc0$@de> Hello, I have some configuration in my program which I would like to show only to the admin and not to a standard user. Is there a way to read the logged in user from the system or his permission level (win & mac)? I didn't find anything in the docs. Or is there another approach to differentiate between users? Thanks Tiemo From palcibiades-first at yahoo.co.uk Fri Mar 23 04:37:58 2012 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Fri, 23 Mar 2012 08:37:58 +0000 Subject: [OT] A couple of links about Gnome and usability Message-ID: <201203230837.59039.palcibiades-first@yahoo.co.uk> The first link is to a comprehensive review of Gnome 3, the whole thing being worth reading, but which culminates in the following: http://www.tomshardware.com/reviews/fedora-16-gnome-3-review,3155-16.html The implications for the Gnome-Ubuntu usability project are quite devastating. Basically this justifies all of Torvald's rants about interface authoritarianism Then we have Carla Shroder's review of Bodhi. Note in particular Hooglund's comments on the core issue: one size does not fit all people or all devices. https://www.linux.com/learn/tutorials/556594-bodhi-linux-the-beautiful-configurable-lightweight-linux The debate has turned from whether we like or dislike Gnome3 or KDE4, and has turned towards the core question: is there one thing we should be imposing on people at all? Finally, check out Linux Mint http://www.linuxjournal.com/content/linux-mint-12-offers-traditional-gnome-feel Finally, we have the ongoing revolt over the interface vandalism that KDE4 represented, and the forking of the Trinity environment as a response. http://www.dedoimedo.com/computers/trinity-kde.html Basically, the Linux desktop world in the last few years has been testing an hypothesis to destruction. This hypothesis was that there is such a thing as usability, with rules that can be discovered and implemented, and that if you do this, people will be grateful. This hypothesis has been decisively falsified, particularly the part about gratitude. In the course of testing this hypothesis what happened was that 'usability' ceased to have any relation to what real people actually do and want while using their machines, because actually the greatest usability feature is familiarity. Never mind if other people find it politically correct, if I am used to doing it a certain way, its usable for me. The predictable result was users are walking with their feet, first away from KDE4, and now away from Gnome3 and Unity, often towards xfce. The less predictable result has been that the whole question of whether usability is a useful concept at all has started to be debated. As Hooglund's remarks illustrate. Me, I have moved to Fluxbox, because it gets out of the way and stays out. Everyone I support will be moving to xfce over the next few months. With any luck, they will not notice its not Gnome2....! Peter From ken at kencorey.com Fri Mar 23 04:52:37 2012 From: ken at kencorey.com (Ken Corey) Date: Fri, 23 Mar 2012 08:52:37 +0000 Subject: datagrid in iOS scroller (improved questions) In-Reply-To: <7A3C9586-FDC5-491A-B9DA-78ACC052848A@unimelb.edu.au> References: <4F6B826E.4020001@kencorey.com> <86358D2F-9052-4EDA-879F-452A02549C5F@gmail.com> <4F6B9CAF.1090107@kencorey.com>, <4F6C18F5.4090305@kencorey.com> <7A3C9586-FDC5-491A-B9DA-78ACC052848A@unimelb.edu.au> Message-ID: <4F6C39D5.8070508@kencorey.com> On 23/03/2012 06:48, Terry Judd wrote: > Hi Ken - don't know if it will help but what I usually do is put group the form datagrid inside of another group (with the datagrid as the only member) and then lock the 'parent' group to the required size. Then, each time I update the datagrid I set it's height to the maximum value of the height of the parent group and the dgFormattedHeight of the datagrid. I use this same value to set the scroller object's dimensions. Yes, it all helps! The solution, for me, was to: 1) add this to my card where the group was: on scrollerDidScroll OffsetX, OffsetY set "dgScrollbarDragV "&OffsetY to group "" set "dgScrollbarDragH "&OffsetX to group "" end scrollerDidScroll 2) ensure that the rect and contentRect properties start correctly: iphoneControlSet sScrollerId, "contentRect", (0,0,320,2500) iphoneControlSet sScrollerId, "rect","0,0,320,460" 3) Use your maximum tip to set the height of both the datagrid and the contentRect of the scroller. 4) I don't know what the effect was, but the datagrid's position was unlocked. I locked it. I was ready to decide it just couldn't be done in LiveCode when it was just a few lines away. Now on to figure out how to do it on Android. -Ken From ray at linkit.com Fri Mar 23 06:29:48 2012 From: ray at linkit.com (Ray Horsley) Date: Fri, 23 Mar 2012 05:29:48 -0500 Subject: LiveCode Player for 5.5 In-Reply-To: <4F6B8F25.8080408@fourthworld.com> References: <8EA69F12-15D5-43EF-91B9-0871D76D3BC9@LinkIt.Com> <4F6B8F25.8080408@fourthworld.com> Message-ID: After giving this idea some further thought I wouldn't bet on it either. How would something like "import snapshot" be exported to HTML5? On Mar 22, 2012, at 3:44 PM, Richard Gaskin wrote: > Ray Horsley wrote: > > > I like the idea of HTML5 export, too. > > Me too, but although translating layout isn't hard, given the vast differences between LiveCode and its object model and JavaScript/DOM, I wouldn't bet on it. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Fri Mar 23 05:47:34 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 23 Mar 2012 10:47:34 +0100 Subject: LiveCode Player for 5.5 In-Reply-To: References: <8EA69F12-15D5-43EF-91B9-0871D76D3BC9@LinkIt.Com> <4F6B8F25.8080408@fourthworld.com> Message-ID: <57B0ED18-777A-44C6-819F-745815324EA8@economy-x-talk.com> Hi, RealStudio did it. RunRev can do it too. -- 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 1.7 for LiveCode here http://qery.us/za On 23 mrt 2012, at 11:29, Ray Horsley wrote: > After giving this idea some further thought I wouldn't bet on it either. How would something like "import snapshot" be exported to HTML5? > > On Mar 22, 2012, at 3:44 PM, Richard Gaskin wrote: > >> Ray Horsley wrote: >> >>> I like the idea of HTML5 export, too. >> >> Me too, but although translating layout isn't hard, given the vast differences between LiveCode and its object model and JavaScript/DOM, I wouldn't bet on it. From ray at linkit.com Fri Mar 23 07:25:13 2012 From: ray at linkit.com (Ray Horsley) Date: Fri, 23 Mar 2012 06:25:13 -0500 Subject: LiveCode Player for 5.5 In-Reply-To: <4F6B926A.5070403@fourthworld.com> References: <263E07BD-E6ED-4E03-BAE6-30DEB47F663F@LinkIt.Com> <4F6B926A.5070403@fourthworld.com> Message-ID: <3B349200-D83C-4139-8D48-B14C20B16721@linkit.com> Thanks Richard for these thoughts. I believe I fall into a variant of the "camp A" which you've mentioned, working with organizations run by really dumb and most of all lazy IT staff. Not all of our clients are like this, but frequently we'll run into IT guys who are simply too lazy too download anything to all the machines in their schools. This is a sales block and my hope was that Rev's browser plugin would get us past that, even though that, too, must be downloaded. I couldn't agree more with the technical case you've made here but who was that shoe salesman in New York who made the famous comment "Give the lady what she wants"? We've got to make sales and if the client wants software that runs in a browser we can either argue with her or make the sale and move on. Obviously the latter of these is by far preferable. Ray Horsley LinkIt! Software On Mar 22, 2012, at 3:58 PM, Richard Gaskin wrote: > Ray Horsley wrote: > > > I'm in the K-12 education field. Teachers are quickly moving away > > from downloading anything and their IT guys are even worse, sometimes > > setting up systems which disallow downloading a desktop app. I > > hadn't looked at building for Web in a while but this is very > > discouraging to find it's gone. I had hoped it had been cleaned up > > since I last worked with it, not abandoned. > > If it's gone someone should let RunRev know: > > > > > From what I see the education industry is not the only area moving > > rapidly toward doing everything in a browser. Healthcare, finance, > > you name it, everybody spends most of the day in browsers today. > > Does this mean the majority of us Livecoders are doing nothing more > > than writing mobile apps? > > Ironically, a mobile app is very much like the most viable, flexible, and cost-effective alternative to RevWeb: net-savvy standalones. > > Whether the LiveCode engine is wrapped as a browser plugin or your own standalone, either way it'll need institutional buy-in to get your stacks distributed. > > Any org that will allow a third-party binary browser plugin should also allow a standalone. > > Like the browser plugin, a standalone can easily download stacks from a server, even compressed stacks for quick delivery. > > But unlike a browser you have far more options: > > Your users can enjoy the flexibility any desktop app has in terms of a UI dedicated for its workflow, along with local file access and other traditional app features, which can be used to provide an offline mode, smart caching, and more. > > And if needed, a standalone can be more secure than a browser: just turn on the secureMode as the first line in your startup handler, and your app will be prevented from many any changes at all on the local machine. > > I suspect that most of the laments from not being able to use RevWeb for deployment fall into two camps: > > a) Devs who've had to work with orgs run by dumb really dumb IT staff who somehow think that a proprietary binary executable that's called a "browser plugin" is somehow inherently safer than an application > > b) Devs who haven't really pursued such conversations with their clients seriously, so the issue is largely just theoretical for them. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bdrunrev at gmail.com Fri Mar 23 06:57:21 2012 From: bdrunrev at gmail.com (Bernard Devlin) Date: Fri, 23 Mar 2012 10:57:21 +0000 Subject: LiveCode Player for 5.5 In-Reply-To: <57B0ED18-777A-44C6-819F-745815324EA8@economy-x-talk.com> References: <8EA69F12-15D5-43EF-91B9-0871D76D3BC9@LinkIt.Com> <4F6B8F25.8080408@fourthworld.com> <57B0ED18-777A-44C6-819F-745815324EA8@economy-x-talk.com> Message-ID: But I don't think RealStudio can build for mobile devices like iOS or Android. The two companies seem to be betting on different futures. I wasn't particularly interested in the mobile space myself, but seeing the astronomical growth in that area, I have to think I am wrong and RunRev were right. I recently saw a graph comparing the total sales to date of Macs versus iPhone and iPad. The latter two had within a few years overtaken 20 years of cumulative sales. I am still not a great user of mobile apps, but from what I observe with big brand companies, they mostly want their own device-specific app, rather than just a web app that will run on all devices. Whether HTML technology improves to the point that it can compete with native interfaces is another matter. If that turns out to be the case, then maybe RealStudios direction will prove sound. Bernard On Fri, Mar 23, 2012 at 9:47 AM, Mark Schonewille wrote: > RealStudio did it. RunRev can do it too. From m.schonewille at economy-x-talk.com Fri Mar 23 07:10:17 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 23 Mar 2012 12:10:17 +0100 Subject: LiveCode Player for 5.5 In-Reply-To: References: <8EA69F12-15D5-43EF-91B9-0871D76D3BC9@LinkIt.Com> <4F6B8F25.8080408@fourthworld.com> <57B0ED18-777A-44C6-819F-745815324EA8@economy-x-talk.com> Message-ID: Hi Bernard, HTML5 isn't for mobile devices only. HTML5 export would allow you to use LiveCode to create really cool websites that might even replace desktop apps in some cases. HTML5 is also great for creating web apps for mobile devices. Besides that, it is useful that we can use LiveCode to create apps that exist locally on mobile devices and that's an advantage RealStudio doesn't have (yet). Wake up: HTML5 already competes with what you call native interfaces. We have arrived there already and RunRev needs to catch up with its competitors (RealStudio, Adobe, and a few others). -- 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 1.7 for LiveCode here http://qery.us/za On 23 mrt 2012, at 11:57, Bernard Devlin wrote: > But I don't think RealStudio can build for mobile devices like iOS or > Android. The two companies seem to be betting on different futures. > I wasn't particularly interested in the mobile space myself, but > seeing the astronomical growth in that area, I have to think I am > wrong and RunRev were right. > > I recently saw a graph comparing the total sales to date of Macs > versus iPhone and iPad. The latter two had within a few years > overtaken 20 years of cumulative sales. > > I am still not a great user of mobile apps, but from what I observe > with big brand companies, they mostly want their own device-specific > app, rather than just a web app that will run on all devices. > > Whether HTML technology improves to the point that it can compete with > native interfaces is another matter. If that turns out to be the > case, then maybe RealStudios direction will prove sound. > > Bernard > From bdrunrev at gmail.com Fri Mar 23 07:21:30 2012 From: bdrunrev at gmail.com (Bernard Devlin) Date: Fri, 23 Mar 2012 11:21:30 +0000 Subject: LiveCode Player for 5.5 In-Reply-To: References: <8EA69F12-15D5-43EF-91B9-0871D76D3BC9@LinkIt.Com> <4F6B8F25.8080408@fourthworld.com> <57B0ED18-777A-44C6-819F-745815324EA8@economy-x-talk.com> Message-ID: OK. Thanks for that explanation. It sounds like tomorrow has arrived (although the emphasis is on "might replace desktop apps"). From your description both RealStudio and RunRev are facing in the wrong direction. But there are many people who have pivoted their careers about to learn Objective-C, a language which only 4 years ago seemed to be about as niche as one could get. One project I was involved in back then migrated to python because it was just too hard to get people who knew anything about Objective-C. Runrev and RealStudio will not be the only ones who might have chosen the wrong path ultimately. I will have to look into HTML5 further :) Bernard On Fri, Mar 23, 2012 at 11:10 AM, Mark Schonewille wrote: > Hi Bernard, > > HTML5 isn't for mobile devices only. HTML5 export would allow you to use LiveCode to create really cool websites that might even replace desktop apps in some cases. HTML5 is also great for creating web apps for mobile devices. Besides that, it is useful that we can use LiveCode to create apps that exist locally on mobile devices and that's an advantage RealStudio doesn't have (yet). Wake up: HTML5 already competes with what you call native interfaces. We have arrived there already and RunRev needs to catch up with its competitors (RealStudio, Adobe, and a few others). > > -- > 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 1.7 for LiveCode here http://qery.us/za > > On 23 mrt 2012, at 11:57, Bernard Devlin wrote: > >> But I don't think RealStudio can build for mobile devices like iOS or >> Android. ?The two companies seem to be betting on different futures. >> I wasn't particularly interested in the mobile space myself, but >> seeing the astronomical growth in that area, I have to think I am >> wrong and RunRev were right. >> >> I recently saw a graph comparing the total sales to date of Macs >> versus iPhone and iPad. ?The latter two had within a few years >> overtaken 20 years of cumulative sales. >> >> I am still not a great user of mobile apps, but from what I observe >> with big brand companies, they mostly want their own device-specific >> app, rather than just a web app that will run on all devices. >> >> Whether HTML technology improves to the point that it can compete with >> native interfaces is another matter. ?If that turns out to be the >> case, then maybe RealStudios direction will prove sound. >> >> Bernard >> > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Fri Mar 23 07:33:50 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 23 Mar 2012 12:33:50 +0100 Subject: LiveCode Player for 5.5 In-Reply-To: References: <8EA69F12-15D5-43EF-91B9-0871D76D3BC9@LinkIt.Com> <4F6B8F25.8080408@fourthworld.com> <57B0ED18-777A-44C6-819F-745815324EA8@economy-x-talk.com> Message-ID: <41D6F071-EFD5-417F-A195-6D95A1C697D9@economy-x-talk.com> Hi Bernard, Well, what makes it wrong? The IT world changed quickly. Today HTML5, tomorrow ABCD6. That doesn't mean that everyone who chose HTML5 today is wrong tomorrow. I'm not sure where I'm saying RealStudio made a bad choice? Nor am I saying that RunRev is going the wrong path, but it has to hurry making the next step. Objective-C is just the next stage in the evolution of C-languages. If you started learning C recently, then you probably started with C# or Objective-C and those will still be useful when the next C-generation appears. Your time hasn't been wasted on 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 Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za On 23 mrt 2012, at 12:21, Bernard Devlin wrote: > OK. Thanks for that explanation. It sounds like tomorrow has arrived > (although the emphasis is on "might replace desktop apps"). From your > description both RealStudio and RunRev are facing in the wrong > direction. But there are many people who have pivoted their careers > about to learn Objective-C, a language which only 4 years ago seemed > to be about as niche as one could get. One project I was involved in > back then migrated to python because it was just too hard to get > people who knew anything about Objective-C. Runrev and RealStudio > will not be the only ones who might have chosen the wrong path > ultimately. > > I will have to look into HTML5 further :) > > Bernard From ken at kencorey.com Fri Mar 23 07:46:37 2012 From: ken at kencorey.com (Ken Corey) Date: Fri, 23 Mar 2012 11:46:37 +0000 Subject: LiveCode Player for 5.5 In-Reply-To: References: <8EA69F12-15D5-43EF-91B9-0871D76D3BC9@LinkIt.Com> <4F6B8F25.8080408@fourthworld.com> <57B0ED18-777A-44C6-819F-745815324EA8@economy-x-talk.com> Message-ID: <4F6C629D.1040904@kencorey.com> On 23/03/2012 11:21, Bernard Devlin wrote: > OK. Thanks for that explanation. It sounds like tomorrow has arrived > (although the emphasis is on "might replace desktop apps"). From your > description both RealStudio and RunRev are facing in the wrong > direction. But there are many people who have pivoted their careers > about to learn Objective-C, a language which only 4 years ago seemed > to be about as niche as one could get. One project I was involved in > back then migrated to python because it was just too hard to get > people who knew anything about Objective-C. Runrev and RealStudio > will not be the only ones who might have chosen the wrong path > ultimately. > > I will have to look into HTML5 further :) Web apps (HTML/CSS/jQuery) are not a panacea. I speak as one who has written a large web app (desktop publishing, aimed at HR departments: docrobot.co.uk). When they work, they can provide outstanding qualities (no installation needed, quick to deploy, low maintenance, quick to update, etc). However, they are brittle, dependant upon fluctuating browser technology, firewall technology, always being online, rely on device/O.S. features being expressed in a browser, etc. There are cases where web apps make sense...and if you find a niche like that more power to you, but I cannot believe that native apps are going away any time soon. The iOS situation makes that abundantly clear. Web apps are significantly esier to write than native apps for many tasks. You can deploy them without Apple having a word to say about them. Thanks to Apple's WebKit efforts they look and work remarkably well...and yet... Apple says there are over 500,000 native apps (http://www.apple.com/iphone/built-in-apps/app-store.html), with over 10 billion downloads. How many folks are clamoring for web apps? -Ken From m.schonewille at economy-x-talk.com Fri Mar 23 08:29:36 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 23 Mar 2012 13:29:36 +0100 Subject: LiveCode Player for 5.5 In-Reply-To: <4F6C629D.1040904@kencorey.com> References: <8EA69F12-15D5-43EF-91B9-0871D76D3BC9@LinkIt.Com> <4F6B8F25.8080408@fourthworld.com> <57B0ED18-777A-44C6-819F-745815324EA8@economy-x-talk.com> <4F6C629D.1040904@kencorey.com> Message-ID: Hi Ken, First of all, the definition of native isn't entirely clear to me. There are over 500,000 apps in the iTunes store, no matter whether they are called native. Second, a significant share of those 500,000 are HTML5 apps! It is difficult to say how many, but since there are approximately 30000 apps on Phonegap Build and Build contains only a small part of all apps built while Phonegap takes account of only a part of all HTML5 apps, I'd say that more than 10% of the apps in the iTunes store are HTML5 apps. This is a very careful estimate. HTML5 isn't a panacea but definitely important and a great solution for me. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za On 23 mrt 2012, at 12:46, Ken Corey wrote: > > Web apps (HTML/CSS/jQuery) are not a panacea. > > I speak as one who has written a large web app (desktop publishing, aimed at HR departments: docrobot.co.uk). > > When they work, they can provide outstanding qualities (no installation needed, quick to deploy, low maintenance, quick to update, etc). > > However, they are brittle, dependant upon fluctuating browser technology, firewall technology, always being online, rely on device/O.S. features being expressed in a browser, etc. > > There are cases where web apps make sense...and if you find a niche like that more power to you, but I cannot believe that native apps are going away any time soon. > > The iOS situation makes that abundantly clear. Web apps are significantly esier to write than native apps for many tasks. You can deploy them without Apple having a word to say about them. Thanks to Apple's WebKit efforts they look and work remarkably well...and yet... > > Apple says there are over 500,000 native apps > (http://www.apple.com/iphone/built-in-apps/app-store.html), with over 10 billion downloads. > > How many folks are clamoring for web apps? > > -Ken > From effendi at wanadoo.fr Fri Mar 23 09:24:01 2012 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Fri, 23 Mar 2012 14:24:01 +0100 Subject: Translation s'il vous plait/por favor :-) Message-ID: <1BED8A95-5141-4FD8-9935-C467668CD6C7@wanadoo.fr> Hi from Beautiful Brittany, Klaus, I would hate to be pedantic, but I can't miss adding my 2 cents. Dictionnaries exist to clearly define the meaning of a word or phrase in another language. But the translations, based upon the etymology of the terms in these languages are often betrayed by the personal interpretations of the users. If we can try and forget the environment of our computer translation (files, folders, disk drives, et tutti quanti), we can try to home in on best best translation available for a specific language. The French language (to my knowledge) lacks the precise equivalent of the English "into" (which means "from the outside of ... to the inside of ..."). So may we fall into the trap of personal interpretation ! The French "a" denotes location only, but gives little information concerning the direction, and even less about the subtleties of "inside" or "outside". I find it to be the worst possible translation. The French "dans" means "in" or at best "inside", and has no implication of the 'into" I show above. However, I find it a better solution than "a". The French "sur" implies "lying on top of" and certainly does not imply "inside". Much depends on the personal interpretation. As a long-standing "nit-picker" I would never use this. The French "vers" means "in the direction of", which I find to be acceptable in the translation you request, because it simply skips over the notion "inside", (but nevertheless implies it (The idea of copying a file to the "outside" of a folder would be nonsense !). But then again, this can be personal interpretation. These comments in no way undermine the scope of the French language, which can be so powerful in many areas. .. et a la fin de l'envoi, je touche .! (French Fencing term) -Francis From sc at sahores-conseil.com Fri Mar 23 09:44:36 2012 From: sc at sahores-conseil.com (Pierre Sahores) Date: Fri, 23 Mar 2012 14:44:36 +0100 Subject: LiveCode Player for 5.5 In-Reply-To: References: <8EA69F12-15D5-43EF-91B9-0871D76D3BC9@LinkIt.Com> <4F6B8F25.8080408@fourthworld.com> <57B0ED18-777A-44C6-819F-745815324EA8@economy-x-talk.com> Message-ID: Le 23 mars 2012 ? 11:57, Bernard Devlin a ?crit : > I wasn't particularly interested in the mobile space myself, but > seeing the astronomical growth in that area, I have to think I am > wrong and RunRev were right. RunRev was right and i went wrong ! ;-) -- Pierre Sahores mobile : 06 03 95 77 70 www.spimsco.net : la premi?re solution saas open source et commerciale de d?veloppement s?mantique pr?programm? From bdrunrev at gmail.com Fri Mar 23 09:46:48 2012 From: bdrunrev at gmail.com (Bernard Devlin) Date: Fri, 23 Mar 2012 13:46:48 +0000 Subject: LiveCode Player for 5.5 In-Reply-To: <41D6F071-EFD5-417F-A195-6D95A1C697D9@economy-x-talk.com> References: <8EA69F12-15D5-43EF-91B9-0871D76D3BC9@LinkIt.Com> <4F6B8F25.8080408@fourthworld.com> <57B0ED18-777A-44C6-819F-745815324EA8@economy-x-talk.com> <41D6F071-EFD5-417F-A195-6D95A1C697D9@economy-x-talk.com> Message-ID: Hi Mark, you might not have said that such decisions are wrong, but with finite resources, decisions must be made. Some decisions will turn out to be the wrong decisions. About 3 years ago RealBasic and Livecode looked like they were going in the same direction; they've now branched off in different directions. It may prove disastrous for either or both companies. If it does, then they will have made a mistake in evaluating where things are going and what technology/market will be best for their clients. We won't know that until some point in the future. But Runrev sure realised that mobile applications were far more important than I did. When Apple was first promoting applications for mobile devices, they promoted web apps as the right route. Either that was a delaying tactic, or they decided they'd made the wrong prediction. Because native apps became the most common form of app (despite that requiring re-tooling by many developers). As I haven't paid much attention to javascript since the whole Ajaxy thing was coined, I had a look at what RealStudio have to say about HTML5. http://www.realsoftwareblog.com/2011/09/rough-edges-of-html5.html http://www.infoworld.com/print/169665 I've seen companies in the arena of IDE-that-compiles-web-app struggle to survive (Morfik comes to mind). Considering what they were offering a few years ago, it doesn't seem to have been the runaway success that I expected it to be. Another instance where my expectations of the market seemed to be at variance with reality. I can understand you'd like Livecode to output a web app in addition to the other kinds of deployment target. So would I. With limited options for the encryption of local data, I view mobile phone apps as being thin-client apps. I've no idea what is required to make governments recognise the need for the encryption of data on devices. But that is one of the things that those 2 links from my visit to the RealStudio website highlight as a problem with HTML5 apps. It seems we take data security far less seriously now than 20 years ago. I've read reports of government and corporate employees being mandated NOT to take their mobile phones to foreign countries, because of the risks of the contents/devices being compromised. That's a 19th century solution to a 21st century problem. Some of the other risks (such as hacking of a local webapp) do not seem to me to be such a serious problem. Richard Gaskin argued persuasively IMO against a runrev browser plug-in. I really don't care if the plug-in dies. I don't see it offers any benefit other than users who live in a browser not having to start another application in order to do something. That seems to be a Bernard On Fri, Mar 23, 2012 at 11:33 AM, Mark Schonewille wrote: > Hi Bernard, > > Well, what makes it wrong? The IT world changed quickly. Today HTML5, tomorrow ABCD6. That doesn't mean that everyone who chose HTML5 today is wrong tomorrow. > > I'm not sure where I'm saying RealStudio made a bad choice? Nor am I saying that RunRev is going the wrong path, but it has to hurry making the next step. > > Objective-C is just the next stage in the evolution of C-languages. If you started learning C recently, then you probably started with C# or Objective-C and those will still be useful when the next C-generation appears. Your time hasn't been wasted on that. > > -- > Best regards, > > Mark Schonewille From rene.micout at numericable.com Fri Mar 23 09:52:08 2012 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Fri, 23 Mar 2012 14:52:08 +0100 Subject: Translation s'il vous plait/por favor :-) In-Reply-To: <1BED8A95-5141-4FD8-9935-C467668CD6C7@wanadoo.fr> References: <1BED8A95-5141-4FD8-9935-C467668CD6C7@wanadoo.fr> Message-ID: Le 23 mars 2012 ? 14:24, Francis Nugent Dixon a ?crit : > The French "a" denotes location only, but gives little > information concerning the direction, and even less > about the subtleties of "inside" or "outside". > I find it to be the worst possible translation. Yes Francis ! But it is not "a" but "?"... a : avoir > verbe ? > pronom ;-) From rene.micout at numericable.com Fri Mar 23 09:54:11 2012 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Fri, 23 Mar 2012 14:54:11 +0100 Subject: Translation s'il vous plait/por favor :-) In-Reply-To: References: <1BED8A95-5141-4FD8-9935-C467668CD6C7@wanadoo.fr> Message-ID: Le 23 mars 2012 ? 14:52, Ren? Micout a ?crit : > > Le 23 mars 2012 ? 14:24, Francis Nugent Dixon a ?crit : > >> The French "a" denotes location only, but gives little >> information concerning the direction, and even less >> about the subtleties of "inside" or "outside". >> I find it to be the worst possible translation. > > Yes Francis ! But it is not "a" but "?"... > a : avoir > verbe > ? > pronom > ;-) > Error (from myself !) > "?" is not a "pro nom" it is a "pr?position" ! From m.schonewille at economy-x-talk.com Fri Mar 23 09:58:47 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 23 Mar 2012 14:58:47 +0100 Subject: LiveCode Player for 5.5 In-Reply-To: References: <8EA69F12-15D5-43EF-91B9-0871D76D3BC9@LinkIt.Com> <4F6B8F25.8080408@fourthworld.com> <57B0ED18-777A-44C6-819F-745815324EA8@economy-x-talk.com> <41D6F071-EFD5-417F-A195-6D95A1C697D9@economy-x-talk.com> Message-ID: <7ECD3DAB-BB0B-4CB8-ADE5-70086DDCDF8B@economy-x-talk.com> Hi Bernard, When two companies specialise in two different activities, it doesn't mean that one of them must be wrong. Also, the world changes and so does the path we follow. Perhaps Apple was right both times and I would be surprised if RealStudio doesn't come up with a locally running version for mobile devices eventually. -- 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 1.7 for LiveCode here http://qery.us/za On 23 mrt 2012, at 14:46, Bernard Devlin wrote: > Hi Mark, you might not have said that such decisions are wrong, but > with finite resources, decisions must be made. Some decisions will > turn out to be the wrong decisions. About 3 years ago RealBasic and > Livecode looked like they were going in the same direction; they've > now branched off in different directions. It may prove disastrous for > either or both companies. If it does, then they will have made a > mistake in evaluating where things are going and what > technology/market will be best for their clients. We won't know that > until some point in the future. But Runrev sure realised that mobile > applications were far more important than I did. > > When Apple was first promoting applications for mobile devices, they > promoted web apps as the right route. Either that was a delaying > tactic, or they decided they'd made the wrong prediction. Because > native apps became the most common form of app (despite that requiring > re-tooling by many developers). > > As I haven't paid much attention to javascript since the whole Ajaxy > thing was coined, I had a look at what RealStudio have to say about > HTML5. > > http://www.realsoftwareblog.com/2011/09/rough-edges-of-html5.html > http://www.infoworld.com/print/169665 > > I've seen companies in the arena of IDE-that-compiles-web-app struggle > to survive (Morfik comes to mind). Considering what they were > offering a few years ago, it doesn't seem to have been the runaway > success that I expected it to be. Another instance where my > expectations of the market seemed to be at variance with reality. > > I can understand you'd like Livecode to output a web app in addition > to the other kinds of deployment target. So would I. > > With limited options for the encryption of local data, I view mobile > phone apps as being thin-client apps. I've no idea what is required > to make governments recognise the need for the encryption of data on > devices. But that is one of the things that those 2 links from my > visit to the RealStudio website highlight as a problem with HTML5 > apps. It seems we take data security far less seriously now than 20 > years ago. I've read reports of government and corporate employees > being mandated NOT to take their mobile phones to foreign countries, > because of the risks of the contents/devices being compromised. > That's a 19th century solution to a 21st century problem. Some of the > other risks (such as hacking of a local webapp) do not seem to me to > be such a serious problem. > > Richard Gaskin argued persuasively IMO against a runrev browser > plug-in. I really don't care if the plug-in dies. I don't see it > offers any benefit other than users who live in a browser not having > to start another application in order to do something. That seems to > be a > > Bernard From tolistim at me.com Fri Mar 23 10:46:49 2012 From: tolistim at me.com (Tim Jones) Date: Fri, 23 Mar 2012 07:46:49 -0700 Subject: [OT] A couple of links about Gnome and usability In-Reply-To: <201203230837.59039.palcibiades-first@yahoo.co.uk> References: <201203230837.59039.palcibiades-first@yahoo.co.uk> Message-ID: All very good points, Peter. I am also an XFCE and OpenWindows (OLVWM in Linux speak) fan. One important distinction to keep in mind here - GNOME is not GTK as KDE is not QT. So long as developers keep that in mind when creating software, the desktop paradigm should not be a concern in delivering your applications in the Linux market. Your GTK or QT based apps will run properly under any desktop manager so long as the GTK or QT libraries are installed. Also, you can elect to install other desktop managers under Ubuntu if you do a manual install. I always install FVWM and XFCE and then add BlackBox by building it from source and installing it. If you really want to guarantee compatibility, toss those and look to xt and xlib. Every other mid-level X11 framework has to start there. Tim On Mar 23, 2012, at 1:37 AM, Peter Alcibiades wrote: > The first link is to a comprehensive review of Gnome 3, the whole thing being worth reading, but which culminates in the following: > > http://www.tomshardware.com/reviews/fedora-16-gnome-3-review,3155-16.html > > The implications for the Gnome-Ubuntu usability project are quite devastating. Basically this justifies all of Torvald's rants about interface authoritarianism > > Then we have Carla Shroder's review of Bodhi. Note in particular Hooglund's comments on the core issue: one size does not fit all people or all devices. > > https://www.linux.com/learn/tutorials/556594-bodhi-linux-the-beautiful-configurable-lightweight-linux > > The debate has turned from whether we like or dislike Gnome3 or KDE4, and has turned towards the core question: is there one thing we should be imposing on people at all? > > Finally, check out Linux Mint > > http://www.linuxjournal.com/content/linux-mint-12-offers-traditional-gnome-feel > > Finally, we have the ongoing revolt over the interface vandalism that KDE4 represented, and the forking of the Trinity environment as a response. > > http://www.dedoimedo.com/computers/trinity-kde.html > > Basically, the Linux desktop world in the last few years has been testing an hypothesis to destruction. This hypothesis was that there is such a thing as usability, with rules that can be discovered and implemented, and that if you do this, people will be grateful. This hypothesis has been decisively falsified, particularly the part about gratitude. > > In the course of testing this hypothesis what happened was that 'usability' ceased to have any relation to what real people actually do and want while using their machines, because actually the greatest usability feature is familiarity. Never mind if other people find it politically correct, if I am used to doing it a certain way, its usable for me. > > The predictable result was users are walking with their feet, first away from KDE4, and now away from Gnome3 and Unity, often towards xfce. The less predictable result has been that the whole question of whether usability is a useful concept at all has started to be debated. As Hooglund's remarks illustrate. > > Me, I have moved to Fluxbox, because it gets out of the way and stays out. Everyone I support will be moving to xfce over the next few months. With any luck, they will not notice its not Gnome2....! > > Peter From ambassador at fourthworld.com Fri Mar 23 10:55:31 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 23 Mar 2012 07:55:31 -0700 Subject: LiveCode Player for 5.5 In-Reply-To: <3B349200-D83C-4139-8D48-B14C20B16721@linkit.com> References: <3B349200-D83C-4139-8D48-B14C20B16721@linkit.com> Message-ID: <4F6C8EE3.4070606@fourthworld.com> Ray Horsley wrote: > Thanks Richard for these thoughts. I believe I fall into a variant > of the "camp A" which you've mentioned, working with organizations > run by really dumb and most of all lazy IT staff. Not all of our > clients are like this, but frequently we'll run into IT guys who > are simply too lazy too download anything to all the machines in > their schools. I've seen that too. And my brother, who's an IT admin at a hospital and he sees that all the time, his peers reusing requests from the stakeholders they're supposed to be servicing, using a wide range of irrational claims to justify inaction. It's (in)famous throughout the IT world, but stakeholders don't have the technical background to argue back, so IT rules the roost however they want. And it's even worse than you may imagine: I've worked with one very large institution (who shall remain nameless here) who is still standardized on IE6 to this day. Yes, even after Microsoft themselves has been spending millions trying to educate their customers to move on to any more recent version and get away from that bug-riddled security nightmare (see as one example of MS's attempts), this org's IT director refuses to budge, exposing all of their users to thousands of known exploits every day. I see stories like that all the time: doctors, educators, and members of many other orgs held back from getting the tools they need to improve organizational performance while being exposed to security risks along the way by IT staff who either don't understand their job or have other reasons to hinder the org from fulfilling its mission. A contractor like you or me is in a tough position in those environments: with a rational discussion of benefits and risk exposures it's possible to close a sale and deliver exactly what the client wants, but doing so may cost an IT person's job along the way. Such IT staff will fight it tooth and nail, and unless the org has a good CTO and that person is involved in the discussion, middle managers won't have the technical background to understand that their IT staffers are being irrational. IMNSHO, that's a sale worth losing: working for dysfunctional orgs just makes a long workday longer, and ultimately any project with them will become mired in other unnecessary difficulties. There are too many smart orgs to work for to waste time like that. The trend for orgs to add the position of CTO was originally merely fashionable, but in recent years as tech become both more diverse and more pervasive that role can be invaluable as a mediator between stakeholders and tech staff. When a CTO takes a hands-on role in vendor negotiations, I find many of these sorts of roadblocks disappear. But unfortunately, some orgs don't understand why they have a CTO position, and don't fully utilize that resource. > I couldn't agree more with the technical case you've made here but > who was that shoe salesman in New York who made the famous comment > "Give the lady what she wants"? We've got to make sales and if > the client wants software that runs in a browser we can either > argue with her or make the sale and move on. Obviously the latter > of these is by far preferable. The core question here is: "What exactly does the client want?" In many cases, when a vendor says "We have a web deployment solution" the customer hears "native HTML and JavaScript", and they're not at all imagining needing to download and maintain a browser plugin. When the practical implications of a plugin are known to the client, many of these discussions stop right there. It's not really what they had in mind, and doesn't really solve the problem they were hoping to solve though the simplicity and ubiquity of native browser implementations. Some of those who hear that it's a plugin and still say they want it will become frustrated down the road when deployment actually happens. No blame there; they're just not technical people and have probably never used any plugin that wasn't pre-installed, so the implications of requiring that every machine in their org be set up to be user-modifiable to allow compiled executables like a browser plugin are unknown to them. So this leaves us with the relatively slender subset of potential users who fully understand what using a plugin means and still want it. For that small subset, a conversation about the benefits of other forms of executables can often get buy-in - provided they have a good hands-on CTO (see above). ;) -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From effendi at wanadoo.fr Fri Mar 23 11:14:13 2012 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Fri, 23 Mar 2012 16:14:13 +0100 Subject: Translation s'il vous plait/por favor :-) Message-ID: Hi from Beautiful Brittany, Rene (without an accent) I never put French accents in my mails ; 1 - Accents are a pane (almost as much as Windows !) For I have an English International keyboard .... 2 - French accents usually give us strange results when interpreted in forum lists (usually a "?"). So my "a" was, of course an "a" (avec accent grave) Sincerement -Francis "Ce qui se comprend bien s'enonce facilement" From ambassador at fourthworld.com Fri Mar 23 11:20:00 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 23 Mar 2012 08:20:00 -0700 Subject: [OT] A couple of links about Gnome and usability In-Reply-To: <201203230837.59039.palcibiades-first@yahoo.co.uk> References: <201203230837.59039.palcibiades-first@yahoo.co.uk> Message-ID: <4F6C94A0.7000609@fourthworld.com> Like Tim noted, any user of any current major distro who prefers Gnome 2 can install it and use it. Ubuntu goes so far as to make this a one-click option at login. And it's Linux: there are more than a hundred distros to choose from, most of them almost infinitely configurable, so any Linux user complaining that they can't get exactly what they want hasn't really tried. Anyone who used Mac at the turn of this century has already been through this sort of transition: many folks hated OS X, and I know a couple people who still prefer OS 9 to this day. What Apple did (and will likely do again when they merge OS X and iOS once ARM chips become strong enough to support that, or Intel's post-Medfield line does) is what Microsoft did with the transition from XP to Vista/7 and is doing again with the transition to Windows 8, is pretty much the same thing that Gnome is doing with Gnome 3 and Canonical is doing with Unity: moving their OS designs from a more homogeneous past into an increasingly diverse present. Times change, audiences change, and OS designs change along with them. Where Linux outshines the others is its diversity: there are plenty of options available for every taste. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From LunchnMeets at aol.com Fri Mar 23 11:22:16 2012 From: LunchnMeets at aol.com (LunchnMeets at aol.com) Date: Fri, 23 Mar 2012 11:22:16 -0400 (EDT) Subject: Fields with negative top numbers visible? Message-ID: <1c0e0.451585a1.3c9def28@aol.com> Hi Everyone, Sometimes I don't know how I would manage if I didn't have this group to get advice from. My latest problem is I have a stack that seems messed up somehow. The "top" of most of the fields and buttons is a negative number. However, they are visible. I want them to be visible but I don't understand how their tops can have a negative number. What could be causing this? It is only happening on one of my stacks. I'm using version 4.6.4 if that matters. Thanks in advance. Joe in Orlando, Florida From m.schonewille at economy-x-talk.com Fri Mar 23 11:27:48 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 23 Mar 2012 16:27:48 +0100 Subject: Android 4 Message-ID: <0B6E2E45-7AB3-4548-A1DD-87D3C01357A2@economy-x-talk.com> Hi, Does anyone have (good) experience with LiveCode apps running on an Android 4 tablet? I thought I'd ask before upgrading my tablet. -- 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 1.7 for LiveCode here http://qery.us/za From ambassador at fourthworld.com Fri Mar 23 11:32:15 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 23 Mar 2012 08:32:15 -0700 Subject: LiveCode Player for 5.5 In-Reply-To: <57B0ED18-777A-44C6-819F-745815324EA8@economy-x-talk.com> References: <57B0ED18-777A-44C6-819F-745815324EA8@economy-x-talk.com> Message-ID: <4F6C977F.2050900@fourthworld.com> Mark Schonewille wrote: > On 23 mrt 2012, at 11:29, Ray Horsley wrote: >> After giving this idea some further thought I wouldn't bet on >> it either. How would something like "import snapshot" be >> exported to HTML5? > > RealStudio did it. RunRev can do it too. Did they? I think it depends on what the definition of "it" is. Like LiveCode, RealBASIC can be used to make a nearly infinite variety of apps. From reading their forums, browsing their examples, and reviewing their docs, it seems that their web solution only supports a relatively narrow subset of all possible types of applications that can be made with the tool. For what it does, RealBASIC's Web Edition seems like a very useful thing. But it assumes that you want to make a fairly traditional client-server database app comprised of list and form views. Thus far I've seen no RB Web Edition examples of things like custom drawing apps, interactive multimedia CBTs, or even the tutorial they provide for building a word processor. If I've missed examples of these sorts of apps being automatically converted to web-ready HTML/JS with their Web Edition, please provide the URLs; I wouldn't at all mind being wrong on that, as it would represent a very powerful technology shift that would completely revolutionize web development, well worth knowing about. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From rene.micout at numericable.com Fri Mar 23 11:32:25 2012 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Fri, 23 Mar 2012 16:32:25 +0100 Subject: Translation s'il vous plait/por favor :-) In-Reply-To: References: <1BED8A95-5141-4FD8-9935-C467668CD6C7@wanadoo.fr> Message-ID: <579C4EA1-3651-42D3-979C-43F7226F1CB2@numericable.com> Yes, I understand, but for this case it was about French translation and the "?" (? la place du "a" is a very important difference. I think... :-) Le 23 mars 2012 ? 14:54, Ren? Micout a ?crit : > > Le 23 mars 2012 ? 14:52, Ren? Micout a ?crit : > >> >> Le 23 mars 2012 ? 14:24, Francis Nugent Dixon a ?crit : >> >>> The French "a" denotes location only, but gives little >>> information concerning the direction, and even less >>> about the subtleties of "inside" or "outside". >>> I find it to be the worst possible translation. >> >> Yes Francis ! But it is not "a" but "?"... >> a : avoir > verbe >> ? > pronom >> ;-) >> > > Error (from myself !) > "?" is not a "pro nom" it is a "pr?position" ! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dan at clearvisiontech.com Fri Mar 23 12:06:24 2012 From: dan at clearvisiontech.com (Dan Friedman) Date: Fri, 23 Mar 2012 09:06:24 -0700 Subject: iOS Caching? In-Reply-To: References: Message-ID: Mark, Thank you for the suggestion! > put decompress(url myFilePath & "?=" & the millisecs) into tMyData This seems to resolve the problem. Do you think there could be a problem in that the "cached" urls could get piled up? Thanks! -Dan On Mar 22, 2012, at 9:46 AM, use-livecode-request at lists.runrev.com wrote: > Hi Dan, > > Although the internet library is no included in the iOS version of LiveCode as far as I know, you could try to unload the url before loading it again. If that doesn't work, you could try to use a different url every time, e.g. > > put decompress(url myFilePath & "?=" & the millisecs) into tMyData > > I'd expect to have a neat way to clear the cache but I don't know of that. > > -- > Best regards, > > Mark Schonewille > > On 22 mrt 2012, at 17:26, Dan Friedman wrote: > >> Greetings, >> >> I am experiencing an issue on my iPad with my LiveCode project that is puzzling me. It appears that my iOS app is caching data from a server. Once I read a file from my server in my app, that's the only version of the file that I get. For example, I read the file and I get the correct data. I then change the data on the server. I then read the data again on the iPad, and I get the original copy of the data! The same thing happens even if I alter the data on the server from the iPad its self! >> >> To read the data, I am using a simple put: >> put decompress(url myFilePath) into tMyData >> >> I can write to the server without issue. Using a simple "put", I can write the data to the server without issue. I have verified this is working. However, re-reading the data returns the original version of the data! >> >> I don't think the issue is my server as the EXACT code is working perfectly on the desktop version of LC (and has been for years). >> >> Any thoughts or ideas of what could cause this?? ANY advice is appreciated as I have already pulled most of my hair out on this! >> >> -Dan From gcanyon at gmail.com Fri Mar 23 12:25:03 2012 From: gcanyon at gmail.com (Geoff Canyon) Date: Fri, 23 Mar 2012 11:25:03 -0500 Subject: revCopyFile In-Reply-To: References: <51B2AA08-EAB6-4600-B2B0-B684A73BF230@twft.com> <175652662687.20120321110305@ahsoftware.net> <4F6A1A4A.2010907@gmail.com> Message-ID: I posted it earlier. Here it is again. *on* shellCopyFile tSource,tTarget -- tSource and tTarget are both full paths *get* shell("cp" && quote & tSource & quote && quote & tTarget & quote) *if* it is not empty *then* *-- handle errors here* *end* *if* *end* shellCopyFile On Thu, Mar 22, 2012 at 10:35 AM, Bob Sneidar wrote: > Could you share the shell script that does the copy? That would be useful > to many I think. > From gcanyon at gmail.com Fri Mar 23 12:29:28 2012 From: gcanyon at gmail.com (Geoff Canyon) Date: Fri, 23 Mar 2012 11:29:28 -0500 Subject: revCopyFile In-Reply-To: References: <51B2AA08-EAB6-4600-B2B0-B684A73BF230@twft.com> <175652662687.20120321110305@ahsoftware.net> <4F6A1A4A.2010907@gmail.com> Message-ID: No clue how it would work on Windows. Here it is again: *on* shellCopyFile tSource,tTarget -- full paths *get* shell("cp" && quote & tSource & quote && quote & tTarget & quote) *if* it is not empty *then* *-- handle errors here* *end* *if* *end* shellCopyFile On Thu, Mar 22, 2012 at 11:46 AM, Pete wrote: > Also, I assume the shell commands would be different on Windows and Mac. > That's an inconvenience because it means extra coding, but not a show > stopper. > From bobs at twft.com Fri Mar 23 12:36:38 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 23 Mar 2012 09:36:38 -0700 Subject: Prevent openStack message In-Reply-To: References: <97691177-0ED8-4024-BDA1-648F7960E393@mac.com> <46779448765.20120322221611@ahsoftware.net> <605DAF5C-F8DE-4486-96E7-46F88D06C8B3@mac.com> <147781334171.20120322224737@ahsoftware.net> Message-ID: <627CC450-F514-4286-BEFA-7427C1EE9875@twft.com> I have run into a similar thing before, triggering an openStack handler when I did not want to. I think the only real solution to what you are doing here is to test conditionally in your frontScript openstack handler for your particular conditions, and pass openStack messages when your conditions are not met. I don't think stopping openStack in a frontScript is a very good idea. Bob On Mar 22, 2012, at 11:09 PM, Bill Vlahos wrote: > Mark, > > Yes I can. In fact, that is how I'm seeing it in the first place. I have an openStack handler in the front script. My example script doesn't normally generate an openStack message but LiveCode did. > > Thanks, > Bill > > On Mar 22, 2012, at 10:47 PM, Mark Wieder wrote: > >>> I'm writing a plugin for the LiveCode IDE that triggers when a >>> stack is opened. In the case of my own stack I don't want to trigger >>> it when all I'm doing is opening up a dialog box in my own plugin. >> >> Hmmm... can you catch openStack in a frontscript and check for the >> target there? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Fri Mar 23 12:52:40 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 23 Mar 2012 09:52:40 -0700 Subject: How to get the user or his rights? In-Reply-To: <003201cd08c8$5ba3df40$12eb9dc0$@de> References: <003201cd08c8$5ba3df40$12eb9dc0$@de> Message-ID: <05C3E14E-F61C-4D69-878F-4EED31684AF9@twft.com> Going to have to shell it I am sure. I don't know the specifics, but I know there are shell commands for the Mac. I came across this in a forum by googling it: ls -l /dev/console I got: crw------- 1 bobsneidar staff 0, 0 Mar 14 09:43 /dev/console There is also env. This will display environment variables. You want the line that starts with user= What is odd here is that I am an admin, and this is showing that my primary group is staff, the unix equivalent of users. I will have to poke around some more. Bob On Mar 23, 2012, at 12:41 AM, Tiemo Hollmann TB wrote: > Hello, > > I have some configuration in my program which I would like to show only to > the admin and not to a standard user. > > Is there a way to read the logged in user from the system or his permission > level (win & mac)? I didn't find anything in the docs. Or is there another > approach to differentiate between users? > > Thanks > > Tiemo > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Fri Mar 23 13:00:43 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 23 Mar 2012 10:00:43 -0700 Subject: How to get the user or his rights? In-Reply-To: <003201cd08c8$5ba3df40$12eb9dc0$@de> References: <003201cd08c8$5ba3df40$12eb9dc0$@de> Message-ID: <768A6E76-9C9D-4A45-B65A-45B5D366D94A@twft.com> Okay so ID -G in OS X returns a space delimited list of groups the user belongs to. If 80 is in that list, then he is an admin. You can use the form ID -p and the results will be human readable, but you can't just look for admin because other groups may contain the string admin, like _lpadmin for example. I am not going to dig into how to do this on Windows. Bob On Mar 23, 2012, at 12:41 AM, Tiemo Hollmann TB wrote: > Hello, > > I have some configuration in my program which I would like to show only to > the admin and not to a standard user. > > Is there a way to read the logged in user from the system or his permission > level (win & mac)? I didn't find anything in the docs. Or is there another > approach to differentiate between users? > > Thanks > > Tiemo > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Fri Mar 23 13:06:12 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 23 Mar 2012 10:06:12 -0700 Subject: Fields with negative top numbers visible? In-Reply-To: <1c0e0.451585a1.3c9def28@aol.com> References: <1c0e0.451585a1.3c9def28@aol.com> Message-ID: Hmmm... Are you in OS X and do you have a custom menu in the stack? Bob On Mar 23, 2012, at 8:22 AM, LunchnMeets at aol.com wrote: > Hi Everyone, > > Sometimes I don't know how I would manage if I didn't have this group to > get advice from. > > My latest problem is I have a stack that seems messed up somehow. The "top" > of most of the fields and buttons is a negative number. However, they are > visible. I want them to be visible but I don't understand how their tops can > have a negative number. > > What could be causing this? It is only happening on one of my stacks. I'm > using version 4.6.4 if that matters. > > Thanks in advance. > Joe in Orlando, Florida > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jhurley0305 at sbcglobal.net Fri Mar 23 13:08:29 2012 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Fri, 23 Mar 2012 10:08:29 -0700 Subject: Need an example of how to use "try" and "catch" In-Reply-To: References: Message-ID: <9AD4B601-7B61-4861-8789-693C661B3C75@sbcglobal.net> Mark, Yes! I agree with you about "throw". Do you, or dose anyone, have an example that shows the use of the "throw" command in conjunction with the "try-catch" structure? Jim > > Message: 4 > Date: Thu, 22 Mar 2012 22:33:42 -0700 > From: Mark Wieder > To: use-livecode at lists.runrev.com > Subject: Re: Need an example of how to use "try" and "catch" > Message-ID: <33780499187.20120322223342 at ahsoftware.net> > Content-Type: text/plain; charset=us-ascii > > Jacque- > > Thursday, March 22, 2012, 10:19:59 PM, you wrote: > >>> P.S. There really ought to be an illustration of the try-catch syntax >>> in the dictionary. > >> I just looked, and I'm amazed there isn't. Myabe you could add a user note. > > Yeah - the throw command should be mentioned there as well. > > -- > -Mark Wieder > mwieder at ahsoftware.net > From pete at mollysrevenge.com Fri Mar 23 13:08:24 2012 From: pete at mollysrevenge.com (Pete) Date: Fri, 23 Mar 2012 10:08:24 -0700 Subject: Translation s'il vous plait/por favor :-) In-Reply-To: <1BED8A95-5141-4FD8-9935-C467668CD6C7@wanadoo.fr> References: <1BED8A95-5141-4FD8-9935-C467668CD6C7@wanadoo.fr> Message-ID: Looking back at the original request, it was to translate the phrase "Copy file XXX to your Applications folder", no mention of "into". Pete On Fri, Mar 23, 2012 at 6:24 AM, Francis Nugent Dixon wrote: > Hi from Beautiful Brittany, > > Klaus, I would hate to be pedantic, but I can't miss > adding my 2 cents. > > Dictionnaries exist to clearly define the meaning > of a word or phrase in another language. But the > translations, based upon the etymology of the terms > in these languages are often betrayed by the personal > interpretations of the users. If we can try and forget the > environment of our computer translation (files, folders, > disk drives, et tutti quanti), we can try to home in on > best best translation available for a specific language. > > The French language (to my knowledge) lacks the > precise equivalent of the English "into" (which > means "from the outside of ... to the inside of ..."). > So may we fall into the trap of personal interpretation ! > > The French "a" denotes location only, but gives little > information concerning the direction, and even less > about the subtleties of "inside" or "outside". > I find it to be the worst possible translation. > > The French "dans" means "in" or at best "inside", > and has no implication of the 'into" I show above. > However, I find it a better solution than "a". > > The French "sur" implies "lying on top of" and > certainly does not imply "inside". Much depends on > the personal interpretation. As a long-standing > "nit-picker" I would never use this. > > The French "vers" means "in the direction of", which > I find to be acceptable in the translation you request, > because it simply skips over the notion "inside", (but > nevertheless implies it (The idea of copying a file to > the "outside" of a folder would be nonsense !). > But then again, this can be personal interpretation. > > These comments in no way undermine the scope of the > French language, which can be so powerful in many areas. > > .. et a la fin de l'envoi, je touche .! (French Fencing term) > > -Francis > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From bobs at twft.com Fri Mar 23 13:19:24 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 23 Mar 2012 10:19:24 -0700 Subject: LiveCode Player for 5.5 In-Reply-To: <4F6C8EE3.4070606@fourthworld.com> References: <3B349200-D83C-4139-8D48-B14C20B16721@linkit.com> <4F6C8EE3.4070606@fourthworld.com> Message-ID: <857779D8-E2E4-4B0C-B4DE-0D881704A0D4@twft.com> I am an IT guy, and for me the pendulum has swung the other way. The upper management think they know best what to deploy and how to use it, but from where I sit they are just about as dumb as a post, and no argument I can make will move them. As an example, I pushed for years to get an electronic PO system and get off paper PO's because you could not search for something you purchased in the past at all. The gal who filed everything did it by date, so you couldn't even look it up by vendor. You had to know exactly what date you purchased it, and then flip through all the PO's in that bundle of dates. Eventually, when someone was put in the CTO role, he said, "What we need here is an electronic PO system!" Everyone applauded and got behind him. But he let everyone who wanted the system to run like the old paper system (?) dictate how things would be done. As a result, what is being purchased is put in a tiny little unsearchable comment field, and the line item (only one is used per PO) is used for things like the GL code and miscellaneous info that the accounting girls wanted. As a result, the PO system is completely worthless in terms of finding a past purchase by part number or description. Maybe the trick is to find an IT guy who really knows his stuff, and then let him rule his little bit of the roost? Fat chance here though. :-) Bob On Mar 23, 2012, at 7:55 AM, Richard Gaskin wrote: > Ray Horsley wrote: > > > Thanks Richard for these thoughts. I believe I fall into a variant > > of the "camp A" which you've mentioned, working with organizations > > run by really dumb and most of all lazy IT staff. Not all of our > > clients are like this, but frequently we'll run into IT guys who > > are simply too lazy too download anything to all the machines in > > their schools. > > I've seen that too. And my brother, who's an IT admin at a hospital and he sees that all the time, his peers reusing requests from the stakeholders they're supposed to be servicing, using a wide range of irrational claims to justify inaction. It's (in)famous throughout the IT world, but stakeholders don't have the technical background to argue back, so IT rules the roost however they want. From bobs at twft.com Fri Mar 23 13:24:04 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 23 Mar 2012 10:24:04 -0700 Subject: Translation s'il vous plait/por favor :-) In-Reply-To: <1BED8A95-5141-4FD8-9935-C467668CD6C7@wanadoo.fr> References: <1BED8A95-5141-4FD8-9935-C467668CD6C7@wanadoo.fr> Message-ID: <7B0C22B4-6007-40CB-8E0C-EDE2818541A9@twft.com> In the words of Google, "Telle est la langue." Bob On Mar 23, 2012, at 6:24 AM, Francis Nugent Dixon wrote: > Hi from Beautiful Brittany, > > Klaus, I would hate to be pedantic, but I can't miss > adding my 2 cents. > > Dictionnaries exist to clearly define the meaning > of a word or phrase in another language. But the > translations, based upon the etymology of the terms > in these languages are often betrayed by the personal > interpretations of the users. If we can try and forget the > environment of our computer translation (files, folders, > disk drives, et tutti quanti), we can try to home in on > best best translation available for a specific language. > > The French language (to my knowledge) lacks the > precise equivalent of the English "into" (which > means "from the outside of ... to the inside of ..."). > So may we fall into the trap of personal interpretation ! > > The French "a" denotes location only, but gives little > information concerning the direction, and even less > about the subtleties of "inside" or "outside". > I find it to be the worst possible translation. > > The French "dans" means "in" or at best "inside", > and has no implication of the 'into" I show above. > However, I find it a better solution than "a". > > The French "sur" implies "lying on top of" and > certainly does not imply "inside". Much depends on > the personal interpretation. As a long-standing > "nit-picker" I would never use this. > > The French "vers" means "in the direction of", which > I find to be acceptable in the translation you request, > because it simply skips over the notion "inside", (but > nevertheless implies it (The idea of copying a file to > the "outside" of a folder would be nonsense !). > But then again, this can be personal interpretation. > > These comments in no way undermine the scope of the > French language, which can be so powerful in many areas. > > .. et a la fin de l'envoi, je touche .! (French Fencing term) > > -Francis > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Fri Mar 23 13:26:05 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 23 Mar 2012 18:26:05 +0100 Subject: LiveCode Player for 5.5 In-Reply-To: <4F6C977F.2050900@fourthworld.com> References: <57B0ED18-777A-44C6-819F-745815324EA8@economy-x-talk.com> <4F6C977F.2050900@fourthworld.com> Message-ID: Hi Richard, I believe RealStudio WE does everything we can reasonably expect from an HTML5 app. So, yes, I'd say they did it. It is funny that you consider HTML5 traditional already, but I do tend to agree. -- 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 1.7 for LiveCode here http://qery.us/za On 23 mrt 2012, at 16:32, Richard Gaskin wrote: > Mark Schonewille wrote: > > > On 23 mrt 2012, at 11:29, Ray Horsley wrote: > >> After giving this idea some further thought I wouldn't bet on > >> it either. How would something like "import snapshot" be > >> exported to HTML5? > > > > RealStudio did it. RunRev can do it too. > > Did they? > > I think it depends on what the definition of "it" is. > > Like LiveCode, RealBASIC can be used to make a nearly infinite variety of apps. From reading their forums, browsing their examples, and reviewing their docs, it seems that their web solution only supports a relatively narrow subset of all possible types of applications that can be made with the tool. > > For what it does, RealBASIC's Web Edition seems like a very useful thing. But it assumes that you want to make a fairly traditional client-server database app comprised of list and form views. > > Thus far I've seen no RB Web Edition examples of things like custom drawing apps, interactive multimedia CBTs, or even the tutorial they provide for building a word processor. > > If I've missed examples of these sorts of apps being automatically converted to web-ready HTML/JS with their Web Edition, please provide the URLs; I wouldn't at all mind being wrong on that, as it would represent a very powerful technology shift that would completely revolutionize web development, well worth knowing about. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From jacque at hyperactivesw.com Fri Mar 23 13:26:15 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 23 Mar 2012 12:26:15 -0500 Subject: Prevent openStack message In-Reply-To: References: <97691177-0ED8-4024-BDA1-648F7960E393@mac.com> <46779448765.20120322221611@ahsoftware.net> <605DAF5C-F8DE-4486-96E7-46F88D06C8B3@mac.com> <147781334171.20120322224737@ahsoftware.net> Message-ID: <4F6CB237.7050801@hyperactivesw.com> On 3/23/12 1:09 AM, Bill Vlahos wrote: > Yes I can. In fact, that is how I'm seeing it in the first place. I > have an openStack handler in the front script. My example script > doesn't normally generate an openStack message but LiveCode did. Trap the openStack message and see if the target is a stack that belongs to your plugin. Then pass it or not, depending. I wouldn't try to stop the message, I'd just deal with it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From palcibiades-first at yahoo.co.uk Fri Mar 23 13:29:33 2012 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Fri, 23 Mar 2012 10:29:33 -0700 (PDT) Subject: [OT] A couple of links about Gnome and usability In-Reply-To: <4F6C94A0.7000609@fourthworld.com> References: <201203230837.59039.palcibiades-first@yahoo.co.uk> <4F6C94A0.7000609@fourthworld.com> Message-ID: <1332523773604-4499556.post@n4.nabble.com> Richard Gaskin wrote > > Like Tim noted, any user of any current major distro who prefers Gnome 2 > can install it and use it. Ubuntu goes so far as to make this a > one-click option at login. > Richard, I wish that were true, I would simply do it. But its vanishing from the repositories. I am on Debian Wheezy, and neither gnome2 nor the old version of gdm are options. You have to compile from source to get it. What we have lost in gdm now is as serious as what has gone missing from gnome3 - we have lost the ability to set up xdmcp on the host. We still have the ability to do remote connect from the client, but not to set it up in the painless way we used to have on the target. We've lost gdm-setup. I read on the blogs that gnome2 is vanishing from ubuntu repositories also. I haven't checked the latest Fedora releases. You can get back a lot of the gnome2 functionality in gnome3, the window control buttons for instance, and the desktop controls, but by all accounts you have to work at it, and for much functionality you are now reduced to editing text files. Actually, its even worse. It may not be terribly good practice to log on to a gui as root, but it can be very convenient sometimes. Well, gdm allowed you to configure it to allow that. gdm2 its not an option. There is probably some way to do it by editing custom.conf. But if you had it, why take it away? This stuff turns too readily into a peevish complaint about gnome or kde. But the point that strikes me as being of much wider interest is that the gnome project always has been motivated by a vision of usability and ease of use, naturalness in method. They really worked at that. So something very interesting has happened when the result of trying very hard to deliver that vision is in fact less usability for a substantial proportion of users. And it has happened not only to gnome, but to kde as well. Peter -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-A-couple-of-links-about-Gnome-and-usability-tp4498147p4499556.html Sent from the Revolution - User mailing list archive at Nabble.com. From pete at mollysrevenge.com Fri Mar 23 13:34:21 2012 From: pete at mollysrevenge.com (Pete) Date: Fri, 23 Mar 2012 10:34:21 -0700 Subject: Need an example of how to use "try" and "catch" In-Reply-To: References: <65EBF765-D194-4700-9154-C792CF656A02@sbcglobal.net> <63F4B63D-5B8B-492B-904E-9EF548434CF1@gmail.com> <9ECD7AE7-9F20-4CFB-BA50-D0E64E4F159D@twft.com> <3552AC67-3678-48E0-8128-3DB664032FC7@twft.com> Message-ID: Bob, Maybe I'm missing something but you seem to be saying there are some database errors that can only be detected by using try/catch, not by checking the result or the "revdberr" string. Taking your example of a database going away, I just created a small db, opened it in LC, then deleted the db file. Any further accesses to the db in LC came back with an error without using try/catch, so I'm not understanding why a try/catch is necessary. Not saying try/catch might not be necessary, just trying to understand if I need to start using that approach. My test was done using sqlite so maybe other SQL variants is where try/catch is needed or perhaps it's due to your use of SQLYoga. Pete On Thu, Mar 22, 2012 at 4:10 PM, Bob Sneidar wrote: > When you are in a standalone, a runtime error that would halt execution > might be fatal. Try/Catch allows you to handle the error gracefully without > presenting the user with an ugly dialog and a QTD afterwards. You can > politely inform the user that something has gone wrong and you have to exit > the application, after tidying things up a bit if necessary. > > Databases can just go away sometimes, like the IT guy deciding it's time > to update the servers and restart them while the user is working late on an > important project. Setting a repeat loop around a try/catch construct > allows you to attempt a reconnect a certain number of times, or present the > user with a Retry/Cancel dialog, allowing you to clean up and exit > gracefully if necessary. > > As a case in point, I was having a problem with a low level broadcast > storm which was causing the uplinks on our switches to reset (they are > designed to do that). Anyone who uses Microsoft SQL knows this can be > fatal, depending on how the software is written. Our accounting software > was not very well written, and as a result, the end user was subject to a > never ending stream of error dialogs allowing a cancel, retry or abort! > None of them exited gracefully. ICK!! Had the developer accounted for the > possibility that the user could be disconnected from the database, and > provided a graceful exit, my reputation would not now be so tarnished, > because they all blamed me of course. :-) To the accounting girl's credit > however, they did make me brownies when I found the source of the broadcast > storm and fixed it. > > Bob > > > On Mar 22, 2012, at 3:31 PM, Pete wrote: > > > Sorry to keep this thread going but I'm trying to figure out if I should > be > > using try/catch more, particularly for database calls. > > > > As far as I know, you can tell if any of the standard rev db calls fail > by > > checking their returned value or the result. Are there circumstances > where > > that's not the case or does SQLYoga silent about errors? > > > > I have experienced silent datagrid problems that were only revealed by > > enclosing the datagrid access statements in try/catch. > > > > Pete > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From rdimola at evergreeninfo.net Fri Mar 23 13:47:49 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 23 Mar 2012 13:47:49 -0400 Subject: Android Keyboard In-Reply-To: <9AD4B601-7B61-4861-8789-693C661B3C75@sbcglobal.net> References: <9AD4B601-7B61-4861-8789-693C661B3C75@sbcglobal.net> Message-ID: <005c01cd091d$10621f60$31265e20$@net> Does anyone know how to have a numeric keyboard with an "enter" key on Android? When you select the numeric keyboard with mobileSetKeyboardType "numeric" You do in fact get a numeric keyboard but there is only a done key that just closes the keyboard and the returninfield message is not sent. I have seen numeric keyboards on the Android with an enter key so I know it can be done. Also every time you do a mobileSetKeyboardType "numeric" a rouge space is inserted into the field every time it gets focus. If you use the default keyboard and select the numeric keyboard you can enter one number and the keyboard reverts back to alphabetic. This was submitted as a bug report back in September but it still unconfirmed. I still have the problem, so I can confirm it at this time. There are other oddities like go from a numeric to a alpha keyboard field an you get a rouge space in the alpha keyboard field. I have not pursued this as I thought this bug would be an major issue and be fixed. As I am now getting close to releasing an app in May this is getting to be a major issue. I don't have any way to have the user enter a zip code into a field. Report #9746 mobileSetKeyboardType inserts rogue space. No enter/return key Last Modified: 2011-09-22 09:15:09 Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From bobs at twft.com Fri Mar 23 13:52:10 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 23 Mar 2012 10:52:10 -0700 Subject: Need an example of how to use "try" and "catch" In-Reply-To: <9AD4B601-7B61-4861-8789-693C661B3C75@sbcglobal.net> References: <9AD4B601-7B61-4861-8789-693C661B3C75@sbcglobal.net> Message-ID: Look up "throw" in the dictionary. Apparently you can use it with or without a try/catch structure. It's a way to generate an error outside the scope of engine generated script errors. try if not (there is a file "/Users/MyProfile/Library/Preferences/MyAppCriticalPreferences.plist") then throw "missing_prefs_file" end if catch theError answer theError & cr & "I have to quit now." quit end try I know it works because I just accidentally quit my Livecode session! This could be used in conjunction with a central error handling user defined command or function. Let's say you have a command called "on customError pErrorNum". In it you have a switch statement for pErrorNum which handles each error differently. Some errors you want to simply inform the user and reset the form. Others may be critical ones and you have to bail out gracefully. try if not (there is a file "/Users/MyProfile/Library/Preferences/MyAppCriticalPreferences.plist") then throw "missing_prefs_file" end if catch theError customError -666 end try on customError pErrorNum switch pErrorNum case 666 put "A critical error has occurred. The application will now exit." into theMsg put true into isCritical case 777 put "A non-critical error has occurred. Please try again." put false into isCritical end switch answer theMsg as sheet if isCritical then cleanup -- I am not going to write a fictitious cleanup routine! quit end if end customError Bob On Mar 23, 2012, at 10:08 AM, Jim Hurley wrote: > Mark, > > Yes! I agree with you about "throw". > > Do you, or dose anyone, have an example that shows the use of the "throw" command in conjunction with the "try-catch" structure? > > Jim From bobs at twft.com Fri Mar 23 14:04:20 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 23 Mar 2012 11:04:20 -0700 Subject: Need an example of how to use "try" and "catch" In-Reply-To: References: <65EBF765-D194-4700-9154-C792CF656A02@sbcglobal.net> <63F4B63D-5B8B-492B-904E-9EF548434CF1@gmail.com> <9ECD7AE7-9F20-4CFB-BA50-D0E64E4F159D@twft.com> <3552AC67-3678-48E0-8128-3DB664032FC7@twft.com> Message-ID: <6E5B4339-2673-426C-92AF-A9080F1A5CD0@twft.com> Hi Pete. I am not saying that try/catch is necessary when using revDB, but it certainly is when using sqlYoga, or any other plugin that is a locked stack that can generate errors. I would use try catch anyway because I am used to it, and if I am using it in certain places, then for consistency I want to use it throughout. Another advantage of try catch is the ability to encompass a series of statements which may generate an error condition, and you don't have to check for an error after each statement. Also, and I may have mentioned this, I find it more elegant to issue a breakpoint in the catch section and go directly to the debugger, rather than be confronted with the runtime error dialog and click Debug. Finally as someone else mentioned, some things fail silently. I have made calls to sqlYoga outside a try catch control structure which did not pop a runtime error dialog but did stop program execution. In these cases I believe a try catch control structure will catch the error and allow you to deal with it. Bob On Mar 23, 2012, at 10:34 AM, Pete wrote: > Bob, > Maybe I'm missing something but you seem to be saying there are some > database errors that can only be detected by using try/catch, not by > checking the result or the "revdberr" string. > > Taking your example of a database going away, I just created a small db, > opened it in LC, then deleted the db file. Any further accesses to the db > in LC came back with an error without using try/catch, so I'm not > understanding why a try/catch is necessary. > > Not saying try/catch might not be necessary, just trying to understand if I > need to start using that approach. My test was done using sqlite so maybe > other SQL variants is where try/catch is needed or perhaps it's due to your > use of SQLYoga. > > Pete From ambassador at fourthworld.com Fri Mar 23 14:16:00 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 23 Mar 2012 11:16:00 -0700 Subject: LiveCode Player for 5.5 In-Reply-To: References: Message-ID: <4F6CBDE0.6080803@fourthworld.com> Mark Schonewille wrote: > I believe RealStudio WE does everything we can reasonably expect from > an HTML5 app. Qualified with "reasonably expect" in terms of automated translation, I would agree. Here's a nifty HTML5 app that's the sort of thing one can also make in RB for the desktop (and similar in some ways to your nice flowchart app made with LC), but I don't see anything in their WE which would automate such translation for the web: Here's one that's reflective of the sort of multimedia techniques used in CBTs - easy to do in RB, but not translatable in WE: Here's a painting program, similar to some I've seen made with LC and RB but again I've seen nothing on the BR WE which would suggest that can be automatically translated: So I agree that it's not reasonable to expect an automated translation solution to offer much more than simple list and form views. But I don't think that's going to suffice for the sort of stuff LiveCoders want from a one-click web solution. > It is funny that you consider HTML5 traditional already, but I do > tend to agree. What I wrote was: ...RealBASIC's Web Edition seems like a very useful thing. But it assumes that you want to make a fairly traditional client-server database app comprised of list and form views. I didn't use the word "traditional" to describe any specific version of HTML, nor even HTML itself. I was referring to the useful but fairly narrowly focused range of UIs the RB WE can produce. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From pete at mollysrevenge.com Fri Mar 23 14:17:01 2012 From: pete at mollysrevenge.com (Pete) Date: Fri, 23 Mar 2012 11:17:01 -0700 Subject: Tools for creating a help file Message-ID: I'm trying to decide how to supply the help text for an application and wondering what tools people are using to creat help files. I'm finding that it is much easier to use a word processor to write the help text and graphics than trying to do it within the confines of LC text fields. I can't leave the help text as a separate file because that would require the user to have the same wp program I used to create it. I can create a pdf version of it to get round that but I'm wondering if there is some way of importing the help text into LC, retaining all the formatting and graphics. Is it possible to open a pdf file and display within an LC application without starting a separate pdf viewer program? Thanks for any guidance, -- Pete Molly's Revenge From ambassador at fourthworld.com Fri Mar 23 14:19:55 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 23 Mar 2012 11:19:55 -0700 Subject: [OT] A couple of links about Gnome and usability In-Reply-To: <1332523773604-4499556.post@n4.nabble.com> References: <1332523773604-4499556.post@n4.nabble.com> Message-ID: <4F6CBECB.4080807@fourthworld.com> Peter Alcibiades wrote: > Richard Gaskin wrote >> >> Like Tim noted, any user of any current major distro who prefers Gnome 2 >> can install it and use it. Ubuntu goes so far as to make this a >> one-click option at login. >> > > Richard, I wish that were true, I would simply do it. But its vanishing > from the repositories. I am on Debian Wheezy, and neither gnome2 nor the > old version of gdm are options. Then switch to Ubuntu, where it's an option at login. Ironically, for all the flak Shuttleworth gets he seems to be doing more for Gnome2 than the Gnome project. > You have to compile from source to get it. How badly do you want it? ;) > I read on the blogs that gnome2 is vanishing from ubuntu repositories also. Maybe, but it's there now. The bottom line with old things like Gnome2 is that it's all open source: it can never die except for lack of interest. If enough people want it, it'll be around forever. If it's not around, not enough people wanted it. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From pmbrig at gmail.com Fri Mar 23 14:20:33 2012 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Fri, 23 Mar 2012 14:20:33 -0400 Subject: Need an example of how to use "try" and "catch" In-Reply-To: <4F6C07FF.3000605@hyperactivesw.com> References: <4F6C07FF.3000605@hyperactivesw.com> Message-ID: The syntax is there at the top but it's not formatted -- tabs or space-runs between the lines instead of cr's. Looks like a problem in the dictionary stack with displaying the text from the customprop. If it were displayed properly you could see the structure, and then the commentary would explain things pretty well. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Mar 23, 2012, at 1:19 AM, J. Landman Gay wrote: > On 3/22/12 11:59 PM, Jim Hurley wrote: > >> LC is an English muffin. So many nooks and crannies. > > I like that. :) > >> >> P.S. There really ought to be an illustration of the try-catch syntax >> in the dictionary. > > I just looked, and I'm amazed there isn't. Myabe you could add a user note. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Fri Mar 23 14:21:18 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 23 Mar 2012 11:21:18 -0700 Subject: LiveCode Player for 5.5 In-Reply-To: <857779D8-E2E4-4B0C-B4DE-0D881704A0D4@twft.com> References: <857779D8-E2E4-4B0C-B4DE-0D881704A0D4@twft.com> Message-ID: <4F6CBF1E.7090909@fourthworld.com> Bob Sneidar wrote: > Maybe the trick is to find an IT guy who really knows his stuff, and then let him rule his little bit of the roost? Ideally that would be the CTO. But I also recognize that not enough companies understand why they added "CTO" to their org chart. :) -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From klaus at major.on-rev.com Fri Mar 23 14:24:14 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Fri, 23 Mar 2012 19:24:14 +0100 Subject: Tools for creating a help file In-Reply-To: References: Message-ID: <22983BD0-8FCC-4BD0-B163-699D7E3337C1@major.on-rev.com> Hi Pete, Am 23.03.2012 um 19:17 schrieb Pete: > I'm trying to decide how to supply the help text for an application and > wondering what tools people are using to creat help files. > > I'm finding that it is much easier to use a word processor to write the > help text and graphics than trying to do it within the confines of LC text > fields. I can't leave the help text as a separate file because that would > require the user to have the same wp program I used to create it. I can > create a pdf version of it to get round that but I'm wondering if there is > some way of importing the help text into LC, retaining all the formatting > and graphics. Is it possible to open a pdf file and display within an LC > application without starting a separate pdf viewer program? you could use a Browser Object to display the PDFs! Works on the Mac and will surely do on Windows if Acrobat Reader is installed. > Thanks for any guidance, > -- > Pete Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From ken at kencorey.com Fri Mar 23 14:24:22 2012 From: ken at kencorey.com (Ken Corey) Date: Fri, 23 Mar 2012 18:24:22 +0000 Subject: Different row templates for a datagrid? Message-ID: <4F6CBFD6.3070906@kencorey.com> Hi All, I'm starting to think about the possibility of using my app on a Retina iOS device. The central feature of my app is a datagrid that was originally designed for the older iOS screens. I could just let it pixel double, but that just doesn't seem right, somehow. After reading the datagrid documentation, it seems to me thta the "right" way to handle multiple resolutions is to have another, hidden, datagrid that has the right row template for a retina-class device, and if I detect that I'm on such a device, I'll use that template instead of mine. Does that sound about right? -Ken From lunchnmeets at aol.com Fri Mar 23 14:24:54 2012 From: lunchnmeets at aol.com (lunchnmeets) Date: Fri, 23 Mar 2012 14:24:54 -0400 Subject: Fields with negative top numbers visible? In-Reply-To: 048DDC32.97D4.4E0A.827A.ADFD710712FC@aol.com Message-ID: <08B40EB8.DEDD.4542.9B41.E379A22D19B1@aol.com> On Mar 23, 2012, at 1:06:12 PM, "Bob Sneidar" wrote: From: "Bob Sneidar" Subject: Re: Fields with negative top numbers visible? Date: March 23, 2012 1:06:12 PM EDT To: "How to use LiveCode" Hmmm... Are you in OS X and do you have a custom menu in the stack? Bob Hi Bob, Yes I am using Mac OSX. And Yes, the menu group was set incorrectly. Thanks. I really appreciate it. Joe From ambassador at fourthworld.com Fri Mar 23 14:30:48 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 23 Mar 2012 11:30:48 -0700 Subject: Tools for creating a help file In-Reply-To: References: Message-ID: <4F6CC158.5070004@fourthworld.com> Pete wrote: > I'm trying to decide how to supply the help text for an application and > wondering what tools people are using to creat help files. > > I'm finding that it is much easier to use a word processor to write the > help text and graphics than trying to do it within the confines of LC text > fields. I can't leave the help text as a separate file because that would > require the user to have the same wp program I used to create it. I can > create a pdf version of it to get round that but I'm wondering if there is > some way of importing the help text into LC, retaining all the formatting > and graphics. Is it possible to open a pdf file and display within an LC > application without starting a separate pdf viewer program? I enjoy typing in LiveCode fields myself, but I'm funny that way. :) If you like using Word you'll love Curry Kenworthy's WordLib for importing content from Word and OpenOffice/Libre Office into LiveCode: He's done an amazingly thorough job of recreating every element in doc, docx, and odt files that can be represented in LiveCode fields. And he's hard at work on a new version that takes full advantage of LC 5.5's new field object capabilities. For professional devs he also offers an option to acquire limited rights to the source for an additional fee. This is a must-have for myself and my clients, and pretty much every other pro dev who need to consider code base longevity, and his source fee was more than reasonable. Curry's support has been exemplary, and his willingness to work with suggestions for new features and enhancements is an inspiration for all of us tools vendors. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From bobs at twft.com Fri Mar 23 14:33:47 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 23 Mar 2012 11:33:47 -0700 Subject: Tools for creating a help file In-Reply-To: References: Message-ID: Check out Blue Mango's Screensteps. Bob On Mar 23, 2012, at 11:17 AM, Pete wrote: > I'm trying to decide how to supply the help text for an application and > wondering what tools people are using to creat help files. > > I'm finding that it is much easier to use a word processor to write the > help text and graphics than trying to do it within the confines of LC text > fields. I can't leave the help text as a separate file because that would > require the user to have the same wp program I used to create it. I can > create a pdf version of it to get round that but I'm wondering if there is > some way of importing the help text into LC, retaining all the formatting > and graphics. Is it possible to open a pdf file and display within an LC > application without starting a separate pdf viewer program? > > Thanks for any guidance, > > > -- > Pete > Molly's Revenge > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Fri Mar 23 14:37:03 2012 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 23 Mar 2012 20:37:03 +0200 Subject: [OT] A couple of links about Gnome and usability In-Reply-To: <201203230837.59039.palcibiades-first@yahoo.co.uk> References: <201203230837.59039.palcibiades-first@yahoo.co.uk> Message-ID: <4F6CC2CF.1030200@gmail.com> On 03/23/2012 10:37 AM, Peter Alcibiades wrote: "Me, I have moved to Fluxbox, because it gets out of the way and stays out. Everyone I support will be moving to xfce over the next few months. With any luck, they will not notice its not Gnome2....! Since XFCE allowed transparencies and icons on the desktop it really is 95% GNOME 2 (the only beef I have is that I cannot get the desktop icons to sort themselves into some sort of order). What annoys me is not GNOME 3 or UNITY or KDE 4.5 (even though I don't like any of them), but that they have been pushed at the expense of GNOME 2 and the earlier versions of KDE. What should have been done, is that GNOME 2 and KDE 3.x were retained so that people could choose. What seems to be happening in the Linux world (well, the Linux Desktop world at least) is remarkably similar to what has been the case with commercial OSes since the year dot; a real case of Henry Ford (black, black or black); increasing restriction of choice, not for those in the know who are happy to mess around with the dear old command line and install Fluxbox, LXDE, Icebox and so on, but for people like my Dad, who bunged an Ubuntu disk in his Laptop and suddenly (at the age of 79) had to learn a new paradigm, something he could well do without . . . . . . or, put it another way; thanks to effing UNITY (United we stand, United we fall - the latter being all too often the case), my Dad and I spent far too long hunched over his laptop last New Year when we could have spent the time on something more rewarding (such as chewing over Zeno's paradox, ha, ha)! While my example may seem banal and trivial, ultimately completely rejigging a GUI without: 1. Let end-users know that they are suddenly going to get a rude awakening, and 2. Giving them a choice to revert (Ha, flaming-well ha, have you seen the GNOME "fallback" thing - a sort of castrated GNOME 2 obviously designed to make people go "Oh, F***" and get on with learning how to manage with either GNOME 3 or UNITY???) to what they have got used to. And my Father, far from being the exception, is fairly middle-of-the-road for desktop users who have, at least, managed to be seduced away from Windows XP (which, face it, is almost the same as GNOME 2). -------------- Tried MATE; not what it seems at all; but then why on earth should anybody expect it to be anything at all; it is an (admittedly brave) attempt to produce a GNOME 2 clone in no time flat; unsurprisingly it doesn't really cut the mustard. Tried Cinnamon; ditto. But, then, these "clones" shouldn't be necessary; it is ONLY because the Linux "Gods" (who, increasingly can be seen to have feet of clay; or, maybe, feet that are inclined to dance the way of fashion) have removed GNOME 2 from the repositories that they were thought to be in the first place. ---------- Why is Richmond taking up so much space on a Use-List that is not, quite frankly, aimed at people fussed about the Linux desktop? Good question. BECAUSE, ultimately, we all are involved to some extent or another, with producing software that people will have to use on all sorts of GUIs; and choice made about stuff such as UNITY and Windows 8 affect our work and decisions we will make about our interface design. ------------ I am well aware that many of the people who read this Use-List are going to snort a bit and say something rather like "Oh, there's nutty Richmond, Peter and no-quite-so-nutty Richard again": but they would do better to follow this discussion because, to misquote a certain throaty-voiced singer of the sixties "The interfaces they are a-changing". Richmond Mathewson. From capellan2000 at gmail.com Fri Mar 23 14:37:25 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 23 Mar 2012 11:37:25 -0700 (PDT) Subject: Using Quicktime to record sounds in Livecode In-Reply-To: <4F6C1CF3.5060906@gmail.com> References: <1332446965145-4496711.post@n4.nabble.com> <4F6C1CF3.5060906@gmail.com> Message-ID: <1332527845740-4499784.post@n4.nabble.com> Hi Richmond, Richmond Mathewson-2 wrote > > [snip] > Sound recording in Livecode is so low down the RunRev people's list > of priorities it has dropped off the bottom; hence the Quicktime "thing" > which has been there since very nearly the beginning. > I will use the Enhanced QuickTime external of Trevor Devore and report back. Anyway, Apple itself is abandoning QuickTime so VLC is a viable cross platform option: http://www.videolan.org/press/lgpl.html "This change of license was an initiative started by some of VLC's main developers and will be a change from the current license (GPLv2 or later) to the LGPLv2.1 or later license. http://www.gnu.org/licenses/lgpl-2.1.html This change was motivated to match the evolution of the video industry and to spread the VLC engine as a multi-platform open-source multimedia engine and library. The VideoLAN non-profit organisation and the ?cole Centrale Paris approve this initiative." Runrev have spend wisely their resources. The popularity of iOS and Android platforms shows this. Clearly, Multimedia is not the main interest of developers in this platform and I understand this perfectly. Hopefully this would change in a near future. When you test these scripts in your setup, please report your results and if possible, post a working example stack. :-) Have a nice weekend! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Using-Quicktime-to-record-sounds-in-Livecode-tp4496711p4499784.html Sent from the Revolution - User mailing list archive at Nabble.com. From pete at mollysrevenge.com Fri Mar 23 15:25:03 2012 From: pete at mollysrevenge.com (Pete) Date: Fri, 23 Mar 2012 12:25:03 -0700 Subject: Tools for creating a help file In-Reply-To: <4F6CC158.5070004@fourthworld.com> References: <4F6CC158.5070004@fourthworld.com> Message-ID: Thanks Richard, that sounds like a possibility. I'm using iPages to create the help text but I think it is capable of saving a file in Word format although not sure how good a job it does. I guess I'll give it a whirl with WordLib (hopefully there's a trial available) and see what happens. I'm not against typing into LC fields, just finding that there's less work involved in using a word processor that is built to deal with formatting, spell checking and inserting graphics that doing all that in native LC. Pete On Fri, Mar 23, 2012 at 11:30 AM, Richard Gaskin wrote: > Pete wrote: > >> I'm trying to decide how to supply the help text for an application and >> wondering what tools people are using to creat help files. >> >> I'm finding that it is much easier to use a word processor to write the >> help text and graphics than trying to do it within the confines of LC text >> fields. I can't leave the help text as a separate file because that would >> require the user to have the same wp program I used to create it. I can >> create a pdf version of it to get round that but I'm wondering if there is >> some way of importing the help text into LC, retaining all the formatting >> and graphics. Is it possible to open a pdf file and display within an LC >> application without starting a separate pdf viewer program? >> > > I enjoy typing in LiveCode fields myself, but I'm funny that way. :) > > If you like using Word you'll love Curry Kenworthy's WordLib for importing > content from Word and OpenOffice/Libre Office into LiveCode: > > > > > He's done an amazingly thorough job of recreating every element in doc, > docx, and odt files that can be represented in LiveCode fields. And he's > hard at work on a new version that takes full advantage of LC 5.5's new > field object capabilities. > > For professional devs he also offers an option to acquire limited rights > to the source for an additional fee. This is a must-have for myself and > my clients, and pretty much every other pro dev who need to consider code > base longevity, and his source fee was more than reasonable. > > Curry's support has been exemplary, and his willingness to work with > suggestions for new features and enhancements is an inspiration for all of > us tools vendors. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/**blog.irv > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From ray at linkit.com Fri Mar 23 16:27:29 2012 From: ray at linkit.com (Ray Horsley) Date: Fri, 23 Mar 2012 15:27:29 -0500 Subject: Reverting to 5.0.2 In-Reply-To: References: <8EA69F12-15D5-43EF-91B9-0871D76D3BC9@LinkIt.Com> <4F6B8F25.8080408@fourthworld.com> <57B0ED18-777A-44C6-819F-745815324EA8@economy-x-talk.com> <4F6C629D.1040904@kencorey.com> Message-ID: I've saved a stack in 5.5 but now I'd like to open it in 5.0.2 which doesn't recognize it as a stack. I can open it in 5.5 and save it in legacy but that takes me all the way back to 2.7 with an unknown number of feature losses. Any suggestions? Thanks, Ray Horsley LinkIt! Software From ken at kencorey.com Fri Mar 23 15:38:20 2012 From: ken at kencorey.com (Ken Corey) Date: Fri, 23 Mar 2012 19:38:20 +0000 Subject: Bug in custom fonts on iOS? Message-ID: <4F6CD12C.8030700@kencorey.com> Hi All, I was wanting to add a little nicety to my iOS app, so I used three fonts: Myriad Pro Regular.ttf Myriad Pro Bold condensed.ttf Myriad Pro Italic.ttf So, I duly copied the files into the Copy Files pane of the Standalone Settings dialog, and then tried to run on the simulator. No joy. Only one of the fonts would appear. After a bit of searching, I found David William's lesson about fonts on the runrev web site. When I downloaded it, installed the fonts, and ran it on the iPad simulator, sure enough, only one of the fonts was listed: Myriad Pro (though Myriad Pro Cond was displayed in the window). Doing a 'Get Info' for those fonts, they all come up with names like this: Myriad Pro-Cond Myriad Pro-Bold Myriad Pro-Italic etc... Using my calibrated eye, the hyphen between 'Myriad Pro' and 'Cond' looks like an em-dash. Could that break things? Has anyone else seen this problem? (bonus: anyone have a work around?) -Ken From mikedoub at gmail.com Fri Mar 23 15:41:40 2012 From: mikedoub at gmail.com (Michael Doub) Date: Fri, 23 Mar 2012 15:41:40 -0400 Subject: Reverting to 5.0.2 In-Reply-To: References: <8EA69F12-15D5-43EF-91B9-0871D76D3BC9@LinkIt.Com> <4F6B8F25.8080408@fourthworld.com> <57B0ED18-777A-44C6-819F-745815324EA8@economy-x-talk.com> <4F6C629D.1040904@kencorey.com> Message-ID: <639E7C35-2E78-42B9-9334-D0A5E3838E66@gmail.com> It would be helpful if there is a mapping between stack file revisions (2.7.2.4, current) and the live code revisions. Is this documented anywhere? What is the stack revision number for 5.5? In Ray's case, I think that 2.7 is the format used by 5.0.2. Please correct me if I am mistaken -= Mike On Mar 23, 2012, at 4:27 PM, Ray Horsley wrote: > I've saved a stack in 5.5 but now I'd like to open it in 5.0.2 which doesn't recognize it as a stack. I can open it in 5.5 and save it in legacy but that takes me all the way back to 2.7 with an unknown number of feature losses. Any suggestions? > > Thanks, > > Ray Horsley > LinkIt! Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Mar 23 15:56:25 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 23 Mar 2012 14:56:25 -0500 Subject: Reverting to 5.0.2 In-Reply-To: References: <8EA69F12-15D5-43EF-91B9-0871D76D3BC9@LinkIt.Com> <4F6B8F25.8080408@fourthworld.com> <57B0ED18-777A-44C6-819F-745815324EA8@economy-x-talk.com> <4F6C629D.1040904@kencorey.com> Message-ID: <4F6CD569.10303@hyperactivesw.com> On 3/23/12 3:27 PM, Ray Horsley wrote: > I've saved a stack in 5.5 but now I'd like to open it in 5.0.2 which > doesn't recognize it as a stack. I can open it in 5.5 and save it in > legacy but that takes me all the way back to 2.7 with an unknown > number of feature losses. Any suggestions? Version 2.7 is the last time the file format changed, and is what LiveCode 5.0.2 uses. So choose that. Then in Preferences, select the checkbox in the general pane that saves all stacks in their original format. That way it will always save your 5.x stacks in 2.7 file format. The only features you will lose are any of the new field commands you may have added, since 5.0 doesn't have the new field object. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rdimola at evergreeninfo.net Fri Mar 23 15:58:36 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 23 Mar 2012 15:58:36 -0400 Subject: Bug in custom fonts on iOS? In-Reply-To: <4F6CD12C.8030700@kencorey.com> References: <4F6CD12C.8030700@kencorey.com> Message-ID: <008c01cd092f$55b57280$01205780$@net> Those are all the same font. You select them by using the "bold" or "Italic" option on the text formatting tab in the inspector. If you did not have say... the bold font loaded and you select the bold face the engine should do a best guess mathematical bolding that never looks as good a the real bold face. So... If you see the one font you should be good-to-go. What face does it show? It should be "Myriad Pro" without any face although the condensed versions of a font are usually a totally separate font, but not always. As a printer I have been in Font-Hell many times and still am from time to time. I still can't figure out why in 2012 font names in the various OSs(and even various programs) are still not consistent and predictable. Welcome to my world.... Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Ken Corey Sent: Friday, March 23, 2012 3:38 PM To: How to use LiveCode Subject: Bug in custom fonts on iOS? Hi All, I was wanting to add a little nicety to my iOS app, so I used three fonts: Myriad Pro Regular.ttf Myriad Pro Bold condensed.ttf Myriad Pro Italic.ttf So, I duly copied the files into the Copy Files pane of the Standalone Settings dialog, and then tried to run on the simulator. No joy. Only one of the fonts would appear. After a bit of searching, I found David William's lesson about fonts on the runrev web site. When I downloaded it, installed the fonts, and ran it on the iPad simulator, sure enough, only one of the fonts was listed: Myriad Pro (though Myriad Pro Cond was displayed in the window). Doing a 'Get Info' for those fonts, they all come up with names like this: Myriad Pro-Cond Myriad Pro-Bold Myriad Pro-Italic etc... Using my calibrated eye, the hyphen between 'Myriad Pro' and 'Cond' looks like an em-dash. Could that break things? Has anyone else seen this problem? (bonus: anyone have a work around?) -Ken _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Fri Mar 23 16:01:32 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 23 Mar 2012 21:01:32 +0100 Subject: Reverting to 5.0.2 In-Reply-To: <639E7C35-2E78-42B9-9334-D0A5E3838E66@gmail.com> References: <8EA69F12-15D5-43EF-91B9-0871D76D3BC9@LinkIt.Com> <4F6B8F25.8080408@fourthworld.com> <57B0ED18-777A-44C6-819F-745815324EA8@economy-x-talk.com> <4F6C629D.1040904@kencorey.com> <639E7C35-2E78-42B9-9334-D0A5E3838E66@gmail.com> Message-ID: Hi, You're right. 2.7 is the format used since 2.7 (which was finally released as 3.0 IIRC) and now the new format is 5.5. Before 2.7 it was 2.4. I don't remember being unable to open a 2.4 stack with any version between 2.0 and 2.4. -- 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 1.7 for LiveCode here http://qery.us/za On 23 mrt 2012, at 20:41, Michael Doub wrote: > It would be helpful if there is a mapping between stack file revisions (2.7.2.4, current) and the live code revisions. Is this documented anywhere? What is the stack revision number for 5.5? > > In Ray's case, I think that 2.7 is the format used by 5.0.2. > > Please correct me if I am mistaken > > -= Mike > From ray at linkit.com Fri Mar 23 17:15:49 2012 From: ray at linkit.com (Ray Horsley) Date: Fri, 23 Mar 2012 16:15:49 -0500 Subject: Reverting to 5.0.2 In-Reply-To: References: <8EA69F12-15D5-43EF-91B9-0871D76D3BC9@LinkIt.Com> <4F6B8F25.8080408@fourthworld.com> <57B0ED18-777A-44C6-819F-745815324EA8@economy-x-talk.com> <4F6C629D.1040904@kencorey.com> <639E7C35-2E78-42B9-9334-D0A5E3838E66@gmail.com> Message-ID: Many thanks guys! On Mar 23, 2012, at 3:01 PM, Mark Schonewille wrote: > Hi, > > You're right. 2.7 is the format used since 2.7 (which was finally released as 3.0 IIRC) and now the new format is 5.5. Before 2.7 it was 2.4. I don't remember being unable to open a 2.4 stack with any version between 2.0 and 2.4. > > -- > 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 1.7 for LiveCode here http://qery.us/za > > On 23 mrt 2012, at 20:41, Michael Doub wrote: > >> It would be helpful if there is a mapping between stack file revisions (2.7.2.4, current) and the live code revisions. Is this documented anywhere? What is the stack revision number for 5.5? >> >> In Ray's case, I think that 2.7 is the format used by 5.0.2. >> >> Please correct me if I am mistaken >> >> -= Mike >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From revdev at pdslabs.net Fri Mar 23 16:39:38 2012 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 23 Mar 2012 13:39:38 -0700 Subject: Tools for creating a help file In-Reply-To: References: <4F6CC158.5070004@fourthworld.com> Message-ID: <4F6CDF8A.1090308@pdslabs.net> Hi Pete, I use a "squeaky wheel" approach to user docs. Instead of creating volumes of info that only I will read, I use ScreenSteps to create very visual "how to" web pages on issues where users ask questions. The apps I build for my clients all use the same "Help Topics" plugin that appears in the app's Help menu. When users open it, they see a list of the How-To pages available for that app which are stored on the client's web server. If they click an item in the list, their web browser opens with the info displayed. There's nothing like having the Help info right there when & where you need it! Best - Phil Davis On 3/23/12 12:25 PM, Pete wrote: > Thanks Richard, that sounds like a possibility. > > I'm using iPages to create the help text but I think it is capable of > saving a file in Word format although not sure how good a job it does. I > guess I'll give it a whirl with WordLib (hopefully there's a trial > available) and see what happens. > > I'm not against typing into LC fields, just finding that there's less work > involved in using a word processor that is built to deal with formatting, > spell checking and inserting graphics that doing all that in native LC. > > Pete > > On Fri, Mar 23, 2012 at 11:30 AM, Richard Gaskin> wrote: >> Pete wrote: >> >>> I'm trying to decide how to supply the help text for an application and >>> wondering what tools people are using to creat help files. >>> >>> I'm finding that it is much easier to use a word processor to write the >>> help text and graphics than trying to do it within the confines of LC text >>> fields. I can't leave the help text as a separate file because that would >>> require the user to have the same wp program I used to create it. I can >>> create a pdf version of it to get round that but I'm wondering if there is >>> some way of importing the help text into LC, retaining all the formatting >>> and graphics. Is it possible to open a pdf file and display within an LC >>> application without starting a separate pdf viewer program? >>> >> I enjoy typing in LiveCode fields myself, but I'm funny that way. :) >> >> If you like using Word you'll love Curry Kenworthy's WordLib for importing >> content from Word and OpenOffice/Libre Office into LiveCode: >> >> He's done an amazingly thorough job of recreating every element in doc, >> docx, and odt files that can be represented in LiveCode fields. And he's >> hard at work on a new version that takes full advantage of LC 5.5's new >> field object capabilities. >> >> For professional devs he also offers an option to acquire limited rights >> to the source for an additional fee. This is a must-have for myself and >> my clients, and pretty much every other pro dev who need to consider code >> base longevity, and his source fee was more than reasonable. >> >> Curry's support has been exemplary, and his willingness to work with >> suggestions for new features and enhancements is an inspiration for all of >> us tools vendors. >> >> -- >> Richard Gaskin >> Fourth World >> LiveCode training and consulting: http://www.fourthworld.com >> Webzine for LiveCode developers: http://www.LiveCodeJournal.com >> LiveCode Journal blog: http://LiveCodejournal.com/**blog.irv >> >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> >> > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From coiin at verizon.net Fri Mar 23 16:47:16 2012 From: coiin at verizon.net (Colin Holgate) Date: Fri, 23 Mar 2012 16:47:16 -0400 Subject: Tools for creating a help file In-Reply-To: References: <4F6CC158.5070004@fourthworld.com> Message-ID: <384578CB-C37C-4D76-BAAC-6ABA59755FC1@verizon.net> You should look at ScreenSteps: http://www.bluemangolearning.com/screensteps/ In addition to being a very good way to prepare documentation, the tool was created with LiveCode. It can export to Word, PDF, and HTML. With PDF you can use a LiveCode player object and set the filename of the player to the path to the PDF, and then set the currenttime of the player to go forward and backward through the pages. From bobs at twft.com Fri Mar 23 16:51:30 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 23 Mar 2012 13:51:30 -0700 Subject: Tools for creating a help file In-Reply-To: <4F6CDF8A.1090308@pdslabs.net> References: <4F6CC158.5070004@fourthworld.com> <4F6CDF8A.1090308@pdslabs.net> Message-ID: <4698A0F9-8FFE-4A72-B77F-D16D5A6B60F5@twft.com> There was a video I watched recently about using screen steps in exactly this way. Users would request help, and the response would be a either a new or existing article on how to do what the user needed to do. In this way, the help system was a "living document" to quote an oft misused phrase. Neat idea. Bob On Mar 23, 2012, at 1:39 PM, Phil Davis wrote: > Hi Pete, > > I use a "squeaky wheel" approach to user docs. Instead of creating volumes of info that only I will read, I use ScreenSteps to create very visual "how to" web pages on issues where users ask questions. The apps I build for my clients all use the same "Help Topics" plugin that appears in the app's Help menu. When users open it, they see a list of the How-To pages available for that app which are stored on the client's web server. If they click an item in the list, their web browser opens with the info displayed. > > There's nothing like having the Help info right there when & where you need it! > > Best - > Phil Davis From MikeKerner at roadrunner.com Fri Mar 23 16:58:01 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 23 Mar 2012 16:58:01 -0400 Subject: load url and iOS Issue Message-ID: Is anybody trying to use load url with iOS? I'm having an issue where I don't ever seem to get the cachedURLs populated and the URLStatus is never updated, but my callback message is fired. If I use a get url things seem to work. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From richmondmathewson at gmail.com Fri Mar 23 17:03:14 2012 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 23 Mar 2012 23:03:14 +0200 Subject: Fermented Livecode Message-ID: <4F6CE512.5090100@gmail.com> For those of you who care about this sort of thing: Livecode 4.5 for Windows installs and runs successfully under WINE 1.5.0: http://www.winehq.org/announce/1.5.0 However, if any of you are caring, you might want to either: Stop caring, or Start badgering the WINE people about PNG implementation as icon rendering in the Tools stack and the MenuBar is totally useless. [This is part of a long-running, open-ended competition to see who can do the most redundant thing with Livecode on a Friday night - no prizes, beyond a red face, are on offer] From pete at mollysrevenge.com Fri Mar 23 17:11:11 2012 From: pete at mollysrevenge.com (Pete) Date: Fri, 23 Mar 2012 14:11:11 -0700 Subject: Tools for creating a help file In-Reply-To: <384578CB-C37C-4D76-BAAC-6ABA59755FC1@verizon.net> References: <4F6CC158.5070004@fourthworld.com> <384578CB-C37C-4D76-BAAC-6ABA59755FC1@verizon.net> Message-ID: Thanks Colin and Phil for the ScreenSteps recommendation. I'll definitely take a look. Pete On Fri, Mar 23, 2012 at 1:47 PM, Colin Holgate wrote: > You should look at ScreenSteps: > > http://www.bluemangolearning.com/screensteps/ > > In addition to being a very good way to prepare documentation, the tool > was created with LiveCode. > > It can export to Word, PDF, and HTML. With PDF you can use a LiveCode > player object and set the filename of the player to the path to the PDF, > and then set the currenttime of the player to go forward and backward > through the pages. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From jacque at hyperactivesw.com Fri Mar 23 18:06:40 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 23 Mar 2012 17:06:40 -0500 Subject: load url and iOS Issue In-Reply-To: References: Message-ID: <4F6CF3F0.3070208@hyperactivesw.com> On 3/23/12 3:58 PM, Mike Kerner wrote: > Is anybody trying to use load url with iOS? > > I'm having an issue where I don't ever seem to get the cachedURLs populated > and the URLStatus is never updated, but my callback message is fired. > > If I use a get url things seem to work. > See page 19 in the iOS release notes. It doesn't look like the cachedURLs is supported. You should be getting progress messages though in "urlProgress". -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gcanyon at gmail.com Fri Mar 23 18:24:03 2012 From: gcanyon at gmail.com (Geoff Canyon) Date: Fri, 23 Mar 2012 17:24:03 -0500 Subject: revCopyFile In-Reply-To: References: <51B2AA08-EAB6-4600-B2B0-B684A73BF230@twft.com> <175652662687.20120321110305@ahsoftware.net> <4F6A1A4A.2010907@gmail.com> Message-ID: It is stunning to me that this is faster than using a shell command. I did the same test as before (about thirty files, about 70k each) and copying them by using binary reads/writes took about one-third the time of using the shell command. I thought it might be overhead with calling shell, but I ran it on a single 50MB file, and the binary read/write method was better than twice as fast there as well. What *possible* overhead could there be in a shell command that would make it better than twice as slow as reading/writing the file 16kb at a time? On Thu, Mar 22, 2012 at 6:11 PM, Maarten Koopmans < maarten.koopmans at gmail.com> wrote: > I scripted this using the read as binary etc. using 16KB buffers some time > ago in pure LC. Much faster, and cross-platform. Idon'thave the code here > at hand, but it is really straightforward: > > Open the source file for read binary > Open the destination file for write binary > Read 16KB or whatever is left if it's less from the source into a buffer > Append the buffer to the destination > Loop until done > Close the files > > Faster then revCopyFile (in fact, why doesn't itdo it this way....) and no > hassle with shells or external processes where you need to check if they > actually did what you asked. > > HTH, Maarten > > On Thursday, March 22, 2012, Pete wrote: > > Hi Geoff, > > Thanks for the speed test info. I'm not very familiar with shell > commands > > so maybe you could let me know the command to use? What I need to do is > > copy a file to a different folder with a different file name. > > > > The lack of a progress bar might be a problem, but if the speed > differences > > are as much as you found, there may not be a need for a progress bar at > all. > > > > Also, I assume the shell commands would be different on Windows and Mac. > > That's an inconvenience because it means extra coding, but not a show > > stopper. > > > > Thanks, > > Pete > > > > On Wed, Mar 21, 2012 at 11:25 PM, Geoff Canyon > wrote: > > > >> The advantages derive from the fact that LiveCode isn't doing the actual > >> copying with revCopyFile -- the Finder is. For completeness, the same > >> advantage applies to using a shell command. You don't get a progress > dialog > >> though. > >> > >> Okay, I just did a quick one-off test with interface sounds off. For > thirty > >> files that were each about 70kb, using a shell command was about 3x > faster > >> than using revCopyFile. That's without taking advantage of the ability > to > >> move and rename in one step with a shell command. If that's what you're > >> doing, the advantage would be even greater. > >> > >> On Wed, Mar 21, 2012 at 3:04 PM, Pete wrote: > >> > >> > Thanks all for the input. Sounds like Stephen's approach is the only > way > >> > to get rid of it. Seems like that setting will apply to other sounds > as > >> > well, but I'm OK with that. > >> > > >> > As far as using AppleScript, I'm using revCopyFile because the > dictionary > >> > claims there are "certain advantages" to using it over "put URL" or > any > >> > other method, amongst which is that it does not require reading the > file > >> > into memory, and since some of these files could be pretty large, > that's > >> > significant. On a Mac, it also displays a progress bar which I don;t > >> think > >> > would be possible if I used "put URL". > >> > > >> > Pete > >> > > >> > On Wed, Mar 21, 2012 at 11:35 AM, Geoff Canyon > >> wrote: > >> > > >> > > I went straight to the shell command, so I don't know for sure, but > >> this > >> > > sounds reasonable. There's also the overhead of spinning up > AppleScript > >> > in > >> > > the first place. If Apple is doing that badly, that might also cause > >> > > problems I suppose. > >> > > > >> > > On Wed, Mar 21, 2012 at 1:24 PM, stephen barncard < > >> > > stephenREVOLUTION2 at barncard.com> wrote: > >> > > > >> > > > That was probably a big reason why multiple file transfers would > take > >> > > more > >> > > > time - loading and unloading the sound - and perhaps the reason > why > >> it > >> > > > failed after memory was exceeded. > >> > > > > >> > > _______________________________________________ > >> > > use-livecode mailing list > >> > > use-livecode at lists.runrev.com > >> > > Please visit this url to subscribe, unsubscribe and manage your > >> > > subscription preferences: > >> > > http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > >> > > > >> > > >> > > >> > -- > >> > Pete > >> > Molly's Revenge > >> > _______________________________________________ > >> > use-livecode mailing list > >> > use-livecode at lists.runrev.com > >> > Please visit this url to subscribe, unsubscribe and manage your > >> > subscription preferences: > >> > http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > > > > > > -- > > Pete > > Molly's Revenge > > _______________________________________________ > > use-liv > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobs at twft.com Fri Mar 23 18:58:12 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 23 Mar 2012 15:58:12 -0700 Subject: revCopyFile In-Reply-To: References: <51B2AA08-EAB6-4600-B2B0-B684A73BF230@twft.com> <175652662687.20120321110305@ahsoftware.net> <4F6A1A4A.2010907@gmail.com> Message-ID: <6CF2F741-1916-4128-8684-72CAFEF30100@twft.com> Write verification? Maybe LC's low level file functions do not verify, whereas the shell command does. Bob On Mar 23, 2012, at 3:24 PM, Geoff Canyon wrote: > It is stunning to me that this is faster than using a shell command. I did > the same test as before (about thirty files, about 70k each) and copying > them by using binary reads/writes took about one-third the time of using > the shell command. I thought it might be overhead with calling shell, but I > ran it on a single 50MB file, and the binary read/write method was better > than twice as fast there as well. What *possible* overhead could there be > in a shell command that would make it better than twice as slow as > reading/writing the file 16kb at a time? From pete at mollysrevenge.com Fri Mar 23 19:07:08 2012 From: pete at mollysrevenge.com (Pete) Date: Fri, 23 Mar 2012 16:07:08 -0700 Subject: Tools for creating a help file In-Reply-To: References: <4F6CC158.5070004@fourthworld.com> <384578CB-C37C-4D76-BAAC-6ABA59755FC1@verizon.net> Message-ID: Folks, Still playing around with different formats for this. One possible format is the one used by the Datagrid reference manual. It's a pdf file including a navigation pane on the left with expandable/collapsible entries; clicking on an entry goes directly to the associated page. Pretty sure this is a built in feature of pdf files, but wondering if there is a way to create that type of format from a standard word processing program as opposed to purchasing Acrobat. Thanks, Pete On Fri, Mar 23, 2012 at 2:11 PM, Pete wrote: > Thanks Colin and Phil for the ScreenSteps recommendation. I'll definitely > take a look. > Pete > > > On Fri, Mar 23, 2012 at 1:47 PM, Colin Holgate wrote: > >> You should look at ScreenSteps: >> >> http://www.bluemangolearning.com/screensteps/ >> >> In addition to being a very good way to prepare documentation, the tool >> was created with LiveCode. >> >> It can export to Word, PDF, and HTML. With PDF you can use a LiveCode >> player object and set the filename of the player to the path to the PDF, >> and then set the currenttime of the player to go forward and backward >> through the pages. >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > > -- > Pete > Molly's Revenge > > > -- Pete Molly's Revenge From bobs at twft.com Fri Mar 23 19:21:50 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 23 Mar 2012 16:21:50 -0700 Subject: Tools for creating a help file In-Reply-To: References: <4F6CC158.5070004@fourthworld.com> <384578CB-C37C-4D76-BAAC-6ABA59755FC1@verizon.net> Message-ID: <18B2C249-C540-4F5C-B781-60DBE5D110DE@twft.com> http://www.ehow.com/how_5946398_create-training-manual-word.html On Mar 23, 2012, at 4:07 PM, Pete wrote: > Folks, > Still playing around with different formats for this. > > One possible format is the one used by the Datagrid reference manual. It's > a pdf file including a navigation pane on the left with > expandable/collapsible entries; clicking on an entry goes directly to the > associated page. Pretty sure this is a built in feature of pdf files, but > wondering if there is a way to create that type of format from a standard > word processing program as opposed to purchasing Acrobat. > > Thanks, > Pete > > On Fri, Mar 23, 2012 at 2:11 PM, Pete wrote: > >> Thanks Colin and Phil for the ScreenSteps recommendation. I'll definitely >> take a look. >> Pete >> >> >> On Fri, Mar 23, 2012 at 1:47 PM, Colin Holgate wrote: >> >>> You should look at ScreenSteps: >>> >>> http://www.bluemangolearning.com/screensteps/ >>> >>> In addition to being a very good way to prepare documentation, the tool >>> was created with LiveCode. >>> >>> It can export to Word, PDF, and HTML. With PDF you can use a LiveCode >>> player object and set the filename of the player to the path to the PDF, >>> and then set the currenttime of the player to go forward and backward >>> through the pages. >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >> >> >> -- >> Pete >> Molly's Revenge >> >> >> > > > -- > Pete > Molly's Revenge > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From niconiko at gmail.com Fri Mar 23 19:22:42 2012 From: niconiko at gmail.com (Nicolas Cueto) Date: Sat, 24 Mar 2012 08:22:42 +0900 Subject: htmltext mis-encodings Message-ID: Hello All, "set the htmlText of field" has odd results sometimes. Here's the one's I've caught so far: replace "???" with "'" in tResult replace "???" with "'" in tResult replace "???" with "?" in tResult replace "???" with "?" in tResult replace "??" with "?" in tResult replace "??" with "?" in tResult replace "??" with "?" in tResult Problem is, there's sure to be (many?) more of these. Is there a way to handle this problem once and for all? (Besides bugging LC about a bug. This is a trivial bug, I think. And, besides, I already reported 2-days ago a different htmlText problem, which LC fixed within 24 hours-- wow!) Cheers. -- Nicolas Cueto From dunbarx at aol.com Fri Mar 23 20:26:27 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 23 Mar 2012 20:26:27 -0400 (EDT) Subject: Source of corruption In-Reply-To: References: <51B2AA08-EAB6-4600-B2B0-B684A73BF230@twft.com><175652662687.20120321110305@ahsoftware.net><4F6A1A4A.2010907@gmail.com> Message-ID: <8CED76BE3324342-18F0-B5AF@webmail-d099.sysops.aol.com> I had posted earlier about a stack I use that became neurotic. If launched in a new session from the finder, no problem. But if closed, it could not be reopened in the same session. The "stacks" showed no reference to it at all soemtimes, though at other times it was indeed listed, albeit still not visible. In those cases I could get and set its loc and other properties, I just could not see it. Lately it had become intermittantly corruptible, with a dialog telling me so, and recomending using a back-up copy. In those cases it would not even open with a fresh start, and I had to trash it and start over with a backup. Thank you, Mozy. It turns out that the stack had inexplicably had its mainstack reference changed to another stack. Resetting this back to itself (there is only one stack in the file) seems to have fixed everything. Anyone have any experience with this sort of thing? It might be a useful tidbit. I was beginning to think there was a stability issue with LC itself, though none of my other stacks have any problems. Craig Newman From pete at mollysrevenge.com Fri Mar 23 20:36:25 2012 From: pete at mollysrevenge.com (Pete) Date: Fri, 23 Mar 2012 17:36:25 -0700 Subject: Tools for creating a help file In-Reply-To: <22983BD0-8FCC-4BD0-B163-699D7E3337C1@major.on-rev.com> References: <22983BD0-8FCC-4BD0-B163-699D7E3337C1@major.on-rev.com> Message-ID: Hi Klaus, Haven't used revBrowser before but I got the example from runrev's web site at http://lessons.runrev.com/s/lessons/m/4071/l/15963-how-do-i-display-a-pdf-in-rev However, nothing displays in the browser image no matter what pdf file I select. Also tried it with a straightforward http:// url and nothing displayed. Any tips on how to get this to work? Pete On Fri, Mar 23, 2012 at 11:24 AM, Klaus on-rev wrote: > Hi Pete, > > Am 23.03.2012 um 19:17 schrieb Pete: > > > I'm trying to decide how to supply the help text for an application and > > wondering what tools people are using to creat help files. > > > > I'm finding that it is much easier to use a word processor to write the > > help text and graphics than trying to do it within the confines of LC > text > > fields. I can't leave the help text as a separate file because that > would > > require the user to have the same wp program I used to create it. I can > > create a pdf version of it to get round that but I'm wondering if there > is > > some way of importing the help text into LC, retaining all the formatting > > and graphics. Is it possible to open a pdf file and display within an LC > > application without starting a separate pdf viewer program? > > you could use a Browser Object to display the PDFs! > Works on the Mac and will surely do on Windows if Acrobat Reader is > installed. > > > Thanks for any guidance, > > -- > > Pete > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From kray at sonsothunder.com Fri Mar 23 22:24:09 2012 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 23 Mar 2012 21:24:09 -0500 Subject: [ANN] RevZilla 2.5 Available For Download Message-ID: <91F9691E-417D-4005-84EF-65492277B233@sonsothunder.com> With the change in file format for 5.5 and the fact that RevZilla hadn't been touched in over two years, I thought it would be good to bring the program up to date. Version 2.5 has an updated interface using data grids, plus a better look and feel for Linux, plus a handful of bug fixes. You can download it at: http://www.sonsothunder.com/devres/livecode/downloads/RevZilla2.htm If you encounter any bugs or have any issues with the stack, please let me know? Enjoy! Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From ambassador at fourthworld.com Fri Mar 23 22:45:44 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 23 Mar 2012 19:45:44 -0700 Subject: Source of corruption In-Reply-To: <8CED76BE3324342-18F0-B5AF@webmail-d099.sysops.aol.com> References: <8CED76BE3324342-18F0-B5AF@webmail-d099.sysops.aol.com> Message-ID: <4F6D3558.90308@fourthworld.com> dunbarx wrote: > I had posted earlier about a stack I use that became neurotic. If launched in a new session from the finder, no problem. But if closed, > it could not be reopened in the same session. The "stacks" showed no reference to it at all soemtimes, though at other times it was > indeed listed, albeit still not visible. In those cases I could get and set its loc and other properties, I just could not see it. > > Lately it had become intermittantly corruptible, with a dialog telling me so, and recomending using a back-up copy. In those cases it would not even > open with a fresh start, and I had to trash it and start over with a backup. Thank you, Mozy. > > It turns out that the stack had inexplicably had its mainstack reference changed to another stack. How were you able to determine that, and fix it, if it was unopenable? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From capellan2000 at gmail.com Fri Mar 23 22:54:33 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 23 Mar 2012 19:54:33 -0700 (PDT) Subject: Using Quicktime to record sounds in Livecode In-Reply-To: <4F6C1CF3.5060906@gmail.com> References: <1332446965145-4496711.post@n4.nabble.com> <4F6C1CF3.5060906@gmail.com> Message-ID: <1332557673250-4500665.post@n4.nabble.com> Hi All, Finally, recording sounds is working fine in Windows using mci, but I don't know if mci recording is available anymore in Windows 7 or 8. Please, answer to this message if you could test this Sound Recorder stack in these Windows versions. I am using the scripts of the stack "MCI recorder " published by Tom McCarthy. Although I could not find online this stack, you could test a similar script published in this message: http://lists.runrev.com/pipermail/use-livecode/2005-March/054343.html Thanks in advance for your help to test this stack, Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Using-Quicktime-to-record-sounds-in-Livecode-tp4496711p4500665.html Sent from the Revolution - User mailing list archive at Nabble.com. From pmbrig at gmail.com Fri Mar 23 23:02:32 2012 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Fri, 23 Mar 2012 23:02:32 -0400 Subject: max length of array key Message-ID: <9E69A946-F5BB-49F1-AAF2-16B54EEAF6E0@gmail.com> What is the maximum size of a string used as a key of an array? I can't find it in the documentation. 256 sticks in my mind. ??? -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From mwieder at ahsoftware.net Sat Mar 24 00:10:27 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 23 Mar 2012 21:10:27 -0700 Subject: [ANN] RevZilla 2.5 Available For Download In-Reply-To: <91F9691E-417D-4005-84EF-65492277B233@sonsothunder.com> References: <91F9691E-417D-4005-84EF-65492277B233@sonsothunder.com> Message-ID: <50861905015.20120323211027@ahsoftware.net> Ken- Friday, March 23, 2012, 7:24:09 PM, you wrote: > With the change in file format for 5.5 and the fact that RevZilla > hadn't been touched in over two years, I thought it would be good to > bring the program up to date. Version 2.5 has an updated interface > using data grids, plus a better look and feel for Linux, plus a > handful of bug fixes. Yay! Thanks. It looks and works great! I'm running out of exclamation points here, but I really can't say enough good things about RevZilla. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Sat Mar 24 00:36:19 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 23 Mar 2012 23:36:19 -0500 Subject: Source of corruption In-Reply-To: <8CED76BE3324342-18F0-B5AF@webmail-d099.sysops.aol.com> References: <51B2AA08-EAB6-4600-B2B0-B684A73BF230@twft.com><175652662687.20120321110305@ahsoftware.net><4F6A1A4A.2010907@gmail.com> <8CED76BE3324342-18F0-B5AF@webmail-d099.sysops.aol.com> Message-ID: <4F6D4F43.7060205@hyperactivesw.com> On 3/23/12 7:26 PM, dunbarx at aol.com wrote: > It turns out that the stack had inexplicably had its mainstack > reference changed to another stack. Resetting this back to itself > (there is only one stack in the file) seems to have fixed everything. > Anyone have any experience with this sort of thing? Usually that sort of thing happens to me when I'm setting properties from the message box and I reference "this stack". Sometimes "this stack" isn't the one you think it is and you end up changing the wrong one. I locked myself out of a stack once by setting a random password on "this stack" from the message box. Let's hear it for Time Machine. Now I try to use only stack names in the message box, even though I can see the current default stack there. I don't trust myself. Then yesterday I set up all the panes in Standalone Settings and was about to do a build when I realized I'd set up my (invisible) custom utility stack instead of my project stack. "This stack" is slippery. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kray at sonsothunder.com Sat Mar 24 02:00:10 2012 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 24 Mar 2012 01:00:10 -0500 Subject: Bug in custom fonts on iOS? In-Reply-To: <008c01cd092f$55b57280$01205780$@net> References: <4F6CD12C.8030700@kencorey.com> <008c01cd092f$55b57280$01205780$@net> Message-ID: > > Doing a 'Get Info' for those fonts, they all come up with names like this: > > Myriad Pro-Cond > Myriad Pro-Bold > Myriad Pro-Italic > etc... > > Using my calibrated eye, the hyphen between 'Myriad Pro' and 'Cond' > looks like an em-dash. Could that break things? > > Has anyone else seen this problem? (bonus: anyone have a work around?) It's not a bug, technically, but an idiosyncracy of working with mobile - this is referenced loosely in the iOS Deployment Release Notes (page 13), but here's the skinny: Fonts are assigned using the internal font name of a specific weight of a font (like "AmericanTypewriter-CondensedLight"), but that is not in "the fontNames"; it's in "the fontStyles" for a specific font, so to verify that you are setting a font properly, you have to check the fontStyles of every font. For example, you can set the textFont of a field in the IDE to "Palatino", but when you move the app to iOS, the textFont of the field is actually "Palatino-Roman", which is one of the fontStyles of the Palatino font. So for your app, if you want to display the different weights of the font, on iOS you'd say: put the fontStyles("Myriad Pro",0) into tFontWeights ? which would give you back "Myriad Pro-Cond", "Myriad Pro-Bold", etc. What I've done for my application is to create a lookup table that I store in a custom property of my stack that maps these "weights" to names I want to have appear in a font menu. So for example, you could have: Myriad Pro-Cond = Myriad Pro Condensed Myriad Pro-Bold = Myriad Pro Bold (etc.) and then when someone picks "Myriad Pro Condensed" from the font menu, you do the lookup, find out that the weight is actually "Myriad Pro-Cond" and execute: set the textfont of to "Myriad Pro-Cond" A pain, but it works? Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From selander at tkf.att.ne.jp Sat Mar 24 03:29:14 2012 From: selander at tkf.att.ne.jp (Tim Selander) Date: Sat, 24 Mar 2012 16:29:14 +0900 Subject: Specify file download path with irev/revignitor Message-ID: <4F6D77CA.1060008@tkf.att.ne.jp> Hi, Have wasted enough hours -- time to ask the pros on the list! We are passing out free, promotional MP3 players to our customers. Weekly, they will be allowed to download from our web site (hosted at on-rev.com) new free mp3 files not available to the general public. Want customers/users of our web page to be able to click one button to download a set of files to specific folder -- the mp3 player, for which we know the volume name (set up before sending out the players). Want to check for the volume's existence (player is/is not mounted on computer) and then download the list of mp3s to it, failing with an error message if the player is full. I can get the files to download, but only to the download folder specified by the browser. 1) How can I set the path for the download using 'raw' irev/lc scripting, or revigniter? 2) How can I first check for existence of volume? 3) (Bonus points!) How can I erase files off the volume/players? (Of course only erasing files gotten from us -- known filenames -- and with their permission.) Any help appreciated. Tim Selander Tokyo, Japan From williamdesmet at gmail.com Sat Mar 24 06:00:51 2012 From: williamdesmet at gmail.com (William de Smet) Date: Sat, 24 Mar 2012 11:00:51 +0100 Subject: LC 5.5 GM2 and trouble with standalone settings Message-ID: Hi there, I was very happy RR announced support for LC 5.1 so I bought my upgrade last night. I installed it, pointed the new Xcode 4.3.1 app to the developer root and so far so good. I opened a stack and checked the standalone settings for iOS and noticed the new layout. But I think there is something wrong with it. My settings are lost every time I close and save my stack and reopen it. Everytime it opens with the default settings. It also occurs to me that the screen is to small. So I have it to drag it bigger to see all the settings. And the biggest trouble s that it doesn't show my Profiles. Only the standard iOS Team provisioning Profile is visible. I anyone else having the same problem? Am I missing something? I use OSX 10.7.3 with LC 5.5 GM2 When I use LC 5.02 with the old Xcode 4.2 and the old location of the Developer root everything works fine (except the support for iOS 5.1) greetings, William From jacques.clavel at gmail.com Sat Mar 24 06:35:58 2012 From: jacques.clavel at gmail.com (jacques CLAVEL) Date: Sat, 24 Mar 2012 11:35:58 +0100 Subject: Translation s'il vous plait/por favor :-) In-Reply-To: <7B0C22B4-6007-40CB-8E0C-EDE2818541A9@twft.com> References: <1BED8A95-5141-4FD8-9935-C467668CD6C7@wanadoo.fr> <7B0C22B4-6007-40CB-8E0C-EDE2818541A9@twft.com> Message-ID: Francis, There are a lot of french in the list! Y am not fluent in English, and if I need to translate a sentence from French to English, I'll ask to the list. And Ill very happy if you help me. Jacques Clavel 2012/3/23 Bob Sneidar > In the words of Google, "Telle est la langue." > > Bob > > > On Mar 23, 2012, at 6:24 AM, Francis Nugent Dixon wrote: > > > Hi from Beautiful Brittany, > > > > Klaus, I would hate to be pedantic, but I can't miss > > adding my 2 cents. > > > > Dictionnaries exist to clearly define the meaning > > of a word or phrase in another language. But the > > translations, based upon the etymology of the terms > > in these languages are often betrayed by the personal > > interpretations of the users. If we can try and forget the > > environment of our computer translation (files, folders, > > disk drives, et tutti quanti), we can try to home in on > > best best translation available for a specific language. > > > > The French language (to my knowledge) lacks the > > precise equivalent of the English "into" (which > > means "from the outside of ... to the inside of ..."). > > So may we fall into the trap of personal interpretation ! > > > > The French "a" denotes location only, but gives little > > information concerning the direction, and even less > > about the subtleties of "inside" or "outside". > > I find it to be the worst possible translation. > > > > The French "dans" means "in" or at best "inside", > > and has no implication of the 'into" I show above. > > However, I find it a better solution than "a". > > > > The French "sur" implies "lying on top of" and > > certainly does not imply "inside". Much depends on > > the personal interpretation. As a long-standing > > "nit-picker" I would never use this. > > > > The French "vers" means "in the direction of", which > > I find to be acceptable in the translation you request, > > because it simply skips over the notion "inside", (but > > nevertheless implies it (The idea of copying a file to > > the "outside" of a folder would be nonsense !). > > But then again, this can be personal interpretation. > > > > These comments in no way undermine the scope of the > > French language, which can be so powerful in many areas. > > > > .. et a la fin de l'envoi, je touche .! (French Fencing term) > > > > -Francis > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From klaus at major.on-rev.com Sat Mar 24 07:43:53 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sat, 24 Mar 2012 12:43:53 +0100 Subject: Tools for creating a help file In-Reply-To: References: <22983BD0-8FCC-4BD0-B163-699D7E3337C1@major.on-rev.com> Message-ID: Hi Pete, Am 24.03.2012 um 01:36 schrieb Pete: > Hi Klaus, > Haven't used revBrowser before but I got the example from runrev's web site > at > http://lessons.runrev.com/s/lessons/m/4071/l/15963-how-do-i-display-a-pdf-in-rev > > However, nothing displays in the browser image no matter what pdf file I > select. Also tried it with a straightforward http:// url and nothing > displayed. > > Any tips on how to get this to work? I think you need to add "file://" at the beginning of the url which is missing in that tutorial. Try this slightly modified mouseup script from the example mentioned above: ............................................... on mouseUp local tFile answer file "Please choose the file you would like to display" with type "PDF document|pdf|PDF" if it is not empty then put it into tFile ##!!! replace " " with "%20" in tFile put "file://" before tFile ## !!! browserSetURL tFile end if end mouseUp ........................................................ Tested on my Mac and works :-) > Pete Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From williamdesmet at gmail.com Sat Mar 24 11:50:13 2012 From: williamdesmet at gmail.com (William de Smet) Date: Sat, 24 Mar 2012 16:50:13 +0100 Subject: Can I use grouped objects as an icon button? Message-ID: Hi there, In LC I grouped several objects to make an image. I used the line and rectangle tools for this. Is it possible to use this 'image' (or grouped objects) as an icon button? greetings, William From mcgrath3 at mac.com Sat Mar 24 11:53:35 2012 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sat, 24 Mar 2012 11:53:35 -0400 Subject: Bug in custom fonts on iOS? In-Reply-To: References: <4F6CD12C.8030700@kencorey.com> <008c01cd092f$55b57280$01205780$@net> Message-ID: Ken, Very nice explanation and solution for dealing with the fontStyles and textFont. Thanks -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Mar 24, 2012, at 2:00 AM, Ken Ray wrote: >> >> Doing a 'Get Info' for those fonts, they all come up with names like this: >> >> Myriad Pro-Cond >> Myriad Pro-Bold >> Myriad Pro-Italic >> etc... >> >> Using my calibrated eye, the hyphen between 'Myriad Pro' and 'Cond' >> looks like an em-dash. Could that break things? >> >> Has anyone else seen this problem? (bonus: anyone have a work around?) > > It's not a bug, technically, but an idiosyncracy of working with mobile - this is referenced loosely in the iOS Deployment Release Notes (page 13), but here's the skinny: > > Fonts are assigned using the internal font name of a specific weight of a font (like "AmericanTypewriter-CondensedLight"), but that is not in "the fontNames"; it's in "the fontStyles" for a specific font, so to verify that you are setting a font properly, you have to check the fontStyles of every font. > > For example, you can set the textFont of a field in the IDE to "Palatino", but when you move the app to iOS, the textFont of the field is actually "Palatino-Roman", which is one of the fontStyles of the Palatino font. > > So for your app, if you want to display the different weights of the font, on iOS you'd say: > > put the fontStyles("Myriad Pro",0) into tFontWeights > > ? which would give you back "Myriad Pro-Cond", "Myriad Pro-Bold", etc. > > What I've done for my application is to create a lookup table that I store in a custom property of my stack that maps these "weights" to names I want to have appear in a font menu. So for example, you could have: > > Myriad Pro-Cond = Myriad Pro Condensed > Myriad Pro-Bold = Myriad Pro Bold > (etc.) > > and then when someone picks "Myriad Pro Condensed" from the font menu, you do the lookup, find out that the weight is actually "Myriad Pro-Cond" and execute: > > set the textfont of to "Myriad Pro-Cond" > > A pain, but it works? > > > Ken Ray > Sons of Thunder Software, Inc. > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sat Mar 24 11:54:42 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 24 Mar 2012 17:54:42 +0200 Subject: Can I use grouped objects as an icon button? In-Reply-To: References: Message-ID: <4F6DEE42.4060102@gmail.com> On 03/24/2012 05:50 PM, William de Smet wrote: > Hi there, > > In LC I grouped several objects to make an image. I used the line and > rectangle tools for this. > Is it possible to use this 'image' (or grouped objects) as an icon button? > I'm not quite sure what you mean by "an icon button". You can use an image or a group as a button; in fact I almost never use buttons as buttons; much preferring to use images so I can guarantee they look the same across different systems and computers. After all, you can have a script: on mouseUp put "This works!" end mouseUp in a group just as well as you can in a button. > greetings, > > William > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Sat Mar 24 11:58:02 2012 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sat, 24 Mar 2012 11:58:02 -0400 Subject: LC 5.5 GM2 and trouble with standalone settings In-Reply-To: References: Message-ID: <118CF42B-7C48-4C31-981E-13D8FFD2C27C@mac.com> William, All except the saving of settings is happening here. When I make a change in the standalone settings it stays between closing and opening of my stack. But the window not being sized correctly to handle the contents of the iOS settings and the missing Profiles is a problem. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Mar 24, 2012, at 6:00 AM, William de Smet wrote: > Hi there, > > I was very happy RR announced support for LC 5.1 so I bought my > upgrade last night. > I installed it, pointed the new Xcode 4.3.1 app to the developer root > and so far so good. > > I opened a stack and checked the standalone settings for iOS and > noticed the new layout. > But I think there is something wrong with it. > My settings are lost every time I close and save my stack and reopen it. > Everytime it opens with the default settings. It also occurs to me > that the screen is to small. So I have it to drag it bigger to see all > the settings. > And the biggest trouble s that it doesn't show my Profiles. Only the > standard iOS Team provisioning Profile is visible. > > I anyone else having the same problem? > Am I missing something? > > I use OSX 10.7.3 with LC 5.5 GM2 > When I use LC 5.02 with the old Xcode 4.2 and the old location of the > Developer root everything works fine (except the support for iOS 5.1) > > > greetings, > > William > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From williamdesmet at gmail.com Sat Mar 24 12:05:32 2012 From: williamdesmet at gmail.com (William de Smet) Date: Sat, 24 Mar 2012 17:05:32 +0100 Subject: Can I use grouped objects as an icon button? In-Reply-To: <4F6DEE42.4060102@gmail.com> References: <4F6DEE42.4060102@gmail.com> Message-ID: Hi Richmond, I should read my own question better :-) I meant button icon. I know you can set an image as a button icon and that is what I do all the time. I use a card for all my images and call them with their ID in buttons. But with the resolution change for the new iPad and different screen sizes of Android systems I am looking for a way to 'easy' resize my button icons/images. groeten, William 2012/3/24 Richmond : > On 03/24/2012 05:50 PM, William de Smet wrote: >> >> Hi there, >> >> In LC I grouped several objects to make an image. I used the line and >> rectangle tools for this. >> Is it possible to use this 'image' (or grouped objects) as an icon button? >> > > I'm not quite sure what you mean by "an icon button". > > You can use an image or a group as a button; in fact I almost never use > buttons as buttons; much preferring to use images so I can guarantee they > look the same across different systems and computers. > > After all, you can have a script: > > on mouseUp > ?put "This works!" > end mouseUp > > in a group just as well as you can in a button. > >> greetings, >> >> William >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Sat Mar 24 12:13:44 2012 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sat, 24 Mar 2012 12:13:44 -0400 Subject: Can I use grouped objects as an icon button? In-Reply-To: References: <4F6DEE42.4060102@gmail.com> Message-ID: <78236D72-C2EC-4452-A7C7-FAAA236AFE6C@mac.com> I think there needs to be a profile like the Master Profiles but for graphics for buttons and font sizes for fields and buttons so that if my geometry changes like for a retina screen then LC can change the image used for each button to the hi-res version. I am doing this manually now but is a pain. At this point I don't think there is an 'easy' way yet. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Mar 24, 2012, at 12:05 PM, William de Smet wrote: > Hi Richmond, > > I should read my own question better :-) > I meant button icon. > > I know you can set an image as a button icon and that is what I do all > the time. I use a card for all my images and call them with their ID > in buttons. > But with the resolution change for the new iPad and different screen > sizes of Android systems I am looking for a way to 'easy' resize my > button icons/images. > > > groeten, > > William > > > > 2012/3/24 Richmond : >> On 03/24/2012 05:50 PM, William de Smet wrote: >>> >>> Hi there, >>> >>> In LC I grouped several objects to make an image. I used the line and >>> rectangle tools for this. >>> Is it possible to use this 'image' (or grouped objects) as an icon button? >>> >> >> I'm not quite sure what you mean by "an icon button". >> >> You can use an image or a group as a button; in fact I almost never use >> buttons as buttons; much preferring to use images so I can guarantee they >> look the same across different systems and computers. >> >> After all, you can have a script: >> >> on mouseUp >> put "This works!" >> end mouseUp >> >> in a group just as well as you can in a button. >> >>> greetings, >>> >>> William >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From williamdesmet at gmail.com Sat Mar 24 12:14:21 2012 From: williamdesmet at gmail.com (William de Smet) Date: Sat, 24 Mar 2012 17:14:21 +0100 Subject: LC 5.5 GM2 and trouble with standalone settings In-Reply-To: <118CF42B-7C48-4C31-981E-13D8FFD2C27C@mac.com> References: <118CF42B-7C48-4C31-981E-13D8FFD2C27C@mac.com> Message-ID: @Thomas: Thanks for your reply! Now I can stop pulling my hear out. RR was to fast with their 'Stop Press Announcement'! greetings, William 2012/3/24 Thomas McGrath III : > William, > > All except the saving of settings is happening here. When I make a change in the standalone settings it stays between closing and opening of my stack. > But the window not being sized correctly to handle the contents of the iOS settings and the missing Profiles is a problem. > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > > On Mar 24, 2012, at 6:00 AM, William de Smet wrote: > >> Hi there, >> >> I was very happy RR announced support for LC 5.1 so I bought my >> upgrade last night. >> I installed it, pointed the new Xcode 4.3.1 app to the developer root >> and so far so good. >> >> I opened a stack and checked the standalone settings for iOS and >> noticed the new layout. >> But I think there is something wrong with it. >> My settings are lost every time I close and save ?my stack and reopen it. >> Everytime it opens with the default settings. It also occurs to me >> that the screen is to small. So I have it to drag it bigger to see all >> the settings. >> And the biggest trouble s that it doesn't show my Profiles. Only the >> standard iOS Team provisioning Profile is visible. >> >> I anyone else having the same problem? >> Am I missing something? >> >> I use OSX 10.7.3 with LC 5.5 GM2 >> When I use LC 5.02 with the old Xcode 4.2 and the old location of the >> Developer root everything works fine (except the support for iOS 5.1) >> >> >> greetings, >> >> William >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major.on-rev.com Sat Mar 24 12:14:48 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sat, 24 Mar 2012 17:14:48 +0100 Subject: Can I use grouped objects as an icon button? In-Reply-To: References: <4F6DEE42.4060102@gmail.com> Message-ID: <07791A4C-6C72-46C3-AA28-EE138D01FCFF@major.on-rev.com> Dag Willem, Am 24.03.2012 um 17:05 schrieb William de Smet: > Hi Richmond, > > I should read my own question better :-) > I meant button icon. > > I know you can set an image as a button icon and that is what I do all > the time. I use a card for all my images and call them with their ID > in buttons. > But with the resolution change for the new iPad and different screen > sizes of Android systems I am looking for a way to 'easy' resize my > button icons/images. No you always need an image as an icon for buttons! But you could create a snapshot of that group on the fly and use that as an icon! ... lock screen import snapshot from rect(the rect of grp "DRAW fake") of grp "DRAW fake" put the id of last img into tNewIcon hide last img set the icon of btn "your button here..." to tNewIcon unlock screen ... > groeten, > > William Groetjes Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From mcgrath3 at mac.com Sat Mar 24 12:21:49 2012 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sat, 24 Mar 2012 12:21:49 -0400 Subject: LC 5.5 GM2 and trouble with standalone settings In-Reply-To: References: <118CF42B-7C48-4C31-981E-13D8FFD2C27C@mac.com> Message-ID: Yeah, Obleo mentioned that since it is the weekend we have to wait till Monday for RR to pick up on the problem. Still it is nice to be able to test using the team profile in the iOS 5.1 simulator and to test on the iPad 3. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Mar 24, 2012, at 12:14 PM, William de Smet wrote: > @Thomas: > > Thanks for your reply! > Now I can stop pulling my hear out. > RR was to fast with their 'Stop Press Announcement'! > > greetings, > > William > > > > 2012/3/24 Thomas McGrath III : >> William, >> >> All except the saving of settings is happening here. When I make a change in the standalone settings it stays between closing and opening of my stack. >> But the window not being sized correctly to handle the contents of the iOS settings and the missing Profiles is a problem. >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> 3mcgrath at comcast.net >> >> On Mar 24, 2012, at 6:00 AM, William de Smet wrote: >> >>> Hi there, >>> >>> I was very happy RR announced support for LC 5.1 so I bought my >>> upgrade last night. >>> I installed it, pointed the new Xcode 4.3.1 app to the developer root >>> and so far so good. >>> >>> I opened a stack and checked the standalone settings for iOS and >>> noticed the new layout. >>> But I think there is something wrong with it. >>> My settings are lost every time I close and save my stack and reopen it. >>> Everytime it opens with the default settings. It also occurs to me >>> that the screen is to small. So I have it to drag it bigger to see all >>> the settings. >>> And the biggest trouble s that it doesn't show my Profiles. Only the >>> standard iOS Team provisioning Profile is visible. >>> >>> I anyone else having the same problem? >>> Am I missing something? >>> >>> I use OSX 10.7.3 with LC 5.5 GM2 >>> When I use LC 5.02 with the old Xcode 4.2 and the old location of the >>> Developer root everything works fine (except the support for iOS 5.1) >>> >>> >>> greetings, >>> >>> William >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From williamdesmet at gmail.com Sat Mar 24 12:22:22 2012 From: williamdesmet at gmail.com (William de Smet) Date: Sat, 24 Mar 2012 17:22:22 +0100 Subject: Can I use grouped objects as an icon button? In-Reply-To: <07791A4C-6C72-46C3-AA28-EE138D01FCFF@major.on-rev.com> References: <4F6DEE42.4060102@gmail.com> <07791A4C-6C72-46C3-AA28-EE138D01FCFF@major.on-rev.com> Message-ID: @Klaus: Thanks, this works great! greetings, William 2012/3/24 Klaus on-rev : > Dag Willem, > > Am 24.03.2012 um 17:05 schrieb William de Smet: > >> Hi Richmond, >> >> I should read my own question better :-) >> I meant button icon. >> >> I know you can set an image as a button icon and that is what I do all >> the time. I use a card for all my images and call them with their ID >> in buttons. >> But with the resolution change for the new iPad and different screen >> sizes of Android systems I am looking for a way to 'easy' resize my >> button icons/images. > > No you always need an image as an icon for buttons! > But you could create a snapshot of that group on the fly and use that as an icon! > ... > lock screen > import snapshot from rect(the rect of grp "DRAW fake") of grp "DRAW fake" > put the id of last img into tNewIcon > hide last img > set the icon of btn "your button here..." to tNewIcon > unlock screen > ... > >> groeten, >> >> William > > Groetjes > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Sat Mar 24 12:29:21 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 24 Mar 2012 09:29:21 -0700 Subject: Specify file download path with irev/revignitor In-Reply-To: <4F6D77CA.1060008@tkf.att.ne.jp> References: <4F6D77CA.1060008@tkf.att.ne.jp> Message-ID: not clear about your methodology on the download.. you might need to set the defaultFolder are use using RevBrowser in some way or is this a LC client app on the client and RevIgniter on the host? anyway for detection of a folder on the client machine (from the docs) if there is a folder [filepath] then go card ID 3445 The folderPath specifies the name and location of a folder you want to check. If you specify a name but not a location, LiveCode looks for the folderin the defaultFolder . Delete works the same way: delete file "My Test.rev" the defaultFolder works for this command too. Errors should be in the result - this deletes immediately, and file is not put into the trash. On 24 March 2012 00:29, Tim Selander wrote: > Hi, > > Have wasted enough hours -- time to ask the pros on the list! > > We are passing out free, promotional MP3 players to our customers. > > Weekly, they will be allowed to download from our web site (hosted at > on-rev.com) new free mp3 files not available to the general public. Want > customers/users of our web page to be able to click one button to download > a set of files to specific folder -- the mp3 player, for which we know the > volume name (set up before sending out the players). > > Want to check for the volume's existence (player is/is not mounted on > computer) and then download the list of mp3s to it, failing with an error > message if the player is full. > > I can get the files to download, but only to the download folder specified > by the browser. > > 1) How can I set the path for the download using 'raw' irev/lc scripting, > or revigniter? > 2) How can I first check for existence of volume? > 3) (Bonus points!) How can I erase files off the volume/players? (Of > course only erasing files gotten from us -- known filenames -- and with > their permission.) > > Any help appreciated. > > Tim Selander > Tokyo, Japan > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From ambassador at fourthworld.com Sat Mar 24 12:52:44 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 24 Mar 2012 09:52:44 -0700 Subject: Can I use grouped objects as an icon button? In-Reply-To: <07791A4C-6C72-46C3-AA28-EE138D01FCFF@major.on-rev.com> References: <07791A4C-6C72-46C3-AA28-EE138D01FCFF@major.on-rev.com> Message-ID: <4F6DFBDC.4030708@fourthworld.com> Klaus wrote: > ... > lock screen > import snapshot from rect(the rect of grp "DRAW fake") of grp "DRAW fake" > put the id of last img into tNewIcon > hide last img > set the icon of btn "your button here..." to tNewIcon > unlock screen > ... You can also reuse an existing image by replacing its contents with an "export snapshot" to a variable: export snapshot from grp "Draw Fake" to tVar as png put tVar into img "whatever" -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dsc at swcp.com Sat Mar 24 12:54:00 2012 From: dsc at swcp.com (Dar Scott) Date: Sat, 24 Mar 2012 10:54:00 -0600 Subject: What Livecode work with what xCode for iOS? Message-ID: <7BE65A2F-1007-41BE-AC07-D7D18E3CA716@swcp.com> What versions of Livecode work with what versions of xCode for iOS? And if it depends and anybody knows... In using the test button? In creating standalones? In using externals made from that xCode? A pointer to web pages or emails to extract that will be OK. (And I'd also like to know what versions of OS X those versions of xCode will run on and what SDKs (iOS or OS X) they will support, but I should be able to pull that from the Apple site.) Dar From pete at mollysrevenge.com Sat Mar 24 13:12:18 2012 From: pete at mollysrevenge.com (Pete) Date: Sat, 24 Mar 2012 10:12:18 -0700 Subject: Tools for creating a help file In-Reply-To: References: <22983BD0-8FCC-4BD0-B163-699D7E3337C1@major.on-rev.com> Message-ID: Hi Klaus, Tried that and still no luck. When I look at the url it starts with "file:///" (3 slashes). Is that OK? I'm not sure what's going on here. I'm using the revBrowser sample stack provided by runrev and it won;t access any web sites, never mind pdf files. For instance, I tried www.google.com in the URL box. The status message at the bottom says "accessing http://www.google.com", the lights at the top right flash away and it just stays like that, no web site displayed. My internet connection is working fine and I can access web site just fine with my Chrome browser. Pete On Sat, Mar 24, 2012 at 4:43 AM, Klaus on-rev wrote: > replace " " with "%20" in tFile > put "file://" before tFile > -- Pete Molly's Revenge From dan at clearvisiontech.com Sat Mar 24 13:42:04 2012 From: dan at clearvisiontech.com (Dan Friedman) Date: Sat, 24 Mar 2012 10:42:04 -0700 Subject: iOS Crash Message-ID: I have an iOS app for iPad that runs great in the simulator and on my iPad1 running iOS 5.0.1. However, on a new iPad3 running iOS 5.1, the app crashes upon launch (we see the splash screen and then crash). I built the app on a Mac running: Mac OSX 10.6.8 Xcode 4.2 LiveCode 5.5 (GM 2) Am I doing something wrong? Thank you in advance! -Dan From williamdesmet at gmail.com Sat Mar 24 14:00:17 2012 From: williamdesmet at gmail.com (William de Smet) Date: Sat, 24 Mar 2012 19:00:17 +0100 Subject: iOS Crash In-Reply-To: References: Message-ID: Hi Dan, iOS 5.1 needs Xcode 4.3. Greetings, William ----- Verstuurd vanaf mijn iPhone! Op 24 mrt. 2012 om 18:42 heeft Dan Friedman het volgende geschreven: > I have an iOS app for iPad that runs great in the simulator and on my iPad1 running iOS 5.0.1. However, on a new iPad3 running iOS 5.1, the app crashes upon launch (we see the splash screen and then crash). I built the app on a Mac running: > > Mac OSX 10.6.8 > Xcode 4.2 > LiveCode 5.5 (GM 2) > > Am I doing something wrong? > > > Thank you in advance! > -Dan > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tolistim at me.com Sat Mar 24 14:12:57 2012 From: tolistim at me.com (Tim Jones) Date: Sat, 24 Mar 2012 11:12:57 -0700 Subject: iOS Crash In-Reply-To: References: Message-ID: <6ADE6723-1C20-4793-A1C6-4B0517EF29C0@me.com> On Mar 24, 2012, at 11:00 AM, William de Smet wrote: > Hi Dan, > > iOS 5.1 needs Xcode 4.3. One issue with that, William - why do apps built with earlier Xcode versions work on my Gen 3 iPad running iOS 5.1? It may be Apple's claim for running the emulator and to access the new SDK API's, but that shouldn't prevent original code from working when built with the previous Xcode version. Something seems fishy here. Anyone else running into 5.1 issues? Tim From jacque at hyperactivesw.com Sat Mar 24 14:14:37 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 24 Mar 2012 13:14:37 -0500 Subject: LC 5.5 GM2 and trouble with standalone settings In-Reply-To: References: <118CF42B-7C48-4C31-981E-13D8FFD2C27C@mac.com> Message-ID: <4F6E0F0D.2090809@hyperactivesw.com> On 3/24/12 11:21 AM, Thomas McGrath III wrote: > Yeah, Obleo mentioned that since it is the weekend we have to wait > till Monday for RR to pick up on the problem. Still it is nice to be > able to test using the team profile in the iOS 5.1 simulator and to > test on the iPad 3. It looks like you might be able to manually change the profile in the custom property settings. In the custom property set "cRevStandaloneSettings" there is a property called "iOS,profile". It looks like the ID of a profile. To see that property set, "LiveCode UI elements in lists" must be selected from the View menu. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From williamdesmet at gmail.com Sat Mar 24 14:28:24 2012 From: williamdesmet at gmail.com (William de Smet) Date: Sat, 24 Mar 2012 19:28:24 +0100 Subject: iOS Crash In-Reply-To: <6ADE6723-1C20-4793-A1C6-4B0517EF29C0@me.com> References: <6ADE6723-1C20-4793-A1C6-4B0517EF29C0@me.com> Message-ID: Hi Tim, You are right that Apple claims it needs 4.3 but I had the same thing when iOS 5.0 was released. One of my apps was not built for 5.0 (but 4.2) and kept crashing on other iPads with 5.0 but not on my own with 5.0. I loaded the app on my iPad with Xcode 4.2 and all was fine. When I downloaded my app from the App Store it also crashed. When I built it for 5.0 the crashing stopped. So Apple is right? I don't know. Greetings, William ----- Verstuurd vanaf mijn iPhone! Op 24 mrt. 2012 om 19:12 heeft Tim Jones het volgende geschreven: > On Mar 24, 2012, at 11:00 AM, William de Smet wrote: > >> Hi Dan, >> >> iOS 5.1 needs Xcode 4.3. > > One issue with that, William - why do apps built with earlier Xcode versions work on my Gen 3 iPad running iOS 5.1? It may be Apple's claim for running the emulator and to access the new SDK API's, but that shouldn't prevent original code from working when built with the previous Xcode version. Something seems fishy here. > > Anyone else running into 5.1 issues? > > Tim > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bvg at mac.com Sat Mar 24 14:31:59 2012 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat, 24 Mar 2012 19:31:59 +0100 Subject: Text formatting for a slider In-Reply-To: <4F6A38EA.6040601@gmail.com> References: <1A4AA4FD-A44F-42FC-BAB5-9EECF9E028DC@sbcglobal.net> <4F6A38EA.6040601@gmail.com> Message-ID: <9A1F0C9C-C6A9-49BA-B5C1-AA301F48451E@mac.com> There is no way to get all the properties of an object, because "the properties" and "the propertynames" both are incomplete. There are been several enhancement requests in the "quality" center, but no action or even reply at all from LC, as usual. The only way to get all the props is to get the list of all properties from the dictionary, and then write a script that sets each property of an object within a try/catch structure: those that fail, the object does not support. It's super tedious, and then there's some undocumented properties too, but this approach will yield more of the possible ones then going with other approaches. Furthermore, there's no way to find out the possible settings out that way, again this can only be found in the dictionary, but this time around, it's not machine readable. On 21.03.2012, at 21:24, Richmond wrote: > On 03/21/2012 10:12 PM, Jim Hurley wrote: >> Stephen, >> >> What has me puzzled, maybe you have the answer, is a function to return ALL the properties of a given object. >> >> > > Here's what I did to get ALL the props of a slider: > > on mouseUp > put the properties of control "ZLIDER" into propARRAY > combine propARRAY by return and tab > put propARRAY into fld "PROPPS" > end mouseUp > > I think the middle line is what throws most people "off". > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Sat Mar 24 15:20:03 2012 From: irog at mac.com (Roger Guay) Date: Sat, 24 Mar 2012 13:20:03 -0600 Subject: ANN and OT: Calling All SETI Enthusiasts Message-ID: <8732AA25-3D9D-433A-9D6C-A72168DB9C9F@mac.com> Hi all, The SETI project has been in existence for about 50 years, and Enrico Fermi's question asked in the 1940's, "Where is everybody?" is still germane today. I think I have finally succeded in building a simulation of two criteria relevant to this SETI "problem": 1) The asynchronous evolution of intelligence throughout the galaxy couple with 2) the relatively short duration of the radio stage of alien technologies. You can download this stack at: https://idisk.mac.com/irog//Public/SETIproblem.livecode I welcome any feedback. Thanks and cheers, Roger Guay From tolistim at me.com Sat Mar 24 15:44:21 2012 From: tolistim at me.com (Tim Jones) Date: Sat, 24 Mar 2012 12:44:21 -0700 Subject: ANN and OT: Calling All SETI Enthusiasts In-Reply-To: <8732AA25-3D9D-433A-9D6C-A72168DB9C9F@mac.com> References: <8732AA25-3D9D-433A-9D6C-A72168DB9C9F@mac.com> Message-ID: Ready to defend your thesis? Let me toss out two great Sci-Fi antithesis to your points below - How have we determined how long the "relatively short duration" of the radio stage of any societies is? How have we decided, even taking asynchronous development into account, that humans aren't the most mature and advanced species in the nearby galaxy? :-) Tim On Mar 24, 2012, at 12:20 PM, Roger Guay wrote: > Hi all, > > The SETI project has been in existence for about 50 years, and Enrico Fermi's question asked in the 1940's, "Where is everybody?" is still germane today. > > I think I have finally succeded in building a simulation of two criteria relevant to this SETI "problem": 1) The asynchronous evolution of intelligence throughout the galaxy couple with 2) the relatively short duration of the radio stage of alien technologies. > > You can download this stack at: > > https://idisk.mac.com/irog//Public/SETIproblem.livecode > > I welcome any feedback. > > Thanks and cheers, > Roger Guay > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Sat Mar 24 15:49:27 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 24 Mar 2012 12:49:27 -0700 (PDT) Subject: [OT] A couple of links about Gnome and usability In-Reply-To: <4F6CC2CF.1030200@gmail.com> References: <201203230837.59039.palcibiades-first@yahoo.co.uk> <4F6CC2CF.1030200@gmail.com> Message-ID: <1332618567450-4502006.post@n4.nabble.com> Hi All, How sad is this recent turn in Linux development! :-(( Many, many years ago, when a group of friends (software developers) show me the Linux OS, I told them that, in a future, most computer users would be using it. Of course, they laugh a lot of my comment and proceed to show me why this could not happen. They ask me how it was possible that me (being a Macintosh User, at least in that specific moment of time) I was "wishing" that most of the computer users will use Linux in the future. (no, not my wish but a prediction based in the information that they told me) According to them, my wish should have been that every computer user had a Macintosh in their desk... WRONG. Most of the time, I try to be impartial with my opinions and appreciations and possibly because of this when I was a Mac user, I DO NOT joined the club of Mac fans, who (at least in the country where I live) always display a perverse joy in bashing Microsoft OS (Dos and Windows) and every other Operating Systems, including OS/2, AmigaOS, Unix and (of course) Linux. I strongly suspect that the company of that time (or their salesman) cultivated and promoted this behavior. What did I saw in Linux, that according to my opinion would make it a success? That all Developers were colaborating toward a common goal, instead of competing against each other... As simple like that. At least from my humble point of view, this is the way how everything that is worth and perdurable in this life come to existence, grows and stays with us. Eventually, these clashes about user interfaces will solve themselves, but there is an important part of the Open Source movement that was not created along with it: Open Schools that teach 1) how to use these software (open source projects documentation is sorely missing or arcane in best cases) http://www.zdnet.com/blog/open-source/why-open-source-documentation-lags/6484 and 2) how to develop software in the programming languages most frecuently used for open source projects. The Open source movement depends too much from the availability and generosity of Business, Goverments and Professional developers to fund their projects. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-A-couple-of-links-about-Gnome-and-usability-tp4498147p4502006.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Sat Mar 24 15:52:41 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 24 Mar 2012 21:52:41 +0200 Subject: Heavy Crit. was Re: Text formatting for a slider In-Reply-To: <9A1F0C9C-C6A9-49BA-B5C1-AA301F48451E@mac.com> References: <1A4AA4FD-A44F-42FC-BAB5-9EECF9E028DC@sbcglobal.net> <4F6A38EA.6040601@gmail.com> <9A1F0C9C-C6A9-49BA-B5C1-AA301F48451E@mac.com> Message-ID: <4F6E2609.3050302@gmail.com> On 03/24/2012 08:31 PM, Bj?rnke von Gierke wrote: > There is no way to get all the properties of an object, because "the properties" and "the propertynames" both are incomplete. There are been several enhancement requests in the "quality" center, but no action or even reply at all from LC, as usual. This "as usual" begins to feel increasingly insulting. Over the years (and, I, for one, have been contributing/stirring things up on this list for about 11 years), a lot of people (most far more knowledgeable than myself) have been posting many wonderful things, AND made some fairly trenchant criticisms about a variety of "problems" / "loopholes" / "inconsistencies", have it how you will..... and there is a general feeling that isn't often as explicitly stated as 'Richmond-the-big-mouth' states things that, for all the fancy words about RunRev being "user-friendly" and "receptive to user feedback" this is all a load of tosh, and RunRev doesn't really give a monkey's. Now, Bj?rnke made some fairly snide remarks to me at the developer conference in Edinburgh about how my 'direct way' alienated a lot of others on the Use-List; He went to great pains to tell me (in the Pollok Halls of residence) how many Use-List regulars developed special anti-Richmond filters - I felt flattered . . . :) but, of course, what he was not prepared to admit was that I am extremely convenient for those who want to do the "Pastor Neimoller", in that I can be relied on to call a spade a "f***ing shovel" at times like them, take the heat, while they get any benefit that may accrue from it. Despite Bj?rnke's remarks; there is a need for somebody, sometimes to stand up and state a few unpleasant truths - the silly thing about sound recording springs to mind (not forgetting the eternal one about exporting sounds). And, as somebody who does not make his money out of RunRev's products (however dearly he would like to), and does not depend on his reputation with RunRev or other subscribers to the Use-list for his CV or his next job, he is not afraid to stand up and state that, over the years, while RunRev has stated time and again, that they value end-user feedback, they have not really demonstrated that at all. After 11 years of working with RunRev/Livecode I am well aware of its strengths, and it is my "weapon of choice" far ahead of all the others 'out there'; this is exactly why I am very sad that there are so many things that have not been addressed by the developers which would strengthen it still further. I am well aware that quite a lot of "repair work" has been overlooked in the mad rush forwards to grab the handheld market; but now that has been sorted out, surely a period of retrenchment is called for, to address these very real shortcomings that have been festering away there in the back like a series of ingrowing toenails. --------------------- This hurts me all the more, because when I attended the developer conference in Edinburgh, and visited RunRev's headquarters in the New Town I could see how much LOVE (and I mean love) was being poured into Livecode, how much effort, and how much brain-power. Livecode is such a good product, and has been for a very long time, that were the RunRev people just a bit more responsive to the very real criticisms, offered not in a spirit of nastiness, but in a spirit of wanting to help, it could be absolutely outstanding. From richard at richardmac.com Sat Mar 24 15:57:36 2012 From: richard at richardmac.com (Richard MacLemale) Date: Sat, 24 Mar 2012 15:57:36 -0400 Subject: Collisions In-Reply-To: References: <6ADE6723-1C20-4793-A1C6-4B0517EF29C0@me.com> Message-ID: I'm working on a very simple iPad app where 4 large shapes randomly float around on the screen. What I'd like to do is have them be able to bounce off each other if they happen to touch. Are there any tutorial pages or sample stacks out there that anyone knows of that I could use as a starting point? I can do collision detection with intersect, but before I spend countless hours reinventing the wheel, I thought I'd ask. --- Richard MacLemale Music = http://www.richardmac.com Programming = http://www.macandchee.se From pete at mollysrevenge.com Sat Mar 24 15:57:50 2012 From: pete at mollysrevenge.com (Pete) Date: Sat, 24 Mar 2012 12:57:50 -0700 Subject: Text formatting for a slider In-Reply-To: <9A1F0C9C-C6A9-49BA-B5C1-AA301F48451E@mac.com> References: <1A4AA4FD-A44F-42FC-BAB5-9EECF9E028DC@sbcglobal.net> <4F6A38EA.6040601@gmail.com> <9A1F0C9C-C6A9-49BA-B5C1-AA301F48451E@mac.com> Message-ID: Hi Bjornke, Does the below mean your Docu plugin won't work with 5.5? I'd be sorry if that was the case - it's sooo much better than the built in dictionary interface! Pete 2012/3/24 Bj?rnke von Gierke > Furthermore, there's no way to find out the possible settings out that > way, again this can only be found in the dictionary, but this time around, > it's not machine readable. -- Pete Molly's Revenge From capellan2000 at gmail.com Sat Mar 24 16:51:05 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 24 Mar 2012 13:51:05 -0700 (PDT) Subject: Problems downloading files from iDisk pages Message-ID: <1332622265745-4502114.post@n4.nabble.com> Hi All, Please visit these iDisk webpages from Tom McCarthy and Glenn Fisher: http://homepage.mac.com/WebObjects/FileSharing.woa/wa/default?user=speakup&templatefn=FileSharing17.html&xmlfn=TKDocument.17.xml&sitefn=TKSite.9.xml&aff=consumer&cty=US&lang=en http://homepage.mac.com/WebObjects/FileSharing.woa/wo/hrsEJEFvReUNVk0H.1/0.2.1.2.26.31.97.11.35.0.1.1.1?user=gefisher&fpath=revStacks&templatefn=FileSharing2.html I found these links in the mail list archive and discover that could not download the original file posted in the mail list message or any of the visible files in the iDisk webpage. Could you download files from these pages using browsers in MacOS, iOS, Android or Linux? Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Problems-downloading-files-from-iDisk-pages-tp4502114p4502114.html Sent from the Revolution - User mailing list archive at Nabble.com. From m.schonewille at economy-x-talk.com Sat Mar 24 16:58:52 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 24 Mar 2012 21:58:52 +0100 Subject: Problems downloading files from iDisk pages In-Reply-To: <1332622265745-4502114.post@n4.nabble.com> References: <1332622265745-4502114.post@n4.nabble.com> Message-ID: Hi Alejandro, .Mac was discontinued 3 years ago and taken off-line 1.5 years ago. -- 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 1.7 for LiveCode here http://qery.us/za On 24 mrt 2012, at 21:51, Alejandro Tejada wrote: > Hi All, > > Please visit these iDisk webpages from Tom McCarthy > and Glenn Fisher: > > http://homepage.mac.com/WebObjects/FileSharing.woa/wa/default?user=speakup&templatefn=FileSharing17.html&xmlfn=TKDocument.17.xml&sitefn=TKSite.9.xml&aff=consumer&cty=US&lang=en > > http://homepage.mac.com/WebObjects/FileSharing.woa/wo/hrsEJEFvReUNVk0H.1/0.2.1.2.26.31.97.11.35.0.1.1.1?user=gefisher&fpath=revStacks&templatefn=FileSharing2.html > > I found these links in the mail list archive and discover > that could not download the original file posted in > the mail list message or any of the visible files in > the iDisk webpage. > > Could you download files from these pages using browsers in > MacOS, iOS, Android or Linux? > > Thanks in advance! > > Al From ambassador at fourthworld.com Sat Mar 24 18:13:26 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 24 Mar 2012 15:13:26 -0700 Subject: [OT] A couple of links about Gnome and usability In-Reply-To: <1332618567450-4502006.post@n4.nabble.com> References: <1332618567450-4502006.post@n4.nabble.com> Message-ID: <4F6E4706.2020301@fourthworld.com> Alejandro Tejada wrote: > What did I saw in Linux, that according to my opinion would make it > a success? That all Developers were colaborating toward a common goal, > instead of competing against each other... As simple like that. I used to feel the same way, quite passionately so. I think my early posts in the Ubuntu forums may reflect that. But over the years, after spending more time at Linux conferences, IRCs, forums, etc., I've come to appreciate that one of the core values in that community is diversity: everyone gets exactly what they want. Sometimes what people want is to work on really big projects and that means tempering their own preferences in favor of the group's larger goals. Other times it means just scratching an itch, making something you'd like for yourself. That's what started all this with the utils rms made, and the same with Linus' post to Usenet when he started the kernel. To have so many distros and desktop environments isn't competition per se, any more than users of all OSes enjoy having many different apps available to solve a given problem. On the contrary, such diversity just gives us more choices. Everyone gets exactly what they want. Where Linux differs from single-company OSes is that with those your ability to make any choices about how you spend your day ends with applications; the design of the OS itself is decided by a small group of people under one roof far far away, and you either like it or you don't, but you can't change it. With Linux, you can choose among hundreds of distros, and customize them with the desktop environment of your choice, and then add all manner of widgets and tweaks to ever further hone it to be exactly what you want it to be. > At least from my humble point of view, this is the way how everything > that is worth and perdurable in this life come to existence, grows and > stays with us. In the natural world evolution favors diversity. Since FOSS projects tend to reflect organic systems more than projects driven by a single organization, it seems natural that diversity would flourish in the Linux world. The diversity that characterizes the Linux world isn't what's holding it back. The only thing holding it back is the simple human nature of consumers: People buy whole-product solutions. Linux is an OS, and an OS isn't a complete solution; it needs a computer to run it on. Very few people truly ever choose their OS per se. What people buy is a computer, and it comes with an OS already installed. It's a complete solution, hardware and software - just turn it on and enjoy. It would never occur to the average person to replace the OS that came with their computer with something they downloaded off the Internet. Sure, more than 60 million people have done so, but those are a rare breed. Linux can only become mainstream when you can walk into your corner Walmart and buy a machine with Linux pre-installed. Dell, Asus, Acer and others release new models nearly every quarter with Ubuntu pre-installed, but mostly in markets outside the US (Italy, China, Thailand, and Taiwan were the last batches I in late 2011). But in general, PC vendors are working as hard as they can do destroy shareholder value by refusing to differentiate: No matter how much they spend on R&D, no matter how many design meetings they have, no matter how much they spend on fabrication, all of it is a waste of money because as soon as the user turns on the machine the experience is identical across all computers from all of those vendors down to the pixel: Microsoft Windows. This refusal to differentiate has limited their ability to compete to just one dimension: price. And they're paying for it dearly, with margins plummeting year after year, and even the heavyweights like HP and Dell are now wondering if they can remain in the PC game at all. They seem to believe that the "Ultrabook" will raise their margins, but once again they're missing the mark: if everyone sells the same thing, the only leverage they have is on price. We can expect downward pressure on "Ultrabook" price points later this year, ultimately bringing them closer to traditional laptop prices, further eroding profits. If there was ever a time for a major PC vendor to consider launching a global line of systems with Ubuntu preinstalled, it's now - before most of them go bankrupt. As long as they all ship the same user experience in the OS, expect further consolidation with some of them dropping out entirely before 2013 is done. Here the clue train pulls into the station for PC vendors: Differentiate or die. Ubuntu is one opportunity available for that... -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From dsc at swcp.com Sat Mar 24 18:16:42 2012 From: dsc at swcp.com (Dar Scott) Date: Sat, 24 Mar 2012 16:16:42 -0600 Subject: What Livecode work with what xCode for iOS? In-Reply-To: <7BE65A2F-1007-41BE-AC07-D7D18E3CA716@swcp.com> References: <7BE65A2F-1007-41BE-AC07-D7D18E3CA716@swcp.com> Message-ID: <2E73C4CA-FBC9-4065-AE59-EF4270771E5C@swcp.com> I think I can get most of what I need by looking at the iOS Release notes, the mobile preferences tab, and the iOS standalone settings for each LiveCode version. Also, I'm looking at the requirements for some versions of the external SDK, but only the description for the latest SDK release seems to be available online. Dar On Mar 24, 2012, at 10:54 AM, Dar Scott wrote: > What versions of Livecode work with what versions of xCode for iOS? > > And if it depends and anybody knows... > In using the test button? > In creating standalones? > In using externals made from that xCode? > > A pointer to web pages or emails to extract that will be OK. > > (And I'd also like to know what versions of OS X those versions of xCode will run on and what SDKs (iOS or OS X) they will support, but I should be able to pull that from the Apple site.) > > Dar > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Sat Mar 24 18:48:11 2012 From: pete at mollysrevenge.com (Pete) Date: Sat, 24 Mar 2012 15:48:11 -0700 Subject: [OT] A couple of links about Gnome and usability In-Reply-To: <4F6E4706.2020301@fourthworld.com> References: <1332618567450-4502006.post@n4.nabble.com> <4F6E4706.2020301@fourthworld.com> Message-ID: Hi Richard, This thread has been very interesting to me as I'm considering getting a computer to run Linux. The problem I'm having is illustrated by the snippet from your post below. I'm a computer savvy person and worked with them most of my working life but I know nothing about Linux and really have no desire to spend much time installing and configuring an OS. I can buy a Mac or a PC, switch it on and it just boots up and runs. But where do I buy a computer that runs Linux and what version of Linux (if that's the right term) I need? I have pretty basic needs for this machine. Aside from running Livecode on it, I mostly need a web browser (I use Google tools for just about all my daily needs) plus some way of playing music. I already have a Windows laptop that I only use for testing out the LC apps I develop on my Mac. I don't really want another computer. It seems like Apple has just about shut the door on running anything but OS X on their computers. Can I install Linux on my Windows computer a dual boot it somehow? I'm sure these are pretty basic questions for people who are familiar with the Linux world, but I think they illustrate why the use of Linux is not more widespread, no matter what advantages it has over other OS's. Pete On Sat, Mar 24, 2012 at 3:13 PM, Richard Gaskin wrote: > People buy whole-product solutions. -- Pete Molly's Revenge From jacque at hyperactivesw.com Sat Mar 24 19:21:12 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 24 Mar 2012 18:21:12 -0500 Subject: [OT] A couple of links about Gnome and usability In-Reply-To: References: <1332618567450-4502006.post@n4.nabble.com> <4F6E4706.2020301@fourthworld.com> Message-ID: <4F6E56E8.5060803@hyperactivesw.com> On 3/24/12 5:48 PM, Pete wrote: > I already have a Windows laptop that I only use for testing out the LC apps > I develop on my Mac. I don't really want another computer. It seems like > Apple has just about shut the door on running anything but OS X on their > computers. Can I install Linux on my Windows computer a dual boot it > somehow? I've had very good luck with Parallels. And lots of people are using several other emulators too with good results, and many are free. I run Win XP, Vista, Ubuntu (sort of, I'm way behind on that,) and Mac OS X all from my iMac. I don't see any reason these days to have several computers just to use different operating systems. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From warren at warrensweb.us Sat Mar 24 19:28:31 2012 From: warren at warrensweb.us (Warren Samples) Date: Sat, 24 Mar 2012 18:28:31 -0500 Subject: [OT] A couple of links about Gnome and usability In-Reply-To: References: <1332618567450-4502006.post@n4.nabble.com> <4F6E4706.2020301@fourthworld.com> Message-ID: <4F6E589F.3080203@warrensweb.us> On 03/24/2012 05:48 PM, Pete wrote: > I already have a Windows laptop that I only use for testing out the LC apps > I develop on my Mac. I don't really want another computer. It seems like > Apple has just about shut the door on running anything but OS X on their > computers. Can I install Linux on my Windows computer a dual boot it > somehow? If you have enough memory, it may be more useful, and simpler, to run a Linux distro inside VirtualBox or VMWare. To make that even easier, you can find, using your favorite search engine, downloadable, ready to go virtual machine disk images of almost any Linux distro, in current and older versions. For casual use, this would be my recommendation. Good luck, Warren From ambassador at fourthworld.com Sat Mar 24 19:39:28 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 24 Mar 2012 16:39:28 -0700 Subject: [OT] A couple of links about Gnome and usability In-Reply-To: References: Message-ID: <4F6E5B30.2060109@fourthworld.com> Pete wrote: > Hi Richard, > This thread has been very interesting to me as I'm considering > getting a computer to run Linux. ... > But where do I buy a computer that runs Linux and what version of > Linux (if that's the right term) I need? Every distro has its fans, some quite passionate. There's a running gag in the Ubuntu forums that whenever someone encounters an issue that's hard to solve, the answer is "use Arch". :) Personally I like Ubuntu, and as a developer it's important to me that I'm working with the most popular distro (an estimated one-third of Linus desktops are running Ubuntu). With its mandate of "Linux for Human Beings", it's provided a good experience for me. Mark Weider uses Fedora, and I've enjoyed that one as well. Linux Mint is another good choice. Whichever you choose, be sure to post all over the Internet that users of other distros or OSes are stupid fanbois who just don't get what Linux is all about! That'll help keep the myth of the Linux community alive for those who have no familiarity with it. :) If you were in the market for a computer with Ubuntu pre-installed, these companies are good options: While all three are very reputable vendors, the last there, LinuCity, is owned by my friend Aviv and I can personally vouch for the quality of service he provides. For more options, Canonical maintains a list of computers from major vendors they've worked with that have undergone their certification process: Note that that's only a subset of computers Ubuntu is compatible with. There are only so many hours in the day, and even a billionaire like Mark Shuttleworth can't afford to certify everything it runs on. One upside to Linux being mostly installed on computers designed for some other OS is that it expects that challenge and usually meets it pretty well. In my own experience, every machine I've installed it on has worked great out of the box. The only time I needed a special driver was for the NVideo card on my Dell Vostro, and Ubuntu identified that and prompted me to install it with one click on first boot. > I already have a Windows laptop that I only use for testing out the > LC apps I develop on my Mac. I don't really want another computer. > It seems like Apple has just about shut the door on running anything > but OS X on their computers. Can I install Linux on my Windows > computer a dual boot it somehow? And even on your Mac. Apple's OS X EULA only prevents you from legally installing it on anything other than "an Apple branded computer", but their computers are frequently used by members of the Ubuntu forum for running Linux. Boot camp is a natural fit for that sort of thing. Because Apple tends to get specialized components, it can sometimes be trickier to get a solid install on a Mac than on popular PCs where the components are in such wide use that there are plenty of good drivers for them. Dual-booting with Windows is a popular option, esp. among gamers because Windows still rules the roost with the games market. I've set up dual-boot systems before and it's not hard (the Ubuntu installer includes options for that), but personally I found I was booting into Windows so rarely that I ditched that partition and put Windows into a VM within Ubuntu. In general, the sweet spot for Linux is computers between two and six years old. It can often run on newer systems, and even most older ones (Puppy Linux can run on darn near anything), but if a computer's too old it won't have the horsepower to deliver a great experience with the latest Linux distros, and if it's too new there's a chance of needing a driver that hasn't been made available yet. Even then there's almost always a way to get things to work, but for a simple first-time experience the two-to-six years guideline may be helpful for systems that haven't been certified. Most of the popular distros allow an option to run the OS from CD or USB drive, so you can try it out on a machine without having to install anything. If you grab the Ubuntu ISO disk image here and burn it do CD, you can boot from that CD and see what works and what doesn't on your machine: If you decide to install, the lovely Nixie Pixel teaches you how in her five-minute video: :) Nixie's fun, but really the Ubuntu installer is so simple you probably won't need any help with that. I find it very similar to the OS X installer, and much simpler than installing Windows. Another way to explore Linux is in a VM. I use VirtualBox on all my systems (thanks to Mark Weider for the recommendaton), and here it outperforms Parallels in restoring sessions, taking less than half the time. Doesn't hurt that it's also free (in both senses of the word): If you run into any snags feel free to drop me an email, or you can find me in the Ubuntu forums under the screen name rg4w. Have fun! Let us know how it goes. The LiveCode engine for Linux isn't quite on par with their engines for Mac and Win, but it's been much improved in recent years and in most areas runs like a champ. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From pete at mollysrevenge.com Sat Mar 24 19:41:12 2012 From: pete at mollysrevenge.com (Pete) Date: Sat, 24 Mar 2012 16:41:12 -0700 Subject: [OT] A couple of links about Gnome and usability In-Reply-To: <4F6E56E8.5060803@hyperactivesw.com> References: <1332618567450-4502006.post@n4.nabble.com> <4F6E4706.2020301@fourthworld.com> <4F6E56E8.5060803@hyperactivesw.com> Message-ID: Thanks for the reminder Jacque. I had some not-so-grat experiences a few years back running emulators on a Mac so that's coloring my opinion, but they've probably improved a lot since then. Pete On Sat, Mar 24, 2012 at 4:21 PM, J. Landman Gay wrote: > On 3/24/12 5:48 PM, Pete wrote: > > I already have a Windows laptop that I only use for testing out the LC >> apps >> I develop on my Mac. I don't really want another computer. It seems like >> Apple has just about shut the door on running anything but OS X on their >> computers. Can I install Linux on my Windows computer a dual boot it >> somehow? >> > > I've had very good luck with Parallels. And lots of people are using > several other emulators too with good results, and many are free. I run Win > XP, Vista, Ubuntu (sort of, I'm way behind on that,) and Mac OS X all from > my iMac. > > I don't see any reason these days to have several computers just to use > different operating systems. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From pete at mollysrevenge.com Sat Mar 24 19:53:16 2012 From: pete at mollysrevenge.com (Pete) Date: Sat, 24 Mar 2012 16:53:16 -0700 Subject: [OT] A couple of links about Gnome and usability In-Reply-To: <4F6E589F.3080203@warrensweb.us> References: <1332618567450-4502006.post@n4.nabble.com> <4F6E4706.2020301@fourthworld.com> <4F6E589F.3080203@warrensweb.us> Message-ID: Thanks Warren. As you and Jacque both pointed out the VM approach solves the hardware problem. So now I'm left with the question of which Linux distro to go for.... Pete On Sat, Mar 24, 2012 at 4:28 PM, Warren Samples wrote: > On 03/24/2012 05:48 PM, Pete wrote: > >> I already have a Windows laptop that I only use for testing out the LC >> apps >> I develop on my Mac. I don't really want another computer. It seems like >> Apple has just about shut the door on running anything but OS X on their >> computers. Can I install Linux on my Windows computer a dual boot it >> somehow? >> > > > If you have enough memory, it may be more useful, and simpler, to run a > Linux distro inside VirtualBox or VMWare. To make that even easier, you can > find, using your favorite search engine, downloadable, ready to go virtual > machine disk images of almost any Linux distro, in current and older > versions. For casual use, this would be my recommendation. > > Good luck, > > Warren > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From selander at tkf.att.ne.jp Sat Mar 24 20:00:25 2012 From: selander at tkf.att.ne.jp (Tim Selander) Date: Sun, 25 Mar 2012 09:00:25 +0900 Subject: Specify file download path with irev/revignitor In-Reply-To: References: <4F6D77CA.1060008@tkf.att.ne.jp> Message-ID: <4F6E6019.3090602@tkf.att.ne.jp> Thanks for your reply, Stephen. Sorry for not being clear. I'm wanting to do this from a web page hosted on the on-rev.com site, using the scripting language with the revignitor framework. The "clients" have no LC client installed other than a web browser. One of my frustrations of using on-rev and the scripting language is that there does not seem to be any documentation clearly showing what LC features are _not_ available through the server scripting language. But it is still far easier for me to use than php. I have tried, of course, setting the full path/filename of the files I want to download, but it has not worked correctly so far... hence the post! Many thanks, Tim Selander Tokyo, Japan On 3/25/12 1:29 AM, stephen barncard wrote: > not clear about your methodology on the download.. you might need to set > the defaultFolder > > are use using RevBrowser in some way or is this a LC client app on the > client and RevIgniter on the host? > > anyway for detection of a folder on the client machine (from the docs) > if there is a folder [filepath] then go card ID 3445 > > The folderPath specifies the name and location of a > folder you want to check. If you specify a > name but not a location, LiveCode looks for the > folderin the > defaultFolder. > > > Delete works the same way: > > > delete file "My Test.rev" > > > the defaultFolder works for this command too. Errors should be in the > result - this deletes immediately, and file is not put into the trash. > > > > On 24 March 2012 00:29, Tim Selander wrote: > >> Hi, >> >> Have wasted enough hours -- time to ask the pros on the list! >> >> We are passing out free, promotional MP3 players to our customers. >> >> Weekly, they will be allowed to download from our web site (hosted at >> on-rev.com) new free mp3 files not available to the general public. Want >> customers/users of our web page to be able to click one button to download >> a set of files to specific folder -- the mp3 player, for which we know the >> volume name (set up before sending out the players). >> >> Want to check for the volume's existence (player is/is not mounted on >> computer) and then download the list of mp3s to it, failing with an error >> message if the player is full. >> >> I can get the files to download, but only to the download folder specified >> by the browser. >> >> 1) How can I set the path for the download using 'raw' irev/lc scripting, >> or revigniter? >> 2) How can I first check for existence of volume? >> 3) (Bonus points!) How can I erase files off the volume/players? (Of >> course only erasing files gotten from us -- known filenames -- and with >> their permission.) >> >> Any help appreciated. >> >> Tim Selander >> Tokyo, Japan >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> > > > From pete at mollysrevenge.com Sat Mar 24 20:03:08 2012 From: pete at mollysrevenge.com (Pete) Date: Sat, 24 Mar 2012 17:03:08 -0700 Subject: [OT] A couple of links about Gnome and usability In-Reply-To: <4F6E5B30.2060109@fourthworld.com> References: <4F6E5B30.2060109@fourthworld.com> Message-ID: Thanks for all the info Richard. I'm already feeling SO superior to all those morons who don't run Ubuntu! I will probably try out VirtualBox since it's free and probably also a dual boot on my Windows 7 box since the only thing I ever do on Windows is test out LC apps developed on my Mac, although it is a pretty new computer so I may run into the driver issues you mentioned. Pete On Sat, Mar 24, 2012 at 4:39 PM, Richard Gaskin wrote: > Pete wrote: > > > Hi Richard, > > This thread has been very interesting to me as I'm considering > > getting a computer to run Linux. > ... > > > But where do I buy a computer that runs Linux and what version of > > Linux (if that's the right term) I need? > > Every distro has its fans, some quite passionate. There's a running gag > in the Ubuntu forums that whenever someone encounters an issue that's hard > to solve, the answer is "use Arch". :) > > Personally I like Ubuntu, and as a developer it's important to me that I'm > working with the most popular distro (an estimated one-third of Linus > desktops are running Ubuntu). With its mandate of "Linux for Human > Beings", it's provided a good experience for me. > > Mark Weider uses Fedora, and I've enjoyed that one as well. Linux Mint > is another good choice. > > Whichever you choose, be sure to post all over the Internet that users of > other distros or OSes are stupid fanbois who just don't get what Linux is > all about! That'll help keep the myth of the Linux community alive for > those who have no familiarity with it. :) > > > If you were in the market for a computer with Ubuntu pre-installed, these > companies are good options: > > > > > > While all three are very reputable vendors, the last there, LinuCity, is > owned by my friend Aviv and I can personally vouch for the quality of > service he provides. > > For more options, Canonical maintains a list of computers from major > vendors they've worked with that have undergone their certification process: > > > > > Note that that's only a subset of computers Ubuntu is compatible with. > There are only so many hours in the day, and even a billionaire like Mark > Shuttleworth can't afford to certify everything it runs on. > > > One upside to Linux being mostly installed on computers designed for some > other OS is that it expects that challenge and usually meets it pretty > well. In my own experience, every machine I've installed it on has worked > great out of the box. The only time I needed a special driver was for the > NVideo card on my Dell Vostro, and Ubuntu identified that and prompted me > to install it with one click on first boot. > > > > > I already have a Windows laptop that I only use for testing out the > > LC apps I develop on my Mac. I don't really want another computer. > > It seems like Apple has just about shut the door on running anything > > but OS X on their computers. Can I install Linux on my Windows > > computer a dual boot it somehow? > > And even on your Mac. Apple's OS X EULA only prevents you from legally > installing it on anything other than "an Apple branded computer", but their > computers are frequently used by members of the Ubuntu forum for running > Linux. Boot camp is a natural fit for that sort of thing. > > Because Apple tends to get specialized components, it can sometimes be > trickier to get a solid install on a Mac than on popular PCs where the > components are in such wide use that there are plenty of good drivers for > them. > > Dual-booting with Windows is a popular option, esp. among gamers because > Windows still rules the roost with the games market. I've set up dual-boot > systems before and it's not hard (the Ubuntu installer includes options for > that), but personally I found I was booting into Windows so rarely that I > ditched that partition and put Windows into a VM within Ubuntu. > > In general, the sweet spot for Linux is computers between two and six > years old. It can often run on newer systems, and even most older ones > (Puppy Linux can run on darn near anything), but if a computer's too old it > won't have the horsepower to deliver a great experience with the latest > Linux distros, and if it's too new there's a chance of needing a driver > that hasn't been made available yet. Even then there's almost always a way > to get things to work, but for a simple first-time experience the > two-to-six years guideline may be helpful for systems that haven't been > certified. > > Most of the popular distros allow an option to run the OS from CD or USB > drive, so you can try it out on a machine without having to install > anything. > > If you grab the Ubuntu ISO disk image here and burn it do CD, you can boot > from that CD and see what works and what doesn't on your machine: > > > > > If you decide to install, the lovely Nixie Pixel teaches you how in her > five-minute video: > > > > > :) > > Nixie's fun, but really the Ubuntu installer is so simple you probably > won't need any help with that. I find it very similar to the OS X > installer, and much simpler than installing Windows. > > Another way to explore Linux is in a VM. I use VirtualBox on all my > systems (thanks to Mark Weider for the recommendaton), and here it > outperforms Parallels in restoring sessions, taking less than half the > time. Doesn't hurt that it's also free (in both senses of the word): > > > > If you run into any snags feel free to drop me an email, or you can find > me in the Ubuntu forums under the screen name rg4w. > > Have fun! Let us know how it goes. > > The LiveCode engine for Linux isn't quite on par with their engines for > Mac and Win, but it's been much improved in recent years and in most areas > runs like a champ. > > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/**blog.irv > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From pete at mollysrevenge.com Sat Mar 24 20:11:06 2012 From: pete at mollysrevenge.com (Pete) Date: Sat, 24 Mar 2012 17:11:06 -0700 Subject: Displaying PDF files in an LC stack Message-ID: In another thread, I've been soliciting advice about tools to use for Help Text preparation and display. One of the options was to go with a pdf file and display it using revBrowser. Been having some issues getting that to work but even if it did work, I don't think it will satisfy my needs. I want to use the pdf feature of showing bookmarks in a navigation pane (like the datagrid manual) and apparently that won't happen, at least on a Mac. I could, of course, simply launch the pdf file as a separate process but I'd really like to keep the help file within my LC stack if possible. Are there any other ways of displaying a pdf file within LC other than using revBrowser? I though I remembered seeing some sort of plugin but a quick search didn't come up with anything. I am still looking into ScreenSteps and WordLib. -- Pete Molly's Revenge From rdimola at evergreeninfo.net Sat Mar 24 20:28:05 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sat, 24 Mar 2012 20:28:05 -0400 Subject: Displaying PDF files in an LC stack In-Reply-To: References: Message-ID: <00e501cd0a1e$25abdfd0$71039f70$@net> I've been looking for a way to display PDFs in LC in a mobile app. The browser window is not even an option for Android because the Android browser will not render PDFs natively. I have not tried iOS yet but I am told that Safari can render a PDF. Then there's the java support. That's another can of worms. The PDF spec is like 6,000 pages. Adobe has an SDKs for rendering PDFs on both Android and iOS. With an external for each mobile platforms it might be possible to render and support interactive PDFs for mobile. For desktop Adobe also has free SDKs. Just a thought...... Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Pete Sent: Saturday, March 24, 2012 8:11 PM To: How to use LiveCode Subject: Displaying PDF files in an LC stack In another thread, I've been soliciting advice about tools to use for Help Text preparation and display. One of the options was to go with a pdf file and display it using revBrowser. Been having some issues getting that to work but even if it did work, I don't think it will satisfy my needs. I want to use the pdf feature of showing bookmarks in a navigation pane (like the datagrid manual) and apparently that won't happen, at least on a Mac. I could, of course, simply launch the pdf file as a separate process but I'd really like to keep the help file within my LC stack if possible. Are there any other ways of displaying a pdf file within LC other than using revBrowser? I though I remembered seeing some sort of plugin but a quick search didn't come up with anything. I am still looking into ScreenSteps and WordLib. -- Pete Molly's Revenge _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Sat Mar 24 20:31:19 2012 From: irog at mac.com (Roger Guay) Date: Sat, 24 Mar 2012 18:31:19 -0600 Subject: use-livecode Digest, Vol 102, Issue 49 In-Reply-To: References: Message-ID: Tim, I don't pretend to know anything! As for my thesis, I am merely making assumptions based on statistics and the vast size of our galaxy and the number of stars it contains. No one has decided anything about the nature of our species except the religious. BTW, did you look at the simulation? I think it might be best to take any further discussions of this nature off-list. Cheers, Roger On Mar 24, 2012, at 6:03 PM, use-livecode-request at lists.runrev.com wrote: > Message: 9 > Date: Sat, 24 Mar 2012 12:44:21 -0700 > From: Tim Jones > To: How to use LiveCode > Subject: Re: ANN and OT: Calling All SETI Enthusiasts > Message-ID: > Content-Type: text/plain; CHARSET=US-ASCII > > Ready to defend your thesis? Let me toss out two great Sci-Fi antithesis to your points below - > > How have we determined how long the "relatively short duration" of the radio stage of any societies is? > > How have we decided, even taking asynchronous development into account, that humans aren't the most mature and advanced species in the nearby galaxy? > > :-) > > Tim > > > On Mar 24, 2012, at 12:20 PM, Roger Guay wrote: > >> Hi all, >> >> The SETI project has been in existence for about 50 years, and Enrico Fermi's question asked in the 1940's, "Where is everybody?" is still germane today. >> >> I think I have finally succeded in building a simulation of two criteria relevant to this SETI "problem": 1) The asynchronous evolution of intelligence throughout the galaxy couple with 2) the relatively short duration of the radio stage of alien technologies. >> >> You can download this stack at: >> >> https://idisk.mac.com/irog//Public/SETIproblem.livecode >> >> I welcome any feedback. >> >> Thanks and cheers, >> Roger Guay >> ___________ From warren at warrensweb.us Sat Mar 24 20:32:41 2012 From: warren at warrensweb.us (Warren Samples) Date: Sat, 24 Mar 2012 19:32:41 -0500 Subject: [OT] A couple of links about Gnome and usability In-Reply-To: References: <1332618567450-4502006.post@n4.nabble.com> <4F6E4706.2020301@fourthworld.com> <4F6E589F.3080203@warrensweb.us> Message-ID: <4F6E67A9.5030802@warrensweb.us> On 03/24/2012 06:53 PM, Pete wrote: > the VM approach solves > the hardware problem. So now I'm left with the question of which Linux > distro to go for.... > Pete Since you can test them so easily, I would suggest firstly not to be too anxious about making the "best" decision. You don't have to decide Before you start; you can decide as you go. Again, you can download either fully set up virtual machine disks or run almost any distro from a liveCD, which is also a fabulously easy way to trial a distro. I run openSUSE, currently and ran Mint 9 and 10 before that. For what you expect to be casual use, I would think that the Desktop Environment (the Unity, KDE, Gnome, Enlightment, XFCE, LXDE things that people talk about - http://en.wikipedia.org/wiki/Desktop_environment) will be the most important consideration. You will need to find the one that is the most intuitive to you. After that, the software management aspect may be the second most important. This was much simpler in Mint than it is in openSUSE. I would recommend you try a Mint version first. I have no experience with Gnome 3, but Mint 9 is the long term support version of that distro and uses gnome 2. Mint 10 was very pleasant to use but it will lose support next month. I had bad experience with KDE under Mint and Kubuntu has a very poor reputation, so it's hard to recommend KDE in those distros. Do a little research about desktop variants of whatever disto you are gravitating to and (taking everything with heaping spoonfuls of salt) you should find some helpful info. Inside VirtualBox, you will probably find your desktop doesn't run with effects (Compiz, KWin) so you save some memory. This somewhat equalizes the playing field between the "heavy feature-full" (aka bloated) Desktop Environments and the "light nimble" (aka primitive) ones. That *should* mean you won't be making as many performance/feature sacrifices as you look for what best suits your taste. Good luck! Warren From warren at warrensweb.us Sat Mar 24 20:50:20 2012 From: warren at warrensweb.us (Warren Samples) Date: Sat, 24 Mar 2012 19:50:20 -0500 Subject: [OT] A couple of links about Gnome and usability In-Reply-To: References: <1332618567450-4502006.post@n4.nabble.com> <4F6E4706.2020301@fourthworld.com> <4F6E589F.3080203@warrensweb.us> Message-ID: <4F6E6BCC.6000809@warrensweb.us> On 03/24/2012 06:53 PM, Pete wrote: > So now I'm left with the question of which Linux > distro to go for.... FWIW: http://dt.deviantart.com/journal/poll/1202084/ http://enigmacommunity.org/forums/topic/1099-whats-your-favorite-linux-desktop-environment/ http://www.muktware.com/survey/3444/poll-which-de-you-use Warren From mcgrath3 at mac.com Sat Mar 24 20:54:05 2012 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sat, 24 Mar 2012 20:54:05 -0400 Subject: use-livecode Digest, Vol 102, Issue 49 In-Reply-To: References: Message-ID: <02634A04-296A-4FBE-A626-3E7587FF9367@mac.com> I didn't take either comment as overly argumentative but more like a challenge (which we tend to do on this list from time to time). For me, coming up with two criteria is intriguing and caught my interest. I would love to see more on the validity of those two criteria, but what really interested me was how Roger translated those to an interesting LC project. Very cool. I would love to hear more about that. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Mar 24, 2012, at 8:31 PM, Roger Guay wrote: > Tim, > > I don't pretend to know anything! As for my thesis, I am merely making assumptions based on statistics and the vast size of our galaxy and the number of stars it contains. No one has decided anything about the nature of our species except the religious. BTW, did you look at the simulation? > > I think it might be best to take any further discussions of this nature off-list. > > Cheers, > Roger > > > On Mar 24, 2012, at 6:03 PM, use-livecode-request at lists.runrev.com wrote: > >> Message: 9 >> Date: Sat, 24 Mar 2012 12:44:21 -0700 >> From: Tim Jones >> To: How to use LiveCode >> Subject: Re: ANN and OT: Calling All SETI Enthusiasts >> Message-ID: >> Content-Type: text/plain; CHARSET=US-ASCII >> >> Ready to defend your thesis? Let me toss out two great Sci-Fi antithesis to your points below - >> >> How have we determined how long the "relatively short duration" of the radio stage of any societies is? >> >> How have we decided, even taking asynchronous development into account, that humans aren't the most mature and advanced species in the nearby galaxy? >> >> :-) >> >> Tim >> >> >> On Mar 24, 2012, at 12:20 PM, Roger Guay wrote: >> >>> Hi all, >>> >>> The SETI project has been in existence for about 50 years, and Enrico Fermi's question asked in the 1940's, "Where is everybody?" is still germane today. >>> >>> I think I have finally succeded in building a simulation of two criteria relevant to this SETI "problem": 1) The asynchronous evolution of intelligence throughout the galaxy couple with 2) the relatively short duration of the radio stage of alien technologies. >>> >>> You can download this stack at: >>> >>> https://idisk.mac.com/irog//Public/SETIproblem.livecode >>> >>> I welcome any feedback. >>> >>> Thanks and cheers, >>> Roger Guay >>> ___________ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Sat Mar 24 21:05:14 2012 From: coiin at verizon.net (Colin Holgate) Date: Sat, 24 Mar 2012 21:05:14 -0400 Subject: Displaying PDF files in an LC stack In-Reply-To: References: Message-ID: <4584BCD4-D199-4C9E-B2D3-E75B0A0B915D@verizon.net> I don't remember that part. My suggestion was to read the PDF in a player object, by setting its filename property. On Mar 24, 2012, at 8:11 PM, Pete wrote: > In another thread, I've been soliciting advice about tools to use for Help > Text preparation and display. One of the options was to go with a pdf file > and display it using revBrowser. From dunbarx at aol.com Sat Mar 24 21:11:36 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sat, 24 Mar 2012 21:11:36 -0400 (EDT) Subject: Source of corruption In-Reply-To: <4F6D3558.90308@fourthworld.com> References: <8CED76BE3324342-18F0-B5AF@webmail-d099.sysops.aol.com> <4F6D3558.90308@fourthworld.com> Message-ID: <8CED83B5BFAD11E-18F0-EA51@webmail-d099.sysops.aol.com> Richard. Since I was keeping a string of backups in reseerve, I would dump the stack that became unusable and bring up the next one. After digging in various places while still trying to use the stack itself, I noticed the errant mainstack reference. I am aware of the ease in which one can accidentally change the name of a stack in the inspector when you think you are typing somewhere else. This is a bit insidious. But this was the pulldown to set the mainstack. Though this property is settable by command, I am positive I never did this. I could be wrong. Anyway, there is only that one stack in the file. Why this spurious mainstack reference makes all that trouble, is a mystery to me. I am just glad it's over. I might play around with misnaming the mainstack again in another stack or a copy of this one just to see if I can really duplicate the old issue. Not sure I shouldn't leave well enough alone, though. Craig -----Original Message----- From: Richard Gaskin To: use-livecode Sent: Fri, Mar 23, 2012 10:47 pm Subject: Re: Source of corruption dunbarx wrote: > I had posted earlier about a stack I use that became neurotic. If launched in a new session from the finder, no problem. But if closed, > it could not be reopened in the same session. The "stacks" showed no reference to it at all soemtimes, though at other times it was > indeed listed, albeit still not visible. In those cases I could get and set its loc and other properties, I just could not see it. > > Lately it had become intermittantly corruptible, with a dialog telling me so, and recomending using a back-up copy. In those cases it would not even > open with a fresh start, and I had to trash it and start over with a backup. Thank you, Mozy. > > It turns out that the stack had inexplicably had its mainstack reference changed to another stack. How were you able to determine that, and fix it, if it was unopenable? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Sat Mar 24 21:17:44 2012 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 24 Mar 2012 21:17:44 -0400 Subject: Collisions In-Reply-To: References: <6ADE6723-1C20-4793-A1C6-4B0517EF29C0@me.com> Message-ID: On Sat, Mar 24, 2012 at 3:57 PM, Richard MacLemale wrote: > I'm working on a very simple iPad app where 4 large shapes randomly float > around on the screen. What I'd like to do is have them be able to bounce > off each other if they happen to touch. Are there any tutorial pages or > sample stacks out there that anyone knows of that I could use as a starting > point? I can do collision detection with intersect, but before I spend > countless hours reinventing the wheel, I thought I'd ask. > > --- > Richard MacLemale > Music = http://www.richardmac.com > Programming = http://www.macandchee.se In LiveCode, go to the Resource Center, Sample Projects, Bouncy (uses gravity to bounce a single object of the walls of the screen). This may be a good place to start. The commercial product "Animation Engine" is another. ~Roger From pete at mollysrevenge.com Sat Mar 24 21:20:58 2012 From: pete at mollysrevenge.com (Pete) Date: Sat, 24 Mar 2012 18:20:58 -0700 Subject: Displaying PDF files in an LC stack In-Reply-To: <4584BCD4-D199-4C9E-B2D3-E75B0A0B915D@verizon.net> References: <4584BCD4-D199-4C9E-B2D3-E75B0A0B915D@verizon.net> Message-ID: Thanks for the reminder Colin, forgot about that. I'll give that a try. Pete On Sat, Mar 24, 2012 at 6:05 PM, Colin Holgate wrote: > I don't remember that part. My suggestion was to read the PDF in a player > object, by setting its filename property. > > > On Mar 24, 2012, at 8:11 PM, Pete wrote: > > > In another thread, I've been soliciting advice about tools to use for > Help > > Text preparation and display. One of the options was to go with a pdf > file > > and display it using revBrowser. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From m.schonewille at economy-x-talk.com Sat Mar 24 21:33:13 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 25 Mar 2012 03:33:13 +0200 Subject: Android 4 Message-ID: Hi (again), I didn't get a reply to my question: "Does anyone have (good) experience with LiveCode apps running on an Android 4 tablet? I thought I'd ask before upgrading my tablet." Does that mean that LiveCode is not compatible with Android 4 yet? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za From m.schonewille at economy-x-talk.com Sat Mar 24 21:36:05 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 25 Mar 2012 03:36:05 +0200 Subject: Compiling with XCode 10.4.2, LC 5.0.2 on OSX 10.6.8 Message-ID: <26EF34A3-094D-4F47-BD9B-54D8C61EEAD6@economy-x-talk.com> Hi (again), I asked this some time ago and haven't solved this problem yet. Does that mean that absolutely no one on this list has any clue whatsoever? I'm trying to build an external for Mac OS X (not iOS) using ExternalsEnvironmentV3, XCode 10.4.2 and LiveCode 5.0.2 on Mac OS X 10.6.8. I'm getting many error messages complaining about SDK's that are too new and compilers that are too new and when I think that everything should work I get the error "Building for Intel is not supported in 10.3.9 SDK" (obviously). Could someone tell me what I need to change in the build settings of the project and the targets to get my external to compile? I've posted this on the forum as well: http://qery.us/1vf -- 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 1.7 for LiveCode here http://qery.us/za From stephenREVOLUTION2 at barncard.com Sat Mar 24 22:13:53 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 24 Mar 2012 19:13:53 -0700 Subject: Specify file download path with irev/revignitor In-Reply-To: <4F6E6019.3090602@tkf.att.ne.jp> References: <4F6D77CA.1060008@tkf.att.ne.jp> <4F6E6019.3090602@tkf.att.ne.jp> Message-ID: Ah - well that's the thing - the security features of web browsers strictly don't allow control of the user's machine from the server side - that's what those warnings for the user for plug-ins like flash and the livecode plug-in are about. Changing stuff on a remote machine by a server is forbidden for users' protection - otherwise the web would be unworkable thanks to the criminal element. Those same protections are built-in by design for Javascript on the browser side for the same reason. Hence the invention of the Livecode plug-in. That's why I thought you had a 'thin' client on the user's side that could do what you want; your mentioning of "sending out" players. You could do this with a Livecode plugin, but that would require users to install something on their machines anyway, and the future of this plugin has not been defined lately, hence the recent discussions online. I feel a thin client can give a better UI experience anyway and a lot easier to maintain and support. Your comment about the online documentation of Livecode server is correct - a lot of new info is available with the version notes of the latest version (5.0.2), but I get those through my involvement as a purchaser of the server product to run on my own web host. I assume you've seen what the Runrev site offers: http://www.runrev.com/developers/documentation/server/ These limitations that web browsers have do not diminish the coolness of Livecode server; it just requires being open to do it another more secure way. You never want to do stuff without the permission of your users, that would definitely creep them out. Depending on the scope of your project, number of users, etc, is it possible you could do this entirely 'in the cloud'? That way you could control the addition and deletion of files, giving each user their own space for files, and provide the player in a browser. Otherwise I'd suggest you build a thin user client for her to download and live on her machine. Or possibly use a 'splash screen' approach where a small compiled application would hold the basic livecode 'stuff', and a script could do a go URL "http://musicsource/playerstack.lc" on startup thereby loading your latest stack version of your player that could be 'updated in the store' anytime you wish, as that stack would live on your server. Yet this client could have access to any folder your user has access to on her machine. This thin client can then easily manage the audio files in the user-selected (or default) folder. I've done this myself as a convenience to run many utility stacks that I store on my server, and run on one of my several machines, a kind of network based Livecode stack player. Mine is a network variation of Ken Ray's Stackrunner. It sounds like a cool project - being open and controlling expectation of what can be and can't be done is the key, work around those limitations (that everyone else has to deal with), and move forward. Livecode gives us many ways to create the solution to our problems. hope this helps. On 24 March 2012 17:00, Tim Selander wrote: > Thanks for your reply, Stephen. > > Sorry for not being clear. I'm wanting to do this from a web page hosted > on the on-rev.com site, using the scripting language with the > revignitor framework. The "clients" have no LC client installed other than > a web browser. > > One of my frustrations of using on-rev and the scripting language is that > there does not seem to be any documentation clearly showing what LC > features are _not_ available through the server scripting language. But it > is still far easier for me to use than php. > > I have tried, of course, setting the full path/filename of the files I > want to download, but it has not worked correctly so far... hence the post! > > Many thanks, > > Tim Selander > Tokyo, Japan Stephen Barncard San Francisco Ca. USA more about sqb From roger.e.eller at sealedair.com Sat Mar 24 22:44:12 2012 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 24 Mar 2012 22:44:12 -0400 Subject: [OT] A couple of links about Gnome and usability In-Reply-To: References: <1332618567450-4502006.post@n4.nabble.com> <4F6E4706.2020301@fourthworld.com> Message-ID: On Sat, Mar 24, 2012 at 6:48 PM, Pete wrote: > > I already have a Windows laptop that I only use for testing out the LC apps > I develop on my Mac. I don't really want another computer. It seems like > Apple has just about shut the door on running anything but OS X on their > computers. Can I install Linux on my Windows computer a dual boot it > somehow? > > Pete The easiest way for a beginner is a WUBI installation. You don't need an emulator or virtual box or parallels, etc. Just a PC that is already running Windows. When you install Ubuntu via WUBI, it is just a series of folders on the hard-drive (no dedicated partition necessary). This method sets it up to dual-boot, so you just choose which OS to run when you turn the computer on. To remove it, you just uninstall it. http://www.youtube.com/watch?v=fYw6dOXw3pc http://www.ubuntu.com/download/ubuntu/windows-installer ~Roger From jacque at hyperactivesw.com Sat Mar 24 22:58:50 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 24 Mar 2012 21:58:50 -0500 Subject: Specify file download path with irev/revignitor In-Reply-To: <4F6E6019.3090602@tkf.att.ne.jp> References: <4F6D77CA.1060008@tkf.att.ne.jp> <4F6E6019.3090602@tkf.att.ne.jp> Message-ID: <4F6E89EA.6060208@hyperactivesw.com> On 3/24/12 7:00 PM, Tim Selander wrote: > Thanks for your reply, Stephen. > > Sorry for not being clear. I'm wanting to do this from a web page hosted > on the on-rev.com site, using the scripting language with the > revignitor framework. The "clients" have no LC client installed other > than a web browser. > > One of my frustrations of using on-rev and the scripting language is > that there does not seem to be any documentation clearly showing what LC > features are _not_ available through the server scripting language. But > it is still far easier for me to use than php. > > I have tried, of course, setting the full path/filename of the files I > want to download, but it has not worked correctly so far... hence the post! I don't think you can control where the user downloads files. You can only control the server side; the browser controls the client side. That's actually good, because otherwise any web page could install things in places the user didn't know about. The only things you can control in a web page, no matter what language you're using, are things that happen on the page itself, or which are related to the server that hosts the page. Once you send data to the user, it's out of your hands. You have no control over their machine, their file system, or their applications. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From warren at warrensweb.us Sat Mar 24 23:17:59 2012 From: warren at warrensweb.us (Warren Samples) Date: Sat, 24 Mar 2012 22:17:59 -0500 Subject: [OT] A couple of links about Gnome and usability In-Reply-To: References: <1332618567450-4502006.post@n4.nabble.com> <4F6E4706.2020301@fourthworld.com> Message-ID: <4F6E8E67.2070100@warrensweb.us> On 03/24/2012 09:44 PM, Roger Eller wrote: > The easiest way for a beginner is a WUBI installation. You don't need an > emulator or virtual box or parallels, etc. Just a PC that is already > running Windows. When you install Ubuntu via WUBI, it is just a series of > folders on the hard-drive (no dedicated partition necessary). This method > sets it up to dual-boot, so you just choose which OS to run when you turn > the computer on. To remove it, you just uninstall it. > > http://www.youtube.com/watch?v=fYw6dOXw3pc > > http://www.ubuntu.com/download/ubuntu/windows-installer > > ~Roger That's interesting. I had never seen this. It seems a really simple and great way to deal with dual-boot installation, provided that one wants to run Ubuntu. However a dual-boot system is not nearly as convenient for many purposes, such as "let me see real quick how this looks/works on Linux and Windows". I see that convenience as a big plus for virtual machines. Although I recognize the advantages of running the OS natively, for a lot of purposes this is moot. Maybe it's a case of choose the tool that lets you do the job the way you want it done ;) Warren From jacque at hyperactivesw.com Sat Mar 24 23:27:41 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 24 Mar 2012 22:27:41 -0500 Subject: Source of corruption In-Reply-To: <8CED83B5BFAD11E-18F0-EA51@webmail-d099.sysops.aol.com> References: <8CED76BE3324342-18F0-B5AF@webmail-d099.sysops.aol.com> <4F6D3558.90308@fourthworld.com> <8CED83B5BFAD11E-18F0-EA51@webmail-d099.sysops.aol.com> Message-ID: <4F6E90AD.7040001@hyperactivesw.com> On 3/24/12 8:11 PM, dunbarx at aol.com wrote: > I am aware of the ease in which one can accidentally change the name > of a stack in the inspector when you think you are typing somewhere > else. This is a bit insidious. But this was the pulldown to set the > mainstack. Though this property is settable by command, I am positive > I never did this. I should have been more clear that the mixup doesn't just happen with the message box (which is why I ended up changing standalone settings for the wrong stack.) It also happens with the property inspector or any other IDE component that needs to look for a topstack. In my case, the working stack was modeless and my utility stack was invisible but toplevel. The utility stack had precedence in this case and not only the standalone settings dialog, but also all property inspectors, were targeting my utility stack. I usually noticed the wrong name in the inspector but breezed right past it in the standalone settings. If at any point your wonky stack was displayed at a lower mode than another stack, it would be the target stack for IDE tools. If you were trying to set the mainstack on a modeless or palette stack, and didn't notice your "corrupted" toplevel stack was the target, it would get its mainstack changed. That may not be what happened in your case, but it's been biting me a lot lately. I've been working on a modeless stack and I always have my utility stack open too. I have to keep remembering to make my modeless stack toplevel. > Why this spurious mainstack reference makes all that trouble, is a > mystery to me. I don't know why either, but it makes a sort of sense. If a piece of the message path is missing (the parent stack) then who knows what could short-circuit in the engine. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From warren at warrensweb.us Sun Mar 25 00:59:13 2012 From: warren at warrensweb.us (Warren Samples) Date: Sat, 24 Mar 2012 23:59:13 -0500 Subject: [OT] A couple of links about Gnome and usability In-Reply-To: References: <1332618567450-4502006.post@n4.nabble.com> <4F6E4706.2020301@fourthworld.com> <4F6E589F.3080203@warrensweb.us> Message-ID: <4F6EA621.6080308@warrensweb.us> On 03/24/2012 06:53 PM, Pete wrote: >> you can find downloadable, ready to go virtual >> machine disk images of almost any Linux distro, in current and >> older versions. Here are some links to preconfigured virtual disk images. http://virtualboxes.org/images/ http://sourceforge.net/projects/virtualboximage/files/ http://virtualboximages.com/Free.VirtualBox.VDI.Downloads http://virtualboximages.com/ and info on how to get one running once you've downloaded it: http://virtualboxes.org/doc/ Good luck! Warren From dsc at swcp.com Sun Mar 25 01:03:13 2012 From: dsc at swcp.com (Dar Scott) Date: Sat, 24 Mar 2012 23:03:13 -0600 Subject: Compiling with XCode 10.4.2, LC 5.0.2 on OSX 10.6.8 In-Reply-To: <26EF34A3-094D-4F47-BD9B-54D8C61EEAD6@economy-x-talk.com> References: <26EF34A3-094D-4F47-BD9B-54D8C61EEAD6@economy-x-talk.com> Message-ID: Hi, Mark! I recently moved to ExternalsEnvironmentV3 after have gone in my own direction before ExternalsEnvironmentV1 came out. My situation was not the same as yours, I was using XCode 3.2.6 and building a universal. However, my solutions might give you a hint: In the project settings on the build tab way down at the bottom are some user settings. For my case, I needed to up the compiler to 4.0, the target to 10.4 and the SDKROOT to /Developer/SDKs/MacOSX10.4u.sdk for both Intel and ppc. With a later version of XCode you might need to up the libraries and the compiler version beyond that. I also added a line-end to the end of the export file. You might need to tweak the baseSDK, too. I still get a warning about -mlong-branch which I ignore. I did not use the test stack, so I don't know if there are any problems there. Perhaps some updated templates are needed and maybe some other tweaking. Is XCode 10.4.2 the same as XCode 4.2? Dar On Mar 24, 2012, at 7:36 PM, Mark Schonewille wrote: > Hi (again), > > I asked this some time ago and haven't solved this problem yet. Does that mean that absolutely no one on this list has any clue whatsoever? > > I'm trying to build an external for Mac OS X (not iOS) using ExternalsEnvironmentV3, XCode 10.4.2 and LiveCode 5.0.2 on Mac OS X 10.6.8. I'm getting many error messages complaining about SDK's that are too new and compilers that are too new and when I think that everything should work I get the error "Building for Intel is not supported in 10.3.9 SDK" (obviously). Could someone tell me what I need to change in the build settings of the project and the targets to get my external to compile? > > I've posted this on the forum as well: http://qery.us/1vf > > -- > 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 1.7 for LiveCode here http://qery.us/za > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode --------------------------- Dar Scott dba Dar Scott Consulting 8637 Horacio Place NE Albuquerque, NM 87111 Lab, home, office phone: +1 505 299 9497 For Skype and fax, please contact. dsc at swcp.com Computer Programming and tinkering, often making LiveCode libraries and externals, sometimes writing associated microcontroller firmware. --------------------------- From richmondmathewson at gmail.com Sun Mar 25 04:20:44 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 25 Mar 2012 11:20:44 +0300 Subject: [OT] A couple of links about Gnome and usability In-Reply-To: <4F6EA621.6080308@warrensweb.us> References: <1332618567450-4502006.post@n4.nabble.com> <4F6E4706.2020301@fourthworld.com> <4F6E589F.3080203@warrensweb.us> <4F6EA621.6080308@warrensweb.us> Message-ID: <4F6ED55C.6040205@gmail.com> Another thing you might like to think about is running a Linux distro on a second hard-disk or partition in a PC running Windows. If at all possible go for the second hard drive option; I have managed to muck a lot of things up trying to go the second partition route. Some Linux distros are very fiddly indeed to install, but Mint Linux and Ubuntu are as easy, if not easier, to install as Windows and Mac. Download an install disk: http://www.ubuntu.com/download/ubuntu/download http://www.linuxmint.com/download.php burn your ISO image to CD/DVD (that depends on its size) and reboot your machine from that disk, and follow the instructions: http://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-install-linux-on-a-second-hard-drive-221331/ http://danleff.net/myarticles/fedorainstall/linuxinstallharddrives4.html --------------------------------------------------------------------------------- Another option, which is probably the safest bet of all, is to buy a second hand PC (any Pentium 4 will do, with a min. of 512 MB RAM) and install Linux on that. Certainly, in my part of the world HP compaq Pentium 4's with 1-2 GB RAM are as cheap as chips [40 Euros]. From ken at kencorey.com Sun Mar 25 04:51:43 2012 From: ken at kencorey.com (Ken Corey) Date: Sun, 25 Mar 2012 09:51:43 +0100 Subject: Android 4 In-Reply-To: References: Message-ID: <4F6EDC9F.4050408@kencorey.com> On 25/03/2012 02:33, Mark Schonewille wrote: > "Does anyone have (good) experience with LiveCode apps running on an Android 4 tablet? I thought I'd ask before upgrading my tablet." > > Does that mean that LiveCode is not compatible with Android 4 yet? I'm using it with a Sumvision Astro tablet (from ebuyer.com). It's a ~?100 tablet, running ICS. I got some signs of life using LiveCode 5.0.2, but my app was far from done...much too raw to say that any given anomaly was not just my broken code. Since then 5.5 has come out and I haven't had a chance to play with it on Android yet, which is why I didn't respond to your earlier post. -Ken From selander at tkf.att.ne.jp Sun Mar 25 06:06:04 2012 From: selander at tkf.att.ne.jp (Tim Selander) Date: Sun, 25 Mar 2012 19:06:04 +0900 Subject: Specify file download path with irev/revignitor In-Reply-To: References: <4F6D77CA.1060008@tkf.att.ne.jp> <4F6E6019.3090602@tkf.att.ne.jp> Message-ID: <4F6EEE0C.2020904@tkf.att.ne.jp> Stephen, (and Jacque), Thanks again for your reply -- got it about the browser controlling downloads for security reasons. Also, some very good information here. I hadn't known about StackRunner and your idea of a thin client is great -- I can probably pre-install it on the MP3 players before we send them out. Simply have folk plug the players into the USB port, and when it shows up on the desktop, launch the client to make sure they have this month's content. (Rather than music, we're doing lectures and seminars, etc. Savvy users are already handling their own downloads and ipods. This project is an attempt to wean our non-techie customers off mailed out CDs... gotta be something grandpa and grandma could handle.) Also great link to the LiveCode Server docs -- I did not know about those! I got the freebie version of RunRev when I signed up for hosting at on-rev and have been working with that and it's user manual... Appreciate the help. Tim Selander Tokyo, Japan On 3/25/12 11:13 AM, stephen barncard wrote: > Ah - well that's the thing - the security features of web browsers strictly > don't allow control of the user's machine from the server side - that's > what those warnings for the user for plug-ins like flash and the livecode > plug-in are about. Changing stuff on a remote machine by a server is > forbidden for users' protection - otherwise the web would be unworkable > thanks to the criminal element. Those same protections are built-in by > design for Javascript on the browser side for the same reason. Hence the > invention of the Livecode plug-in. > > That's why I thought you had a 'thin' client on the user's side that could > do what you want; your mentioning of "sending out" players. You could do > this with a Livecode plugin, but that would require users to install > something on their machines anyway, and the future of this plugin has not > been defined lately, hence the recent discussions online. I feel a thin > client can give a better UI experience anyway and a lot easier to maintain > and support. > > Your comment about the online documentation of Livecode server is correct - > a lot of new info is available with the version notes of the latest version > (5.0.2), but I get those through my involvement as a purchaser of the > server product to run on my own web host. I assume you've seen what the > Runrev site offers: > http://www.runrev.com/developers/documentation/server/ > > These limitations that web browsers have do not diminish the coolness of > Livecode server; it just requires being open to do it another more secure > way. You never want to do stuff without the permission of your users, that > would definitely creep them out. > > Depending on the scope of your project, number of users, etc, is it > possible you could do this entirely 'in the cloud'? That way you could > control the addition and deletion of files, giving each user their own > space for files, and provide the player in a browser. > > Otherwise I'd suggest you build a thin user client for her to download and > live on her machine. Or possibly use a 'splash screen' approach where a > small compiled application would hold the basic livecode 'stuff', and a > script could do a > > go URL "http://musicsource/playerstack.lc" on startup > > thereby loading your latest stack version of your player that could be > 'updated in the store' anytime you wish, as that stack would live on your > server. Yet this client could have access to any folder your user has > access to on her machine. This thin client can then easily manage the audio > files in the user-selected (or default) folder. > > I've done this myself as a convenience to run many utility stacks that I > store on my server, and run on one of my several machines, a kind of > network based Livecode stack player. Mine is a network variation of Ken > Ray's Stackrunner. > > It sounds like a cool project - being open and controlling expectation of > what can be and can't be done is the key, work around those limitations > (that everyone else has to deal with), and move forward. Livecode gives us > many ways to create the solution to our problems. > > hope this helps. > > On 24 March 2012 17:00, Tim Selander wrote: > >> Thanks for your reply, Stephen. >> >> Sorry for not being clear. I'm wanting to do this from a web page hosted >> on the on-rev.com site, using the scripting language with the >> revignitor framework. The "clients" have no LC client installed other than >> a web browser. >> >> One of my frustrations of using on-rev and the scripting language is that >> there does not seem to be any documentation clearly showing what LC >> features are _not_ available through the server scripting language. But it >> is still far easier for me to use than php. >> >> I have tried, of course, setting the full path/filename of the files I >> want to download, but it has not worked correctly so far... hence the post! >> >> Many thanks, >> >> Tim Selander >> Tokyo, Japan > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bdrunrev at gmail.com Sun Mar 25 06:41:50 2012 From: bdrunrev at gmail.com (Bernard Devlin) Date: Sun, 25 Mar 2012 11:41:50 +0100 Subject: Collisions In-Reply-To: References: <6ADE6723-1C20-4793-A1C6-4B0517EF29C0@me.com> Message-ID: I'm not the developer of Animation Engine (it's way beyond my maths). It has a demo version, so I'd recommend trying it out. It has some tools to demonstrate to you its own capabilities. http://www.derbrill.de/developers.php I've used it to animate features in non-game apps, but I've barely scratched the surface of what it can do. So well worth a look for anyone considering games. Bernard > The commercial product "Animation Engine" is > another. > > ~Roger From richard at richardmac.com Sun Mar 25 09:31:24 2012 From: richard at richardmac.com (Richard MacLemale) Date: Sun, 25 Mar 2012 09:31:24 -0400 Subject: Collisions In-Reply-To: References: <6ADE6723-1C20-4793-A1C6-4B0517EF29C0@me.com> Message-ID: <289DC689-0C68-4DB4-808E-61ABB53C1C69@richardmac.com> Thanks, Bernard - I just did a face palm. I own animationEngine - got it free, I think, one time when I upgraded or bought LC. Forgot I had it. Will dig deeper into animationEngine. --- Richard MacLemale Music = http://www.richardmac.com Programming = http://www.macandchee.se On Mar 25, 2012, at 6:41 AM, Bernard Devlin wrote: > I'm not the developer of Animation Engine (it's way beyond my maths). > It has a demo version, so I'd recommend trying it out. It has some > tools to demonstrate to you its own capabilities. > > http://www.derbrill.de/developers.php > > I've used it to animate features in non-game apps, but I've barely > scratched the surface of what it can do. So well worth a look for > anyone considering games. > > Bernard From jhurley0305 at sbcglobal.net Sun Mar 25 09:36:17 2012 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Sun, 25 Mar 2012 06:36:17 -0700 Subject: Collisions In-Reply-To: References: Message-ID: <5832DB89-7600-4DAB-AC4B-741D9A5B12CD@sbcglobal.net> Richard, Collision detection is the easier part. Just calculate the distance between centers and, if it is greater than the sum of the radii (assuming they are circular) you have a collision. The more difficult part is the physics, what happens after the collission. Are they of equal mass and size? You need to conserve momentum and energy. To get started you may look at a pool game. See: http://jamesphurley.com/runrev.html and look for "Nine ball pool." You may want to also checkout "Bouncing ball tools" at the same site to see how to work with collision with different shapes, and how to deal with enclosures that are may be convex. Jim Hurley > I'm working on a very simple iPad app where 4 large shapes randomly float around on the screen. What I'd like to do is have them be able to bounce off each other if they happen to touch. Are there any tutorial pages or sample stacks out there that anyone knows of that I could use as a starting point? I can do collision detection with intersect, but before I spend countless hours reinventing the wheel, I thought I'd ask. > > --- > Richard MacLemale > Music = > http://www.richardmac.com > > Programming = > http://www.macandchee.se From jhurley0305 at sbcglobal.net Sun Mar 25 09:56:26 2012 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Sun, 25 Mar 2012 06:56:26 -0700 Subject: Collisions In-Reply-To: References: Message-ID: P.S. In the simplest case, equal masses, just interchange the velocities of the two balls after the collision. Proof: If one assumes that the solution is unique, and since interchanging the velocities conserves momentum and energy (for balls of equal mass), this solution is THE solution. Jim > Richard, > > Collision detection is the easier part. Just calculate the distance between centers and, if it is greater than the sum of the radii (assuming they are circular) you have a collision. > > The more difficult part is the physics, what happens after the collission. Are they of equal mass and size? You need to conserve momentum and energy. > > To get started you may look at a pool game. See: > > http://jamesphurley.com/runrev.html > > and look for "Nine ball pool." > > You may want to also checkout "Bouncing ball tools" at the same site to see how to work with collision with different shapes, and how to deal with enclosures that are may be convex. > > Jim Hurley > > > > >> I'm working on a very simple iPad app where 4 large shapes randomly float around on the screen. What I'd like to do is have them be able to bounce off each other if they happen to touch. Are there any tutorial pages or sample stacks out there that anyone knows of that I could use as a starting point? I can do collision detection with intersect, but before I spend countless hours reinventing the wheel, I thought I'd ask. >> >> --- >> Richard MacLemale >> Music = >> http://www.richardmac.com >> >> Programming = >> http://www.macandchee.se > From capellan2000 at gmail.com Sun Mar 25 10:02:07 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 25 Mar 2012 07:02:07 -0700 (PDT) Subject: Problems downloading files from iDisk pages In-Reply-To: References: <1332622265745-4502114.post@n4.nabble.com> Message-ID: <1332684127143-4503193.post@n4.nabble.com> Hi Mark, Mark Schonewille-3 wrote > > .Mac was discontinued 3 years ago and taken off-line 1.5 years ago. > Just yesterday, Roger Guay published a link to his stack, stored in iDisk: https://idisk.mac.com/irog//Public/SETIproblem.livecode Here is the original message: http://runtime-revolution.278305.n4.nabble.com/ANN-and-OT-Calling-All-SETI-Enthusiasts-td4501954.html How it is this possible, if this service is closed? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Problems-downloading-files-from-iDisk-pages-tp4502114p4503193.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Sun Mar 25 10:22:10 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 25 Mar 2012 07:22:10 -0700 (PDT) Subject: use-livecode Digest, Vol 102, Issue 49 In-Reply-To: References: Message-ID: <1332685330385-4503230.post@n4.nabble.com> Hi Roger, This stack was created with LiveCode 5.5 Could you post a version that runs in Ken Ray's StackRunner: http://www.sonsothunder.com/devres/revolution/downloads/StackRunner.htm or this stack actually require new features of latest LiveCode version? By the way, yesterday I was asking about iDisk webpages and Mark Schoneville told me that this service had closed long ago. How did you are using iDisk, if the service was closed? Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Re-use-livecode-Digest-Vol-102-Issue-49-tp4502469p4503230.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Sun Mar 25 10:33:56 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 25 Mar 2012 07:33:56 -0700 (PDT) Subject: Using Quicktime to record sounds in Livecode In-Reply-To: <1332557673250-4500665.post@n4.nabble.com> References: <1332446965145-4496711.post@n4.nabble.com> <4F6C1CF3.5060906@gmail.com> <1332557673250-4500665.post@n4.nabble.com> Message-ID: <1332686036319-4503252.post@n4.nabble.com> Hi All, After I installed Trevor's DLL named Enhanced Quicktime and opened one of his stack examples... Recording sound using Quicktime is working fine in this computer. Really strange, to say the least. Maybe, just maybe... Trevor's DLL activated something in Quicktime 7.7.1 that allowed to access it's sound recording capabilities. Later, today I will uninstall Quicktime and try again the same steps, until I discover a pattern in the problem. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Using-Quicktime-to-record-sounds-in-Livecode-tp4496711p4503252.html Sent from the Revolution - User mailing list archive at Nabble.com. From m.schonewille at economy-x-talk.com Sun Mar 25 10:58:48 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 25 Mar 2012 16:58:48 +0200 Subject: Problems downloading files from iDisk pages In-Reply-To: <1332684127143-4503193.post@n4.nabble.com> References: <1332622265745-4502114.post@n4.nabble.com> <1332684127143-4503193.post@n4.nabble.com> Message-ID: Hi Alejandro, Glenn's URL's point to homepage.mac.com and Roger's URL's point to idisk.mac.com. I bet it has something to do with that. While it looks like iDisk is going to be moved to iCloud at some point, I'm pretty sure that the web hosting feature has been discontinued. Here's http://qery.us/1wn more info. -- 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 1.7 for LiveCode here http://qery.us/za On 25 mrt 2012, at 16:02, Alejandro Tejada wrote: > Hi Mark, > > > Mark Schonewille-3 wrote >> >> .Mac was discontinued 3 years ago and taken off-line 1.5 years ago. >> > > Just yesterday, Roger Guay published a link to his stack, > stored in iDisk: > > https://idisk.mac.com/irog//Public/SETIproblem.livecode > > Here is the original message: > http://runtime-revolution.278305.n4.nabble.com/ANN-and-OT-Calling-All-SETI-Enthusiasts-td4501954.html > > How it is this possible, if this service is closed? > > Al From warren at warrensweb.us Sun Mar 25 11:04:31 2012 From: warren at warrensweb.us (Warren Samples) Date: Sun, 25 Mar 2012 10:04:31 -0500 Subject: [OT] A couple of links about Gnome and usability In-Reply-To: References: <1332618567450-4502006.post@n4.nabble.com> <4F6E4706.2020301@fourthworld.com> <4F6E589F.3080203@warrensweb.us> Message-ID: <4F6F33FF.4060803@warrensweb.us> On 03/24/2012 06:53 PM, Pete wrote: > So now I'm left with the question of which Linux > distro to go for.... > Pete More ideas that might interest you :) Since you are mainly working in OS X and I assume you are happy and comfortable working in that interface, you may be interested in a linux distro that is set up out of the box to look and act much like OS X. You can do this in any distro but this would be a simpler route, and for someone who might not want to spend a lot of time and effort fiddling with a system he's not planning to use every day, a very sensible choice. http://www.unixmen.com/pear-linux-comice-os-4-0-has-been-released-screenshots-tour-video/ http://www.pear-os-linux.fr/ "Do-it-yourself" ideas: http://beta.techradar.com/news/software/operating-systems/how-to-make-linux-mint-look-like-os-x-1040983 http://lifehacker.com/5665765/macbuntu-makes-your-linux-desktop-look-like-mac-os-x http://www.internetling.com/2008/03/24/linux-docks-5-mac-os-x-docks-for-ubuntu-and-other-linux-distros/ http://www.howtogeek.com/45817/how-to-make-ubuntu-linux-look-like-mac-os-x/ http://www.dedoimedo.com/computers/linux-docks.html http://linuxlibrary.org/applications/linux-desktop-docks-panels/ youtube also has lots of videos of people demonstrating their "Mac-like" Linux desktops. You might enjoy a peek at a few of those. Good luck! Warren From mikedoub at gmail.com Sun Mar 25 11:06:47 2012 From: mikedoub at gmail.com (Michael Doub) Date: Sun, 25 Mar 2012 11:06:47 -0400 Subject: Displaying PDF files in an LC stack In-Reply-To: References: <4584BCD4-D199-4C9E-B2D3-E75B0A0B915D@verizon.net> Message-ID: <27F5C1D8-89C8-4DE8-A74F-B9B287D5EE0A@gmail.com> Are there controls in the player object to manage the positioning of the pdf pages. This is news to me, where can I learn more? -= Mike On Mar 24, 2012, at 9:20 PM, Pete wrote: > Thanks for the reminder Colin, forgot about that. I'll give that a try. > Pete > > On Sat, Mar 24, 2012 at 6:05 PM, Colin Holgate wrote: > >> I don't remember that part. My suggestion was to read the PDF in a player >> object, by setting its filename property. >> >> >> On Mar 24, 2012, at 8:11 PM, Pete wrote: >> >>> In another thread, I've been soliciting advice about tools to use for >> Help >>> Text preparation and display. One of the options was to go with a pdf >> file >>> and display it using revBrowser. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > > -- > Pete > Molly's Revenge > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Sun Mar 25 11:12:55 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 25 Mar 2012 08:12:55 -0700 (PDT) Subject: Problems downloading files from iDisk pages In-Reply-To: References: <1332622265745-4502114.post@n4.nabble.com> <1332684127143-4503193.post@n4.nabble.com> Message-ID: <1332688375403-4503328.post@n4.nabble.com> Hi Mark, Mark Schonewille-3 wrote > > Glenn's URL's point to homepage.mac.com and Roger's URL's point to > idisk.mac.com. > I bet it has something to do with that. While it looks like iDisk is going > to be moved > to iCloud at some point, I'm pretty sure that the web hosting feature has > been > discontinued. Here's http://qery.us/1wn more info. > Ok. Now I understand. Maybe I should write to Glen and Tom about this. Many thanks for your answers! :-) Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Problems-downloading-files-from-iDisk-pages-tp4502114p4503328.html Sent from the Revolution - User mailing list archive at Nabble.com. From coiin at verizon.net Sun Mar 25 11:18:22 2012 From: coiin at verizon.net (Colin Holgate) Date: Sun, 25 Mar 2012 11:18:22 -0400 Subject: Displaying PDF files in an LC stack In-Reply-To: <27F5C1D8-89C8-4DE8-A74F-B9B287D5EE0A@gmail.com> References: <4584BCD4-D199-4C9E-B2D3-E75B0A0B915D@verizon.net> <27F5C1D8-89C8-4DE8-A74F-B9B287D5EE0A@gmail.com> Message-ID: By positioning, do you mean x and y position? Or do you mean which page is showing? In my suggestion I had proposed that you would set the currenttime of the player to navigate through the pages. On Mar 25, 2012, at 11:06 AM, Michael Doub wrote: > Are there controls in the player object to manage the positioning of the pdf pages. This is news to me, where can I learn more? From klaus at major.on-rev.com Sun Mar 25 11:21:06 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sun, 25 Mar 2012 17:21:06 +0200 Subject: Displaying PDF files in an LC stack In-Reply-To: <27F5C1D8-89C8-4DE8-A74F-B9B287D5EE0A@gmail.com> References: <4584BCD4-D199-4C9E-B2D3-E75B0A0B915D@verizon.net> <27F5C1D8-89C8-4DE8-A74F-B9B287D5EE0A@gmail.com> Message-ID: Hi Michael, Am 25.03.2012 um 17:06 schrieb Michael Doub: hint: PDFs are only displayed in a player object on the Mac! > Are there controls in the player object to manage the positioning of the pdf pages. No, they are treated like a video and you cannot control them properly if at all. > This is news to me, where can I learn more? Nowhere, this is just some kind of "accident" that the Mac player can display PDFs :-) To have a truly crossplatform solution you should use the Browser object and use that to display PDF files. And even if you want this Mac only is the browser a better solution! I have an example stack that I can send you if you like! > -= Mike Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From pete at mollysrevenge.com Sun Mar 25 11:40:28 2012 From: pete at mollysrevenge.com (Pete) Date: Sun, 25 Mar 2012 08:40:28 -0700 Subject: [OT] A couple of links about Gnome and usability In-Reply-To: <4F6F33FF.4060803@warrensweb.us> References: <1332618567450-4502006.post@n4.nabble.com> <4F6E4706.2020301@fourthworld.com> <4F6E589F.3080203@warrensweb.us> <4F6F33FF.4060803@warrensweb.us> Message-ID: Thanks Richmond and Warren for the info. I like the idea of using a Linux distro that is somewhat like an OS X interface. Pete On Sun, Mar 25, 2012 at 8:04 AM, Warren Samples wrote: > On 03/24/2012 06:53 PM, Pete wrote: > >> So now I'm left with the question of which Linux >> distro to go for.... >> Pete >> > > > More ideas that might interest you :) > > Since you are mainly working in OS X and I assume you are happy and > comfortable working in that interface, you may be interested in a linux > distro that is set up out of the box to look and act much like OS X. You > can do this in any distro but this would be a simpler route, and for > someone who might not want to spend a lot of time and effort fiddling with > a system he's not planning to use every day, a very sensible choice. > > http://www.unixmen.com/pear-**linux-comice-os-4-0-has-been-** > released-screenshots-tour-**video/ > > http://www.pear-os-linux.fr/ > > "Do-it-yourself" ideas: > > http://beta.techradar.com/**news/software/operating-** > systems/how-to-make-linux-**mint-look-like-os-x-1040983 > > http://lifehacker.com/5665765/**macbuntu-makes-your-linux-** > desktop-look-like-mac-os-x > > http://www.internetling.com/**2008/03/24/linux-docks-5-mac-** > os-x-docks-for-ubuntu-and-**other-linux-distros/ > > http://www.howtogeek.com/**45817/how-to-make-ubuntu-** > linux-look-like-mac-os-x/ > > http://www.dedoimedo.com/**computers/linux-docks.html > > http://linuxlibrary.org/**applications/linux-desktop-**docks-panels/ > > youtube also has lots of videos of people demonstrating their "Mac-like" > Linux desktops. You might enjoy a peek at a few of those. > > Good luck! > > > Warren > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From livfoss at mac.com Sun Mar 25 11:49:54 2012 From: livfoss at mac.com (Graham Samuel) Date: Sun, 25 Mar 2012 17:49:54 +0200 Subject: [OT] A couple of links about Gnome and usability In-Reply-To: References: Message-ID: I am also a big fan of Parallels, especially now they seem to have sorted out access to the Mac's printers. Yesterday I installed Windows 7 on my iMac, running Parallels on top of Lion - this was in addition to XP rather than a replacement, since I need both for testing purposes - and it was astonishingly easy. I was expecting it to be quite agonising including having to contact Microsoft over the internet etc etc but it 'just worked'. In case this seems too glowing, I should say that I'm just a customer of Parallels and have no other axe to grind. Graham On Sat, 24 Mar 2012 18:21:12 -05003, "J. Landman Gay" wrote: > On 3/24/12 5:48 PM, Pete wrote: > >> I already have a Windows laptop that I only use for testing out the LC apps >> I develop on my Mac. I don't really want another computer. It seems like >> Apple has just about shut the door on running anything but OS X on their >> computers. Can I install Linux on my Windows computer a dual boot it >> somehow? > > I've had very good luck with Parallels. And lots of people are using > several other emulators too with good results, and many are free. I run > Win XP, Vista, Ubuntu (sort of, I'm way behind on that,) and Mac OS X > all from my iMac. > > I don't see any reason these days to have several computers just to use > different operating systems. From gcanyon at gmail.com Sun Mar 25 12:27:32 2012 From: gcanyon at gmail.com (Geoff Canyon) Date: Sun, 25 Mar 2012 11:27:32 -0500 Subject: Collisions In-Reply-To: References: Message-ID: This works only if the balls hit head-on. Otherwise you need to do the trig. As a simple example, say there are two balls headed toward each other. Each has a radius of 2^.5. Ball A is moving at -2 units per second on the x axis, i.e. to the left, and its center has a Y coordinate of 2. Ball B is moving at 2 units per second on the x axis, i.e. to the right, and its center has a Y coordinate of 0. When the balls collide, they will be 2 units apart both horizontally and vertically, hence they collide at a 45 degree angle. Let's say that they're at 0,0 and 2,2 at the time of the collision. They won't simply exchange velocities. Their original motion on the x axis is translated entirely into motion along the y axis. After the collision, ball A will have an X coordinate of 2, and be moving at 2 units per second on the Y axis, i.e. up. ball B will have an X coordinate of 0, and be moving at -2 units per second on the Y axis, i.e. down. You need to calculate the angle between the balls at the moment of collision, and use the sine and cosine to figure out what happens from there. All of the above is from my head so feel free to check me. On Sun, Mar 25, 2012 at 8:56 AM, Jim Hurley wrote: > P.S. > > In the simplest case, equal masses, just interchange the velocities of > the two balls after the collision. > > Proof: > If one assumes that the solution is unique, and since interchanging the > velocities conserves momentum and energy (for balls of equal mass), this > solution is THE solution. > > Jim > > > Richard, > > > > Collision detection is the easier part. Just calculate the distance > between centers and, if it is greater than the sum of the radii (assuming > they are circular) you have a collision. > > > > The more difficult part is the physics, what happens after the > collission. Are they of equal mass and size? You need to conserve momentum > and energy. > > > > To get started you may look at a pool game. See: > > > > http://jamesphurley.com/runrev.html > > > > and look for "Nine ball pool." > > > > You may want to also checkout "Bouncing ball tools" at the same site to > see how to work with collision with different shapes, and how to deal with > enclosures that are may be convex. > > > > Jim Hurley > > > > > > > > > >> I'm working on a very simple iPad app where 4 large shapes randomly > float around on the screen. What I'd like to do is have them be able to > bounce off each other if they happen to touch. Are there any tutorial > pages or sample stacks out there that anyone knows of that I could use as a > starting point? I can do collision detection with intersect, but before I > spend countless hours reinventing the wheel, I thought I'd ask. > >> > >> --- > >> Richard MacLemale > >> Music = > >> http://www.richardmac.com > >> > >> Programming = > >> http://www.macandchee.se > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jhurley0305 at sbcglobal.net Sun Mar 25 12:53:13 2012 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Sun, 25 Mar 2012 09:53:13 -0700 Subject: Collisions In-Reply-To: References: Message-ID: <45A90FF6-A5CC-44B6-B18C-AA5C6FA712E2@sbcglobal.net> Geoff, What happens when two ball of equal mass collide ellastically is an exchange in velocities. The velocity is a VECTOR. I think that is the source of misunderstanding. Your right there is trig involved. For example from "Nine ball..." function resetVel xx,yy,xx',yy',vxx,vyy,vxx',vyy' put xx,yy into pme put xx',yy' into pOther put theLineAngle(pme,pOther) into tCentersAngle put tCentersAngle into tCa put xx,yy,xx+vxx,yy+vyy into tVelVector put theLineAngle(tVelVector) into tVa put sqrt(vxx'*vxx'+vyy'*vyy') into v' put sqrt(vxx*vxx+vyy*vyy) into v put xx',yy',xx'+vxx',yy'+vyy' into tVelVector' put theLineAngle(tVelVector') into tVa' --Angle of the vVector relative to the line joining centers put tVa - tCa into tVrA put tVa'- tCa into tVrA' put v*cos(tVrA) into vR' put v*sin(tVrA) into vT put v'*cos(tVrA') into vR put v'*sin(tVrA') into vT' put vR*cos(tCa) - vT*sin(tCa) into vxx put vR*sin(tCa) + vT*cos(tCa) into vyy put vR'*cos(tCa) - vT'*sin(tCa) into vxx' put vR'*sin(tCa) + vT'*cos(tCa) into vyy' return vxx,vyy,vxx',vyy' end resetVel Jim Hurley >> Geoff Canyon wrote: > This works only if the balls hit head-on. Otherwise you need to do the > trig. As a simple example, say there are two balls headed toward each > other. Each has a radius of 2^.5. Ball A is moving at -2 units per second > on the x axis, i.e. to the left, and its center has a Y coordinate of 2. > Ball B is moving at 2 units per second on the x axis, i.e. to the right, > and its center has a Y coordinate of 0. When the balls collide, they will > be 2 units apart both horizontally and vertically, hence they collide at a > 45 degree angle. Let's say that they're at 0,0 and 2,2 at the time of the > collision. They won't simply exchange velocities. Their original motion on > the x axis is translated entirely into motion along the y axis. After the > collision, ball A will have an X coordinate of 2, and be moving at 2 units > per second on the Y axis, i.e. up. ball B will have an X coordinate of 0, > and be moving at -2 units per second on the Y axis, i.e. down. You need to > calculate the angle between the balls at the moment of collision, and use > the sine and cosine to figure out what happens from there. > > All of the above is from my head so feel free to check me. > > On Sun, Mar 25, 2012 at 8:56 AM, Jim Hurley < > jhurley0305 at sbcglobal.net > >wrote: > > > From stgoldberg at aol.com Sun Mar 25 13:06:46 2012 From: stgoldberg at aol.com (stgoldberg at aol.com) Date: Sun, 25 Mar 2012 13:06:46 -0400 (EDT) Subject: DIsplaying PDF files in an LC stack Message-ID: <8CED8C0CB86CB01-9BC-FE38@webmail-m093.sysops.aol.com> A quick and dirty way to display PDFs in an LC stack is to create an image of each PDF page and insert each into an LC Image Area You might also make use of the Marked Card feature for bookmarking. Steve Goldberg www.medmaster.net stgoldberg at aol.com Date: Sat, 24 Mar 2012 17:11:06 -0700 From: Pete To: How to use LiveCode Subject: Displaying PDF files in an LC stack Message-ID: Content-Type: text/plain; charset=ISO-8859-1 In another thread, I've been soliciting advice about tools to use for Help Text preparation and display. One of the options was to go with a pdf file and display it using revBrowser. Been having some issues getting that to work but even if it did work, I don't think it will satisfy my needs. I want to use the pdf feature of showing bookmarks in a navigation pane (like the datagrid manual) and apparently that won't happen, at least on a Mac. I could, of course, simply launch the pdf file as a separate process but I'd really like to keep the help file within my LC stack if possible. Are there any other ways of displaying a pdf file within LC other than using revBrowser? I though I remembered seeing some sort of plugin but a quick search didn't come up with anything. I am still looking into ScreenSteps and WordLib. -- Pete Molly's Revenge From richmondmathewson at gmail.com Sun Mar 25 13:38:52 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 25 Mar 2012 20:38:52 +0300 Subject: [OT] A couple of links about Gnome and usability In-Reply-To: <4F6ED55C.6040205@gmail.com> References: <4F6ED55C.6040205@gmail.com> Message-ID: <4F6F582C.8040803@gmail.com> As a Mac-o-philiac I have spent some time playing around with PearOS, and can honestly say "it sucks"; it being neither one thing nor the other. Also, for Mac types; the initial set up does NOT have desktop icons, and it is a right cough-cough-cough finding one's Home folder and so on. The eye-candy is Mac-like; the functionality is not. And by fudging around with GNOME 3 to produce a supposedly Mac-like interface they have just obscured some of the useful features of GNOME 3. This reminds me of attempts in the past to build Linux distros with interfaces that are clones of Windows XP; similarly silly. When one moves to another operating system there is a learning curve involved, and it is disingenuous to pretend there is not. PearOS is rather like Water-wings or those funny little wheels on the sides of bikes; you will become dependent on them, and never learn to swim/ride a bike properly. --------------------------------------------------------------- My vote for ease of use for a new Linux user who is coming from Mac, right now, is Xubuntu: http://xubuntu.org/ or Mint with XFCE: http://blog.linuxmint.com/?p=1818 You are more than welcome to e-mail me directly (i.e. off-list) if you have any further questions. Richmond Mathewson. From jhurley0305 at sbcglobal.net Sun Mar 25 14:03:47 2012 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Sun, 25 Mar 2012 11:03:47 -0700 Subject: Collisions In-Reply-To: References: Message-ID: <58B98C21-7558-4E56-8EF2-C95DDA8BDA6A@sbcglobal.net> P.S. That simple picture of the velocities being exchanged applies only in a frame of reference in which the center of mass is fixed. From irog at mac.com Sun Mar 25 14:08:25 2012 From: irog at mac.com (Roger Guay) Date: Sun, 25 Mar 2012 12:08:25 -0600 Subject: ANN and OT: Calling All SETI Enthusiasts. In-Reply-To: References: Message-ID: <78168B8B-D24C-441B-AD56-9A4CA246BD1D@mac.com> Sorry for your difficulty, Al. The best I seem to be able to do is to provide SETIproblem in Livecode 5.0.2. I can't find StackRunner on Ken's site and the one I have does not open my stack. I can't even open my stack in version 4.6.3 of Livecode! Do you have any other suggestions? My stack is not using any of the new features of LiveCode 5.5. Would you like me to build a standalone? As to the status of iDisk, it is still up and running and rumored to be shut down around June of this year. Cheers, Roger On Mar 25, 2012, at 11:00 AM, use-livecode-request at lists.runrev.com wrote: > Message: 2 > Date: Sun, 25 Mar 2012 07:22:10 -0700 (PDT) > From: Alejandro Tejada > To: use-revolution at lists.runrev.com > Subject: Re: use-livecode Digest, Vol 102, Issue 49 > Message-ID: <1332685330385-4503230.post at n4.nabble.com> > Content-Type: text/plain; charset=us-ascii > > Hi Roger, > > This stack was created with LiveCode 5.5 > > Could you post a version that runs in > Ken Ray's StackRunner: > http://www.sonsothunder.com/devres/revolution/downloads/StackRunner.htm > or this stack actually require new features > of latest LiveCode version? > > By the way, yesterday I was asking about > iDisk webpages and Mark Schoneville told > me that this service had closed long ago. > > How did you are using iDisk, if the service was closed? > > Thanks in advance! > > Al From mwieder at ahsoftware.net Sun Mar 25 14:17:53 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 25 Mar 2012 11:17:53 -0700 Subject: ANN and OT: Calling All SETI Enthusiasts. In-Reply-To: <78168B8B-D24C-441B-AD56-9A4CA246BD1D@mac.com> References: <78168B8B-D24C-441B-AD56-9A4CA246BD1D@mac.com> Message-ID: <94999150187.20120325111753@ahsoftware.net> Roger- Sunday, March 25, 2012, 11:08:25 AM, you wrote: > Sorry for your difficulty, Al. The best I seem to be able to do > is to provide SETIproblem in Livecode 5.0.2. I can't find > StackRunner on Ken's site and the one I have does not open my stack. Use the "Save As" menuItem from the File menu and select "Legacy" for the file type. -- -Mark Wieder mwieder at ahsoftware.net From dsc at swcp.com Sun Mar 25 14:18:32 2012 From: dsc at swcp.com (Dar Scott) Date: Sun, 25 Mar 2012 12:18:32 -0600 Subject: side-by-side iOS external SDK Message-ID: <62656F14-7B8F-4F06-8FAD-65268314D5E0@swcp.com> I currently use XCode 3.2.6 on OS 10.6.8 with IOS external SDK R7 applied to it to build iOS externals for iOS 4.3. (I build iOS standalones for iOS 4.3 using LiveCode 4.6.4--sometimes with such externals--using XCode 3.2.6.) I would like to also build externals and apps for iOS 5. I think then I'd like to set up this side-by-side with the above configuration: XCode 4.2 for Snow Leopard LiveCode 5.0.2 iOS Externals SDK R10 (I think I got the compatibilities straight on that, but, if not, I welcome feedback.) It is my understanding (or misunderstanding, perhaps) that the latter configuration will build apps and externals for 5 only, not 4.3, so I need both. If possible, I'd like to do the side-by-side setup with the same user and on the same boot. Is this even possible? Or do I need to install these on different boot drives? (I also want to keep XCode 3.2.5 for PowerPC externals.) Dar From irog at mac.com Sun Mar 25 14:23:07 2012 From: irog at mac.com (Roger Guay) Date: Sun, 25 Mar 2012 12:23:07 -0600 Subject: Difficulty with Reply Size To The List Message-ID: I am using a Mac and Mail for my email stuff. Often when I reply to posts on this list with as little as 1 or 2 lower quote levels, I get a reply from use-livecode-bounces for exceeding the size limit of 15 KB. Such is the case with a reply I was trying to make today to Thomas McGrath III and Tim Jones re "Calling ALL SETI Enthusiasts". Is this normal or am I missing something? There are often, what appear much larger files, appearing on the list! Thanks and cheers, Roger From dsc at swcp.com Sun Mar 25 14:37:16 2012 From: dsc at swcp.com (Dar Scott) Date: Sun, 25 Mar 2012 12:37:16 -0600 Subject: Difficulty with Reply Size To The List In-Reply-To: References: Message-ID: I have run across that, too. I have not seen anything over 15KB since June, 2010, though, and maybe that got special approval. My response was to trim down the mail. It was quite a shock to get the rejection and I felt deep down that I was guilty of some great offense, but I got over that quickly. Mostly. Dar On Mar 25, 2012, at 12:23 PM, Roger Guay wrote: > I am using a Mac and Mail for my email stuff. Often when I reply to posts on this list with as little as 1 or 2 lower quote levels, I get a reply from use-livecode-bounces for exceeding the size limit of 15 KB. Such is the case with a reply I was trying to make today to Thomas McGrath III and Tim Jones re "Calling ALL SETI Enthusiasts". Is this normal or am I missing something? There are often, what appear much larger files, appearing on the list! > > Thanks and cheers, > Roger > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Sun Mar 25 15:14:59 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 25 Mar 2012 21:14:59 +0200 Subject: Difficulty with Reply Size To The List In-Reply-To: References: Message-ID: Hi Roger, Make sure to reply in plain text rather then RTF text. See the format menu for this. I always read and write all my e-mail in plain text. You can set the default message format to plain text in the Composing tab of the Mail preferences window. -- 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 1.7 for LiveCode here http://qery.us/za On 25 mrt 2012, at 20:23, Roger Guay wrote: > I am using a Mac and Mail for my email stuff. Often when I reply to posts on this list with as little as 1 or 2 lower quote levels, I get a reply from use-livecode-bounces for exceeding the size limit of 15 KB. Such is the case with a reply I was trying to make today to Thomas McGrath III and Tim Jones re "Calling ALL SETI Enthusiasts". Is this normal or am I missing something? There are often, what appear much larger files, appearing on the list! > > Thanks and cheers, > Roger From richard at richardmac.com Sun Mar 25 15:23:13 2012 From: richard at richardmac.com (Richard MacLemale) Date: Sun, 25 Mar 2012 15:23:13 -0400 Subject: Collisions In-Reply-To: <58B98C21-7558-4E56-8EF2-C95DDA8BDA6A@sbcglobal.net> References: <58B98C21-7558-4E56-8EF2-C95DDA8BDA6A@sbcglobal.net> Message-ID: <6B8C015F-1509-451A-ADF0-FB934C89D4C8@richardmac.com> Jim, Thanks for taking the time to respond with such great explanations! Of course, since I spent most of my time in high school math staring at a girl named Lisa, it's a bit challenging for me. I downloaded the 9 ball example and plan on spending a lot of time learning how it works. Thanks for sharing your knowledge - I really appreciate it. --- Richard MacLemale Music = http://www.richardmac.com Programming = http://www.macandchee.se On Mar 25, 2012, at 2:03 PM, Jim Hurley wrote: > P.S. > > That simple picture of the velocities being exchanged applies only in a frame of reference in which the center of mass is fixed. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Mar 25 15:28:14 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 25 Mar 2012 22:28:14 +0300 Subject: Collisions In-Reply-To: <6B8C015F-1509-451A-ADF0-FB934C89D4C8@richardmac.com> References: <58B98C21-7558-4E56-8EF2-C95DDA8BDA6A@sbcglobal.net> <6B8C015F-1509-451A-ADF0-FB934C89D4C8@richardmac.com> Message-ID: <4F6F71CE.3090002@gmail.com> On 03/25/2012 10:23 PM, Richard MacLemale wrote: > Jim, > > Thanks for taking the time to respond with such great explanations! Of course, since I spent most of my time in high school math staring at a girl named Lisa, it's a bit challenging for me. Something tells me that's a different kind of "collision" . . . LOL. > I downloaded the 9 ball example and plan on spending a lot of time learning how it works. Thanks for sharing your knowledge - I really appreciate it. > > --- > Richard MacLemale > Music = http://www.richardmac.com > Programming = http://www.macandchee.se > > > > > On Mar 25, 2012, at 2:03 PM, Jim Hurley wrote: > >> P.S. >> >> That simple picture of the velocities being exchanged applies only in a frame of reference in which the center of mass is fixed. >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gcanyon at gmail.com Sun Mar 25 16:12:06 2012 From: gcanyon at gmail.com (Geoff Canyon) Date: Sun, 25 Mar 2012 15:12:06 -0500 Subject: Collisions In-Reply-To: <45A90FF6-A5CC-44B6-B18C-AA5C6FA712E2@sbcglobal.net> References: <45A90FF6-A5CC-44B6-B18C-AA5C6FA712E2@sbcglobal.net> Message-ID: No misunderstanding -- we're agreed on this. I just wanted to clarify that there's only a specific case where you can "just interchange the velocities of the two balls" On Sun, Mar 25, 2012 at 11:53 AM, Jim Hurley wrote: > What happens when two ball of equal mass collide ellastically is an > exchange in velocities. > > The velocity is a VECTOR. I think that is the source of misunderstanding. > > Your right there is trig involved. For example from "Nine ball..." > From warren at warrensweb.us Sun Mar 25 16:13:58 2012 From: warren at warrensweb.us (Warren Samples) Date: Sun, 25 Mar 2012 15:13:58 -0500 Subject: [OT] A couple of links about Gnome and usability In-Reply-To: <4F6F582C.8040803@gmail.com> References: <4F6ED55C.6040205@gmail.com> <4F6F582C.8040803@gmail.com> Message-ID: <4F6F7C86.5050702@warrensweb.us> On 03/25/2012 12:38 PM, Richmond wrote: > As a Mac-o-philiac I have spent some time playing around with PearOS, > and can honestly say "it sucks"; > > it being neither one thing nor the other. > > Also, for Mac types; the initial set up does NOT have desktop icons, > and it is a right cough-cough-cough finding one's Home folder and so on. > > The eye-candy is Mac-like; the functionality is not. And by fudging > around with GNOME 3 to produce a supposedly Mac-like interface > they have just obscured some of the useful features of GNOME 3. > > This reminds me of attempts in the past to build Linux distros with > interfaces that are clones of Windows XP; similarly silly. > > When one moves to another operating system there is a learning curve > involved, and it is disingenuous to pretend there is not. > > PearOS is rather like Water-wings or those funny little wheels on the sides > of bikes; you will become dependent on them, and never learn to > swim/ride a bike > properly. > > --------------------------------------------------------------- > > My vote for ease of use for a new Linux user who is coming from Mac, > right now, > is Xubuntu: > > http://xubuntu.org/ > > or Mint with XFCE: > > http://blog.linuxmint.com/?p=1818 > > You are more than welcome to e-mail me directly (i.e. off-list) if you > have any further questions. > > Richmond Mathewson. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > :D as I said "heaping spoonfuls of salt". Mint is wonderful and XFCE is a very straightforward and traditional DE. Both are fine recommendations, although I am leery of Mint rolling Debian which is the only "official" XFCE version I could find on the Mint download page. Is it perhaps an alternative install within the Gnome DVD? One thing that maybe could be said that for someone who wants mainly to have a Linux install available to test Livecode apps and perhaps run Livecode to tidy up applications being built for Linux, it may not matter at all which distro or DE you run, the only caveat to that being that you're better off installing a 32-bit version saving you the step of installing 32-bit compatibility libs. So long as you can get easy access to your stacks and apps from your Mac, and create an easy access to Livecode on your your Linux install, you might not find any reason to prefer one distro or DE over any other. That said, I think, Richmond, while it absolutely true that each OS requires adjustment and learning, this is a much more involved topic in approaching Linux due to the extreme variety of choice regarding distro and DE. People seek a certain comfort level and familiarity can be a major factor. The disruption of familiarity is one of the roots of the current DE rumblings. I don't see anything wrong at all with customizing the DE experience to mimic either OS X or Windows, if that makes the user happy. The comment about water wings and training wheels is silly on two levels. It ignores the real value of them - enabling the inexperienced to participate in and enjoy an activity in comfort and safety as they gain familiarity and confidence - and overstates the "danger". It's ludicrous to say that anyone who rides a bike with training wheels will never ride without them, or who floats with water wings will never learn swim. Surely you don't believe that! As an extension of that argument, why not promote Gentoo, Arch, and Slackware? Higher learning curve = more genuine experience?! I suspect you don't actually believe that, at least not when put so directly. It is an old attitude in the Linux community that is thankfully becoming less prominent. Please be cautious not to promote it!!! I have never used any version of Pear OS and only presented it as an available alternative with a rationale for why Pete may find it attractive. Have you tried the most recent version? Some people seem to like it, http://sourceforge.net/projects/pearoslinux/reviews/ . Here's a review of a pre-release version which may be interesting: http://www.linuxbsdos.com/2012/02/15/pear-linux-comice-os-4-beta-1-review/ . Just for fun, I'm about to install it in a VM to have a look. (slow download) My DE is KDE 4.8 and I like it very much. I don't use all its features but it does some things that a really love. It works for me and makes me happy. While it's very popular (despite Richmond's feelings about it), it doesn't suit everyone (see Richmond's feelings about it - feelings he's perfectly entitled to, of course). I feel comfortable recommending it as a good option. Kubuntu has a very poor reputation among KDE users, but it sounds like Mint is improving its KDE version. http://youtu.be/ou9HIdlSQq0 http://youtu.be/Em3KOFvQSTY I do agree with Richmond that Mint or Ubuntu may be the most foolproof way to approach Linux. (Saying that does not in any way imply they're really a "stepping stone" to something "more" Linux. They are "real" Linux and fine and respectable choices, as will be whatever you finally go with.) Best, Warren From stephenREVOLUTION2 at barncard.com Sun Mar 25 16:25:20 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 25 Mar 2012 13:25:20 -0700 Subject: Difficulty with Reply Size To The List In-Reply-To: References: Message-ID: the limit is still too low, even with plain text On 25 March 2012 12:14, Mark Schonewille wrote: > Hi Roger, > > Make sure to reply in plain text rather then RTF text. See the format menu > for this. I always read and write all my e-mail in plain text. You can set > the default message format to plain text in the Composing tab of the Mail > preferences window. > > -- > 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 1.7 for LiveCode here > http://qery.us/za > > On 25 mrt 2012, at 20:23, Roger Guay wrote: > > > I am using a Mac and Mail for my email stuff. Often when I reply to > posts on this list with as little as 1 or 2 lower quote levels, I get a > reply from use-livecode-bounces for exceeding the size limit of 15 KB. Such > is the case with a reply I was trying to make today to Thomas McGrath III > and Tim Jones re "Calling ALL SETI Enthusiasts". Is this normal or am I > missing something? There are often, what appear much larger files, > appearing on the list! > > > > Thanks and cheers, > > Roger > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From warren at warrensweb.us Sun Mar 25 17:50:48 2012 From: warren at warrensweb.us (Warren Samples) Date: Sun, 25 Mar 2012 16:50:48 -0500 Subject: [OT] A couple of links about Gnome and usability In-Reply-To: <4F6F7C86.5050702@warrensweb.us> References: <4F6ED55C.6040205@gmail.com> <4F6F582C.8040803@gmail.com> <4F6F7C86.5050702@warrensweb.us> Message-ID: <4F6F9338.1000405@warrensweb.us> On 03/25/2012 03:13 PM, Warren Samples wrote: > > :D as I said "heaping spoonfuls of salt" Also applies to all my opinionated advice, highly biased - and definitely not representative of anyone else's experience - no matter how much I try to make it appear otherwise ;) Warren From roger.e.eller at sealedair.com Sun Mar 25 18:25:55 2012 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 25 Mar 2012 18:25:55 -0400 Subject: [OT] A couple of links about Gnome and usability In-Reply-To: <4F6F582C.8040803@gmail.com> References: <4F6ED55C.6040205@gmail.com> <4F6F582C.8040803@gmail.com> Message-ID: On Sun, Mar 25, 2012 at 1:38 PM, Richmond wrote: > As a Mac-o-philiac I have spent some time playing around with PearOS, > and can honestly say "it sucks"; > > it being neither one thing nor the other. > > Richmond Mathewson. I am an advocate for simplicity when it comes to choosing a familiar OS. The fairly new and actively supported Ubuntu-based elementaryOS is becoming one of my personal favorites. Unlike PearOS, this one doesn't suck. ;-) It has obvious Mac-inspired features, but doesn't go overboard trying to become a Mac. http://www.youtube.com/watch?&v=DqFSMlulxhw They do try to detach the user from the normal desktop, but you can easily get it back. http://www.youtube.com/watch?v=DPd5mWaxkic http://elementaryos.org/discover ~Roger From richmondmathewson at gmail.com Mon Mar 26 00:20:31 2012 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 26 Mar 2012 07:20:31 +0300 Subject: [OT] A couple of links about Gnome and usability In-Reply-To: <4F6F9338.1000405@warrensweb.us> References: <4F6ED55C.6040205@gmail.com> <4F6F582C.8040803@gmail.com> <4F6F7C86.5050702@warrensweb.us> <4F6F9338.1000405@warrensweb.us> Message-ID: <4F6FEE8F.3090508@gmail.com> On 03/26/2012 12:50 AM, Warren Samples wrote: > On 03/25/2012 03:13 PM, Warren Samples wrote: >> >> :D as I said "heaping spoonfuls of salt" > > > Also applies to all my opinionated advice, highly biased - and > definitely not representative of anyone else's experience - no matter > how much I try to make it appear otherwise ;) Lots of opinionated advice on this Use-List, Thank God. Nobody round here cowed by the pressure of daft political pressure groups. That is what makes this Use-List so great! > > Warren > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From warren at warrensweb.us Mon Mar 26 01:44:27 2012 From: warren at warrensweb.us (Warren Samples) Date: Mon, 26 Mar 2012 00:44:27 -0500 Subject: [OT] A couple of links about Gnome and usability In-Reply-To: <4F6F582C.8040803@gmail.com> References: <4F6ED55C.6040205@gmail.com> <4F6F582C.8040803@gmail.com> Message-ID: <4F70023B.2000909@warrensweb.us> On 03/25/2012 12:38 PM, Richmond wrote: > I have spent some time playing around with PearOS, > and can honestly say "it sucks"; I installed the latest version, Comice OS 4, and gave it only a quick look. While I don't mind if someone likes it, I wouldn't recommend it to anyone, especially with hopes that it might an easy transition from OS X. Choosing Comice Classic at login, I did have a working dock with icons which included "Finder" so finding my home folder was a cinch. The Dock icon set mysteriously changed at some point and I could not find an obvious way to do that deliberately. Beyond that, the control center made me feel mostly like there was little I could do to take control. The software center seems very easy to "get", though, and that's a big plus. The UI has with good snap, but in the end, a lot of simple basic stuff is not intuitive for the new user. I think even less than most of the more traditional flavored DEs. I also discovered that my unmodified install is useless with Livecode, which is Pete's interest. There are all kinds of problems with characters in scripts. you can't use "/". Quotes are treated literally as in: put "something" into tAnything; put tAnything returns "something" with the quotes. If someone can tell me what's the likely cause, I'd be interested to know :D Even more interested in knowing how to remedy it. It was only a cursory look. I've never liked the stock OS X Dock and always ran it without 3D, reflections and animations and set it out of the way in the lower left corner, so this was definitely not a positive feature for me, but that's a matter of taste. That said, this distro has some real drawbacks in my opinion. Pete, this is not the best choice. Sorry to have brought it up. Warren From toolbook at kestner.de Mon Mar 26 02:38:52 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 26 Mar 2012 08:38:52 +0200 Subject: AW: How to get the user or his rights? In-Reply-To: <768A6E76-9C9D-4A45-B65A-45B5D366D94A@twft.com> References: <003201cd08c8$5ba3df40$12eb9dc0$@de> <768A6E76-9C9D-4A45-B65A-45B5D366D94A@twft.com> Message-ID: <000901cd0b1b$1cb9e5e0$562db1a0$@de> Hi Bob, thanks for your hints. For windows standalones you can set the UAC Execution Level to "require Admin". So LC knows, who's logged in. I wonder, if we can retrieve this information from LC? Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Bob Sneidar > Gesendet: Freitag, 23. M?rz 2012 18:01 > An: How to use LiveCode > Betreff: Re: How to get the user or his rights? > > Okay so ID -G in OS X returns a space delimited list of groups the user > belongs to. If 80 is in that list, then he is an admin. You can use the > form ID -p and the results will be human readable, but you can't just look > for admin because other groups may contain the string admin, like _lpadmin > for example. > > I am not going to dig into how to do this on Windows. > > Bob > > > On Mar 23, 2012, at 12:41 AM, Tiemo Hollmann TB wrote: > > > Hello, > > > > I have some configuration in my program which I would like to show > > only to the admin and not to a standard user. > > > > Is there a way to read the logged in user from the system or his > > permission level (win & mac)? I didn't find anything in the docs. Or > > is there another approach to differentiate between users? > > > > Thanks > > > > Tiemo > > > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Mon Mar 26 04:55:12 2012 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 26 Mar 2012 11:55:12 +0300 Subject: [OT] A couple of links about Gnome and usability In-Reply-To: <4F70023B.2000909@warrensweb.us> References: <4F6ED55C.6040205@gmail.com> <4F6F582C.8040803@gmail.com> <4F70023B.2000909@warrensweb.us> Message-ID: <4F702EF0.1030301@gmail.com> On 03/26/2012 08:44 AM, Warren Samples wrote: > On 03/25/2012 12:38 PM, Richmond wrote: >> I have spent some time playing around with PearOS, >> and can honestly say "it sucks"; > > I installed the latest version, Comice OS 4, and gave it only a quick > look. While I don't mind if someone likes it, I wouldn't recommend it > to anyone, especially with hopes that it might an easy transition from > OS X. Choosing Comice Classic at login, I did have a working dock with > icons which included "Finder" so finding my home folder was a cinch. > The Dock icon set mysteriously changed at some point and I could not > find an obvious way to do that deliberately. Beyond that, the control > center made me feel mostly like there was little I could do to take > control. The software center seems very easy to "get", though, and > that's a big plus. The UI has with good snap, but in the end, a lot of > simple basic stuff is not intuitive for the new user. I think even > less than most of the more traditional flavored DEs. > > I also discovered that my unmodified install is useless with Livecode, > which is Pete's interest. There are all kinds of problems with > characters in scripts. you can't use "/". Quotes are treated literally > as in: > > put "something" into tAnything; put tAnything > > returns "something" with the quotes. If someone can tell me what's the > likely cause, I'd be interested to know :D Even more interested in > knowing how to remedy it. > > It was only a cursory look. I've never liked the stock OS X Dock and > always ran it without 3D, reflections and animations PearOS uses CairoDock. I use, whatever the distro, Avant Window Navigator; it can be easily configured to present a flat, transparent dock with no annoying resizing of icons, 3D fluff and so on. I find that Avant Window Navigator can closely resemble the Mac OS 10.2 dock - which I much preferred to later versions. Personally I think that the Mac Dock is about the best thing about Mac OS, so have made sure I have had a dock wherever I have worked; even going to far as to have one in my Virtual box running Windows XP. Of course, with XFCE (let's say Xubuntu) one can set the bottom panel to behave in almost the same way; without the overhead of having to install AWN. > and set it out of the way in the lower left corner, so this was > definitely not a positive feature for me, but that's a matter of > taste. That said, this distro has some real drawbacks in my opinion. > Pete, this is not the best choice. Sorry to have brought it up. > > Warren > Certainly, with Ubuntu and its spinoffs (currently doing most of my stuff with Xubuntu 12.04 beta 1), Livecode generally behaves itself; although my Dictionary stack does seem to crash the IDE. However this may be due to my warped route to Xubuntu; Ubuntu 12.04 with UNITY, mucked about with Cinnamon, mucked about with MATE, mucked about with Lubuntu, installed XFCE. Until I pull myself together and reinstall a "virgin" install of Xubuntu (not likely until the April full release) I won't know for certain why this is happening. I have had Livecode doing very nicely with ZevenOS, a sort of kiddified Debian; got cheesed-off with the distro as it kept dumping me in dependency hell; so I dumped it. I have always stuck to Debian derivs, so cannot really say anything about other types of Linux. From m.schonewille at economy-x-talk.com Mon Mar 26 07:45:59 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 26 Mar 2012 13:45:59 +0200 Subject: [ANN] New version of password field Message-ID: Hi, For a project, I needed an improved version of my password field. The new password field includes better copy, paste and undo features and is now available on the Economy-x-Talk homepage to those who have made or will make a donation. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Get the extIco2Png external for LiveCode here http://qery.us/1w6 From mazzapaoloitaly at gmail.com Mon Mar 26 08:38:46 2012 From: mazzapaoloitaly at gmail.com (paolo mazza) Date: Mon, 26 Mar 2012 14:38:46 +0200 Subject: Playing Flash Video? In-Reply-To: References: Message-ID: I think the only way to show a flash movie (in streaming from a server or directly from a local file) is to embed a FlashPlayer into a revBrowser window. However, managing video (stop/start/pause ...) with javascript is not a trivial task! In the rev Browser stack ( resources/examples folder of the LC the distribution) , on the 4th card, there is a button "Embed a Flash Training viewer" but the sample page does not work because the rev browser can not find the page "/externals/flashexample.php" . Then, I found a thread in this mailing list addressing the javascript-revbrowser issue ... see "Using Javascript with RevBrowser to control a Flash Movie" with some interesting hints. I am looking for a "multi-platform" solution to show streaming video in LC stacks, but it seems to me that only the iOS solution is working properly.In LC/Mac IDE the quicktime player can not open streaming video (html/MPEG4). That's weird, because I can play the same video opening it from the "Archive/connect to" menu of the QuickTime Player 10 installed in the same machine, All the best Paolo From devin_asay at byu.edu Mon Mar 26 11:16:48 2012 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 26 Mar 2012 15:16:48 +0000 Subject: Android 4 In-Reply-To: References: Message-ID: <4D3B74A7-6580-44E5-90FF-6A80C14E4C80@byu.edu> Mark, I downloaded Jacque's Casey's Solitaire app to an ASUS Transformer Prime running Android 4.0.3 and it runs flawlessly. I have also run several simple test apps on this tablet with no problem. (I am building for Android 2.3.3.) Regards, Devin On Mar 24, 2012, at 7:33 PM, Mark Schonewille wrote: > Hi (again), > > I didn't get a reply to my question: > > "Does anyone have (good) experience with LiveCode apps running on an Android 4 tablet? I thought I'd ask before upgrading my tablet." > > Does that mean that LiveCode is not compatible with Android 4 yet? > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Devin Asay Humanities Technology and Research Support Center Brigham Young University From m.schonewille at economy-x-talk.com Mon Mar 26 11:34:36 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 26 Mar 2012 17:34:36 +0200 Subject: Android 4 In-Reply-To: <4D3B74A7-6580-44E5-90FF-6A80C14E4C80@byu.edu> References: <4D3B74A7-6580-44E5-90FF-6A80C14E4C80@byu.edu> Message-ID: <5042DBB2-3D1E-45C6-918A-457A2EBB1464@economy-x-talk.com> Thanks Ken and Devin, It looks like I can upgrade my tablet to Android 4.0. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Get the extIco2Png external for LiveCode here http://qery.us/1w6 On 26 mrt 2012, at 17:16, Devin Asay wrote: > Mark, > > I downloaded Jacque's Casey's Solitaire app to an ASUS Transformer Prime running Android 4.0.3 and it runs flawlessly. I have also run several simple test apps on this tablet with no problem. (I am building for Android 2.3.3.) > > Regards, > > Devin From bobs at twft.com Mon Mar 26 12:08:35 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 26 Mar 2012 09:08:35 -0700 Subject: Difficulty with Reply Size To The List In-Reply-To: References: Message-ID: <3EBD354A-C0D6-4EE7-A2A5-29617471911C@twft.com> Reply with a plain text format. Any kind of formatting like color can dramatically increase the size of the email. Don't worry about quote coloring that is not embedded in the text. But custom fonts or colors will give you problems. Bob On Mar 25, 2012, at 11:23 AM, Roger Guay wrote: > I am using a Mac and Mail for my email stuff. Often when I reply to posts on this list with as little as 1 or 2 lower quote levels, I get a reply from use-livecode-bounces for exceeding the size limit of 15 KB. Such is the case with a reply I was trying to make today to Thomas McGrath III and Tim Jones re "Calling ALL SETI Enthusiasts". Is this normal or am I missing something? There are often, what appear much larger files, appearing on the list! > > Thanks and cheers, > Roger > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From effendi at wanadoo.fr Mon Mar 26 12:31:28 2012 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Mon, 26 Mar 2012 18:31:28 +0200 Subject: Displaying PDF files in an LC stack Message-ID: <784967EB-5A03-4B9A-9064-C6F0E2DD1557@wanadoo.fr> Hi from Beautiful Brittany, For Pete, Michael, Colin ..... et alia ! I think we have been down this road before ! This is not a completely internal display of pdf files within a LiveCode stack, but it's the closest I could get, and it solves all my needs. I have a library of pdf files. I have a LiveCode stack containing a card for each of the files I may want to display. On each card, I have 1 - The pdf file name within my library, 2 - A display scale value for the pdf file, 3 - a field containing a list of page numbers that may interest me, within the pdf file. I select the scale, select a page number and "open" the pdf file, at a specific page, in an external window, by building an applescript file to call the Skim app with the required parameters. Warning : Skim is for Macs only ... Life is so hard ! NOTE : I have not exploited the potential of all possible parameters which can be passed to Skim. I also found out that if my pdf file originated as a text file (first-hand), then I could eventually dig out the text, (which means that pdf display COULD be pure LiveCode) but if the pdf file was built (for example) by conversion from a jpg file, then I could NEVER recover the text. (that seems pretty reasonable, does it not ?) Catch me off-forum, and I can send you an example stack. Best Regards -Francis "Nothing should ever be done for the first time !" From pete at mollysrevenge.com Mon Mar 26 12:52:30 2012 From: pete at mollysrevenge.com (Pete) Date: Mon, 26 Mar 2012 09:52:30 -0700 Subject: Displaying PDF files in an LC stack In-Reply-To: <784967EB-5A03-4B9A-9064-C6F0E2DD1557@wanadoo.fr> References: <784967EB-5A03-4B9A-9064-C6F0E2DD1557@wanadoo.fr> Message-ID: Thanks Francis - and all the others who have suggested ways to deal with this. I think I will have to go with launching the pdf documents as a separate process. Seems like that is the only way to get a cross platform solution that will deal with the display of bookmarks without having to spend time writing Livecode scripts. Maybe someone will write an LC plugin to deal with pdf files one day. Judging by the response to my initilial question, seems like there would be enough interest to make it worthwhile. Pete PS I'm still looking at ScreenSteps. They confirm that bookmarks are included in pdf files created from ScreenSteps so I could get the best of both worlds. On Mon, Mar 26, 2012 at 9:31 AM, Francis Nugent Dixon wrote: > Hi from Beautiful Brittany, > > For Pete, Michael, Colin ..... et alia ! > > I think we have been down this road before ! > > This is not a completely internal display of > pdf files within a LiveCode stack, but it's the > closest I could get, and it solves all my needs. > > I have a library of pdf files. I have a LiveCode > stack containing a card for each of the files > I may want to display. On each card, I have > > 1 - The pdf file name within my library, > 2 - A display scale value for the pdf file, > 3 - a field containing a list of page numbers > that may interest me, within the pdf file. > > I select the scale, select a page number and > "open" the pdf file, at a specific page, in an > external window, by building an applescript file > to call the Skim app with the required parameters. > > Warning : Skim is for Macs only ... Life is so hard ! > > NOTE : I have not exploited the potential of all > possible parameters which can be passed to Skim. > > I also found out that if my pdf file originated as a text > file (first-hand), then I could eventually dig out the text, > (which means that pdf display COULD be pure LiveCode) > but if the pdf file was built (for example) by conversion > from a jpg file, then I could NEVER recover the text. > (that seems pretty reasonable, does it not ?) > > Catch me off-forum, and I can send you an > example stack. > > Best Regards > > -Francis > > "Nothing should ever be done for the first time !" > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From klaus at major.on-rev.com Mon Mar 26 13:21:02 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Mon, 26 Mar 2012 19:21:02 +0200 Subject: revsecurtity.dll Message-ID: Hi friends, I created a win installer app which uses HTTPS, so the "revsecurtity.dll" is obviously neccessary. But I would like to only deploy a SINGLE EXE file if possible, ZIPping the thing is no option. Unfortunately this special DLL cannot be installed "dynamically" and "temporarily" like other DLLs. Can it? Anything I am missing? So any clever hint is much appreciated :-) Thanks a lot in advance! Too bad this functionality has not yet been impemented into the engine like in the Macversion. Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From m.schonewille at economy-x-talk.com Mon Mar 26 13:27:36 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 26 Mar 2012 19:27:36 +0200 Subject: revsecurtity.dll In-Reply-To: References: Message-ID: <48026961-6BF4-42F6-9BF3-A45EBCAE2603@economy-x-talk.com> Hi Klaus, Would an installer be an option? Installer Maker makes one single exe file, which installs shortcuts in the Start menu and even starts the programme if you want. You can find it here http://qery.us/za -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Get the extIco2Png external for LiveCode here http://qery.us/1w6 On 26 mrt 2012, at 19:21, Klaus on-rev wrote: > Hi friends, > > I created a win installer app which uses HTTPS, so the "revsecurtity.dll" is obviously neccessary. > But I would like to only deploy a SINGLE EXE file if possible, ZIPping the thing is no option. > > Unfortunately this special DLL cannot be installed "dynamically" and "temporarily" like other DLLs. > Can it? Anything I am missing? > > So any clever hint is much appreciated :-) > Thanks a lot in advance! > > Too bad this functionality has not yet been impemented into the engine like in the Macversion. > > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com From klaus at major.on-rev.com Mon Mar 26 13:32:40 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Mon, 26 Mar 2012 19:32:40 +0200 Subject: revsecurtity.dll In-Reply-To: <48026961-6BF4-42F6-9BF3-A45EBCAE2603@economy-x-talk.com> References: <48026961-6BF4-42F6-9BF3-A45EBCAE2603@economy-x-talk.com> Message-ID: <62DE1F35-C367-4FD1-A8A7-64B98747AE15@major.on-rev.com> Hi Mark, Am 26.03.2012 um 19:27 schrieb Mark Schonewille: > Hi Klaus, > > Would an installer be an option? Installer Maker makes one single exe file, which installs shortcuts in the Start menu and even starts the programme if you want. You can find it here http://qery.us/za Why did I know that exactly this mail woul be the first repsonse? This is a rhetorical question! :-) No thank you, not an option for the project. > -- > Best regards, > > Mark Schonewille Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From m.schonewille at economy-x-talk.com Mon Mar 26 13:46:22 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 26 Mar 2012 19:46:22 +0200 Subject: revsecurtity.dll In-Reply-To: <62DE1F35-C367-4FD1-A8A7-64B98747AE15@major.on-rev.com> References: <48026961-6BF4-42F6-9BF3-A45EBCAE2603@economy-x-talk.com> <62DE1F35-C367-4FD1-A8A7-64B98747AE15@major.on-rev.com> Message-ID: Hi Klaus, If it was what you expected, then it probably makes sense one way or another. I wouldn't have proposed it if you had mentioned that an installer is no option for the project. Probably, the only possibility is to install the external yourself. If you write it to disk first and then open a dummy stack that has the external property set to the path to the external and start using the dummy stack, then the external should be available. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Get the extIco2Png external for LiveCode here http://qery.us/1w6 On 26 mrt 2012, at 19:32, Klaus on-rev wrote: > Hi Mark, > > Am 26.03.2012 um 19:27 schrieb Mark Schonewille: > >> Hi Klaus, >> >> Would an installer be an option? Installer Maker makes one single exe file, which installs shortcuts in the Start menu and even starts the programme if you want. You can find it here http://qery.us/za > > Why did I know that exactly this mail woul be the first repsonse? > This is a rhetorical question! :-) > > No thank you, not an option for the project. > >> -- >> Best regards, >> >> Mark Schonewille > > Best > > Klaus From irog at mac.com Mon Mar 26 13:47:56 2012 From: irog at mac.com (Roger Guay) Date: Mon, 26 Mar 2012 11:47:56 -0600 Subject: ANN and OT: Calling All SETI Enthusiasts In-Reply-To: References: Message-ID: Tom, Please forgive me (especially Tim) for apparently sounding argumentative. Not my intent at all. I was merely trying to say that given the vastness of our universe and the number of stars contained in it, many argue that it is logical to assume a multitude of intelligent species populating our entire galaxy. And given the vast time scale involved, it is also logical to assume these alien civilizations will not have evolved simultaneously (criterion #1) The second criterion is that the radio active stages of technology of these civilizations will be short relative to these same vast time scales. I'm sure that I am not the first to define this criterion, but I have not seen it discussed before. The validity of this is discussed very briefly in the simulation notes. Further to this point, I would argue that ALL technologies have limited durations, and the simulation allows you to adjust it over a very long range (albeit short relative to the vast time scales of our galaxy) to your heart's content. I would be happy to discuss this at length, but it might be best to do so off-list?? My simulation starts with these assumptions and explores the outcome. These criteria are simply derived from the statistics of the numbers involved. There are many more qualified than I to explain the statistics involved, and a few references are included in the notes of the simulation. For those interested I would would start with the SETI project itself at. http://www.seti.org/ And, the Drake equation says it all . . . statically: http://www.activemind.com/Mysterious/Topics/seti/drake_equation.html Thanks and cheers, Roger Guay On Mar 25, 2012, at 7:56 AM, use-livecode-request at lists.runrev.com wrote: > Message: 6 > Date: Sat, 24 Mar 2012 20:54:05 -0400 > From: Thomas McGrath III > To: How to use LiveCode > Subject: Re: use-livecode Digest, Vol 102, Issue 49 > Message-ID: <02634A04-296A-4FBE-A626-3E7587FF9367 at mac.com> > Content-Type: text/plain; CHARSET=US-ASCII > > I didn't take either comment as overly argumentative but more like a challenge (which we tend to do on this list from time to time). For me, coming up with two criteria is intriguing and caught my interest. I would love to see more on the validity of those two criteria, but what really interested me was how Roger translated those to an interesting LC project. Very cool. I would love to hear more about that. > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > > On Mar 24, 2012, at 8:31 PM, Roger Guay wrote: > >> Tim, >> >> I don't pretend to know anything! As for my thesis, I am merely making assumptions based on statistics and the vast size of our galaxy and the number of stars it contains. No one has decided anything about the nature of our species except the religious. BTW, did you look at the simulation? >> >> I think it might be best to take any further discussions of this nature off-list. >> >> Cheers, >> Roger >> >> >> On Mar 24, 2012, at 6:03 PM, use-livecode-request at lists.runrev.com wrote: >> >>> Message: 9 >>> Date: Sat, 24 Mar 2012 12:44:21 -0700 >>> From: Tim Jones >>> To: How to use LiveCode >>> Subject: Re: ANN and OT: Calling All SETI Enthusiasts >>> Message-ID: >>> Content-Type: text/plain; CHARSET=US-ASCII >>> >>> Ready to defend your thesis? Let me toss out two great Sci-Fi antithesis to your points below - >>> >>> How have we determined how long the "relatively short duration" of the radio stage of any societies is? >>> >>> How have we decided, even taking asynchronous development into account, that humans aren't the most mature and advanced species in the nearby galaxy? >>> >>> :-) >>> >>> Tim >>> >>> >>> On Mar 24, 2012, at 12:20 PM, Roger Guay wrote: >>> >>>> Hi all, >>>> >>>> The SETI project has been in existence for about 50 years, and Enrico Fermi's question asked in the 1940's, "Where is everybody?" is still germane today. >>>> >>>> I think I have finally succeded in building a simulation of two criteria relevant to this SETI "problem": 1) The asynchronous evolution of intelligence throughout the galaxy couple with 2) the relatively short duration of the radio stage of alien technologies. >>>> >>>> You can download this stack at: >>>> >>>> https://idisk.mac.com/irog//Public/SETIproblem.livecode >>>> >>>> I welcome any feedback. >>>> >>>> Thanks and cheers, >>>> Roger Guay >>>> ___________ > From irog at mac.com Mon Mar 26 14:00:33 2012 From: irog at mac.com (Roger Guay) Date: Mon, 26 Mar 2012 12:00:33 -0600 Subject: ANN and OT: Calling All SETI Enthusiasts In-Reply-To: References: Message-ID: Thank you Mark . . . that seems to work just fine! Al, You can download a legacy saved version of SETIproblemL.Livecode at: https://idisk.mac.com/irog//Public/SETIproblemL.livecode Version 5.5 can be downloaded at: https://idisk.mac.com/irog//Public/SETIproblem.livecode Cheers, Roger On Mar 26, 2012, at 11:00 AM, use-livecode-request at lists.runrev.com wrote: > Message: 5 > Date: Sun, 25 Mar 2012 11:17:53 -0700 > From: Mark Wieder > To: How to use LiveCode > Subject: Re: ANN and OT: Calling All SETI Enthusiasts. > Message-ID: <94999150187.20120325111753 at ahsoftware.net> > Content-Type: text/plain; charset=us-ascii > > Roger- > > Sunday, March 25, 2012, 11:08:25 AM, you wrote: > >> Sorry for your difficulty, Al. The best I seem to be able to do >> is to provide SETIproblem in Livecode 5.0.2. I can't find >> StackRunner on Ken's site and the one I have does not open my stack. > > Use the "Save As" menuItem from the File menu and select "Legacy" for > the file type. > > -- > -Mark Wieder > mwieder at ahsoftware.net From pete at mollysrevenge.com Mon Mar 26 14:01:28 2012 From: pete at mollysrevenge.com (Pete) Date: Mon, 26 Mar 2012 11:01:28 -0700 Subject: ANN and OT: Calling All SETI Enthusiasts In-Reply-To: References: Message-ID: Roger, I'd love to take a look at your stack but when I download it and open it in Livecode, I get an error that it is not a stack. This is with Livecode 5.0.2. Pete On Mon, Mar 26, 2012 at 10:47 AM, Roger Guay wrote: > Tom, > > Please forgive me (especially Tim) for apparently sounding argumentative. > Not my intent at all. I was merely trying to say that given the vastness of > our universe and the number of stars contained in it, many argue that it is > logical to assume a multitude of intelligent species populating our entire > galaxy. And given the vast time scale involved, it is also logical to > assume these alien civilizations will not have evolved simultaneously > (criterion #1) > > The second criterion is that the radio active stages of technology of > these civilizations will be short relative to these same vast time scales. > I'm sure that I am not the first to define this criterion, but I have not > seen it discussed before. The validity of this is discussed very briefly in > the simulation notes. Further to this point, I would argue that ALL > technologies have limited durations, and the simulation allows you to > adjust it over a very long range (albeit short relative to the vast time > scales of our galaxy) to your heart's content. I would be happy to discuss > this at length, but it might be best to do so off-list?? > > My simulation starts with these assumptions and explores the outcome. > These criteria are simply derived from the statistics of the numbers > involved. There are many more qualified than I to explain the statistics > involved, and a few references are included in the notes of the simulation. > For those interested I would would start with the SETI project itself at. > > > http://www.seti.org/ > > And, the Drake equation says it all . . . statically: > > > http://www.activemind.com/Mysterious/Topics/seti/drake_equation.html > > Thanks and cheers, > Roger Guay > > > On Mar 25, 2012, at 7:56 AM, use-livecode-request at lists.runrev.com wrote: > > > Message: 6 > > Date: Sat, 24 Mar 2012 20:54:05 -0400 > > From: Thomas McGrath III > > To: How to use LiveCode > > Subject: Re: use-livecode Digest, Vol 102, Issue 49 > > Message-ID: <02634A04-296A-4FBE-A626-3E7587FF9367 at mac.com> > > Content-Type: text/plain; CHARSET=US-ASCII > > > > I didn't take either comment as overly argumentative but more like a > challenge (which we tend to do on this list from time to time). For me, > coming up with two criteria is intriguing and caught my interest. I would > love to see more on the validity of those two criteria, but what really > interested me was how Roger translated those to an interesting LC project. > Very cool. I would love to hear more about that. > > > > -- Tom McGrath III > > http://lazyriver.on-rev.com > > 3mcgrath at comcast.net > > > > On Mar 24, 2012, at 8:31 PM, Roger Guay wrote: > > > >> Tim, > >> > >> I don't pretend to know anything! As for my thesis, I am merely making > assumptions based on statistics and the vast size of our galaxy and the > number of stars it contains. No one has decided anything about the nature > of our species except the religious. BTW, did you look at the simulation? > >> > >> I think it might be best to take any further discussions of this nature > off-list. > >> > >> Cheers, > >> Roger > >> > >> > >> On Mar 24, 2012, at 6:03 PM, use-livecode-request at lists.runrev.comwrote: > >> > >>> Message: 9 > >>> Date: Sat, 24 Mar 2012 12:44:21 -0700 > >>> From: Tim Jones > >>> To: How to use LiveCode > >>> Subject: Re: ANN and OT: Calling All SETI Enthusiasts > >>> Message-ID: > >>> Content-Type: text/plain; CHARSET=US-ASCII > >>> > >>> Ready to defend your thesis? Let me toss out two great Sci-Fi > antithesis to your points below - > >>> > >>> How have we determined how long the "relatively short duration" of the > radio stage of any societies is? > >>> > >>> How have we decided, even taking asynchronous development into > account, that humans aren't the most mature and advanced species in the > nearby galaxy? > >>> > >>> :-) > >>> > >>> Tim > >>> > >>> > >>> On Mar 24, 2012, at 12:20 PM, Roger Guay wrote: > >>> > >>>> Hi all, > >>>> > >>>> The SETI project has been in existence for about 50 years, and Enrico > Fermi's question asked in the 1940's, "Where is everybody?" is still > germane today. > >>>> > >>>> I think I have finally succeded in building a simulation of two > criteria relevant to this SETI "problem": 1) The asynchronous evolution of > intelligence throughout the galaxy couple with 2) the relatively short > duration of the radio stage of alien technologies. > >>>> > >>>> You can download this stack at: > >>>> > >>>> > https://idisk.mac.com/irog//Public/SETIproblem.livecode > >>>> > >>>> I welcome any feedback. > >>>> > >>>> Thanks and cheers, > >>>> Roger Guay > >>>> ___________ > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From irog at mac.com Mon Mar 26 14:06:57 2012 From: irog at mac.com (Roger Guay) Date: Mon, 26 Mar 2012 12:06:57 -0600 Subject: Difficulty with Reply Size To The List In-Reply-To: References: Message-ID: Thanks Mark. That worked for me, in this instance at least. Cheers, Roger On Mar 26, 2012, at 11:00 AM, use-livecode-request at lists.runrev.com wrote: > Message: 9 > Date: Sun, 25 Mar 2012 21:14:59 +0200 > From: Mark Schonewille > To: How to use LiveCode > Subject: Re: Difficulty with Reply Size To The List > Message-ID: > Content-Type: text/plain; charset=us-ascii > > Hi Roger, > > Make sure to reply in plain text rather then RTF text. See the format menu for this. I always read and write all my e-mail in plain text. You can set the default message format to plain text in the Composing tab of the Mail preferences window. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 From tolistim at me.com Mon Mar 26 14:09:42 2012 From: tolistim at me.com (Tim Jones) Date: Mon, 26 Mar 2012 11:09:42 -0700 Subject: ANN and OT: Calling All SETI Enthusiasts In-Reply-To: References: Message-ID: Roger, Tom and all - Sorry that everyone took my comments so seriously. That's why I mentioned that they were "Sci-Fi" ideas. I was simply playing devil's advocate as my advisor did to me on many more than one occasion and poking a bit of fun at SETI. Personally, I believe that Earth is backwater and so far down the chain of technical evolution that the other species simply ignore us. Either that, or the "Predator" team was correct and Earth's simply a hunting preserve. But don't ask me to defend that position :-P. Oh, and don't get me started on the missing pieces of Drake's. Tim On Mar 26, 2012, at 10:47 AM, Roger Guay wrote: > Tom, > > Please forgive me (especially Tim) for apparently sounding argumentative. Not my intent at all. I was merely trying to say that given the vastness of our universe and the number of stars contained in it, many argue that it is logical to assume a multitude of intelligent species populating our entire galaxy. And given the vast time scale involved, it is also logical to assume these alien civilizations will not have evolved simultaneously (criterion #1) > > The second criterion is that the radio active stages of technology of these civilizations will be short relative to these same vast time scales. I'm sure that I am not the first to define this criterion, but I have not seen it discussed before. The validity of this is discussed very briefly in the simulation notes. Further to this point, I would argue that ALL technologies have limited durations, and the simulation allows you to adjust it over a very long range (albeit short relative to the vast time scales of our galaxy) to your heart's content. I would be happy to discuss this at length, but it might be best to do so off-list?? > > My simulation starts with these assumptions and explores the outcome. These criteria are simply derived from the statistics of the numbers involved. There are many more qualified than I to explain the statistics involved, and a few references are included in the notes of the simulation. For those interested I would would start with the SETI project itself at. > > http://www.seti.org/ > > And, the Drake equation says it all . . . statically: > > http://www.activemind.com/Mysterious/Topics/seti/drake_equation.html > > Thanks and cheers, > Roger Guay From capellan2000 at gmail.com Mon Mar 26 14:13:53 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 26 Mar 2012 11:13:53 -0700 (PDT) Subject: Playing Flash Video? In-Reply-To: References: Message-ID: <1332785633902-4506727.post@n4.nabble.com> Hi Trevor, Trevor DeVore wrote > > I know someone who would like to add Flash video playback to a LiveCode > project that already supports QuickTime and DirectShow. It must be > possible > to query the duration and current time of the video, set the current time, > and play/pause the video via script. > > I'm looking for anyone who has done work in this area and might be able to > help them out. Please contact me off-list. > Look at this message thread: http://runtime-revolution.278305.n4.nabble.com/ANN-F-ab-2-5-0-released-and-available-for-download-td332392.html Jiro Harada published this awesome application, but his website is offline. Probably, you should contact him via email. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Playing-Flash-Video-tp4495423p4506727.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Mon Mar 26 14:13:59 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 26 Mar 2012 13:13:59 -0500 Subject: Android 4 In-Reply-To: <4D3B74A7-6580-44E5-90FF-6A80C14E4C80@byu.edu> References: <4D3B74A7-6580-44E5-90FF-6A80C14E4C80@byu.edu> Message-ID: <4F70B1E7.3080909@hyperactivesw.com> On 3/26/12 10:16 AM, Devin Asay wrote: > Mark, > > I downloaded Jacque's Casey's Solitaire app to an ASUS Transformer > Prime running Android 4.0.3 and it runs flawlessly. I have also run > several simple test apps on this tablet with no problem. (I am > building for Android 2.3.3.) Cool! Good to know, thanks. I don't believe Casey has ever had the opportunity to soil such a high-class device before. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Mon Mar 26 14:28:29 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 26 Mar 2012 11:28:29 -0700 Subject: ANN and OT: Calling All SETI Enthusiasts In-Reply-To: References: Message-ID: <2B937175-9284-4C54-9232-AC35C1BDD8F6@twft.com> The assumptions in discussions like these are extremely numerous, approaching the very number of stars themselves. Why for instance, should we suppose that any alien life form is similar to us? What if an intelligent life form was aquatic, and lived on a planet where the atmosphere was deadly to them? What possible motive could they have to develop radio technology in the first place, and who can assume that our radio technology would even work in their atmosphere? What if the magnetic flux field of their planet was so strong, or the chemical makeup so different that radio transmissions of our kind would never even penetrate it, never mind be something they would deploy? What if their great superior reasoning led them to conclude that the time, efforts and resources to even attempt to travel at or near light speeds, or else attempt to bend space-time was so vast, and the probability of failure to find a race like enough to themselves so great, and the time dilation that would occur so devastating to any hope of communicating or traveling back to where they came from, that it became a common child's joke amongst the great races of the universe without them even knowing it between them? So many "what if's", so little time-space. Our minds are so small that they cannot comprehend how many factors go into making our planet exactly the planet it is. There are so many balances, both terrestrial and extra-terrestrial, which if unbalanced by so much as 5% or less would render human life on this planet absolutely impossible. And we hope to find a planet so like ours, and then hope that life on that planet has evolved (the greatest begging of a question that ever there was) so like us as to allow any communication at all? This discussion can happen at all because of the human mind's inability to focus on and balance very many things at one time and measure a thesis against all other things that could weigh upon it. We simply do not possess the wisdom and mental faculty to treat such a subject. No, my friends, I think all conversation along these lines is so incredibly presumptuous, it is staggering when you really begin to think of everything we take as a given or gloss over when discussing such things. Sorry all you Star Trek fans, and anyone else I have likely offended. I love science fiction as much as the next person, but I think any race of beings wise enough to comprehend the real logistics of space travel or communication across such great distances would conclude right away that it was a total waste of their limited resources, better spent on improving their own state of affairs. (Let the flames begin!;-) Bob On Mar 26, 2012, at 10:47 AM, Roger Guay wrote: > Tom, > > Please forgive me (especially Tim) for apparently sounding argumentative. Not my intent at all. I was merely trying to say that given the vastness of our universe and the number of stars contained in it, many argue that it is logical to assume a multitude of intelligent species populating our entire galaxy. And given the vast time scale involved, it is also logical to assume these alien civilizations will not have evolved simultaneously (criterion #1) > > The second criterion is that the radio active stages of technology of these civilizations will be short relative to these same vast time scales. I'm sure that I am not the first to define this criterion, but I have not seen it discussed before. The validity of this is discussed very briefly in the simulation notes. Further to this point, I would argue that ALL technologies have limited durations, and the simulation allows you to adjust it over a very long range (albeit short relative to the vast time scales of our galaxy) to your heart's content. I would be happy to discuss this at length, but it might be best to do so off-list?? > > My simulation starts with these assumptions and explores the outcome. These criteria are simply derived from the statistics of the numbers involved. There are many more qualified than I to explain the statistics involved, and a few references are included in the notes of the simulation. For those interested I would would start with the SETI project itself at. > > http://www.seti.org/ > > And, the Drake equation says it all . . . statically: > > http://www.activemind.com/Mysterious/Topics/seti/drake_equation.html > > Thanks and cheers, > Roger Guay > > > On Mar 25, 2012, at 7:56 AM, use-livecode-request at lists.runrev.com wrote: > >> Message: 6 >> Date: Sat, 24 Mar 2012 20:54:05 -0400 >> From: Thomas McGrath III >> To: How to use LiveCode >> Subject: Re: use-livecode Digest, Vol 102, Issue 49 >> Message-ID: <02634A04-296A-4FBE-A626-3E7587FF9367 at mac.com> >> Content-Type: text/plain; CHARSET=US-ASCII >> >> I didn't take either comment as overly argumentative but more like a challenge (which we tend to do on this list from time to time). For me, coming up with two criteria is intriguing and caught my interest. I would love to see more on the validity of those two criteria, but what really interested me was how Roger translated those to an interesting LC project. Very cool. I would love to hear more about that. >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> 3mcgrath at comcast.net >> >> On Mar 24, 2012, at 8:31 PM, Roger Guay wrote: >> >>> Tim, >>> >>> I don't pretend to know anything! As for my thesis, I am merely making assumptions based on statistics and the vast size of our galaxy and the number of stars it contains. No one has decided anything about the nature of our species except the religious. BTW, did you look at the simulation? >>> >>> I think it might be best to take any further discussions of this nature off-list. >>> >>> Cheers, >>> Roger >>> >>> >>> On Mar 24, 2012, at 6:03 PM, use-livecode-request at lists.runrev.com wrote: >>> >>>> Message: 9 >>>> Date: Sat, 24 Mar 2012 12:44:21 -0700 >>>> From: Tim Jones >>>> To: How to use LiveCode >>>> Subject: Re: ANN and OT: Calling All SETI Enthusiasts >>>> Message-ID: >>>> Content-Type: text/plain; CHARSET=US-ASCII >>>> >>>> Ready to defend your thesis? Let me toss out two great Sci-Fi antithesis to your points below - >>>> >>>> How have we determined how long the "relatively short duration" of the radio stage of any societies is? >>>> >>>> How have we decided, even taking asynchronous development into account, that humans aren't the most mature and advanced species in the nearby galaxy? >>>> >>>> :-) >>>> >>>> Tim >>>> >>>> >>>> On Mar 24, 2012, at 12:20 PM, Roger Guay wrote: >>>> >>>>> Hi all, >>>>> >>>>> The SETI project has been in existence for about 50 years, and Enrico Fermi's question asked in the 1940's, "Where is everybody?" is still germane today. >>>>> >>>>> I think I have finally succeded in building a simulation of two criteria relevant to this SETI "problem": 1) The asynchronous evolution of intelligence throughout the galaxy couple with 2) the relatively short duration of the radio stage of alien technologies. >>>>> >>>>> You can download this stack at: >>>>> >>>>> https://idisk.mac.com/irog//Public/SETIproblem.livecode >>>>> >>>>> I welcome any feedback. >>>>> >>>>> Thanks and cheers, >>>>> Roger Guay >>>>> ___________ >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From devin_asay at byu.edu Mon Mar 26 14:30:12 2012 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 26 Mar 2012 18:30:12 +0000 Subject: Android 4 In-Reply-To: <4F70B1E7.3080909@hyperactivesw.com> References: <4D3B74A7-6580-44E5-90FF-6A80C14E4C80@byu.edu> <4F70B1E7.3080909@hyperactivesw.com> Message-ID: <91337759-9336-4BDD-A236-3EFDDAFEC5F3@byu.edu> On Mar 26, 2012, at 12:13 PM, J. Landman Gay wrote: > On 3/26/12 10:16 AM, Devin Asay wrote: >> Mark, >> >> I downloaded Jacque's Casey's Solitaire app to an ASUS Transformer >> Prime running Android 4.0.3 and it runs flawlessly. I have also run >> several simple test apps on this tablet with no problem. (I am >> building for Android 2.3.3.) > > Cool! Good to know, thanks. > > I don't believe Casey has ever had the opportunity to soil such a high-class device before. Well, I have to use the ultra-high-res virtual tissues to get it clean. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From kray at sonsothunder.com Mon Mar 26 14:47:20 2012 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 26 Mar 2012 13:47:20 -0500 Subject: How to get the user or his rights? In-Reply-To: <000901cd0b1b$1cb9e5e0$562db1a0$@de> References: <003201cd08c8$5ba3df40$12eb9dc0$@de> <768A6E76-9C9D-4A45-B65A-45B5D366D94A@twft.com> <000901cd0b1b$1cb9e5e0$562db1a0$@de> Message-ID: <50DD0F7F-12F3-4C06-9A1A-B41F6B7F586E@sonsothunder.com> On Mar 26, 2012, at 1:38 AM, Tiemo Hollmann TB wrote: > Hi Bob, > thanks for your hints. > For windows standalones you can set the UAC Execution Level to "require > Admin". So LC knows, who's logged in. I wonder, if we can retrieve this > information from LC? You can get the name of the user that is logged in by checking the environment variables $USERNAME (on Windows) and $USER (on Mac). As to the user's permission level, this is what I use (watch line wraps): function stsIsAdminUser pName, pComputer put stsAdminUserList(pComputer) into tList return (pName is among the lines of tList) end stsIsAdminUser function stsAdminUserList pOpt_ComputerName switch (the platform) case "MacOS" put shell("dscl . read /groups/admin") into tData filter tData with "GroupMembership:*" put line 1 of tData into tList -- strip other lines if there are any delete word 1 of tList replace space with CR in tList break case "Win32" put "Set objGroup = GetObject(" & q("WinNT://" & pOpt_ComputerName & "/administrators,group") & ")" & cr & \ "For Each objMember in objGroup.Members" & cr & \ "If tAdminList =" && quote & quote && "Then" & cr & \ "tAdminList = objMember.name" & cr & "Else" & cr & \ "tAdminList = tAdminList + vbCrLf + objMember.name" & cr & \ "End If" & cr & \ "Next" & cr & \ "result = tAdminList" into tScript do script tScript as "VBScript" put the result into tList break end switch return tList end stsAdminUserList Hope this helps, Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Mon Mar 26 14:52:46 2012 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 26 Mar 2012 13:52:46 -0500 Subject: revsecurtity.dll In-Reply-To: References: Message-ID: <16963DE9-E787-495F-90D1-510E214761CD@sonsothunder.com> On Mar 26, 2012, at 12:21 PM, Klaus on-rev wrote: > Hi friends, > > I created a win installer app which uses HTTPS, so the "revsecurtity.dll" is obviously neccessary. > But I would like to only deploy a SINGLE EXE file if possible, ZIPping the thing is no option. > > Unfortunately this special DLL cannot be installed "dynamically" and "temporarily" like other DLLs. > Can it? Anything I am missing? Just curious? why do you think it can't be installed "dynamically" or "temporarily" like other DLLs? Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From klaus at major.on-rev.com Mon Mar 26 14:58:47 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Mon, 26 Mar 2012 20:58:47 +0200 Subject: revsecurtity.dll In-Reply-To: References: <48026961-6BF4-42F6-9BF3-A45EBCAE2603@economy-x-talk.com> <62DE1F35-C367-4FD1-A8A7-64B98747AE15@major.on-rev.com> Message-ID: Hi Mark, Am 26.03.2012 um 19:46 schrieb Mark Schonewille: > Hi Klaus, > > If it was what you expected, then it probably makes sense one way or another. I wouldn't have proposed it if you had mentioned that an installer is no option for the project. Take it easy, Mark, that was not meant to insult in any way! :-) > Probably, the only possibility is to install the external yourself. If you write it to disk first and then open a dummy stack that has the external property set to the path to the external and start using the dummy stack, then the external should be available. I think this is not the case with that namely DLL! I am afraid the engine will search the folder with the EXE for the DLL and not "the externals" of whatever stack... > -- > Best regards, > > Mark Schonewille Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From klaus at major.on-rev.com Mon Mar 26 15:00:56 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Mon, 26 Mar 2012 21:00:56 +0200 Subject: revsecurtity.dll In-Reply-To: <16963DE9-E787-495F-90D1-510E214761CD@sonsothunder.com> References: <16963DE9-E787-495F-90D1-510E214761CD@sonsothunder.com> Message-ID: Hi Ken, Am 26.03.2012 um 20:52 schrieb Ken Ray: > > On Mar 26, 2012, at 12:21 PM, Klaus on-rev wrote: > >> Hi friends, >> >> I created a win installer app which uses HTTPS, so the "revsecurtity.dll" is obviously neccessary. >> But I would like to only deploy a SINGLE EXE file if possible, ZIPping the thing is no option. >> >> Unfortunately this special DLL cannot be installed "dynamically" and "temporarily" like other DLLs. >> Can it? Anything I am missing? > > Just curious? why do you think it can't be installed "dynamically" or "temporarily" like other DLLs? because it gets installed into the EXE folder and not into subfolder "externals"! I thougt this is a very special case of DLL. I would gladly be wrong :-) > Ken Ray > Sons of Thunder Software, Inc. > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From bobs at twft.com Mon Mar 26 15:05:10 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 26 Mar 2012 12:05:10 -0700 Subject: How to get the user or his rights? In-Reply-To: <50DD0F7F-12F3-4C06-9A1A-B41F6B7F586E@sonsothunder.com> References: <003201cd08c8$5ba3df40$12eb9dc0$@de> <768A6E76-9C9D-4A45-B65A-45B5D366D94A@twft.com> <000901cd0b1b$1cb9e5e0$562db1a0$@de> <50DD0F7F-12F3-4C06-9A1A-B41F6B7F586E@sonsothunder.com> Message-ID: <676393CA-CBCE-42B8-A367-FB9C2406564E@twft.com> Oooh thanks for that Ray. That is going in my Library. :-) Bob On Mar 26, 2012, at 11:47 AM, Ken Ray wrote: > > On Mar 26, 2012, at 1:38 AM, Tiemo Hollmann TB wrote: > >> Hi Bob, >> thanks for your hints. >> For windows standalones you can set the UAC Execution Level to "require >> Admin". So LC knows, who's logged in. I wonder, if we can retrieve this >> information from LC? > > You can get the name of the user that is logged in by checking the environment variables $USERNAME (on Windows) and $USER (on Mac). As to the user's permission level, this is what I use (watch line wraps): > > > function stsIsAdminUser pName, pComputer > put stsAdminUserList(pComputer) into tList > return (pName is among the lines of tList) > end stsIsAdminUser > > function stsAdminUserList pOpt_ComputerName > switch (the platform) > case "MacOS" > put shell("dscl . read /groups/admin") into tData > filter tData with "GroupMembership:*" > put line 1 of tData into tList -- strip other lines if there are any > delete word 1 of tList > replace space with CR in tList > break > case "Win32" > put "Set objGroup = GetObject(" & q("WinNT://" & pOpt_ComputerName & "/administrators,group") & ")" & cr & \ > "For Each objMember in objGroup.Members" & cr & \ > "If tAdminList =" && quote & quote && "Then" & cr & \ > "tAdminList = objMember.name" & cr & "Else" & cr & \ > "tAdminList = tAdminList + vbCrLf + objMember.name" & cr & \ > "End If" & cr & \ > "Next" & cr & \ > "result = tAdminList" into tScript > > do script tScript as "VBScript" > put the result into tList > break > end switch > return tList > end stsAdminUserList > > Hope this helps, > > Ken Ray > Sons of Thunder Software, Inc. > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Mar 26 15:06:23 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 26 Mar 2012 12:06:23 -0700 Subject: How to get the user or his rights? In-Reply-To: <50DD0F7F-12F3-4C06-9A1A-B41F6B7F586E@sonsothunder.com> References: <003201cd08c8$5ba3df40$12eb9dc0$@de> <768A6E76-9C9D-4A45-B65A-45B5D366D94A@twft.com> <000901cd0b1b$1cb9e5e0$562db1a0$@de> <50DD0F7F-12F3-4C06-9A1A-B41F6B7F586E@sonsothunder.com> Message-ID: Did I just call you Ray?? You can call me Fred then. ;-) Sorry bout that Ken. Bob > Oooh thanks for that Ray. That is going in my Library. :-) > > Bob > From klaus at major.on-rev.com Mon Mar 26 15:27:45 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Mon, 26 Mar 2012 21:27:45 +0200 Subject: How to get the user or his rights? In-Reply-To: <50DD0F7F-12F3-4C06-9A1A-B41F6B7F586E@sonsothunder.com> References: <003201cd08c8$5ba3df40$12eb9dc0$@de> <768A6E76-9C9D-4A45-B65A-45B5D366D94A@twft.com> <000901cd0b1b$1cb9e5e0$562db1a0$@de> <50DD0F7F-12F3-4C06-9A1A-B41F6B7F586E@sonsothunder.com> Message-ID: Hi Ken, Am 26.03.2012 um 20:47 schrieb Ken Ray: > On Mar 26, 2012, at 1:38 AM, Tiemo Hollmann TB wrote: > >> Hi Bob, >> thanks for your hints. >> For windows standalones you can set the UAC Execution Level to "require >> Admin". So LC knows, who's logged in. I wonder, if we can retrieve this >> information from LC? > > You can get the name of the user that is logged in by checking the environment variables $USERNAME (on Windows) and $USER (on Mac). As to the user's permission level, this is what I use (watch line wraps): > function stsIsAdminUser pName, pComputer what is "pComputer", resp. how do I get this value? > put stsAdminUserList(pComputer) into tList > ... > end stsAdminUserList > > Hope this helps, > > Ken Ray Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From kray at sonsothunder.com Mon Mar 26 15:32:53 2012 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 26 Mar 2012 14:32:53 -0500 Subject: How to get the user or his rights? In-Reply-To: References: <003201cd08c8$5ba3df40$12eb9dc0$@de> <768A6E76-9C9D-4A45-B65A-45B5D366D94A@twft.com> <000901cd0b1b$1cb9e5e0$562db1a0$@de> <50DD0F7F-12F3-4C06-9A1A-B41F6B7F586E@sonsothunder.com> Message-ID: >> You can get the name of the user that is logged in by checking the environment variables $USERNAME (on Windows) and $USER (on Mac). As to the user's permission level, this is what I use (watch line wraps): >> function stsIsAdminUser pName, pComputer > > what is "pComputer", resp. how do I get this value? Whoops! Sorry, you can pass the environment variable $COMPUTERNAME under Windows (it's not needed for Mac) ? I call the function like this on Windows: put stsIsAdminUser($USERNAME,$COMPUTERNAME) into tResult Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From bonnmike at gmail.com Mon Mar 26 15:35:50 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 26 Mar 2012 13:35:50 -0600 Subject: revsecurtity.dll In-Reply-To: References: <16963DE9-E787-495F-90D1-510E214761CD@sonsothunder.com> Message-ID: Could you stuff the dll into a property, then on run put place it in temp folder and set the externals of stack "blah" to (a list of externals including path..) On Mon, Mar 26, 2012 at 1:00 PM, Klaus on-rev wrote: > Hi Ken, > > Am 26.03.2012 um 20:52 schrieb Ken Ray: > > > > > On Mar 26, 2012, at 12:21 PM, Klaus on-rev wrote: > > > >> Hi friends, > >> > >> I created a win installer app which uses HTTPS, so the > "revsecurtity.dll" is obviously neccessary. > >> But I would like to only deploy a SINGLE EXE file if possible, ZIPping > the thing is no option. > >> > >> Unfortunately this special DLL cannot be installed "dynamically" and > "temporarily" like other DLLs. > >> Can it? Anything I am missing? > > > > Just curious? why do you think it can't be installed "dynamically" or > "temporarily" like other DLLs? > > because it gets installed into the EXE folder and not into subfolder > "externals"! > I thougt this is a very special case of DLL. > > I would gladly be wrong :-) > > > Ken Ray > > Sons of Thunder Software, Inc. > > Email: kray at sonsothunder.com > > Web Site: http://www.sonsothunder.com/ > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From klaus at major.on-rev.com Mon Mar 26 15:37:25 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Mon, 26 Mar 2012 21:37:25 +0200 Subject: How to get the user or his rights? In-Reply-To: References: <003201cd08c8$5ba3df40$12eb9dc0$@de> <768A6E76-9C9D-4A45-B65A-45B5D366D94A@twft.com> <000901cd0b1b$1cb9e5e0$562db1a0$@de> <50DD0F7F-12F3-4C06-9A1A-B41F6B7F586E@sonsothunder.com> Message-ID: <424DB1DF-C975-4CBE-B641-A2F0CE97686E@major.on-rev.com> Hi Ken, Am 26.03.2012 um 21:32 schrieb Ken Ray: >>> You can get the name of the user that is logged in by checking the environment variables $USERNAME (on Windows) and $USER (on Mac). As to the user's permission level, this is what I use (watch line wraps): >>> function stsIsAdminUser pName, pComputer >> what is "pComputer", resp. how do I get this value? > > Whoops! Sorry, you can pass the environment variable $COMPUTERNAME under Windows (it's not needed for Mac) ? I call the function like this on Windows: > put stsIsAdminUser($USERNAME,$COMPUTERNAME) into tResult Ah, OK, thanks! :-) > Ken Ray > Sons of Thunder Software, Inc. > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From pepetoo at cox.net Mon Mar 26 15:42:14 2012 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Mon, 26 Mar 2012 12:42:14 -0700 Subject: About item in Application Menu In-Reply-To: <424DB1DF-C975-4CBE-B641-A2F0CE97686E@major.on-rev.com> References: <003201cd08c8$5ba3df40$12eb9dc0$@de> <768A6E76-9C9D-4A45-B65A-45B5D366D94A@twft.com> <000901cd0b1b$1cb9e5e0$562db1a0$@de> <50DD0F7F-12F3-4C06-9A1A-B41F6B7F586E@sonsothunder.com> <424DB1DF-C975-4CBE-B641-A2F0CE97686E@major.on-rev.com> Message-ID: <477EF4B6-7992-4401-8201-8E631AE22728@cox.net> On my current application I'm building custom menus that appear on the cards so that I can make them larger and they'll appear the same on both the Mac and Windows versions; however, I haven't figured out how to set up the About item on the Application Menu. Any suggestions? TIA, Joe Wilkins From klaus at major.on-rev.com Mon Mar 26 15:42:54 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Mon, 26 Mar 2012 21:42:54 +0200 Subject: revsecurtity.dll In-Reply-To: References: <16963DE9-E787-495F-90D1-510E214761CD@sonsothunder.com> Message-ID: Hi Mike, Am 26.03.2012 um 21:35 schrieb Mike Bonner: > Could you stuff the dll into a property, then on run put place it in temp > folder and > > set the externals of stack "blah" to (a list of externals including path..) yes, I could and have done before :-) But THIS special DLL "revsecurtity.dll" is NOT and NEVER listed in any "externals of stack XYZ"! Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From monte at sweattechnologies.com Mon Mar 26 15:57:46 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 27 Mar 2012 06:57:46 +1100 Subject: revsecurtity.dll In-Reply-To: References: <16963DE9-E787-495F-90D1-510E214761CD@sonsothunder.com> Message-ID: Hi Klaus Here's an idea. Create a command line exe to do anything you need that dll for and write it and the dll to the temp dir on startup. Cheers -- Monte Goulding On 27/03/2012, at 6:42 AM, Klaus on-rev wrote: > Hi Mike, > > Am 26.03.2012 um 21:35 schrieb Mike Bonner: > >> Could you stuff the dll into a property, then on run put place it in temp >> folder and >> >> set the externals of stack "blah" to (a list of externals including path..) > > yes, I could and have done before :-) > > But THIS special DLL "revsecurtity.dll" is NOT and NEVER listed in any "externals of stack XYZ"! > > > Best > > Klaus > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Mon Mar 26 16:03:55 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 26 Mar 2012 14:03:55 -0600 Subject: revsecurtity.dll In-Reply-To: References: <16963DE9-E787-495F-90D1-510E214761CD@sonsothunder.com> Message-ID: Oh doh. I understand your query now. revpdfprinter is apparently in the same boat too. Montes idea sounds great, also had a thought. Since it looks for the dll next to the exe, sounds like if you can set the default folder early enough to point to a temp folder and copy the dll there before reaching the point of externals loading it just might find it. Not sure if this is even possible of course. go with the monte idea! On Mon, Mar 26, 2012 at 1:42 PM, Klaus on-rev wrote: > Hi Mike, > > Am 26.03.2012 um 21:35 schrieb Mike Bonner: > > > Could you stuff the dll into a property, then on run put place it in temp > > folder and > > > > set the externals of stack "blah" to (a list of externals including > path..) > > yes, I could and have done before :-) > > But THIS special DLL "revsecurtity.dll" is NOT and NEVER listed in any > "externals of stack XYZ"! > > > Best > > Klaus > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From klaus at major.on-rev.com Mon Mar 26 16:05:37 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Mon, 26 Mar 2012 22:05:37 +0200 Subject: revsecurtity.dll In-Reply-To: References: <16963DE9-E787-495F-90D1-510E214761CD@sonsothunder.com> Message-ID: <9FB94A7E-7711-4198-A3A5-29CB5F6FC5C8@major.on-rev.com> Hi Monte, Am 26.03.2012 um 21:57 schrieb Monte Goulding: > Hi Klaus > > Here's an idea. Create a command line exe to do anything you need that dll for and write it and the dll to the temp dir on startup. very funny, but that was not the question! :-) > Cheers Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From pete at mollysrevenge.com Mon Mar 26 16:05:35 2012 From: pete at mollysrevenge.com (Pete) Date: Mon, 26 Mar 2012 13:05:35 -0700 Subject: About item in Application Menu In-Reply-To: <477EF4B6-7992-4401-8201-8E631AE22728@cox.net> References: <003201cd08c8$5ba3df40$12eb9dc0$@de> <768A6E76-9C9D-4A45-B65A-45B5D366D94A@twft.com> <000901cd0b1b$1cb9e5e0$562db1a0$@de> <50DD0F7F-12F3-4C06-9A1A-B41F6B7F586E@sonsothunder.com> <424DB1DF-C975-4CBE-B641-A2F0CE97686E@major.on-rev.com> <477EF4B6-7992-4401-8201-8E631AE22728@cox.net> Message-ID: Hi Joe, I haven't made custom menus like this but LC's convention for regular menus is to treat the last line in your Help menu as the About item on the Mac Application menu. In other words, it will leave that item where it is on the Help menu for Widnows systems, but move it to the Apllication menu for OS X systems. Pete On Mon, Mar 26, 2012 at 12:42 PM, Joe Lewis Wilkins wrote: > On my current application I'm building custom menus that appear on the > cards so that I can make them larger and they'll appear the same on both > the Mac and Windows versions; however, I haven't figured out how to set up > the About item on the Application Menu. Any suggestions? > > TIA, > Joe Wilkins > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From jacque at hyperactivesw.com Mon Mar 26 16:08:58 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 26 Mar 2012 15:08:58 -0500 Subject: How to get the user or his rights? In-Reply-To: <50DD0F7F-12F3-4C06-9A1A-B41F6B7F586E@sonsothunder.com> References: <003201cd08c8$5ba3df40$12eb9dc0$@de> <768A6E76-9C9D-4A45-B65A-45B5D366D94A@twft.com> <000901cd0b1b$1cb9e5e0$562db1a0$@de> <50DD0F7F-12F3-4C06-9A1A-B41F6B7F586E@sonsothunder.com> Message-ID: <4F70CCDA.4030906@hyperactivesw.com> On 3/26/12 1:47 PM, Ken Ray wrote: > You can get the name of the user that is logged in by checking the > environment variables $USERNAME (on Windows) and $USER (on Mac). As > to the user's permission level, this is what I use Geez, is there *anything* you don't know? Quick: what rhymes with "orange"? (I'm saving your script for future reference, as always.) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From irog at mac.com Mon Mar 26 16:16:25 2012 From: irog at mac.com (Roger Guay) Date: Mon, 26 Mar 2012 14:16:25 -0600 Subject: ANN and OT: Calling All SETI Enthusiasts In-Reply-To: References: Message-ID: <7CAE9E3C-33B0-4513-BB63-0BDBE4B63FD9@mac.com> The original link is to a version 5.5. Can you use the legacy saved version available at?: https://idisk.mac.com/irog//Public/SETIproblemL.livecode Roger On Mar 26, 2012, at 2:03 PM, use-livecode-request at lists.runrev.com wrote: > Message: 7 > Date: Mon, 26 Mar 2012 11:01:28 -0700 > From: Pete > To: How to use LiveCode > Subject: Re: ANN and OT: Calling All SETI Enthusiasts > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > Roger, > I'd love to take a look at your stack but when I download it and open it in > Livecode, I get an error that it is not a stack. This is with Livecode > 5.0.2. > Pete From monte at sweattechnologies.com Mon Mar 26 16:17:23 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 27 Mar 2012 07:17:23 +1100 Subject: revsecurtity.dll In-Reply-To: <9FB94A7E-7711-4198-A3A5-29CB5F6FC5C8@major.on-rev.com> References: <16963DE9-E787-495F-90D1-510E214761CD@sonsothunder.com> <9FB94A7E-7711-4198-A3A5-29CB5F6FC5C8@major.on-rev.com> Message-ID: <6B1C0D17-2A23-4C3F-B06A-476D41D4EC99@sweattechnologies.com> >> Here's an idea. Create a command line exe to do anything you need that dll for and write it and the dll to the temp dir on startup. > > very funny, but that was not the question! :-) I'm not sure why it was funny. Wasn't meant to be. I thought you asked for possibilities for installing that dll temporarily or dynamically? Cheers Monte From m.schonewille at economy-x-talk.com Mon Mar 26 16:24:34 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 26 Mar 2012 22:24:34 +0200 Subject: revsecurtity.dll In-Reply-To: <6B1C0D17-2A23-4C3F-B06A-476D41D4EC99@sweattechnologies.com> References: <16963DE9-E787-495F-90D1-510E214761CD@sonsothunder.com> <9FB94A7E-7711-4198-A3A5-29CB5F6FC5C8@major.on-rev.com> <6B1C0D17-2A23-4C3F-B06A-476D41D4EC99@sweattechnologies.com> Message-ID: <0C9B4DEC-DDEC-4D78-83A5-6CA46FA35477@economy-x-talk.com> Monte, I thought it was supposed to be neither temporarily nor dynamically. I think Klaus should just try some of the options listed in this thread and let us know what doesn't 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 Get the extIco2Png external for LiveCode here http://qery.us/1w6 On 26 mrt 2012, at 22:17, Monte Goulding wrote: > > I'm not sure why it was funny. Wasn't meant to be. > > I thought you asked for possibilities for installing that dll temporarily or dynamically? > > Cheers > > Monte From barrysum at bigpond.net.au Mon Mar 26 16:25:27 2012 From: barrysum at bigpond.net.au (Barry G. Sumpter) Date: Tue, 27 Mar 2012 07:25:27 +1100 Subject: On SaveStack Solution for Save as Legacy LiveCode Stack 2.7? Message-ID: <002701cd0b8e$95055a70$bf100f50$@bigpond.net.au> Up a bit too late again last night n saved a LiveCode Server 5.0.2 stack as 5.5. I keep loosing my Preferences Preserve Stack ticked on. I'm sure its the sequence of events surrounding switching from 4.6.4 ide to the 5.5 ide. Is there a way to trap the On SaveStack subroutine on my LiveCode Sever 5.0.2 stack? To somehow change the Preferences Preserve Stack file tick to ON. Or perhaps check the tick and if its not on show a warnign and stop the save so I can tick on then save? tia From klaus at major.on-rev.com Mon Mar 26 16:26:43 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Mon, 26 Mar 2012 22:26:43 +0200 Subject: revsecurtity.dll In-Reply-To: <6B1C0D17-2A23-4C3F-B06A-476D41D4EC99@sweattechnologies.com> References: <16963DE9-E787-495F-90D1-510E214761CD@sonsothunder.com> <9FB94A7E-7711-4198-A3A5-29CB5F6FC5C8@major.on-rev.com> <6B1C0D17-2A23-4C3F-B06A-476D41D4EC99@sweattechnologies.com> Message-ID: <1161FA03-C664-4B97-8C97-F695D1F6094C@major.on-rev.com> Hi Monte, Am 26.03.2012 um 22:17 schrieb Monte Goulding: >>> Here's an idea. Create a command line exe to do anything you need that dll for and write it and the dll to the temp dir on startup. >> very funny, but that was not the question! :-) > I'm not sure why it was funny. Wasn't meant to be. sorry, my fault, I may have misunderstood you. :-) > I thought you asked for possibilities for installing that dll temporarily or dynamically? Yes, but I was hoping for a waaay easier solution ;-) > Cheers > > Monte Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From irog at mac.com Mon Mar 26 16:32:09 2012 From: irog at mac.com (Roger Guay) Date: Mon, 26 Mar 2012 14:32:09 -0600 Subject: ANN and OT: Calling All SETI Enthusiasts In-Reply-To: References: Message-ID: <8C5755AE-4765-4357-8C42-455009440F5F@mac.com> No flames, Bob. I wouldn't argue with any one of your points except to say that we do in fact have a SETI project looking for other civilizations, and it makes extremely numerous assumptions, as you say. But, the bottom line is that it's a numbers game based on the vast numbers of stars and scale of our galaxy. Better minds than mine have felt it worthwhile to look/listen for alien technologies that may be a very small subset of the spectrum you speak of. If we come to believe that this is a fool's errand which I gather is your position, then any technologies like ours will soon come to the same conclusion, thereby shortening the radio active phase of their technologies, and thus dramatically decreasing chance encounters of civilization as my simulation dramatizes! Thanks for your help! Cheers, Roger On Mar 26, 2012, at 2:03 PM, use-livecode-request at lists.runrev.com wrote: > Message: 12 > Date: Mon, 26 Mar 2012 11:28:29 -0700 > From: Bob Sneidar > To: How to use LiveCode > Subject: Re: ANN and OT: Calling All SETI Enthusiasts > Message-ID: <2B937175-9284-4C54-9232-AC35C1BDD8F6 at twft.com> > Content-Type: text/plain; charset=us-ascii > > The assumptions in discussions like these are extremely numerous, approaching the very number of stars themselves. Why for instance, should we suppose that any alien life form is similar to us? What if an intelligent life form was aquatic, and lived on a planet where the atmosphere was deadly to them? What possible motive could they have to develop radio technology in the first place, and who can assume that our radio technology would even work in their atmosphere? What if the magnetic flux field of their planet was so strong, or the chemical makeup so different that radio transmissions of our kind would never even penetrate it, never mind be something they would deploy? > > What if their great superior reasoning led them to conclude that the time, efforts and resources to even attempt to travel at or near light speeds, or else attempt to bend space-time was so vast, and the probability of failure to find a race like enough to themselves so great, and the time dilation that would occur so devastating to any hope of communicating or traveling back to where they came from, that it became a common child's joke amongst the great races of the universe without them even knowing it between them? So many "what if's", so little time-space. > > Our minds are so small that they cannot comprehend how many factors go into making our planet exactly the planet it is. There are so many balances, both terrestrial and extra-terrestrial, which if unbalanced by so much as 5% or less would render human life on this planet absolutely impossible. And we hope to find a planet so like ours, and then hope that life on that planet has evolved (the greatest begging of a question that ever there was) so like us as to allow any communication at all? This discussion can happen at all because of the human mind's inability to focus on and balance very many things at one time and measure a thesis against all other things that could weigh upon it. We simply do not possess the wisdom and mental faculty to treat such a subject. > > No, my friends, I think all conversation along these lines is so incredibly presumptuous, it is staggering when you really begin to think of everything we take as a given or gloss over when discussing such things. Sorry all you Star Trek fans, and anyone else I have likely offended. I love science fiction as much as the next person, but I think any race of beings wise enough to comprehend the real logistics of space travel or communication across such great distances would conclude right away that it was a total waste of their limited resources, better spent on improving their own state of affairs. > > (Let the flames begin!;-) > > Bob From irog at mac.com Mon Mar 26 16:35:32 2012 From: irog at mac.com (Roger Guay) Date: Mon, 26 Mar 2012 14:35:32 -0600 Subject: ANN and OT: Calling All SETI Enthusiasts In-Reply-To: References: Message-ID: <75A6D56F-5E8E-4828-97B1-7F1D716113DE@mac.com> I would love to get you started on the missing pieces of Drake's. But, perhaps off list?? Roger On Mar 26, 2012, at 2:03 PM, use-livecode-request at lists.runrev.com wrote: > Oh, and don't get me started on the missing pieces of Drake's. From monte at sweattechnologies.com Mon Mar 26 16:45:37 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 27 Mar 2012 07:45:37 +1100 Subject: revsecurtity.dll In-Reply-To: <1161FA03-C664-4B97-8C97-F695D1F6094C@major.on-rev.com> References: <16963DE9-E787-495F-90D1-510E214761CD@sonsothunder.com> <9FB94A7E-7711-4198-A3A5-29CB5F6FC5C8@major.on-rev.com> <6B1C0D17-2A23-4C3F-B06A-476D41D4EC99@sweattechnologies.com> <1161FA03-C664-4B97-8C97-F695D1F6094C@major.on-rev.com> Message-ID: > > Yes, but I was hoping for a waaay easier solution ;-) Maybe look for an alternative command line solution you can distribute with your app then. From pete at mollysrevenge.com Mon Mar 26 17:25:50 2012 From: pete at mollysrevenge.com (Pete) Date: Mon, 26 Mar 2012 14:25:50 -0700 Subject: ANN and OT: Calling All SETI Enthusiasts In-Reply-To: <7CAE9E3C-33B0-4513-BB63-0BDBE4B63FD9@mac.com> References: <7CAE9E3C-33B0-4513-BB63-0BDBE4B63FD9@mac.com> Message-ID: Yes, thanks Roger - I missed that in the thread before sending my email. On Mon, Mar 26, 2012 at 1:16 PM, Roger Guay wrote: > The original link is to a version 5.5. Can you use the legacy saved > version available at?: > > > https://idisk.mac.com/irog//Public/SETIproblemL.livecode > > Roger > > > On Mar 26, 2012, at 2:03 PM, use-livecode-request at lists.runrev.com wrote: > > > Message: 7 > > Date: Mon, 26 Mar 2012 11:01:28 -0700 > > From: Pete > > To: How to use LiveCode > > Subject: Re: ANN and OT: Calling All SETI Enthusiasts > > Message-ID: > > < > CABx6j9k4+d061uRjRJJgmpH_QXO2fYkABfAQQXB1rWGrsr+9LA at mail.gmail.com> > > Content-Type: text/plain; charset=ISO-8859-1 > > > > Roger, > > I'd love to take a look at your stack but when I download it and open it > in > > Livecode, I get an error that it is not a stack. This is with Livecode > > 5.0.2. > > Pete > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From pete at mollysrevenge.com Mon Mar 26 17:30:06 2012 From: pete at mollysrevenge.com (Pete) Date: Mon, 26 Mar 2012 14:30:06 -0700 Subject: ANN and OT: Calling All SETI Enthusiasts In-Reply-To: <2B937175-9284-4C54-9232-AC35C1BDD8F6@twft.com> References: <2B937175-9284-4C54-9232-AC35C1BDD8F6@twft.com> Message-ID: All I can say, Bob, is if the great thinkers, scientists, and philospohers of the years had that attitude, we'd still be living in caves. Pete On Mon, Mar 26, 2012 at 11:28 AM, Bob Sneidar wrote: > This discussion can happen at all because of the human mind's inability to > focus on and balance very many things at one time and measure a thesis > against all other things that could weigh upon it. We simply do not possess > the wisdom and mental faculty to treat such a subject. > > No, my friends, I think all conversation along these lines is so > incredibly presumptuous, it is staggering when you really begin to think of > everything we take as a given or gloss over when discussing such things. > Sorry all you Star Trek fans, and anyone else I have likely offended. I > love science fiction as much as the next person, but I think any race of > beings wise enough to comprehend the real logistics of space travel or > communication across such great distances would conclude right away that it > was a total waste of their limited resources, better spent on improving > their own state of affairs. > -- Pete Molly's Revenge From cmsheffield at me.com Mon Mar 26 17:35:45 2012 From: cmsheffield at me.com (Chris Sheffield) Date: Mon, 26 Mar 2012 15:35:45 -0600 Subject: iOS: activity indicator usage Message-ID: <6AA63A10-38BA-4C88-8B8F-FF363BA56C8D@me.com> I'm trying to display an activity indicator in my iOS iPad app, but it doesn't seem to be working. I do have the screen locked. Does that prevent the indicator from appearing? Seems like to me it shouldn't, but want to make sure. If so, I guess I'll have to figure out some other way to make it work. Also, totally different topic.. For anyone on the dev list, is it down right now? I haven't seen any new messages since this morning, and a couple messages I've sent haven't gone through. Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com From jacque at hyperactivesw.com Mon Mar 26 17:40:41 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 26 Mar 2012 16:40:41 -0500 Subject: On SaveStack Solution for Save as Legacy LiveCode Stack 2.7? In-Reply-To: <002701cd0b8e$95055a70$bf100f50$@bigpond.net.au> References: <002701cd0b8e$95055a70$bf100f50$@bigpond.net.au> Message-ID: <4F70E259.3030900@hyperactivesw.com> On 3/26/12 3:25 PM, Barry G. Sumpter wrote: > Up a bit too late again last night n saved a LiveCode Server 5.0.2 stack as > 5.5. > > I keep loosing my Preferences Preserve Stack ticked on. > I'm sure its the sequence of events surrounding switching from 4.6.4 ide to > the 5.5 ide. The first thing to try is to trash your prefs file and let LiveCode make a new one. That usually solves things. You'll have to reset any prefs you'd previously changed. If you can't find the prefs file, let us know what OS you're running and someone can give you a path. I've forgotten the Windows one but on Mac it's in the user library's prefs folder. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kray at sonsothunder.com Mon Mar 26 17:42:36 2012 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 26 Mar 2012 16:42:36 -0500 Subject: How to get the user or his rights? In-Reply-To: <4F70CCDA.4030906@hyperactivesw.com> References: <003201cd08c8$5ba3df40$12eb9dc0$@de> <768A6E76-9C9D-4A45-B65A-45B5D366D94A@twft.com> <000901cd0b1b$1cb9e5e0$562db1a0$@de> <50DD0F7F-12F3-4C06-9A1A-B41F6B7F586E@sonsothunder.com> <4F70CCDA.4030906@hyperactivesw.com> Message-ID: <1CA38952-912A-4C6E-8703-97A317BC926A@sonsothunder.com> > Geez, is there *anything* you don't know? Quick: what rhymes with "orange"? "Sporange" :D Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From jacque at hyperactivesw.com Mon Mar 26 17:56:23 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 26 Mar 2012 16:56:23 -0500 Subject: iOS: activity indicator usage In-Reply-To: <6AA63A10-38BA-4C88-8B8F-FF363BA56C8D@me.com> References: <6AA63A10-38BA-4C88-8B8F-FF363BA56C8D@me.com> Message-ID: <4F70E607.60601@hyperactivesw.com> On 3/26/12 4:35 PM, Chris Sheffield wrote: > Also, totally different topic.. For anyone on the dev list, is it > down right now? I haven't seen any new messages since this morning, > and a couple messages I've sent haven't gone through. I don't know about your first question, but a new message just came through the dev list about 5 mins ago. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Mon Mar 26 18:13:08 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 26 Mar 2012 15:13:08 -0700 Subject: ANN and OT: Calling All SETI Enthusiasts In-Reply-To: References: <2B937175-9284-4C54-9232-AC35C1BDD8F6@twft.com> Message-ID: <24A3F046-D610-447B-B278-8733BE951537@twft.com> The leap from cave to field is not even comparable to the leap from terrestrial to extra-terrestrial. You can always get back to the cave from the field in time for supper. :-) Bob On Mar 26, 2012, at 2:30 PM, Pete wrote: > All I can say, Bob, is if the great thinkers, scientists, and philospohers > of the years had that attitude, we'd still be living in caves. > Pete > > On Mon, Mar 26, 2012 at 11:28 AM, Bob Sneidar wrote: > >> This discussion can happen at all because of the human mind's inability to >> focus on and balance very many things at one time and measure a thesis >> against all other things that could weigh upon it. We simply do not possess >> the wisdom and mental faculty to treat such a subject. >> >> No, my friends, I think all conversation along these lines is so >> incredibly presumptuous, it is staggering when you really begin to think of >> everything we take as a given or gloss over when discussing such things. >> Sorry all you Star Trek fans, and anyone else I have likely offended. I >> love science fiction as much as the next person, but I think any race of >> beings wise enough to comprehend the real logistics of space travel or >> communication across such great distances would conclude right away that it >> was a total waste of their limited resources, better spent on improving >> their own state of affairs. >> > > > > -- > Pete > Molly's Revenge > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jhurley0305 at sbcglobal.net Mon Mar 26 18:15:37 2012 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Mon, 26 Mar 2012 15:15:37 -0700 Subject: Collisions In-Reply-To: References: Message-ID: Richard, That 9 ball stack is a bit wonkish. I have extracted from that stack the basic elements that illustrate the collision process. It can be found in: go url "http://jamesphurley.com/jhurleyFolder/TwoBallCollisions.livecode" It illustrates the physics of the ideal collision. The momenta along the line of the collision (the line joining the two centers of the balls) is exchanged in the collision, while the momenta (velocities) perpendicular to this line are unaffected in the collission. That is the very definition of an ideal elastic impact. But you needn't worry about all that, just use the "newVel" function to generate the after collision velocities given the before collision velocities. Jim > > Message: 10 > Date: Sun, 25 Mar 2012 15:23:13 -0400 > From: Richard MacLemale > To: How to use LiveCode > Subject: Re: Collisions > Message-ID: <6B8C015F-1509-451A-ADF0-FB934C89D4C8 at richardmac.com> > Content-Type: text/plain; charset=us-ascii > > Jim, > > Thanks for taking the time to respond with such great explanations! Of course, since I spent most of my time in high school math staring at a girl named Lisa, it's a bit challenging for me. I downloaded the 9 ball example and plan on spending a lot of time learning how it works. Thanks for sharing your knowledge - I really appreciate it. > > --- > Richard MacLemale > Music = http://www.richardmac.com > Programming = http://www.macandchee.se > From johnpatten at mac.com Mon Mar 26 18:16:20 2012 From: johnpatten at mac.com (John Patten) Date: Mon, 26 Mar 2012 15:16:20 -0700 Subject: How to upload iOS camera image to server? Message-ID: <758A125C-64C3-4217-8094-2B3469951285@mac.com> Hi All... I have a little project where I'd like the iOS app to load an image taken via the camera to a directory on my on-rev account. I'm making the name of each image unique so there is no danger of overwriting an existing image. What is the best way to go about doing this? I've looked at the list and have seen some discussion regarding using liburlmultiformdata but that does not appear to be iOS compatible. I saw the ftp command is compatible with iOS, however then I'd have to supply a username and password in the open, and I believe there is a certain amount of risk doing it that way. In addition, I'm going to be inserting a record in a mysql database with some text information via the iOS app, such as the name of the image, date, etc. Then just referencing the uploaded image from the directory where I store them when I report out the results using a query. What would be the cleanest, least risky manner of uploading a iOS camera image to a directory in on-rev? Thank you! John Patten SUSD From mikekann at yahoo.com Mon Mar 26 18:18:17 2012 From: mikekann at yahoo.com (Michael Kann) Date: Mon, 26 Mar 2012 15:18:17 -0700 (PDT) Subject: ANN and OT: Calling All SETI Enthusiasts In-Reply-To: Message-ID: <1332800297.57814.YahooMailClassic@web161601.mail.bf1.yahoo.com> ?Sometimes I think we're alone. Sometimes I think we're not. In either case, the thought is quite staggering? ?? Buckminster Fuller From terry.judd at unimelb.edu.au Mon Mar 26 18:55:05 2012 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Mon, 26 Mar 2012 22:55:05 +0000 Subject: revsecurtity.dll In-Reply-To: References: <16963DE9-E787-495F-90D1-510E214761CD@sonsothunder.com> <9FB94A7E-7711-4198-A3A5-29CB5F6FC5C8@major.on-rev.com> <6B1C0D17-2A23-4C3F-B06A-476D41D4EC99@sweattechnologies.com> <1161FA03-C664-4B97-8C97-F695D1F6094C@major.on-rev.com> Message-ID: <9ADAC399-BADB-4B1F-AC8A-E4E5F0EAFD94@unimelb.edu.au> Hi Klaus, Again, this might not be the solution you're looking for, but you could hide the dll. We use this approach on cross-platform USB drives we give to all our students. Both the revsecurity.dll and revpdfprinter.dll get hidden along with a bunch of folders we don't want the students poking around in. On Windows we hide the necessary files/folders by setting their system and hidden flags like this (assuming thePaths contains a cr delimited list of valid file/folder paths )... set the hideconsolewindows to true put empty into tErrors repeat for each line tPath in thePaths put theFolder&tPath into tPath if last char of tPath = slash then delete last char of tPath end if replace "/" with "\" in tPath put "attrib +s +h ""e&tPath"e into tScript get shell(tScript) if it is not empty then put it &cr after tErrors end if end repeat return tErrors ...now of course the file will still be visible if the end user has hidden system files set to be visible but in our experience this is rarely the case (some users choose to show hidden files but very few show hidden system files). If you can't hide the file beforehand then you can easily run the above routine the first time the application is run - at least that way it's only visible briefly. Terry... On 27/03/2012, at 07:45 AM, Monte Goulding wrote: > > >> >> Yes, but I was hoping for a waaay easier solution ;-) > > Maybe look for an alternative command line solution you can distribute with your app then. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From cszasz at mac.com Mon Mar 26 22:21:25 2012 From: cszasz at mac.com (Charles Szasz) Date: Mon, 26 Mar 2012 22:21:25 -0400 Subject: CalendarWidget Message-ID: on mouseUp if dialogdata is not empty then put item 2 of dialogdata into t put "/" after t put item 3 of dialogdata after t put "/" after t put item 1 of dialogdata into s delete character 1 to 2 of s put s after t put t into field "date1" of stack "My app" else put the uMonth of group "calendarWidget" of card id 1002 into t put "/" after t put the uMonth of group "calendarWidget" of card id 1002 after t put "/" after t put the uYear of group "calendarWidget" of card id 1002 into s delete character 1 to 2 of s put s after t put t into field "date1" of stack "My app" end if close this stack end mouseUp What changes do I need to make so calendarWidget 101 can insert dates in other fields? Charles Szasz cszasz at mac.com From jperryl at ecs.fullerton.edu Tue Mar 27 00:00:57 2012 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 26 Mar 2012 21:00:57 -0700 (PDT) Subject: LiveCode Player for 5.5 In-Reply-To: <263E07BD-E6ED-4E03-BAE6-30DEB47F663F@LinkIt.Com> References: <5A25FEED-1153-43BD-84F6-F107DAB9382E@LinkIt.Com> <12DA7B06-9014-4AFD-8665-52E0B889ED35@economy-x-talk.com> <593EC738-3401-4864-83A7-C4DE841132BC@major.on-rev.com> <4366CDDA-FA69-4F50-89B1-0FFED406838F@LinkIt.Com> <8EA69F12-15D5-43EF-91B9-0871D76D3BC9@LinkIt.Com> <95C3CF68-9060-4A24-8C25-8EC64428EFCC@clarkeandclarke.co.uk> <413019EB-B1C8-4837-B129-D53F4BC840F2@twft.com> <263E07BD-E6ED-4E03-BAE6-30DEB47F663F@LinkIt.Com> Message-ID: Sigh. It's unfortunately gotten to the point that every time some new gizmo is added to the "suite" my first thought is reluctance to even look at it, wondering 'how long will this be supported?' On-Rev? When will that stop being supported? As long as DreamCard? RevMedia? the web plugin? All of the third-party editors and stop-gap work-arounds and layers of complexity added to using Rev, er, LC? Wonky/awkward non-xtalk-like syntax? Commands that have never worked? My kids will be 11 tomorrow. Here's an example of the exciting new world of online learning that they use: http://www.zingylearning.com/demo1.htm Here's the code for the page: ZINGY LEARNING
 
   
Metric System Demo
(Double-click on highlighted button to proceed)
 
--© 2011 Zingy Learning. All rights reserved. Anybody still reading wondering why there's a lot of crap in online learning? How much better this could have been as a revlet? But won't be because nobody is going to commit public funds or even private time to doing the same curricular standards correspondence for a technology that, come rollout time, you come to find out had been abandoned by the company years earlier without telling you. WHY do we keep doing this? Because Edu can't pay for what it wants? This is part of the reason why. Judy On Thu, 22 Mar 2012, Ray Horsley wrote: > I'm in the K-12 education field. Teachers are quickly moving away from downloading anything and their IT guys are even worse, sometimes setting up systems which disallow downloading a desktop app. I hadn't looked at building for Web in a while but this is very discouraging to find it's gone. I had hoped it had been cleaned up since I last worked with it, not abandoned. From toolbook at kestner.de Tue Mar 27 02:43:22 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 27 Mar 2012 08:43:22 +0200 Subject: AW: How to get the user or his rights? In-Reply-To: <50DD0F7F-12F3-4C06-9A1A-B41F6B7F586E@sonsothunder.com> References: <003201cd08c8$5ba3df40$12eb9dc0$@de> <768A6E76-9C9D-4A45-B65A-45B5D366D94A@twft.com> <000901cd0b1b$1cb9e5e0$562db1a0$@de> <50DD0F7F-12F3-4C06-9A1A-B41F6B7F586E@sonsothunder.com> Message-ID: <000201cd0be4$e7e50f50$b7af2df0$@de> Great function Ken, thank you for sharing! Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Ken Ray > Gesendet: Montag, 26. M?rz 2012 20:47 > An: How to use LiveCode > Betreff: Re: How to get the user or his rights? > > > On Mar 26, 2012, at 1:38 AM, Tiemo Hollmann TB wrote: > > > Hi Bob, > > thanks for your hints. > > For windows standalones you can set the UAC Execution Level to > > "require Admin". So LC knows, who's logged in. I wonder, if we can > > retrieve this information from LC? > > You can get the name of the user that is logged in by checking the > environment variables $USERNAME (on Windows) and $USER (on Mac). As to the > user's permission level, this is what I use (watch line wraps): > > > function stsIsAdminUser pName, pComputer > put stsAdminUserList(pComputer) into tList > return (pName is among the lines of tList) end stsIsAdminUser > > function stsAdminUserList pOpt_ComputerName > switch (the platform) > case "MacOS" > put shell("dscl . read /groups/admin") into tData > filter tData with "GroupMembership:*" > put line 1 of tData into tList -- strip other lines if there are any > delete word 1 of tList > replace space with CR in tList > break > case "Win32" > put "Set objGroup = GetObject(" & q("WinNT://" & pOpt_ComputerName & > "/administrators,group") & ")" & cr & \ > "For Each objMember in objGroup.Members" & cr & \ > "If tAdminList =" && quote & quote && "Then" & cr & \ > "tAdminList = objMember.name" & cr & "Else" & cr & \ > "tAdminList = tAdminList + vbCrLf + objMember.name" & cr & \ > "End If" & cr & \ > "Next" & cr & \ > "result = tAdminList" into tScript > > do script tScript as "VBScript" > put the result into tList > break > end switch > return tList > end stsAdminUserList > > Hope this helps, > > Ken Ray > Sons of Thunder Software, Inc. > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From palcibiades-first at yahoo.co.uk Tue Mar 27 03:07:22 2012 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Tue, 27 Mar 2012 00:07:22 -0700 (PDT) Subject: [OT] A couple of links about Gnome and usability In-Reply-To: References: <201203230837.59039.palcibiades-first@yahoo.co.uk> <4F6CC2CF.1030200@gmail.com> <1332618567450-4502006.post@n4.nabble.com> <4F6E4706.2020301@fourthworld.com> <4F6E589F.3080203@warrensweb.us> Message-ID: <1332832042982-4508078.post@n4.nabble.com> What to go for? I would agree with Richmond that xfce is the current desktop of choice. My own distro of choice is Debian, but if this is your first shot at Linux I would go with PCLinuxOS, XFCE Edition. I would also agree with Richmond to install on a separate hard drive. Its cheap and its foolproof. Installing PCL in this way will be no harder than installing a big application. The PCL magazine is great, its a really friendly user group. It updates fairly slowly. It has a very nice control panel system where you do everything through GUI, which derives ultimately from Mandriva. If you get serious about Linux you will end up with Debian in the end. But in the meantime, PCL will do the job very well for you. Get it here: http://www.pclinuxos.com/?page_id=10 You will have to install OpenOffoce or LibreOffice yourself, but they make that very easy too, providing a direct link to it. Basically all you have to do is insert your hardware, then boot from the CD, and choose 'install'. Point it to the blank hard drive and have coffee. Debian will still be there when you get around to wanting it. Peter -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-A-couple-of-links-about-Gnome-and-usability-tp4498147p4508078.html Sent from the Revolution - User mailing list archive at Nabble.com. From ray at linkit.com Tue Mar 27 06:15:08 2012 From: ray at linkit.com (Ray Horsley) Date: Tue, 27 Mar 2012 05:15:08 -0500 Subject: LiveCode Player for 5.5 In-Reply-To: References: <5A25FEED-1153-43BD-84F6-F107DAB9382E@LinkIt.Com> <12DA7B06-9014-4AFD-8665-52E0B889ED35@economy-x-talk.com> <593EC738-3401-4864-83A7-C4DE841132BC@major.on-rev.com> <4366CDDA-FA69-4F50-89B1-0FFED406838F@LinkIt.Com> <8EA69F12-15D5-43EF-91B9-0871D76D3BC9@LinkIt.Com> <95C3CF68-9060-4A24-8C25-8EC64428EFCC@clarkeandclarke.co.uk> <413019EB-B1C8-4837-B129-D53F4BC840F2@twft.com> <263E07BD-E6ED-4E03-BAE6-30DEB47F663F@LinkIt.Com> Message-ID: Very interesting Judy and thanks for sharing this perspective. I've gone back to 5.0.2 and even there I find I'm unable to build standalones for Web on my Mac. At least the Windows version builds them correctly. I've followed this thread closely regarding the broken player in 5.5. Regardless as to whether users find it something which should be continued or something which should die it's wrong for the company to put 5.5 out there without letting the user base know the ability to build for Web is broken. It's a major piece of Livecode in my opinion since Web is where it's at and build is what we do. Rev's failure to inform us is especially inconsiderate in light of the fact that stacks saved in 5.5 can no longer be opened in previous versions. This makes going back to 5.0.2 or earlier time consuming. I was relieved when Benjamin Beaumont reported that "they would investigate" this issue on Friday of last week. Ben, we're looking forward to hearing from you. Ray Horsley LinkIt! Software On Mar 26, 2012, at 11:00 PM, Judy Perry wrote: > Sigh. > > It's unfortunately gotten to the point that every time some new gizmo is added to the "suite" my first thought is reluctance to even look at it, wondering 'how long will this be supported?' On-Rev? When will that stop being supported? As long as DreamCard? RevMedia? the web plugin? All of the third-party editors and stop-gap work-arounds and layers of complexity added to using Rev, er, LC? Wonky/awkward non-xtalk-like syntax? Commands that have never worked? > > My kids will be 11 tomorrow. Here's an example of the exciting new world of online learning that they use: > > http://www.zingylearning.com/demo1.htm > > Here's the code for the page: > > > > > > > > ZINGY LEARNING > > > > > > > > > > > > > > > > > > > > > >
 
> > > > > > > > > > > > > > >
  
> > > > > > > >
Metric > System Demo
>
(Double-click > on highlighted button to proceed)
>
> >
> > > > > > > > >
> >
> > > > > > > > > >
> > > > > > > > > > >
 
> > > > > > > > > > --© 2011 Zingy Learning. All > rights reserved. > > > > > Anybody still reading wondering why there's a lot of crap in online learning? How much better this could have been as a revlet? But won't be because nobody is going to commit public funds or even private time to doing the same curricular standards correspondence for a technology that, come rollout time, you come to find out had been abandoned by the company years earlier without telling you. > > WHY do we keep doing this? Because Edu can't pay for what it wants? This is part of the reason why. > > Judy > > On Thu, 22 Mar 2012, Ray Horsley wrote: > >> I'm in the K-12 education field. Teachers are quickly moving away from downloading anything and their IT guys are even worse, sometimes setting up systems which disallow downloading a desktop app. I hadn't looked at building for Web in a while but this is very discouraging to find it's gone. I had hoped it had been cleaned up since I last worked with it, not abandoned. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From keith at gulfbreezeortholab.com Tue Mar 27 05:21:30 2012 From: keith at gulfbreezeortholab.com (Keith (Gulf Breeze Ortho Lab)) Date: Tue, 27 Mar 2012 04:21:30 -0500 Subject: LiveCode Player for 5.5 In-Reply-To: References: <5A25FEED-1153-43BD-84F6-F107DAB9382E@LinkIt.Com><12DA7B06-9014-4AFD-8665-52E0B889ED35@economy-x-talk.com><593EC738-3401-4864-83A7-C4DE841132BC@major.on-rev.com><4366CDDA-FA69-4F50-89B1-0FFED406838F@LinkIt.Com><8EA69F12-15D5-43EF-91B9-0871D76D3BC9@LinkIt.Com><95C3CF68-9060-4A24-8C25-8EC64428EFCC@clarkeandclarke.co.uk><413019EB-B1C8-4837-B129-D53F4BC840F2@twft.com><263E07BD-E6ED-4E03-BAE6-30DEB47F663F@LinkIt.Com> Message-ID: Have to say I agree with this 100%! Cheers from Florida, -- Boo -----Original Message----- From: Ray Horsley Sent: Tuesday, March 27, 2012 5:15 AM To: How to use LiveCode Subject: Re: LiveCode Player for 5.5 Very interesting Judy and thanks for sharing this perspective. I've gone back to 5.0.2 and even there I find I'm unable to build standalones for Web on my Mac. At least the Windows version builds them correctly. I've followed this thread closely regarding the broken player in 5.5. Regardless as to whether users find it something which should be continued or something which should die it's wrong for the company to put 5.5 out there without letting the user base know the ability to build for Web is broken. It's a major piece of Livecode in my opinion since Web is where it's at and build is what we do. Rev's failure to inform us is especially inconsiderate in light of the fact that stacks saved in 5.5 can no longer be opened in previous versions. This makes going back to 5.0.2 or earlier time consuming. I was relieved when Benjamin Beaumont reported that "they would investigate" this issue on Friday of last week. Ben, we're looking forward to hearing from you. Ray Horsley LinkIt! Software On Mar 26, 2012, at 11:00 PM, Judy Perry wrote: > Sigh. > > It's unfortunately gotten to the point that every time some new gizmo is > added to the "suite" my first thought is reluctance to even look at it, > wondering 'how long will this be supported?' On-Rev? When will that stop > being supported? As long as DreamCard? RevMedia? the web plugin? All > of the third-party editors and stop-gap work-arounds and layers of > complexity added to using Rev, er, LC? Wonky/awkward non-xtalk-like > syntax? Commands that have never worked? > > My kids will be 11 tomorrow. Here's an example of the exciting new world > of online learning that they use: > > http://www.zingylearning.com/demo1.htm > > Here's the code for the page: > > > > > > > > ZINGY LEARNING > > > > > > > > > > > > onLoad="MM_preloadImages('../../../images/home_ov.jpg','../../../images/about_ov.jpg','../../../images/demo_ov.jpg','../../../images/product_ov.jpg','../../../images/purchase_ov.jpg','../../../images/faq_ove.jpg','../../../images/links_ov.jpg','../../../images/contact_ov.jpg')"> > > > > > > > > > >
 
> > > > > > > > > > > > > > >
  onMouseOut="MM_swapImgRestore()" > onMouseOver="MM_swapImage('Image3','','../../../images/home_ov.jpg',1)"> src="../../../images/home.jpg" name="Image3" width="107" height="24" > border="0"> onMouseOut="MM_swapImgRestore()" > onMouseOver="MM_swapImage('Image4','','../../../images/about_ov.jpg',1)"> src="../../../images/about.jpg" name="Image4" width="107" height="24" > border="0"> onMouseOut="MM_swapImgRestore()" > onMouseOver="MM_swapImage('Image5','','../../../images/demo_ov.jpg',1)"> src="../../../images/demo.jpg" name="Image5" width="107" height="24" > border="0"> onMouseOut="MM_swapImgRestore()" > onMouseOver="MM_swapImage('Image6','','../../../images/product_ov.jpg',1)"> src="../../../images/product.jpg" name="Image6" width="107" height="24" > border="0"> onMouseOut="MM_swapImgRestore()" > onMouseOver="MM_swapImage('Image7','','../../../images/purchase_ov.jpg',1)"> src="../../../images/purchase.jpg" name="Image7" width="107" height="24" > border="0"> onMouseOut="MM_swapImgRestore()" > onMouseOver="MM_swapImage('Image8','','../../../images/faq_ove.jpg',1)"> src="../../../images/faq.jpg" name="Image8" width="107" height="24" > border="0"> onMouseOut="MM_swapImgRestore()" > onMouseOver="MM_swapImage('Image9','','../../../images/links_ov.jpg',1)"> src="../../../images/links1.jpg" name="Image9" width="107" height="24" > border="0"> onMouseOut="MM_swapImgRestore()" > onMouseOver="MM_swapImage('Image91','','../../../images/contact_ov.jpg',1)"> src="../../../images/contact.jpg" name="Image91" width="107" height="24" > border="0" id="Image91"> 
> > > > > > > >
Metric > System Demo
>
size="1">(Double-click > on highlighted button to > proceed)
>
> >
> > > > > > > > >
> >
> > codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" > width="550" height="400"> > > > > > > pluginspage="http://www.macromedia.com/go/getflashplayer" > type="application/x-shockwave-flash" width="550" > height="400"> > >
> > > > > > > > > > >
 
align="center">
> > > > > > > > > > --© 2011 Zingy Learning. > All > rights reserved. > > > > > Anybody still reading wondering why there's a lot of crap in online > learning? How much better this could have been as a revlet? But won't be > because nobody is going to commit public funds or even private time to > doing the same curricular standards correspondence for a technology that, > come rollout time, you come to find out had been abandoned by the company > years earlier without telling you. > > WHY do we keep doing this? Because Edu can't pay for what it wants? This > is part of the reason why. > > Judy > > On Thu, 22 Mar 2012, Ray Horsley wrote: > >> I'm in the K-12 education field. Teachers are quickly moving away from >> downloading anything and their IT guys are even worse, sometimes setting >> up systems which disallow downloading a desktop app. I hadn't looked at >> building for Web in a while but this is very discouraging to find it's >> gone. I had hoped it had been cleaned up since I last worked with it, >> not abandoned. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From richard at richardmac.com Tue Mar 27 06:45:22 2012 From: richard at richardmac.com (Richard MacLemale) Date: Tue, 27 Mar 2012 06:45:22 -0400 Subject: LiveCode Player for 5.5 In-Reply-To: References: <5A25FEED-1153-43BD-84F6-F107DAB9382E@LinkIt.Com><12DA7B06-9014-4AFD-8665-52E0B889ED35@economy-x-talk.com><593EC738-3401-4864-83A7-C4DE841132BC@major.on-rev.com><4366CDDA-FA69-4F50-89B1-0FFED406838F@LinkIt.Com><8EA69F12-15D5-43EF-91B9-0871D76D3BC9@LinkIt.Com><95C3CF68-9060-4A24-8C25-8EC64428EFCC@clarkeandclarke.co.uk><413019EB-B1C8-4837-B129-D53F4BC840F2@twft.com><263E07BD-E6ED-4E03-BAE6-30DEB47F663F@LinkIt.Com> Message-ID: <0D5120C3-9E06-4AA1-AF2F-7888293259D7@richardmac.com> I work at the District level of a large K-12 county public school system (Pasco, in Florida.) My job is to train/support all of the school level tech specialists. I have a different perspective on this, I think. It is pretty rare for one of our schools to "buy software" for the computer. 90% of our computer use is either word processing/PowerPointless, or web use. We used to buy a lot of software, but most of that has been replaced by free web sites, honestly. Money that used to go toward computer software now goes toward iPad software. The iPad is going to grow very very quickly in ed tech - it is definitely the place to be right now. Here's the reality out in the field, regarding web plugins. If a teacher wanted a web plugin on all the lab computers so they could go to one website and do one thing, some of our techs would do that for them, and some would not. I don't like it, but the techs don't report to us - we can't hire/fire them. But if the state required a plugin for state-level testing, all of our techs would do it. But in general it's probably been a long time since any of our techs actually installed a plugin for web browsers. There are two big trends right now - moving from Flash to HTML5, and moving to the iPad. A web site that required a plugin would also create a situation at home for the students, if the site was available for home use. The student would have to install the plugin, or the parents would. As funny as this may sound, there are people who may not know how. This is one reason why the iPad is so popular - you just USE the thing, you don't have to turn around and install plugins and crap like that. It's one reason they're selling millions of them. Freaking Windows tells you that it's not secure on first boot. People are sick of that crap. There are a lot of people out there, many of whom are responsible for keeping computers running, who don't want to install plugins. Despite all of that, I'm not thrilled that this is apparently going away, because I believe more choices are better than fewer choices. --- Richard MacLemale Music = http://www.richardmac.com Programming = http://www.macandchee.se From mickclns at mac.com Tue Mar 27 07:38:01 2012 From: mickclns at mac.com (Mick Collins) Date: Tue, 27 Mar 2012 11:38:01 +0000 (GMT) Subject: ANN and OT: Calling All SETI Enthusiasts In-Reply-To: Message-ID: <8c44ac13-5010-ce65-fdf0-a9f940342760@me.com> Talking about presumptuous, Bob, well here's a good quotation to keep in mind. If we all worked on the assumption that what is accepted as true is really true, there would be little hope of advance. ??-- ?Orville Wright > Message: 12 > Date: Mon, 26 Mar 2012 11:28:29 -0700 > From: Bob Sneidar > To: How to use LiveCode > Subject: Re: ANN and OT: Calling All SETI Enthusiasts > Message-ID: <2B937175-9284-4C54-9232-AC35C1BDD8F6 at twft.com> > Content-Type: text/plain; charset=us-ascii > > The assumptions in discussions like these are extremely numerous, approaching the very number of stars themselves. Why for instance, should we suppose that any alien life form is similar to us? What if an intelligent life form was aquatic, and lived on a planet where the atmosphere was deadly to them? What possible motive could they have to develop radio technology in the first place, and who can assume that our radio technology would even work in their atmosphere? What if the magnetic flux field of their planet was so strong, or the chemical makeup so different that radio transmissions of our kind would never even penetrate it, never mind be something they would deploy? > > What if their great superior reasoning led them to conclude that the time, efforts and resources to even attempt to travel at or near light speeds, or else attempt to bend space-time was so vast, and the probability of failure to find a race like enough to themselves so great, and the time dilation that would occur so devastating to any hope of communicating or traveling back to where they came from, that it became a common child's joke amongst the great races of the universe without them even knowing it between them? So many "what if's", so little time-space. > > Our minds are so small that they cannot comprehend how many factors go into making our planet exactly the planet it is. There are so many balances, both terrestrial and extra-terrestrial, which if unbalanced by so much as 5% or less would render human life on this planet absolutely impossible. And we hope to find a planet so like ours, and then hope that life on that planet has evolved (the greatest begging of a question that ever there was) so like us as to allow any communication at all? This discussion can happen at all because of the human mind's inability to focus on and balance very many things at one time and measure a thesis against all other things that could weigh upon it. We simply do not possess the wisdom and mental faculty to treat such a subject. > > No, my friends, I think all conversation along these lines is so incredibly presumptuous, it is staggering when you really begin to think of everything we take as a given or gloss over when discussing such things. Sorry all you Star Trek fans, and anyone else I have likely offended. I love science fiction as much as the next person, but I think any race of beings wise enough to comprehend the real logistics of space travel or communication across such great distances would conclude right away that it was a total waste of their limited resources, better spent on improving their own state of affairs. > > (Let the flames begin!;-) > > Bob From klaus at major.on-rev.com Tue Mar 27 08:34:17 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Tue, 27 Mar 2012 14:34:17 +0200 Subject: revsecurtity.dll In-Reply-To: <9ADAC399-BADB-4B1F-AC8A-E4E5F0EAFD94@unimelb.edu.au> References: <16963DE9-E787-495F-90D1-510E214761CD@sonsothunder.com> <9FB94A7E-7711-4198-A3A5-29CB5F6FC5C8@major.on-rev.com> <6B1C0D17-2A23-4C3F-B06A-476D41D4EC99@sweattechnologies.com> <1161FA03-C664-4B97-8C97-F695D1F6094C@major.on-rev.com> <9ADAC399-BADB-4B1F-AC8A-E4E5F0EAFD94@unimelb.edu.au> Message-ID: <114A034A-CF23-463A-8DD6-78A60592153F@major.on-rev.com> Hi all, Am 27.03.2012 um 00:55 schrieb Terry Judd: > Hi Klaus, > > Again, this might not be the solution you're looking for, but you could hide the dll. We use this approach on cross-platform USB drives we give to all our students. Both the revsecurity.dll and revpdfprinter.dll get hidden along ... > If you can't hide the file beforehand then you can easily run the above routine the first time the application is run - at least that way it's only visible briefly. > > Terry... > > On 27/03/2012, at 07:45 AM, Monte Goulding wrote: > >>> Yes, but I was hoping for a waaay easier solution ;-) >> Maybe look for an alternative command line solution you can distribute with your app then. thanks to all for the great suggestions, but my problem is this: 1. I do not have the time to test all the proposed solutions. The project is already overdue! 2. This is a Windows installer (EXE) that I wanted to let the user download as a SINGLE file and not as a ZIP file (with the DLL and the EXE), that we use now due to the lack of time. 3. So setting the VISIBLE atrrib is not possible this way. Again, thanks a lot! Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From m.schonewille at economy-x-talk.com Tue Mar 27 08:39:30 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 27 Mar 2012 14:39:30 +0200 Subject: revsecurtity.dll In-Reply-To: <114A034A-CF23-463A-8DD6-78A60592153F@major.on-rev.com> References: <16963DE9-E787-495F-90D1-510E214761CD@sonsothunder.com> <9FB94A7E-7711-4198-A3A5-29CB5F6FC5C8@major.on-rev.com> <6B1C0D17-2A23-4C3F-B06A-476D41D4EC99@sweattechnologies.com> <1161FA03-C664-4B97-8C97-F695D1F6094C@major.on-rev.com> <9ADAC399-BADB-4B1F-AC8A-E4E5F0EAFD94@unimelb.edu.au> <114A034A-CF23-463A-8DD6-78A60592153F@major.on-rev.com> Message-ID: <110B16E7-0166-40CA-8DCB-D81476D35A24@economy-x-talk.com> Hi Klaus, Since you are saying "installer", could you explain why using Economy-x-Talk's installer isn't an option? Perhaps we can work something out? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Get the extIco2Png external for LiveCode here http://qery.us/1w6 On 27 mrt 2012, at 14:34, Klaus on-rev wrote: > > thanks to all for the great suggestions, but my problem is this: > 1. I do not have the time to test all the proposed solutions. > The project is already overdue! > > 2. This is a Windows installer (EXE) that I wanted to let the user download as a SINGLE file > and not as a ZIP file (with the DLL and the EXE), that we use now due to the lack of time. > > 3. So setting the VISIBLE atrrib is not possible this way. > > Again, thanks a lot! > > > Best > > Klaus From klaus at major.on-rev.com Tue Mar 27 08:49:57 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Tue, 27 Mar 2012 14:49:57 +0200 Subject: revsecurtity.dll In-Reply-To: <110B16E7-0166-40CA-8DCB-D81476D35A24@economy-x-talk.com> References: <16963DE9-E787-495F-90D1-510E214761CD@sonsothunder.com> <9FB94A7E-7711-4198-A3A5-29CB5F6FC5C8@major.on-rev.com> <6B1C0D17-2A23-4C3F-B06A-476D41D4EC99@sweattechnologies.com> <1161FA03-C664-4B97-8C97-F695D1F6094C@major.on-rev.com> <9ADAC399-BADB-4B1F-AC8A-E4E5F0EAFD94@unimelb.edu.au> <114A034A-CF23-463A-8DD6-78A60592153F@major.on-rev.com> <110B16E7-0166-40CA-8DCB-D81476D35A24@economy-x-talk.com> Message-ID: <2A2AA3ED-C00B-49D0-A805-0090FA0A682D@major.on-rev.com> Hi Mark, Am 27.03.2012 um 14:39 schrieb Mark Schonewille: > Hi Klaus, > > Since you are saying "installer", could you explain why using Economy-x-Talk's installer isn't an option? > Perhaps we can work something out? well, I do not have the time at all to try something different! But: can your Installer create a single EXE that can make HTTPS web calls without the (a visible) "revsecurity.dll"? :-) > -- > Best regards, > > Mark Schonewille Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From m.schonewille at economy-x-talk.com Tue Mar 27 09:08:03 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 27 Mar 2012 15:08:03 +0200 Subject: revsecurtity.dll In-Reply-To: <2A2AA3ED-C00B-49D0-A805-0090FA0A682D@major.on-rev.com> References: <16963DE9-E787-495F-90D1-510E214761CD@sonsothunder.com> <9FB94A7E-7711-4198-A3A5-29CB5F6FC5C8@major.on-rev.com> <6B1C0D17-2A23-4C3F-B06A-476D41D4EC99@sweattechnologies.com> <1161FA03-C664-4B97-8C97-F695D1F6094C@major.on-rev.com> <9ADAC399-BADB-4B1F-AC8A-E4E5F0EAFD94@unimelb.edu.au> <114A034A-CF23-463A-8DD6-78A60592153F@major.on-rev.com> <110B16E7-0166-40CA-8DCB-D81476D35A24@economy-x-talk.com> <2A2AA3ED-C00B-49D0-A805-0090FA0A682D@major.on-rev.com> Message-ID: <25FCE83B-0B12-41C2-8A8E-731FCB00071B@economy-x-talk.com> Hi Klaus, The installer itself can't make https calls but you can include a CURL script and even a CURL/SSH/SFTP command line utility if necessary, have it installed automatically and use that to run a command line script. There is a special script pane in the Installer Maker for that. Another option would be to have the installer install a standalone including the external (all default, as built by LiveCode's standalone builder) and have the installer start that standalone. I might think of a few more workarounds of you can tell more about your requirements. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Get the extIco2Png external for LiveCode here http://qery.us/1w6 On 27 mrt 2012, at 14:49, Klaus on-rev wrote: > Hi Mark, > > Am 27.03.2012 um 14:39 schrieb Mark Schonewille: > >> Hi Klaus, >> >> Since you are saying "installer", could you explain why using Economy-x-Talk's installer isn't an option? >> Perhaps we can work something out? > > well, I do not have the time at all to try something different! > > But: can your Installer create a single EXE that can make HTTPS web calls without the (a visible) "revsecurity.dll"? > :-) > >> -- >> Best regards, >> >> Mark Schonewille > > Best > > Klaus From klaus at major.on-rev.com Tue Mar 27 09:19:57 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Tue, 27 Mar 2012 15:19:57 +0200 Subject: revsecurtity.dll In-Reply-To: <25FCE83B-0B12-41C2-8A8E-731FCB00071B@economy-x-talk.com> References: <16963DE9-E787-495F-90D1-510E214761CD@sonsothunder.com> <9FB94A7E-7711-4198-A3A5-29CB5F6FC5C8@major.on-rev.com> <6B1C0D17-2A23-4C3F-B06A-476D41D4EC99@sweattechnologies.com> <1161FA03-C664-4B97-8C97-F695D1F6094C@major.on-rev.com> <9ADAC399-BADB-4B1F-AC8A-E4E5F0EAFD94@unimelb.edu.au> <114A034A-CF23-463A-8DD6-78A60592153F@major.on-rev.com> <110B16E7-0166-40CA-8DCB-D81476D35A24@economy-x-talk.com> <2A2AA3ED-C00B-49D0-A805-0090FA0A682D@major.on-rev.com> <25FCE83B-0B12-41C2-8A8E-731FCB00071B@economy-x-talk.com> Message-ID: <45AE378A-4DED-4D4B-8F09-7CD7EAE25F30@major.on-rev.com> Hi Mark, Am 27.03.2012 um 15:08 schrieb Mark Schonewille: > Hi Klaus, > > The installer itself can't make https calls but you can include a CURL script and even a CURL/SSH/SFTP command line utility if necessary, have it installed automatically and use that to run a command line script. There is a special script pane in the Installer Maker for that. > Another option would be to have the installer install a standalone including the external (all default, as built by LiveCode's standalone builder) and have the installer start that standalone. > I might think of a few more workarounds of you can tell more about your requirements. thank you for your offer, but as I said we do not have the time in the moment. Maybe I will come back to you later. > -- > Best regards, > > Mark Schonewille Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From bobs at twft.com Tue Mar 27 11:42:02 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 27 Mar 2012 08:42:02 -0700 Subject: ANN and OT: Calling All SETI Enthusiasts In-Reply-To: <8c44ac13-5010-ce65-fdf0-a9f940342760@me.com> References: <8c44ac13-5010-ce65-fdf0-a9f940342760@me.com> Message-ID: Orville was probably talking about people who were saying at the time that it was impossible for humans to take flight. That is not a statement about what is true, it is a statement about what is possible. It's sobering to think someone so smart as Orville Wright could get the two confused. Is it theoretically possible to travel to another planet? Sure! Is it practically possible? Not a chance. The difference between what is true and what is possible. Again, it is a matter of logistics. To experiment and build a craft that can float on air here on terra firma is one thing. To build a craft that can travel to another planet we cannot see and study from here over the vast period of time it would take to get there, not to mention the time dilation that would occur, in one lifetime, and be able to communicate back to say we succeeded, while the people who sent us are still alive, well, that is quite another. I can empty my pool with a garden hose, but I'd be a fool to try to empty lake Erie. I can write a program to keep track of my computer assets. I cannot make a computer to calculate the answer to life, the Universe, Everything! :-) Bob On Mar 27, 2012, at 4:38 AM, Mick Collins wrote: > Talking about presumptuous, Bob, well here's a good quotation to keep in mind. > > If we all worked on the assumption that what is accepted as true is really true, there would be little hope of advance. -- Orville Wright > > > > >> Message: 12 >> Date: Mon, 26 Mar 2012 11:28:29 -0700 >> From: Bob Sneidar >> To: How to use LiveCode >> Subject: Re: ANN and OT: Calling All SETI Enthusiasts >> Message-ID: <2B937175-9284-4C54-9232-AC35C1BDD8F6 at twft.com> >> Content-Type: text/plain; charset=us-ascii >> The assumptions in discussions like these are extremely numerous, approaching the very number of stars themselves. Why for instance, should we suppose that any alien life form is similar to us? What if an intelligent life form was aquatic, and lived on a planet where the atmosphere was deadly to them? What possible motive could they have to develop radio technology in the first place, and who can assume that our radio technology would even work in their atmosphere? What if the magnetic flux field of their planet was so strong, or the chemical makeup so different that radio transmissions of our kind would never even penetrate it, never mind be something they would deploy? What if their great superior reasoning led them to conclude that the time, efforts and resources to even attempt to travel at or near light speeds, or else attempt to bend space-time was so vast, and the probability of failure to find a race like enough to themselves so great, and the time dilation that would occur so devastating to any hope of communicating or traveling back to where they came from, that it became a common child's joke amongst the great races of the universe without them even knowing it between them? So many "what if's", so little time-space. Our minds are so small that they cannot comprehend how many factors go into making our planet exactly the planet it is. There are so many balances, both terrestrial and extra-terrestrial, which if unbalanced by so much as 5% or less would render human life on this planet absolutely impossible. And we hope to find a planet so like ours, and then hope that life on that planet has evolved (the greatest begging of a question that ever there was) so like us as to allow any communication at all? This discussion can happen at all because of the human mind's inability to focus on and balance very many things at one time and measure a thesis against all other things that could weigh upon it. We simply do not possess the wisdom and mental faculty to treat such a subject. No, my friends, I think all conversation along these lines is so incredibly presumptuous, it is staggering when you really begin to think of everything we take as a given or gloss over when discussing such things. Sorry all you Star Trek fans, and anyone else I have likely offended. I love science fiction as much as the next person, but I think any race of beings wise enough to comprehend the real logistics of space travel or communication across such great distances would conclude right away that it was a total waste of their limited resources, better spent on improving their own state of affairs. (Let the flames begin!;-) >> Bob > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From williamdesmet at gmail.com Tue Mar 27 11:43:27 2012 From: williamdesmet at gmail.com (William de Smet) Date: Tue, 27 Mar 2012 17:43:27 +0200 Subject: Update LC 5.5 GM3 works fine now! Message-ID: Hi there, I just wanted everyone to know that LC 5.5 GM3 fixes the bugs with Provisioning Profiles, standalone settings not being saved and a small screen for the standalone settings (needed to drag it to see all the settings). Thank you RR! greetings, William From bobs at twft.com Tue Mar 27 11:53:25 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 27 Mar 2012 08:53:25 -0700 Subject: CalendarWidget In-Reply-To: References: Message-ID: <187228D3-454F-45B4-943A-D9F7570C3E36@twft.com> What I do is I put the dates I want to start with into the dialogData and then call the calendar stack as modal or as sheet (which is modal by nature). When I return from the calendar stack I get the dialogData, checking for empty in case the user cancelled. I let the calling stack handle what to do with the date. For instance, what if the user selected a date earlier than today, and your stack was scheduling a lodging reservation? That would clearly be an error. However you might be working with a to-do list in which case pre dating an event would be conceivable. The Calendar stack couldn't possibly know the difference, so I would not have the calendar stack populate anything if I were you. Bob On Mar 26, 2012, at 7:21 PM, Charles Szasz wrote: > on mouseUp > if dialogdata is not empty > then > put item 2 of dialogdata into t > put "/" after t > put item 3 of dialogdata after t > put "/" after t > put item 1 of dialogdata into s > delete character 1 to 2 of s > put s after t > put t into field "date1" of stack "My app" > else > put the uMonth of group "calendarWidget" of card id 1002 into t > put "/" after t > put the uMonth of group "calendarWidget" of card id 1002 after t > put "/" after t > put the uYear of group "calendarWidget" of card id 1002 into s > delete character 1 to 2 of s > put s after t > put t into field "date1" of stack "My app" > end if > close this stack > end mouseUp > > What changes do I need to make so calendarWidget 101 can insert dates in other fields? > > Charles Szasz > cszasz at mac.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rjearp at hotmail.com Tue Mar 27 12:20:02 2012 From: rjearp at hotmail.com (Bob Earp) Date: Tue, 27 Mar 2012 09:20:02 -0700 Subject: LiveCode Player for 5.5 Message-ID: I sense the frustration Judy, but wonder if it was related somewhat to your children's birthday ;-) Having just had a granddaughter turn 11 and a grandson 9, I too wondered what we had really achieved in online learning since I started with Plato (a DOS system running on a custom Pee Cee) back in the stone age. Compared to the evolution of technology, I suspect not much. You raise valid points though, but what you say is not new and likely the byproduct of the technology evolution. Crappy online learning is rarely due to the tools that are used, just crappy instructional designers egged-on by companies promising perfect eLearning modules with the click of a mouse. One of the biggest culprits around at the moment is Articulate. What a phenomenal marketing concept. Take a crappy tool called PowerPoint that fools the world into thinking it can make everybody into a wonderful professional instructor or presenter, and with a few simple clicks turn your legacy work into eLearning. I wish I'd thought of that !! I shouldn't rant about the tools, sorry, they're not to blame for the idiots that use them. It's the content we need to focus on and especially putting it into a format that is reusable in whatever "new gizmo" is offered to us. Statements like "Teachers are quickly moving away from downloading anything and their IT guys are even worse, sometimes setting up systems which disallow downloading a desktop app." maybe true in some circumstances, but that is likely a temporary thing for a temporary reason. That being the decision makers are not knowledgeable, ill informed, or blinded by marketing. I've so often seen people make radical and very significant (read that as expensive) corporate decisions to use or not use a particular technology or standard, only to change their minds later when they realized it didn't give them what they wanted or needed. LMS's and CMS's are typical of this. There was even a time that IT people tried to stop their "customers" getting on to the Internet, need I say more.... I say that we will see a change in current attitudes as I am encouraged by Apple's new education support with iBooks2, iBooks Author, and iTunesU. Just the fact of offering text books at a fraction of their hard copy price will quickly sway teachers into encouraging downloads, not to mention keeping the books current and all of the other goodies. And academia using the tools in iTunesU will put pressure on IT people to deliver an infrastructure that support such. Having said that, will iBooks be the de facto standard for online learning in the future ? Maybe for a while until the next evolution of technology, but I do know for sure whatever content is in an iBook, on a web page, in a Revlet, and even in some PP presentations, will be used in the new tool !! My wish (today !) is to get Rev to fix the LC web engine plus continue to develop LC so that we can develop content once and deliver on whatever platform/technology is the flavour of the day. A very daunting task, but one I have faith in the Rev team and especially the plethora of LC developers around the world to solve. best, Bob... PS, oh yes... I still want to deliver LC content in iBooks !! On Mar 26, 2012, at 11:00 PM, Judy Perry wrote: > Sigh. > > It's unfortunately gotten to the point that every time some new gizmo is added to the "suite" my first thought is reluctance to even look at it, wondering 'how long will this be supported?' On-Rev? When will that stop being supported? As long as DreamCard? RevMedia? the web plugin? All of the third-party editors and stop-gap work-arounds and layers of complexity added to using Rev, er, LC? Wonky/awkward non-xtalk-like syntax? Commands that have never worked? > > My kids will be 11 tomorrow. Here's an example of the exciting new world of online learning that they use: snip... > Anybody still reading wondering why there's a lot of crap in online learning? How much better this could have been as a revlet? But won't be because nobody is going to commit public funds or even private time to doing the same curricular standards correspondence for a technology that, come rollout time, you come to find out had been abandoned by the company years earlier without telling you. > > WHY do we keep doing this? Because Edu can't pay for what it wants? This is part of the reason why. > > Judy > > On Thu, 22 Mar 2012, Ray Horsley wrote: > >> I'm in the K-12 education field. Teachers are quickly moving away from downloading anything and their IT guys are even worse, sometimes setting up systems which disallow downloading a desktop app. I hadn't looked at building for Web in a while but this is very discouraging to find it's gone. I had hoped it had been cleaned up since I last worked with it, not abandoned. Bob Earp White Rock, British Columbia. From pete at mollysrevenge.com Tue Mar 27 13:11:37 2012 From: pete at mollysrevenge.com (Pete) Date: Tue, 27 Mar 2012 10:11:37 -0700 Subject: LiveCode Player for 5.5 In-Reply-To: References: Message-ID: I'm not a teacher, nor involved in education in any way so take what I have to say with a pinch of salt. A recent analysis over here in California found that it was around 4 times as expensive for a classroom to use iPads and electronic versions of text books as it was to continue using hard copy text books. The costs were measured over a 6 year period to take account of new editions of the text books and the life span of an iPad and I believe the analysis was done for high school level classes. I'd be prepared to accept the extra cost if it was accompanied by a greater than 4-fold improvement in educational quality but there seems to be precious little evidence that the use of iPads produces any increase in educational quality. This is all related to general education classes, not computer science classes. Of course, you can find studies to prove/disprove just about anything you want these days. For those interested, you might want to read the book "Wrong" by David H. Freedman. A fascinating account of why an alarmingly high number of studies carried out by experts come to completely wrong conclusions. Pete On Tue, Mar 27, 2012 at 9:20 AM, Bob Earp wrote: > I say that we will see a change in current attitudes as I am encouraged by > Apple's new education support with iBooks2, iBooks Author, and iTunesU. > Just the fact of offering text books at a fraction of their hard copy > price will quickly sway teachers into encouraging downloads, not to mention > keeping the books current and all of the other goodies. And academia using > the tools in iTunesU will put pressure on IT people to deliver an > infrastructure that support such. -- Pete Molly's Revenge From rdimola at evergreeninfo.net Tue Mar 27 14:10:42 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 27 Mar 2012 14:10:42 -0400 Subject: LiveCode Player for 5.5 In-Reply-To: References: Message-ID: <010a01cd0c44$ec8e7180$c5ab5480$@net> Not to forget we as a generation had blackboards, the alphabet taped to the wall above the blackboard, text books that were used for several years and most importantly teachers that would crack us on the back of the head with a ruler if we turned around and talked disrupting the class. And last but not least...School budgets that did not spend $20,000 per student. The result.... We invented all this stuff the world uses today. Not too shabby for old school(pun intended). Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Pete Sent: Tuesday, March 27, 2012 1:12 PM To: How to use LiveCode Subject: Re: LiveCode Player for 5.5 I'm not a teacher, nor involved in education in any way so take what I have to say with a pinch of salt. A recent analysis over here in California found that it was around 4 times as expensive for a classroom to use iPads and electronic versions of text books as it was to continue using hard copy text books. The costs were measured over a 6 year period to take account of new editions of the text books and the life span of an iPad and I believe the analysis was done for high school level classes. I'd be prepared to accept the extra cost if it was accompanied by a greater than 4-fold improvement in educational quality but there seems to be precious little evidence that the use of iPads produces any increase in educational quality. This is all related to general education classes, not computer science classes. Of course, you can find studies to prove/disprove just about anything you want these days. For those interested, you might want to read the book "Wrong" by David H. Freedman. A fascinating account of why an alarmingly high number of studies carried out by experts come to completely wrong conclusions. Pete On Tue, Mar 27, 2012 at 9:20 AM, Bob Earp wrote: > I say that we will see a change in current attitudes as I am encouraged by > Apple's new education support with iBooks2, iBooks Author, and iTunesU. > Just the fact of offering text books at a fraction of their hard copy > price will quickly sway teachers into encouraging downloads, not to mention > keeping the books current and all of the other goodies. And academia using > the tools in iTunesU will put pressure on IT people to deliver an > infrastructure that support such. -- Pete Molly's Revenge _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jperryl at ecs.fullerton.edu Tue Mar 27 14:11:28 2012 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 27 Mar 2012 11:11:28 -0700 (PDT) Subject: LiveCode Player for 5.5 In-Reply-To: References: Message-ID: Certainly, it's easy enough to blame poor online learning experiences on lazy or inept instructional designers who all too often are taught to use truly crappy tools, but it doesn't excuse the crappy tools themselves. And why do teachers and instructional designers use crappy tools? Because it's all they know; it's all their colleagues know, it's the only thing they see at educational conferences that is even remotely comprehensible, which means that most of them have never heard of LC and never will. And, even if they did, imagine that poor hapless soul whose degree, after all, is in teaching or instructional design and not CS, on this 10+ year bumpy road EE ticket for Mr. Toad's Wild Ride of LC in education! "We're a'going this away... WAIT A MINUTE!! NO WE'RE NOT!!" Rev can't do anything about teachers who are not allowed to download and install software (I couldn't even get a state university satellite campus to install GIMP for heaven's sake!) but there other things it could do to make LC a better product for designing online or computer-based instruction. *It could show itself at actual teaching/educational conferences. HyperStudio knows that and does it and teachers have heard of it. *It could improve the out-of-box experience for new users (haven't we been asking that for nearly a decade?). *It could structure its instructional content into graded paths that are intuitive to use for differing types of users instead of just dumping them in the middle of a bazillions lessons on how to do things using keywords that new users aren't likely to know. *It could pick a path and just gradually STICK WITH IT. It's this constant serving about on the educational development road that make the product look so very iffy... (MEDIA! Players! Web Plugin! HTML5? yeah baby! until we drop it!) And, yupp, iPads are the shiny new toys... that will suck budgetary funds out of nurses and teacher's aids and lunches for nothing (remember when having laptops in the classroom was the new shiny toy that accomplished what exactly??? and before that having a desktop computer in the classroom?). Oh, and I'm not kidding about the lunches thing. On cold or rainy days I have the kids eat a school lunch, only for them to tell me that they ate a banana, a cookie and a piece of fake cheese because the school ran out of the hot meals they were supposed to be serving. Yes, RAN OUT. Judy On Tue, 27 Mar 2012, Bob Earp wrote: > I sense the frustration Judy, but wonder if it was related somewhat to your children's birthday ;-) > > Having just had a granddaughter turn 11 and a grandson 9, I too wondered what we had really achieved in online learning since I started with Plato (a DOS system running on a custom Pee Cee) back in the stone age. Compared to the evolution of technology, I suspect not much. > From richmondmathewson at gmail.com Tue Mar 27 14:24:28 2012 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 27 Mar 2012 21:24:28 +0300 Subject: LiveCode Player for 5.5 In-Reply-To: <010a01cd0c44$ec8e7180$c5ab5480$@net> References: <010a01cd0c44$ec8e7180$c5ab5480$@net> Message-ID: <4F7205DC.8030901@gmail.com> On 03/27/2012 09:10 PM, Ralph DiMola wrote: > Not to forget we as a generation had blackboards, the alphabet taped to the > wall above the blackboard, text books that were used for several years and > most importantly teachers that would crack us on the back of the head with a > ruler if we turned around and talked disrupting the class. We had an Irishman who liked to sneak up behind one and jab his pencil in one's neck. Funnily enough he was also a pillar of the church, and would spend all his time during our compulsory Sunday services squinnying around to see if we were adopting suitably pious expressions. Despite the "pillock of the church" . . . > And last but not > least...School budgets that did not spend $20,000 per student. > > The result.... > > We invented all this stuff the world uses today. > Not too shabby for old school(pun intended). > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > -----Original Message----- > From: use-livecode-bounces at lists.runrev.com > [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Pete > Sent: Tuesday, March 27, 2012 1:12 PM > To: How to use LiveCode > Subject: Re: LiveCode Player for 5.5 > > I'm not a teacher, nor involved in education in any way so take what I have > to say with a pinch of salt. > > A recent analysis over here in California found that it was around 4 times > as expensive for a classroom to use iPads and electronic versions of text > books as it was to continue using hard copy text books. The costs were > measured over a 6 year period to take account of new editions of the text > books and the life span of an iPad and I believe the analysis was done for > high school level classes. > > I'd be prepared to accept the extra cost if it was accompanied by a greater > than 4-fold improvement in educational quality but there seems to be > precious little evidence that the use of iPads produces any increase in > educational quality. This is all related to general education classes, not > computer science classes. > > Of course, you can find studies to prove/disprove just about anything you > want these days. For those interested, you might want to read the book > "Wrong" by David H. Freedman. A fascinating account of why an alarmingly > high number of studies carried out by experts come to completely wrong > conclusions. > > Pete > > On Tue, Mar 27, 2012 at 9:20 AM, Bob Earp wrote: > >> I say that we will see a change in current attitudes as I am encouraged by >> Apple's new education support with iBooks2, iBooks Author, and iTunesU. >> Just the fact of offering text books at a fraction of their hard copy >> price will quickly sway teachers into encouraging downloads, not to > mention >> keeping the books current and all of the other goodies. And academia > using >> the tools in iTunesU will put pressure on IT people to deliver an >> infrastructure that support such. > > > From richmondmathewson at gmail.com Tue Mar 27 14:29:59 2012 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 27 Mar 2012 21:29:59 +0300 Subject: LiveCode Player for 5.5 In-Reply-To: References: Message-ID: <4F720727.3090708@gmail.com> On 03/27/2012 09:11 PM, Judy Perry wrote: > Certainly, it's easy enough to blame poor online learning experiences > on lazy or inept instructional designers who all too often are taught > to use truly crappy tools, but it doesn't excuse the crappy tools > themselves. > > And why do teachers and instructional designers use crappy tools? > Because it's all they know; it's all their colleagues know, it's the > only thing they see at educational conferences that is even remotely > comprehensible, which means that most of them have never heard of LC > and never will. And, even if they did, imagine that poor hapless soul > whose degree, after all, is in teaching or instructional design and > not CS, on this 10+ year bumpy road EE ticket for Mr. Toad's Wild Ride > of LC in education! "We're a'going this away... WAIT A MINUTE!! NO > WE'RE NOT!!" > > Rev can't do anything about teachers who are not allowed to download > and install software (I couldn't even get a state university satellite > campus to install GIMP for heaven's sake!) but there other things it > could do to make LC a better product for designing online or > computer-based instruction. > > *It could show itself at actual teaching/educational conferences. > HyperStudio knows that and does it and teachers have heard of it. > > *It could improve the out-of-box experience for new users (haven't we > been asking that for nearly a decade?). > > *It could structure its instructional content into graded paths that > are intuitive to use for differing types of users instead of just > dumping them in the middle of a bazillions lessons on how to do things > using keywords that new users aren't likely to know. > > *It could pick a path and just gradually STICK WITH IT. It's this > constant serving about on the educational development road that make > the product look so very iffy... (MEDIA! Players! Web Plugin! > HTML5? yeah baby! until we drop it!) > > And, yupp, iPads are the shiny new toys... that will suck budgetary > funds out of nurses and teacher's aids and lunches for nothing > (remember when having laptops in the classroom was the new shiny toy > that accomplished what exactly??? and before that having a desktop > computer in the classroom?). > > Oh, and I'm not kidding about the lunches thing. On cold or rainy > days I have the kids eat a school lunch, only for them to tell me that > they ate a banana, a cookie and a piece of fake cheese because the > school ran out of the hot meals they were supposed to be serving. > Yes, RAN OUT. Ach, Judy; Thee and Me have been saying all the above to RunRev for a longish time; and they have never managed to present a consistent educational front . . . . . . what they probably need (but would be loath to admit) is an educationalist to run their educational side (well, if they had one), run around schools demoing the thing, co-opting teachers, and so on. This June I should like to give some of my kids a "quick-n-dirty" 3 day course with RR/Livecode. I honestly cannot see much point as there is no RevMedia and/or cut-down free version for those kids to take away at the end of things. > > Judy > > On Tue, 27 Mar 2012, Bob Earp wrote: > >> I sense the frustration Judy, but wonder if it was related somewhat >> to your children's birthday ;-) >> >> Having just had a granddaughter turn 11 and a grandson 9, I too >> wondered what we had really achieved in online learning since I >> started with Plato (a DOS system running on a custom Pee Cee) back in >> the stone age. Compared to the evolution of technology, I suspect >> not much. >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From yvescoppe at skynet.be Tue Mar 27 14:39:29 2012 From: yvescoppe at skynet.be (Yves COPPE) Date: Tue, 27 Mar 2012 20:39:29 +0200 Subject: LiveCode 5.5 and html Message-ID: Hi list I have a problem set clipboardData["html"] to tVar was very good until LC 5.0 but causes LC to crashe since 5.5 on mac OS X Lion French language ?. Has anyone a idea why ? Greetings. Yves COPPE yvescoppe at skynet.be From martyknapp at comcast.net Tue Mar 27 14:53:49 2012 From: martyknapp at comcast.net (Marty Knapp) Date: Tue, 27 Mar 2012 11:53:49 -0700 Subject: Scrolling Problems On Lion Message-ID: <4F720CBD.4050707@comcast.net> Anyone noticing field scrolling problems on Lion (using LC 5.02)? On my MacBook Pro, fields sometimes won't scroll and sometimes they will. I thought maybe my trackpad was acting up, so plugged in a mouse -same thing. I did notice that if I wiggled the mouse around while scrolling with the scroll wheel that it works. If I click and drag the scroll bar there's no problem, but gestures and the scroll wheel are being flaky for me . . . Marty Knapp From rjearp at hotmail.com Tue Mar 27 15:07:59 2012 From: rjearp at hotmail.com (Bob Earp) Date: Tue, 27 Mar 2012 12:07:59 -0700 Subject: ANN and OT: Calling All SETI Enthusiasts Message-ID: Thanks for the patience of the group allowing the digression of this thread. Sometimes one needs to let ones mind go free with the encouragement of some good stimulating controversy !! ~~~~~~~~~~~~~~~~~~~~~~ Back to the thread... Oh contraire Mr. Sneider. It "is" currently practically possible to travel to another planet, but just not seen as sufficiently beneficial at present !! I think one of the biggest problems we humans have is that we tend to base our ideas/concepts/values on history and the tiny (by comparison) view of the future we have through current research. Just as Orville and Wilbur created something that at that time was quite alien to the concept of travel, so will we see future means of travel and communication. For example, did you know that there are experiments with matter transference going on right now that in theory will exceed the speed of light. From what my tiny brain can understand, it's got something to do with transferring the mathematical representation of the matter pattern, the description/glue that bunds the matter together, rather than the actual matter. And for a long time a completely new method of broad spectrum radio communication (if you can call it that) has been available to us, that totally ignores frequency bands. Well, for the latter "available" may not quite be correct as I understand governments and military have the wraps on it, and believe me I'm not a conspiracy theorist in saying that ;-) Oh yes, and we don't need a computer to answer the meaning of life, the universe and everything, I know it's 42. The problem is that I still don't know how to ask the right question, and I suspect you are in the same situation ;-) best, Bob... Bob Earp White Rock, British Columbia. > Message: 9 > Date: Tue, 27 Mar 2012 08:42:02 -0700 > From: Bob Sneidar > To: How to use LiveCode > Subject: Re: ANN and OT: Calling All SETI Enthusiasts > Message-ID: > Content-Type: text/plain; charset=us-ascii > > Orville was probably talking about people who were saying at the time that it was impossible for humans to take flight. That is not a statement about what is true, it is a statement about what is possible. It's sobering to think someone so smart as Orville Wright could get the two confused. Is it theoretically possible to travel to another planet? Sure! Is it practically possible? Not a chance. The difference between what is true and what is possible. > > Again, it is a matter of logistics. To experiment and build a craft that can float on air here on terra firma is one thing. To build a craft that can travel to another planet we cannot see and study from here over the vast period of time it would take to get there, not to mention the time dilation that would occur, in one lifetime, and be able to communicate back to say we succeeded, while the people who sent us are still alive, well, that is quite another. I can empty my pool with a garden hose, but I'd be a fool to try to empty lake Erie. I can write a program to keep track of my computer assets. I cannot make a computer to calculate the answer to life, the Universe, Everything! :-) > Bob From mikedoub at gmail.com Tue Mar 27 15:18:16 2012 From: mikedoub at gmail.com (Michael Doub) Date: Tue, 27 Mar 2012 15:18:16 -0400 Subject: Android play sounds Message-ID: <202365A5-E4CE-43D4-A1A7-C693689212AC@gmail.com> I am building a android timer application. The sound file "AC.mp3" is located in a folder "Data". Within the standalone builder I added the "Data" folder under the copy files tab which now displays: "Data/*". All of this seems to work just fine, however the sound file is not played on the first play call. The sound is successfully played on all subsequent calls. The result returned on the first play call is "no sound support" which is different from what is specified in the Android release notes. So I think we have a documentation error at the very least. Is there any sound initialization step that I am missing? Here is the alarm code: On alarm if the environment is "mobile" then put specialFolderPath("engine") & slash & "Data" & slash & "AC.mp3" into tSound play tSound else beep end if end alarm From bvlahos at mac.com Tue Mar 27 15:19:23 2012 From: bvlahos at mac.com (Bill Vlahos) Date: Tue, 27 Mar 2012 12:19:23 -0700 Subject: Clean Plugins Message-ID: <6B14F45B-4DD0-4EFA-ACBD-4C17934FC402@mac.com> I'm about to release a new plugin. Plugins are basically stacks but I noticed that revNavigator and GoRevNet are not editable stacks. In fact you can't even get to any of the items in the Objects menu as they are all dimmed so you can't get to their properties or scripts. How did you guys do that? It is very clean. Bill Vlahos From martyknapp at comcast.net Tue Mar 27 15:22:20 2012 From: martyknapp at comcast.net (Marty Knapp) Date: Tue, 27 Mar 2012 12:22:20 -0700 Subject: Scrolling Problems On Lion In-Reply-To: <4F720CBD.4050707@comcast.net> References: <4F720CBD.4050707@comcast.net> Message-ID: <4F72136C.5060805@comcast.net> I forgot to mention this is in a standalone - I'm not experiencing problems in the IDE. Marty > Anyone noticing field scrolling problems on Lion (using LC 5.02)? On > my MacBook Pro, fields sometimes won't scroll and sometimes they will. > I thought maybe my trackpad was acting up, so plugged in a mouse -same > thing. I did notice that if I wiggled the mouse around while scrolling > with the scroll wheel that it works. If I click and drag the scroll > bar there's no problem, but gestures and the scroll wheel are being > flaky for me . . . > > Marty Knapp From ambassador at fourthworld.com Tue Mar 27 15:22:20 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 27 Mar 2012 12:22:20 -0700 Subject: ANN and OT: Calling All SETI Enthusiasts In-Reply-To: References: Message-ID: <4F72136C.6060109@fourthworld.com> Bob Sneidar wrote: > It's sobering to think someone so smart as Orville Wright could > get the two confused. Is it theoretically possible to travel > to another planet? Sure! Is it practically possible? Not a chance. > The difference between what is true and what is possible. Respectfully, Bob, your post surprises me, coming from someone as technically savvy as yourself. After all, your words came to me through a set of technologies that were impossible in Wright's time, and save for a small handful of sci-fi writers of the day, entirely inconceivable. Heck, not even Xanadu would be dreamed of until decades later, and it took decades more to begin the baby steps toward our Internet, which is even now in its infancy. The computer I'm typing this on seems commonplace enough, and indeed it's far from new, but it has millions of transistors, each of which was inconceivable prior to the early 1950s. And even then, the idea that we would one day have so many millions of transistors on a surface only slightly larger than our thumb would have been laughable if it could have been dreamed of at all. We make things so small now that we can't truly say WE make them at all - we had to first make robots to make them for us, because we humans can't work at that scale. And even the robots we make are too big; modern processors are made by robots that were built by other robots. Case in point: the Intel Celeron G530 has 504 million transistors, build with a 32mn die. You can buy it at NewEgg for about $50. Most folks don't bother because it doesn't have the power we've become accustomed to. For all the wonder of these gadgets, they only represent the extent of HUMAN knowledge, a species that just a few thousand years ago hadn't even mastered the most fundamental technology of all, the ability to make fire with sticks (a skill worth knowing even now, but that's another story). If we take someone from an arbitrary midpoint between then and now, say Benjamin Franklin or Isaac Newton, and could drop them into our world, they would see many of the things we take for granted as complete magic, or perhaps demonism (see the old Omni Mag story, "Newton's Gift"). And they're from just a couple hundred years ago. So here we are, flying through space at millions of miles an hours on Spaceship Earth, nowhere near the edge of the Universe, which is quite possibly several billion years older than our little corner of space. If we consider a relatively near neighbor, say a planet just a million or two years older than our own - what might a civilization look like that's a couple million years years older than us? What would we look like in a million years? What would our technology look like? Would our current selves be able to understand it? Would we even be able to recognize it as tech, or just be mystified by by flashing lights, no more than Neanderthal could appreciate a book of Shakespeare. Sure, Einstein's Theory of Relativity suggests that the distance between two stars can only be traversed no faster than light, and we human don't live very long so it doesn't seem worth trying - for us, anyway. But a fruit fly lives just a few days, while we live thousands of times longer. Why should we expect that the life cycles of other beings are anything like our own? And Einstein's Theory is just that, a theory. It's not yet a law, and for good reason. Every few years we hear from another quantum physicist suggesting that they may be on the edge of something that disproves it. Wouldn't be the first time a new discovery completed shattered our understanding of how things work. Given the vastness of space and the billions-of-years head start so many other solar systems have had over our own, it doesn't strike me as the least bit implausible that there are other civilizations out there, and that some are well-traveled. In fact, given the math of it, it seems far more probable than not. So while our primitive radio telemetry is indeed paltry and barely worth the time and CPU cycles to bother with, it's the best we have right now and certainly more fun than not trying at all. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Tue Mar 27 15:28:55 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 27 Mar 2012 12:28:55 -0700 Subject: Clean Plugins In-Reply-To: <6B14F45B-4DD0-4EFA-ACBD-4C17934FC402@mac.com> References: <6B14F45B-4DD0-4EFA-ACBD-4C17934FC402@mac.com> Message-ID: <4F7214F7.2080005@fourthworld.com> Bill Vlahos wrote: > I'm about to release a new plugin. Plugins are basically stacks but I > noticed that revNavigator and GoRevNet are not editable stacks. In > fact you can't even get to any of the items in the Objects menu as > they are all dimmed so you can't get to their properties or scripts. > > How did you guys do that? It is very clean. Their mode is "modeless". Sounds like a Zen koan, but it works wonders to allow window layering without editability. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From livfoss at mac.com Tue Mar 27 15:39:21 2012 From: livfoss at mac.com (Graham Samuel) Date: Tue, 27 Mar 2012 21:39:21 +0200 Subject: May be OT: where is iOS 5.1 SDK and how can I deploy it? Message-ID: <4D08B22E-973B-4491-BC13-7A974FD3A84D@mac.com> As I have LC5.5, I downloaded Xcode 4.3.2 from Apple. It shows up in my Applications folder and I can run it, but it doesn't seem to have altered my Developer folder at all - all the file dates seem to be earlier, and there is no sign of the 5.1 SDK. The simulator there also seems to be 5.0. When I open the LC mobile preferences, I am asked what version of XCode I'm running. If I answer "4.3" I am asked to point LC at the 4.3 App Bundle (this is the same as "location of developer root for iOS 5.0 and above" I think), but I can't find it. I thought it might be in the actual XCode app itself (of course this is really a folder), which naturally enough is in the Applications folder, but all I can point to is /Applications/Xcode.app/Contents/Developer which results in "unknown deployment platform" when I try to test an app. If I actually look at the contents of the XCode application folder with the Finder, it does seem to have everything I need, including a new SDK and a new simulator, but I don't know what to do to tell LC to look for it (I suppose I could copy everything which has the same name as the stuff in my current Developer folder so as to replace it, but I am not keen to try this). I am totally at sea and so far have not found any documentation to help me. Can anyone point me in the right direction. I'd be more than grateful. Confused Graham From dave.cragg at lacscentre.co.uk Tue Mar 27 16:10:31 2012 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Tue, 27 Mar 2012 21:10:31 +0100 Subject: ANN and OT: Calling All SETI Enthusiasts In-Reply-To: References: Message-ID: <0FEFA0AB-F140-48D3-B2A8-A7CA9FF8ADF0@lacscentre.co.uk> The weather is so nice here, it's hard to resist a good off-topic blether (discussion). On 26 Mar 2012, at 18:47, Roger Guay wrote: > given the vastness of our universe and the number of stars contained in it, many argue that it is logical to assume a multitude of intelligent species populating our entire galaxy. There is another argument that says we can't make any reasonable assumptions about the likelihood of life elsewhere until we know more about the "normality" of the origins of life here. At the moment, the origin of life on earth is unknown. So we can't say how improbable the event was. If it were discovered that it was an extremely unlikely event, then we might revise downwards our estimation of the chances of finding life elsewhere. And the opposite also applies. Until that time, aren't we just guessing? No harm in looking though. Cheers Dave From richmondmathewson at gmail.com Tue Mar 27 16:19:07 2012 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 27 Mar 2012 23:19:07 +0300 Subject: ANN and OT: Calling All SETI Enthusiasts In-Reply-To: <0FEFA0AB-F140-48D3-B2A8-A7CA9FF8ADF0@lacscentre.co.uk> References: <0FEFA0AB-F140-48D3-B2A8-A7CA9FF8ADF0@lacscentre.co.uk> Message-ID: <4F7220BB.6010300@gmail.com> On 03/27/2012 11:10 PM, Dave Cragg wrote: > The weather is so nice here, it's hard to resist a good off-topic blether (discussion). > > On 26 Mar 2012, at 18:47, Roger Guay wrote: > >> given the vastness of our universe and the number of stars contained in it, many argue that it is logical to assume a multitude of intelligent species populating our entire galaxy. > There is another argument that says we can't make any reasonable assumptions about the likelihood of life elsewhere until we know more about the "normality" of the origins of life here. At the moment, the origin of life on earth is unknown. So we can't say how improbable the event was. If it were discovered that it was an extremely unlikely event, then we might revise downwards our estimation of the chances of finding life elsewhere. And the opposite also applies. Until that time, aren't we just guessing? Of course there is a school of thought that there isn't life anywhere, just an enormous great illusion being experienced by nothing. > > No harm in looking though. > > Cheers > Dave > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dave.cragg at lacscentre.co.uk Tue Mar 27 16:51:28 2012 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Tue, 27 Mar 2012 21:51:28 +0100 Subject: ANN and OT: Calling All SETI Enthusiasts In-Reply-To: <4F7220BB.6010300@gmail.com> References: <0FEFA0AB-F140-48D3-B2A8-A7CA9FF8ADF0@lacscentre.co.uk> <4F7220BB.6010300@gmail.com> Message-ID: <07210566-EF22-4BAF-A61C-27F476494F1E@lacscentre.co.uk> On 27 Mar 2012, at 21:19, Richmond wrote: > Of course there is a school of thought that there isn't life anywhere, just an enormous great illusion being experienced by > nothing. Which for some reason made me remember this (from Monty Python): "The universe itself keeps on expanding and expanding In all of the directions it can whizz As fast as it can go, at the speed of light, you know, Twelve million miles a minute, and that's the fastest speed there is. So remember, when you're feeling very small and insecure, How amazingly unlikely is your birth, And pray that there's intelligent life somewhere up in space, 'Cause there's bugger all down here on Earth. " From jacque at hyperactivesw.com Tue Mar 27 17:29:35 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 27 Mar 2012 16:29:35 -0500 Subject: Android play sounds In-Reply-To: <202365A5-E4CE-43D4-A1A7-C693689212AC@gmail.com> References: <202365A5-E4CE-43D4-A1A7-C693689212AC@gmail.com> Message-ID: <4F72313F.1040402@hyperactivesw.com> On 3/27/12 2:18 PM, Michael Doub wrote: > I am building a android timer application. The sound file "AC.mp3" > is located in a folder "Data". Within the standalone builder I > added the "Data" folder under the copy files tab which now displays: > "Data/*". All of this seems to work just fine, however the sound > file is not played on the first play call. The sound is successfully > played on all subsequent calls. > > The result returned on the first play call is "no sound support" > which is different from what is specified in the Android release > notes. So I think we have a documentation error at the very least. When in the startup sequence is the first sound played? Is it before the stack finishes loading? It may be that sound support isn't initialized yet when the first "play" happens. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From runrevron at gmail.com Tue Mar 27 17:31:06 2012 From: runrevron at gmail.com (ron barber) Date: Tue, 27 Mar 2012 17:31:06 -0400 Subject: Apple Store and addons Message-ID: Greetings, I have an app in the MacApp store (not the app store) to which the user can download addon modules. I am looking for a way to link the addon to the app so that the addons cannot be 'shared' with users who did not purchase it. The application is a standalone and the addons are stacks with the content in a uprop. The addons are installed to the application support folder by a standalone spitting out a uprop. Since neither the application nor the addon installer can be modified due to Apple's bundle, I am left with writing a pref file or stack to the support folder. This can be checked on startup to insure the addon was installed and not just copied but nothing prevents this pref file from being copied as well. Any suggestions or is this just the way it is? Thanks Ron From mcgrath3 at mac.com Tue Mar 27 17:35:08 2012 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 27 Mar 2012 17:35:08 -0400 Subject: May be OT: where is iOS 5.1 SDK and how can I deploy it? In-Reply-To: <4D08B22E-973B-4491-BC13-7A974FD3A84D@mac.com> References: <4D08B22E-973B-4491-BC13-7A974FD3A84D@mac.com> Message-ID: Graham, Just point the top button in device preferences to the xCode.app in you applications folder. That's it. It will find it itself. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Mar 27, 2012, at 3:39 PM, Graham Samuel wrote: > As I have LC5.5, I downloaded Xcode 4.3.2 from Apple. It shows up in my Applications folder and I can run it, but it doesn't seem to have altered my Developer folder at all - all the file dates seem to be earlier, and there is no sign of the 5.1 SDK. The simulator there also seems to be 5.0. > > When I open the LC mobile preferences, I am asked what version of XCode I'm running. If I answer "4.3" I am asked to point LC at the 4.3 App Bundle (this is the same as "location of developer root for iOS 5.0 and above" I think), but I can't find it. I thought it might be in the actual XCode app itself (of course this is really a folder), which naturally enough is in the Applications folder, but all I can point to is > > /Applications/Xcode.app/Contents/Developer > > which results in "unknown deployment platform" when I try to test an app. If I actually look at the contents of the XCode application folder with the Finder, it does seem to have everything I need, including a new SDK and a new simulator, but I don't know what to do to tell LC to look for it (I suppose I could copy everything which has the same name as the stuff in my current Developer folder so as to replace it, but I am not keen to try this). > > I am totally at sea and so far have not found any documentation to help me. Can anyone point me in the right direction. I'd be more than grateful. > > Confused > > Graham > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Tue Mar 27 18:38:50 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 27 Mar 2012 15:38:50 -0700 Subject: ANN and OT: Calling All SETI Enthusiasts In-Reply-To: <4F72136C.6060109@fourthworld.com> References: <4F72136C.6060109@fourthworld.com> Message-ID: <418FB1A7-CECC-4E81-9A32-375F35D76570@twft.com> It's easy to dismiss my skepticism, because I have only gotten started on the long list of logistical problems we would have to overcome to pull this off. For the sake of those for whom it would be a burden to read such long dissertations from me, I beg you to hit the delete button and move along. These aren't the droids you are looking for. :-) So then, another distinction needs to be made between "presently impossible" (given the time, resources and technology available) and "practically or intrinsically impossible" at ANY time. We really have to avoid getting those two things confused in order to get on. We have to know if any of the logistical problems fall into the second category. If they do, there is no hope of success. There are things that are intrinsically impossible, containing the impossibility within their own nature. Can God make a rock so heavy that even He cannot lift it? That sort of thing. Then there are the practically impossible things, where the time and resources necessary are beyond what is available. Then there is the presently impossible, where the possibility is theoretically defined, but the resources are not yet available. People believe space travel of the kind we are talking about is possible, because they believe that all impossibilities are of the third kind. That is why nothing can ever convince them a thing cannot be done. To those kind I have nothing more to say. You can hang up now. :-) Now then to those that remain, consider that it's not just a matter of having the technology. We also have to have the resources, the time to build such a machine (it's going to be breaking and deteriorating all the time it's being built you know, if it takes very long), and at least an almost certain knowledge that when we get to where we want to go there will be something for us that makes the whole trip worth the trouble. A planet so like ours that we can survive there, eat the plant life and not die, defend ourselves against the creatures that inhabit the place, survive the diseases that may be present, etc. And who knows if, when we run into the local indigenous intelligent species we hope to find, that they will be all that happy and accommodating to us? Maybe they had a bad experience just last century, with another species who tried to take over the planet, fought a horrible war, only just won, and decided that from now on any more of these space travelers will be met with their doomsday weapon before they even get close to the place. Or maybe they thrive off interstellar travels? Maybe we are but a tasty morsel drifting by their little anemone of a planet? Maybe they will herd us like cattle? It doesn't help to say that intelligent species do not act so. We are pretty intelligent, and we aren't giving up our burgers anytime soon. Dolphins are pretty intelligent and they will eat up entire schools of herring. I mentioned before the severe time dilation of near light speed travel, so that even if we could get a manned ship there and send signals back, it would take longer for the signals to get here and back again for a confirmation that earth heard us, than anyone had time to live. And what would we say then? Howz the weather these days? Wait another few thousand years? Who would be listening after the tens of thousands of elapsed time dilated years? Has anything man made lasted 10,000 years here on earth? Think about all the debris we are finding in our own solar system, and then only just, because we have improved the telescopy to the point that we can see the dimly lit debris. Out in space, far from any sun, it would be totally invisible. Do we know for certain there is absolutely empty space between here and our destination? Care to encounter a pebble of space debris at near the speed of light? Has anyone invented or even theorized a device to keep us from becoming a new coat of paint on the bulkheads during acceleration and deceleration? Gravity generators? A perpetual fuel source? Maybe we can detect and avoid debris, oh but wait! What detection device could we bring to bear that could detect anything far out enough to avoid it at those speeds? what would be the consequence of changing direction at near the speed of light even a minutiae and the ship would disintegrate. There wouldn't be time enough for the passengers to become bug squat against the bulkheads before the whole ship were merely random molecules, and that is only *IF* traveling near the speed of light wouldn't do that anyway. But what about our space age radar? Einstein tells us that nothing can go faster than the speed of light, so whatever energy we are transmitting could never exceed our own speed by very much. Our radar energy would probably look like pea soup squirted out of the antennae just in front of the ship. If Einstein was wrong, then the doppler effect would render the reflected energy indistinguishable on the way back, and that is only if the doppler effect did not render the transmitted energy useless on the way out, passing through the object we were trying to detect at twice the speed of light. No, we would be absolutely blind either way. Looks like wormholes are the only way. Seen anyone bend space-time recently? And how do you control where (and very likely when) the wormhole appears? Everything we know about a wormhole indicates it would stretch, disassemble and scatter matter, turning it into just a bit more energy. How do you keep it all together? How are you going to generate the kind of energy that would shield you from the magnetic poo storm that would be trying to tear everything apart? The only thing we know that *might* form a wormhole is the massive singularities at the center of a great many (if not all) galaxies. Even our own sun does not have the energy to pull it off, even if we harnessed all of it, and then Earth would die. Where will we make one far enough away from the earth so that it would no swallow it up, but close enough to an energy source to harness it, and who wants to be the first to volunteer to be flung into the thing? How will you tell if something came out the other side or where it came out? How are we going to get to the massive singularity and work on the wormhole generator? Everything we know about a singularity tells us that nothing escapes the event horizon, not even light! How are you going to get close enough to harness it without becoming wormhole fodder?? Okay so wormholes are a bust, so back to the ship idea. Where are you going to get spare parts for the things that break down? Manufacture them I suppose, but from what raw materials? Otherwise you will need massively redundant systems, and they will need an incredible amount of maintenance to continue to function for the hundreds of years it will take to build, not to mention to arrive at it's destination. You will have to create what amounts to a small earth, self powered, incredibly redundant, massively powerful (and yet wonderfully easy to steer and control at light speeds!). The environment you build it in will have to be immaculate, making today's clean rooms look like pig sties. Maybe space, but space is full of debris. Look at the moon. Look at mars. Nothing very big can avoid getting hit out there for long. What we need is force fields! (Seen one lately?) And we imagine a force field reflecting an object while the thing generating the field remains stationary and unmoved in space. Really? Ever heard of a guy called Newton? The Wrights had merely to see flight already occurring in nature, and then make a machine that vaguely approximated it, and a way to control it. None of those problems were insurmountable, either conceptually or practically. Sure we have planes today that are astounding in their technologies and scope, but not without a huge cost in money and materials, some quite rare. How much titanium do you think we actually have here on this planet? How much gold? How much refined plutonium? How expensive and plentiful are materials that will virtually screen out solar radiation? One solar storm while the ship is anywhere near our solar system (or any other) and everyone on board dies. Horribly. The ship will likely need a magnetic field much like the earths. How big a magnet can we make that can ward off solar radiation? How do you keep people sane on such a trip? What if something goes wrong, but the captain will not turn around? I suspect a mutiny. A complete collapse of discipline is sure to ensue. Also we just learned that our bones deteriorate, along with our eyesight in space, nobody quite knows why yet. They think it has something to do with the absence of gravity, and gravity is more than centrifugal force. In fact gravity is in constant opposition to centrifugal force. We don't even know what gravity IS exactly, never mind being able to artificially generate it. Maybe we will someday, but I am going to say it's going to take a helluvalot of energy to do it, and energy is going to be at a premium way out there. Likely it will require a hyper dense mass along the core of the ship. Anyone thought of a way to make matter so dense it can generate the gravity of earth? And speaking of gravity, where we go better have almost the exact gravity of earth or our physiology will not bear it, and who knows what shape we will be in when we get there? I am just citing a very few things off the top of my head. I could go on and on. People just do not think through all the logistics of such things. They imagine all the problems can be overcome, simply because we have overcome what seem to them to be problems of much the same nature before. I contend they are problems of a wholly different nature, and no amount of imagination will solve them. People can call me short sighted and any number of things, but they rarely suggest a way to overcome any one of these issues, which if not all overcome will spoil the whole thing. A great man once said that only a fool begins to build without first counting the cost. I am not going to convince anyone otherwise who chooses to believe that such a thing is possible. It makes them feel good about themselves to think we can pull it off. Anyone serious about the tackling the real problems should immediately make a list of all the hurdles that must be overcome, and then begin sorting out all the ways it might be possible to overcome them, all the while understanding that to fail to overcome even one of them, and yet go ahead with the thing will mean almost certain failure and lost lives, and a great many of them too on that huge mini-earth we plan on tossing out into the cold death of space. Bob On Mar 27, 2012, at 12:22 PM, Richard Gaskin wrote: > Bob Sneidar wrote: > > > It's sobering to think someone so smart as Orville Wright could > > get the two confused. Is it theoretically possible to travel > > to another planet? Sure! Is it practically possible? Not a chance. > > The difference between what is true and what is possible. > > Respectfully, Bob, your post surprises me, coming from someone as technically savvy as yourself. > > After all, your words came to me through a set of technologies that were impossible in Wright's time, and save for a small handful of sci-fi writers of the day, entirely inconceivable. Heck, not even Xanadu would be dreamed of until decades later, and it took decades more to begin the baby steps toward our Internet, which is even now in its infancy. From ambassador at fourthworld.com Tue Mar 27 18:46:28 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 27 Mar 2012 15:46:28 -0700 Subject: ANN and OT: Calling All SETI Enthusiasts In-Reply-To: <418FB1A7-CECC-4E81-9A32-375F35D76570@twft.com> References: <418FB1A7-CECC-4E81-9A32-375F35D76570@twft.com> Message-ID: <4F724344.3020905@fourthworld.com> Bob Sneidar wrote: ... > Now then to those that remain, consider that it's not just a matter > of having the technology. We also have to have the resources, the > time to build such a machine... Bob, it seems you and the others are have two very different conversations: Here you're talking about things humans might do to explore space, but the SETI project is about finding other species who may be exploring space. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From bobs at twft.com Tue Mar 27 19:06:16 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 27 Mar 2012 16:06:16 -0700 Subject: ANN and OT: Calling All SETI Enthusiasts In-Reply-To: <4F724344.3020905@fourthworld.com> References: <418FB1A7-CECC-4E81-9A32-375F35D76570@twft.com> <4F724344.3020905@fourthworld.com> Message-ID: Good point Richard. I guess in my mind any species would be faced with the same kind of problems, but it gets the point across better if I put humans in the alien's shoes for a bit. :-) (That is another good point: Do aliens wear shoes?) Bob On Mar 27, 2012, at 3:46 PM, Richard Gaskin wrote: > Bob Sneidar wrote: > > ... > > Now then to those that remain, consider that it's not just a matter > > of having the technology. We also have to have the resources, the > > time to build such a machine... > > Bob, it seems you and the others are have two very different conversations: > > Here you're talking about things humans might do to explore space, but the SETI project is about finding other species who may be exploring space. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bvg at mac.com Tue Mar 27 19:43:12 2012 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 28 Mar 2012 01:43:12 +0200 Subject: Text formatting for a slider In-Reply-To: References: <1A4AA4FD-A44F-42FC-BAB5-9EECF9E028DC@sbcglobal.net> <4F6A38EA.6040601@gmail.com> <9A1F0C9C-C6A9-49BA-B5C1-AA301F48451E@mac.com> Message-ID: <590E9188-AD2B-4226-9ED7-6070D3B30B9C@mac.com> no, this was about finding out properties, and has not direct to do with my docu stack at all :) On 24.03.2012, at 20:57, Pete wrote: > Hi Bjornke, > Does the below mean your Docu plugin won't work with 5.5? I'd be sorry if > that was the case - it's sooo much better than the built in dictionary > interface! > Pete > > 2012/3/24 Bj?rnke von Gierke > >> Furthermore, there's no way to find out the possible settings out that >> way, again this can only be found in the dictionary, but this time around, >> it's not machine readable. > > > > > -- > Pete > Molly's Revenge > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From barrysum at bigpond.net.au Tue Mar 27 20:53:38 2012 From: barrysum at bigpond.net.au (Barry G. Sumpter) Date: Wed, 28 Mar 2012 11:53:38 +1100 Subject: Android play sounds Message-ID: <004301cd0c7d$3646fe40$a2d4fac0$@bigpond.net.au> Yep, a timer to sound an alarm and 1 minute intervals. I forgot how complex/different Android sounds are from win32 sounds. Perhaps the first time the play sound is attempted The file doesn't exist Or the folder doesn't exist Or the actual sound file won't play on android As my sound file on android are .ogg I'm selecting the sounds from the existing sound files on my Android device. Using the following paths /system/media/audio/ alarms notifications ringtones ui The storing the path n file name into a preferences file and on an Interval or Finish button as a custom property on mouseUp -- show the path and file name of the sound put "Playing: " & the cSoundPathAndFileName of button btnSoundsInterval into field lblPlayingSound -- now actually play the sound Play the cSoundPathAndFileName of button btnSoundsInterval end mouseUp lblPlayingSound field: /system/media/audio/notifications/Aldebaran.ogg or /system/media/audio/ui/Dock.ogg Just tested again on LC 5.5 build 1479 - all working OK Tested on two HD2s. If I might be so bold to suggest a test button with a sound file that you know its exact path to. If it plays then try the exact same play command/script line right where the other sound is NOT playing. on mouseUp play "/system/media/audio/ui/Dock.ogg" end mouseUp hth -------------------------------------------------------- Message: 9 Date: Tue, 27 Mar 2012 15:18:16 -0400 From: Michael Doub To: LiveCode Developer List , How To use LiveCode use LiveCode Subject: Android play sounds Message-ID: <202365A5-E4CE-43D4-A1A7-C693689212AC at gmail.com> Content-Type: text/plain; charset=us-ascii I am building a android timer application. The sound file "AC.mp3" is located in a folder "Data". Within the standalone builder I added the "Data" folder under the copy files tab which now displays: "Data/*". All of this seems to work just fine, however the sound file is not played on the first play call. The sound is successfully played on all subsequent calls. The result returned on the first play call is "no sound support" which is different from what is specified in the Android release notes. So I think we have a documentation error at the very least. Is there any sound initialization step that I am missing? Here is the alarm code: On alarm if the environment is "mobile" then put specialFolderPath("engine") & slash & "Data" & slash & "AC.mp3" into tSound play tSound else beep end if end alarm From MikeKerner at roadrunner.com Tue Mar 27 21:04:07 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 27 Mar 2012 21:04:07 -0400 Subject: https server example Message-ID: Has anybody developed an example of SERVING https before I go reinventing the wheel? From mickclns at mac.com Tue Mar 27 23:26:45 2012 From: mickclns at mac.com (Mick Collins) Date: Wed, 28 Mar 2012 03:26:45 +0000 (GMT) Subject: ANN and OT: Calling All SETI Enthusiasts In-Reply-To: Message-ID: Sounds like a failure of imagination, Bob. ?You said, "Orville was probably talking about people who were saying at the time that it was impossible for humans to take flight." ?Maybe he wasn't. ?But let's say he was. ?Just because he WASN'T applying it beyond his immediate situation doesn't mean NO ONE CAN apply it to their more up-to-date situation or (gasp) even apply it beyond his/her/our own situation. I am reminded of how many times (7.3) physicists or other scientists on the cutting edge have said that we are only this ( ) far from a full grasp of the universe(s) (we don't need to worry about those little flaws in our theory, a little housekeeping will take care of them) only to have a significant change happen a few years later, brought about by those pesky flaws. ?I don't think we have a very good idea of whether our spectrum of knowledge occupies 99% of full knowledge (whatever that means) or 1% or a 10,000th of a percent or asymptotically 0. ?I personally lean toward the latter end (well, bully for me). ?Here are another couple of quotations, both by Arthur C. Clarke that whittle my tilly. ? ?- ?Mick (my name, not a quotation) Any sufficiently advanced technology is indistinguishable from magic.? I'm sure the universe is full of intelligent life. It's just been too intelligent to come here. Message: 9 Date: Tue, 27 Mar 2012 08:42:02 -0700 From: Bob Sneidar To: How to use LiveCode Subject: Re: ANN and OT: Calling All SETI Enthusiasts Message-ID: Content-Type: text/plain; charset=us-ascii Orville was probably talking about people who were saying at the time that it was impossible for humans to take flight. That is not a statement about what is true, it is a statement about what is possible. It's sobering to think someone so smart as Orville Wright could get the two confused. Is it theoretically possible to travel to another planet? Sure! Is it practically possible? Not a chance. The difference between what is true and what is possible. Again, it is a matter of logistics. To experiment and build a craft that can float on air here on terra firma is one thing. To build a craft that can travel to another planet we cannot see and study from here over the vast period of time it would take to get there, not to mention the time dilation that would occur, in one lifetime, and be able to communicate back to say we succeeded, while the people who sent us are still alive, well, that is quite another. I can empty my pool with a garden hose, but I'd be a fool to try to empty lake Erie. I can write a program to keep track of my computer assets. I cannot make a computer to calculate the answer to life, the Universe, Everything! :-) Bob On Mar 27, 2012, at 4:38 AM, Mick Collins wrote: > Talking about presumptuous, Bob, well here's a good quotation to keep in mind. > > If we all worked on the assumption that what is accepted as true is really true, there would be little hope of advance. -- Orville Wright > > > From scott at elementarysoftware.com Tue Mar 27 23:49:32 2012 From: scott at elementarysoftware.com (Scott Morrow) Date: Tue, 27 Mar 2012 20:49:32 -0700 Subject: LiveCode Player for 5.5 In-Reply-To: References: Message-ID: <92BDE716-3848-4B85-9866-E6F3EEE20943@elementarysoftware.com> On Mar 27, 2012, at 11:11 AM, Judy Perry wrote: > a cookie and a piece of fake cheese Judy, Do you think it is alright to mention even fake cheese? : ) -Scott Morrow From capellan2000 at gmail.com Wed Mar 28 00:32:33 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 27 Mar 2012 21:32:33 -0700 (PDT) Subject: revsecurtity.dll In-Reply-To: <114A034A-CF23-463A-8DD6-78A60592153F@major.on-rev.com> References: <9FB94A7E-7711-4198-A3A5-29CB5F6FC5C8@major.on-rev.com> <6B1C0D17-2A23-4C3F-B06A-476D41D4EC99@sweattechnologies.com> <1161FA03-C664-4B97-8C97-F695D1F6094C@major.on-rev.com> <9ADAC399-BADB-4B1F-AC8A-E4E5F0EAFD94@unimelb.edu.au> <114A034A-CF23-463A-8DD6-78A60592153F@major.on-rev.com> Message-ID: <1332909153552-4511351.post@n4.nabble.com> Hi Klaus, Could you use a virtualization application like Cameyo, Evalaze, Xenocode or ThinApp? These applications produce a single executable that package many applications and all their associated files. I am sure that in this maillist there are developers with more practical experience than me in this particular area, so if you want to test this recommendation, I suggest to ask them about the performance of virtualized applications in a new thread. Good Luck! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/revsecurtity-dll-tp4506523p4511351.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Wed Mar 28 00:57:37 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 27 Mar 2012 21:57:37 -0700 (PDT) Subject: [OT] Android Player for Windows - BlueStacks Message-ID: <1332910657187-4511369.post@n4.nabble.com> Hi All, This could be interesting for many of you: http://bluestacks.com/ Your Favorite Android Apps Now on PC (beta) Have a nice day! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Android-Player-for-Windows-BlueStacks-tp4511369p4511369.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Wed Mar 28 01:08:19 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 28 Mar 2012 00:08:19 -0500 Subject: LiveCode 5.5 and html In-Reply-To: References: Message-ID: <4F729CC3.2060405@hyperactivesw.com> On 3/27/12 1:39 PM, Yves COPPE wrote: > Hi list > > I have a problem > > set clipboardData["html"] to tVar > > was very good until LC 5.0 > > but causes LC to crashe since 5.5 > on mac OS X Lion French language ?. > > Has anyone a idea why ? The htmlText property was revised for 5.5 to support the new field features. You can look at page 10 of the release notes to see if any of the changes might be the cause. The engine shouldn't crash in any case though, so it would be good to submit a bug report along with an example. If you don't have access to the bug database, send it to bugs at runrev.com. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From yvescoppe at skynet.be Wed Mar 28 01:41:51 2012 From: yvescoppe at skynet.be (Yves COPPE) Date: Wed, 28 Mar 2012 07:41:51 +0200 Subject: LiveCode 5.5 and html In-Reply-To: <4F729CC3.2060405@hyperactivesw.com> References: <4F729CC3.2060405@hyperactivesw.com> Message-ID: <15E690D7-1134-46D2-9E70-284E881C50ED@skynet.be> Le 28 mars 2012 ? 07:08, J. Landman Gay a ?crit : > On 3/27/12 1:39 PM, Yves COPPE wrote: >> Hi list >> >> I have a problem >> >> set clipboardData["html"] to tVar >> >> was very good until LC 5.0 >> >> but causes LC to crashe since 5.5 >> on mac OS X Lion French language ?. >> >> Has anyone a idea why ? > > The htmlText property was revised for 5.5 to support the new field features. You can look at page 10 of the release notes to see if any of the changes might be the cause. The engine shouldn't crash in any case though, so it would be good to submit a bug report along with an example. If you don't have access to the bug database, send it to bugs at runrev.com. > I will send my script to bugs at runrev.com Thanks. Amicalement. Yves COPPE yvescoppe at skynet.be From klaus at major.on-rev.com Wed Mar 28 06:50:37 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 28 Mar 2012 12:50:37 +0200 Subject: revsecurtity.dll In-Reply-To: <1332909153552-4511351.post@n4.nabble.com> References: <9FB94A7E-7711-4198-A3A5-29CB5F6FC5C8@major.on-rev.com> <6B1C0D17-2A23-4C3F-B06A-476D41D4EC99@sweattechnologies.com> <1161FA03-C664-4B97-8C97-F695D1F6094C@major.on-rev.com> <9ADAC399-BADB-4B1F-AC8A-E4E5F0EAFD94@unimelb.edu.au> <114A034A-CF23-463A-8DD6-78A60592153F@major.on-rev.com> <1332909153552-4511351.post@n4.nabble.com> Message-ID: Hi Al, Am 28.03.2012 um 06:32 schrieb Alejandro Tejada: > Hi Klaus, > > Could you use a virtualization application > like Cameyo, Evalaze, Xenocode or ThinApp? > > These applications produce a single executable > that package many applications and all their > associated files. Looks good, will give it a try! > I am sure that in this maillist there are developers > with more practical experience than me in this > particular area, so if you want to test this > recommendation, I suggest to ask them > about the performance of virtualized applications > in a new thread. > > Good Luck! Thank you! > Al Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From richard at richardmac.com Wed Mar 28 06:51:46 2012 From: richard at richardmac.com (Richard MacLemale) Date: Wed, 28 Mar 2012 06:51:46 -0400 Subject: LiveCode Player for 5.5 In-Reply-To: References: Message-ID: <3599A28B-7F26-4CD5-AD76-5AFFC9351C43@richardmac.com> On Mar 27, 2012, at 2:11 PM, Judy Perry wrote: > And, yupp, iPads are the shiny new toys... that will suck budgetary funds out of nurses and teacher's aids and lunches for nothing (remember when having laptops in the classroom was the new shiny toy that accomplished what exactly??? and before that having a desktop computer in the classroom?). I've seen very good work done with first graders, high school kids, and autistic kids in our district. The iPad is a fantastic tool with great potential if you know what to do with it. My wife teaches 2nd grade and whenever she brings the iPads in, the students love them. A good teacher can translate that enthusiasm into learning. A bad teacher will let the kids "play" on the technology and grade papers. Too often technology gets blamed for bad teaching. I agree that LiveCode presents a fantastic opportunity for students and I've never heard of a classroom actually using it. I taught 5th grade a loooong time ago, and I had my kids programming in HyperCard. A few of those kids are now working in computer science. That makes me feel pretty awesome. Course they were using a Desktop Computer in my classroom, which you just bashed. :) Richard MacLemale From livfoss at mac.com Wed Mar 28 07:28:31 2012 From: livfoss at mac.com (Graham Samuel) Date: Wed, 28 Mar 2012 13:28:31 +0200 Subject: May be OT: where is iOS 5.1 SDK and how can I deploy it? In-Reply-To: References: Message-ID: <1FD07734-00AE-4C08-B4A4-EC62FA294C66@mac.com> Tom thanks - The charm of living in Europe and getting the LiveCode digest is that you wake up in the morning and someone has answered your question! Sadly though in this case it doesn't work: when I do exactly what you suggest, LC pops up a dialog box which says: "The chosen folder is not a valid iOS SDK for 5.0 or later. It must be one that ships with XCode 4.2 or later." Actually it does it the first time, but after that it seems to accept it, but on trying to do 'Test' (i.e. run the Simulator), I get: "unknown development platform" This despite this version of XCode reporting itself as 4.3.2 and containing (as I suppose is normal) a folder called 'Contents' which itself many folders including one called 'Developer'. So I tried to copy all of this contents to a new folder in my Developer folder (how the heck this got populated in the previous version I can't remember, and I can't imagine why it doesn't just get updated during the download). This didn't work either, because LC wouldn't accept any of the stuff within the new folder or the new folder itself (it just wanted to keep on opening the folders without allowing me to choose one). If I left the thing pointing at my old 'Developer' folder, all I got was the previous stuff. I am still totally puzzled. I was thinking of either downloading 4.3.2 again (although frankly I don't see what that would do) or writing to support - I have just composed a note to them as I have run out of ideas. If the reply is of general interest I will post it to the list. Meanwhile I will just carry on with iOS 5.0. There must obviously be a difference between your setup and mine. Thanks anyway for replying Graham On Tue, 27 Mar 2012 17:35:08 -0400, Thomas McGrath III wrote: > Graham, > > Just point the top button in device preferences to the xCode.app in you applications folder. That's it. It will find it itself. > > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > > On Mar 27, 2012, at 3:39 PM, Graham Samuel wrote: > >> As I have LC5.5, I downloaded Xcode 4.3.2 from Apple. It shows up in my Applications folder and I can run it, but it doesn't seem to have altered my Developer folder at all - all the file dates seem to be earlier, and there is no sign of the 5.1 SDK. The simulator there also seems to be 5.0. >> >> When I open the LC mobile preferences, I am asked what version of XCode I'm running. If I answer "4.3" I am asked to point LC at the 4.3 App Bundle (this is the same as "location of developer root for iOS 5.0 and above" I think), but I can't find it. I thought it might be in the actual XCode app itself (of course this is really a folder), which naturally enough is in the Applications folder, but all I can point to is >> >> /Applications/Xcode.app/Contents/Developer >> >> which results in "unknown deployment platform" when I try to test an app. If I actually look at the contents of the XCode application folder with the Finder, it does seem to have everything I need, including a new SDK and a new simulator, but I don't know what to do to tell LC to look for it (I suppose I could copy everything which has the same name as the stuff in my current Developer folder so as to replace it, but I am not keen to try this). >> >> I am totally at sea and so far have not found any documentation to help me. Can anyone point me in the right direction. I'd be more than grateful. >> >> Confused >> >> Graham From matthias_livecode_150811 at m-r-d.de Wed Mar 28 09:52:44 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 28 Mar 2012 15:52:44 +0200 Subject: LC5.5/Xcode 4.3.2 - App does not show up in the 5.1 simulator Message-ID: Hi, maybe i am doing something wrong. I am trying to run an app in the iOS 5.1 Simulator. But for whatever reason this does not work. In the standalone settings i chose iOS 5.0 and above. There is no option for 5.1. Is this correct? When i press test then the 5.0 Simulator opens and the app shows up. When i then change in the Simulator under hardware the version from 5.0 to 5.1 then the simulator restarts but my app is not shown up and i even cannot find it among the icons on the simulator screen. Did i miss something? Regards, Matthias From pmbrig at gmail.com Wed Mar 28 10:28:04 2012 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Wed, 28 Mar 2012 10:28:04 -0400 Subject: CalendarWidget In-Reply-To: <187228D3-454F-45B4-943A-D9F7570C3E36@twft.com> References: <187228D3-454F-45B4-943A-D9F7570C3E36@twft.com> Message-ID: For instance, in your stack, or in your field script: start using stack "calendarWidget100" -- d = date, in dateitems format put altAnswerDate(item 1 of d,item 2 of d,item 3 of d) into theDate stop using stack "calendarWidget100" if theDate = "" then exit to top put item 2 of theDate & "/" & item 3 of theDate & "/" & char 3 to 4 \ of item 1 of theDate into theDate put theDate into fld "myField" -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Mar 27, 2012, at 11:53 AM, Bob Sneidar wrote: > What I do is I put the dates I want to start with into the dialogData and then call the calendar stack as modal or as sheet (which is modal by nature). When I return from the calendar stack I get the dialogData, checking for empty in case the user cancelled. I let the calling stack handle what to do with the date. For instance, what if the user selected a date earlier than today, and your stack was scheduling a lodging reservation? That would clearly be an error. However you might be working with a to-do list in which case pre dating an event would be conceivable. The Calendar stack couldn't possibly know the difference, so I would not have the calendar stack populate anything if I were you. > > Bob > > > On Mar 26, 2012, at 7:21 PM, Charles Szasz wrote: > >> on mouseUp >> if dialogdata is not empty >> then >> put item 2 of dialogdata into t >> put "/" after t >> put item 3 of dialogdata after t >> put "/" after t >> put item 1 of dialogdata into s >> delete character 1 to 2 of s >> put s after t >> put t into field "date1" of stack "My app" >> else >> put the uMonth of group "calendarWidget" of card id 1002 into t >> put "/" after t >> put the uMonth of group "calendarWidget" of card id 1002 after t >> put "/" after t >> put the uYear of group "calendarWidget" of card id 1002 into s >> delete character 1 to 2 of s >> put s after t >> put t into field "date1" of stack "My app" >> end if >> close this stack >> end mouseUp >> >> What changes do I need to make so calendarWidget 101 can insert dates in other fields? >> >> Charles Szasz >> cszasz at mac.com >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lfredricks at proactive-intl.com Wed Mar 28 11:01:36 2012 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Wed, 28 Mar 2012 08:01:36 -0700 Subject: Valentina 5 Server Sneak Peek Message-ID: Hello all, We've posted a Valentina 5 Server Sneak Peek on the Omegabundle site: http://www.omegabundle.com/valentina-5-sneak-peek-5-new-features-in-valentin a-server Folks who purchase the Omegabundle this year will get a free upgrade (in fact, 12 months of updates) Valentina Server Unlimited. Valentina Server Unlimited normally costs $1499, but its included with Omegabundle for LiveCode 2012, which costs $399. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From gbojsza at gmail.com Wed Mar 28 11:10:36 2012 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 28 Mar 2012 09:10:36 -0600 Subject: Launching several applications via shell... Message-ID: I am trying to have a simple application launcher (on Linux) where the user can launch different applications but a clicking the associated button. The problem is that once the user has launched one application none of the others will launch until they close the application they just opened. I would like to allow all applications to remain open even if the Livecode application closes... is this possible. So far all I am using is the shell command in each button for an individual application. button "Traffic Generator" on mouseUp get shell("trafficgen") end mouseUp button "pEditor" on mouseUp get shell("editor") end mouseUp etc Q: is there something that should be added to the shell syntax or another way of doing this? thanks, Glen From th.douez at gmail.com Wed Mar 28 11:21:29 2012 From: th.douez at gmail.com (Thierry Douez) Date: Wed, 28 Mar 2012 17:21:29 +0200 Subject: Launching several applications via shell... In-Reply-To: References: Message-ID: 2012/3/28 Glen Bojsza I am trying to have a simple application launcher (on Linux) where the user > can launch different applications but a clicking the associated button. > > The problem is that once the user has launched one application none of the > others will launch until they close the application they just opened. > > I would like to allow all applications to remain open even if the Livecode > application closes... is this possible. > > So far all I am using is the shell command in each button for an individual > application. > > thanks, > > Glen > Did you try this one: get shell("trafficgen & disown ") .... get shell("editor & disown") HTH, Thierry From gbojsza at gmail.com Wed Mar 28 11:34:30 2012 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 28 Mar 2012 09:34:30 -0600 Subject: Launching several applications via shell... In-Reply-To: References: Message-ID: Hi Thierry, I just tried your idea but with the same problem... unless I close the first application that has been opened the other won't open. On Wed, Mar 28, 2012 at 9:21 AM, Thierry Douez wrote: > 2012/3/28 Glen Bojsza > > I am trying to have a simple application launcher (on Linux) where the user > > can launch different applications but a clicking the associated button. > > > > The problem is that once the user has launched one application none of > the > > others will launch until they close the application they just opened. > > > > I would like to allow all applications to remain open even if the > Livecode > > application closes... is this possible. > > > > So far all I am using is the shell command in each button for an > individual > > application. > > > > thanks, > > > > Glen > > > > Did you try this one: > > get shell("trafficgen & disown ") > .... > get shell("editor & disown") > > HTH, > > Thierry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From irog at mac.com Wed Mar 28 11:35:05 2012 From: irog at mac.com (Roger Guay) Date: Wed, 28 Mar 2012 09:35:05 -0600 Subject: ANN and OT: Calling All SETI Enthusiasts In-Reply-To: References: Message-ID: <192EAAE8-DE50-4E72-B19F-770A2EDE62DF@mac.com> Sigh . . . if only a mere 10% of this discussion could have been relevant to the technical merits of my SETIproblem stack. I feel like my thread has been hijacked! Thanks and cheers, Roger From gcanyon at gmail.com Wed Mar 28 11:39:14 2012 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 28 Mar 2012 10:39:14 -0500 Subject: Clean Plugins In-Reply-To: <6B14F45B-4DD0-4EFA-ACBD-4C17934FC402@mac.com> References: <6B14F45B-4DD0-4EFA-ACBD-4C17934FC402@mac.com> Message-ID: You're asking me about something I haven't touched in about ten years. ;-) I don't think I did anything in particular other than prefix the stack name with "rev" so it wouldn't show up in stack lists unless the "show rev stacks" item in the preferences was set. Other than that, as Richard said, it's the mode of the stack. On Tue, Mar 27, 2012 at 2:19 PM, Bill Vlahos wrote: > I'm about to release a new plugin. Plugins are basically stacks but I > noticed that revNavigator and GoRevNet are not editable stacks. In fact you > can't even get to any of the items in the Objects menu as they are all > dimmed so you can't get to their properties or scripts. > > How did you guys do that? It is very clean. > > Bill Vlahos > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From th.douez at gmail.com Wed Mar 28 11:41:47 2012 From: th.douez at gmail.com (Thierry Douez) Date: Wed, 28 Mar 2012 17:41:47 +0200 Subject: Launching several applications via shell... In-Reply-To: References: Message-ID: 2012/3/28 Glen Bojsza > Hi Thierry, > > I just tried your idea but with the same problem... unless I close the > first application that has been opened the other won't open. > > > and about this one ? get shell("trafficgen & disown &") .... get shell("editor & disown &") Sorry, just suggest out of memory, and as my age is growing... :) Thierry From irog at mac.com Wed Mar 28 11:51:45 2012 From: irog at mac.com (Roger Guay) Date: Wed, 28 Mar 2012 09:51:45 -0600 Subject: use-livecode Digest, Vol 102, Issue 56 In-Reply-To: References: Message-ID: Thanks for your great post, Richard. Just one clarification if I may. Hypothesis, Theory and Law have different connotations in science. A good explanation is found at: http://wilstar.com/theories.htm Cheers, Roger On Mar 27, 2012, at 5:43 PM, use-livecode-request at lists.runrev.com wrote: > Message: 12 > Date: Tue, 27 Mar 2012 12:22:20 -0700 > From: Richard Gaskin > To: use-livecode at lists.runrev.com > Subject: Re: ANN and OT: Calling All SETI Enthusiasts > Message-ID: <4F72136C.6060109 at fourthworld.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Snip . . . . snip > And Einstein's Theory is just that, a theory. It's not yet a law, and > for good reason. Every few years we hear from another quantum physicist > suggesting that they may be on the edge of something that disproves it. > Wouldn't be the first time a new discovery completed shattered our > understanding of how things work. snip . . . snip > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web From th.douez at gmail.com Wed Mar 28 11:52:04 2012 From: th.douez at gmail.com (Thierry Douez) Date: Wed, 28 Mar 2012 17:52:04 +0200 Subject: Launching several applications via shell... In-Reply-To: References: Message-ID: 2012/3/28 Thierry Douez > > > 2012/3/28 Glen Bojsza > >> Hi Thierry, >> >> I just tried your idea but with the same problem... unless I close the >> first application that has been opened the other won't open. >> >> >> and about this one ? > > get shell("trafficgen & disown &") > .... > get shell("editor & disown &") > and another one to try out : get shell("nohup editor") or get shell("nohup editor &") Thierry From bonnmike at gmail.com Wed Mar 28 12:04:19 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 28 Mar 2012 10:04:19 -0600 Subject: Launching several applications via shell... In-Reply-To: References: Message-ID: launch "path/to/app" should work right? or open process "path/to/app" for neither maybe? Or the other way as mentioned by theirry I think if you do it like so get shell("mycommand & ; disown") so that disown is on its own it might work. (with no arguments it acts on the current job which in this case is the one that has just been backgrounded) Not sure though that this will allow the shell itself to end which would be a cause of blocking. Think the first 2 options might be better choices for this. On Wed, Mar 28, 2012 at 9:21 AM, Thierry Douez wrote: > 2012/3/28 Glen Bojsza > > I am trying to have a simple application launcher (on Linux) where the user > > can launch different applications but a clicking the associated button. > > > > The problem is that once the user has launched one application none of > the > > others will launch until they close the application they just opened. > > > > I would like to allow all applications to remain open even if the > Livecode > > application closes... is this possible. > > > > So far all I am using is the shell command in each button for an > individual > > application. > > > > thanks, > > > > Glen > > > > Did you try this one: > > get shell("trafficgen & disown ") > .... > get shell("editor & disown") > > HTH, > > Thierry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From gbojsza at gmail.com Wed Mar 28 12:17:29 2012 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 28 Mar 2012 10:17:29 -0600 Subject: Launching several applications via shell... In-Reply-To: References: Message-ID: I found that this will work get shell("trafficgen > /dev/null 2>&1 &") According to Linux it places it as a background process. thanks, Glen On Wed, Mar 28, 2012 at 10:04 AM, Mike Bonner wrote: > launch "path/to/app" should work right? > > or > > open process "path/to/app" for neither > > maybe? > > Or the other way as mentioned by theirry > > I think if you do it like so get shell("mycommand & ; disown") > so that disown is on its own it might work. (with no arguments it acts on > the current job which in this case is the one that has just been > backgrounded) > > Not sure though that this will allow the shell itself to end which would be > a cause of blocking. Think the first 2 options might be better choices for > this. > > On Wed, Mar 28, 2012 at 9:21 AM, Thierry Douez wrote: > > > 2012/3/28 Glen Bojsza > > > > I am trying to have a simple application launcher (on Linux) where the > user > > > can launch different applications but a clicking the associated button. > > > > > > The problem is that once the user has launched one application none of > > the > > > others will launch until they close the application they just opened. > > > > > > I would like to allow all applications to remain open even if the > > Livecode > > > application closes... is this possible. > > > > > > So far all I am using is the shell command in each button for an > > individual > > > application. > > > > > > thanks, > > > > > > Glen > > > > > > > Did you try this one: > > > > get shell("trafficgen & disown ") > > .... > > get shell("editor & disown") > > > > HTH, > > > > Thierry > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From th.douez at gmail.com Wed Mar 28 12:22:34 2012 From: th.douez at gmail.com (Thierry Douez) Date: Wed, 28 Mar 2012 18:22:34 +0200 Subject: Launching several applications via shell... In-Reply-To: References: Message-ID: 2012/3/28 Glen Bojsza > I found that this will work > > get shell("trafficgen > /dev/null 2>&1 &") > > According to Linux it places it as a background process. > > thanks, > > Glen > > Hi Glen, Out of curiosity, if you start an interactive process, i.e an editor; does your solution still works ? I mean can you read/write within your editor ? Thierry From klaus at major.on-rev.com Wed Mar 28 12:40:53 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 28 Mar 2012 18:40:53 +0200 Subject: Windows: Programm Compatibility Assistent Message-ID: <4AA78317-E229-4E67-BBD8-AB3DCFAEC878@major.on-rev.com> Hi friends, I have a strange problem with my windows app(s) on Win7. 1. I created a runtime XYZ.exe, UAC Execution Level -> Default 2. I created an installer "Install XYT.exe" with UAC Execution Level -> ADMNISTRATOR, Its an installer :-) Everythings gets installed fine in general on XP and Win7, but when I quit either of the apps on Win7 I get the Windows dialog here... English: German: Waht is puzzling me is the fact that this is an installer!, that one will load from the internet, run it once and then trash it, so it is not being "installed" in any way at all!? Know what I mean? I thought that the UAC would take care of this? Is there any way to get rid of that diaolog with the means of Livecode? Thanks a lot in advance! Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From revolution at derbrill.de Wed Mar 28 12:55:34 2012 From: revolution at derbrill.de (Malte Brill) Date: Wed, 28 Mar 2012 18:55:34 +0200 Subject: Clean Plugins In-Reply-To: References: Message-ID: Also have a look at the cantModify property of the stack + cantSelect for single controls. Hth, Malte From pete at mollysrevenge.com Wed Mar 28 12:55:41 2012 From: pete at mollysrevenge.com (Pete) Date: Wed, 28 Mar 2012 09:55:41 -0700 Subject: CSV Files Message-ID: OK, so I know CSV files are not everyone's favorite subject but sometimes you have no control over how data reaches you! I have a handler in place that deals with the vagaries of CSV files, like returns, commas, and quotes in the data (did I miss any?) but it relies on a repeat loop looking at every character in the csv file. It seems to work just fine but I'm wondering if the collective knowledge of this list gas already come up with a more efficient solution. Thanks, -- Pete Molly's Revenge From bobs at twft.com Wed Mar 28 13:03:25 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 28 Mar 2012 10:03:25 -0700 Subject: CSV Files In-Reply-To: References: Message-ID: <490A556A-AC5E-4EA2-8F4A-DBDDAFBEBC0C@twft.com> I have noticed that csv exports from Excel will stop short of including all the columns in any given row if there is no more data, so you will get rows with varying numbers of columns if you have any empty "cells" at the end of a row. That has tripped me up a few times with other software that expects data to be there, even if it's an empty value. Bob On Mar 28, 2012, at 9:55 AM, Pete wrote: > OK, so I know CSV files are not everyone's favorite subject but sometimes > you have no control over how data reaches you! > > I have a handler in place that deals with the vagaries of CSV files, like > returns, commas, and quotes in the data (did I miss any?) but it relies on > a repeat loop looking at every character in the csv file. It seems to work > just fine but I'm wondering if the collective knowledge of this list gas > already come up with a more efficient solution. > > Thanks, > -- > Pete > Molly's Revenge > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From keith.clarke at clarkeandclarke.co.uk Wed Mar 28 13:09:03 2012 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Wed, 28 Mar 2012 18:09:03 +0100 Subject: CSV Files In-Reply-To: <490A556A-AC5E-4EA2-8F4A-DBDDAFBEBC0C@twft.com> References: <490A556A-AC5E-4EA2-8F4A-DBDDAFBEBC0C@twft.com> Message-ID: <6485214B-FF6B-4079-8639-A8C1F4684AC9@clarkeandclarke.co.uk> ...that seems to be the same for Google sheets, too - though I've not dug into whether there is an obvious end-of-line character. Best, Keith.. On 28 Mar 2012, at 18:03, Bob Sneidar wrote: > I have noticed that csv exports from Excel will stop short of including all the columns in any given row if there is no more data, so you will get rows with varying numbers of columns if you have any empty "cells" at the end of a row. That has tripped me up a few times with other software that expects data to be there, even if it's an empty value. > > Bob > > > On Mar 28, 2012, at 9:55 AM, Pete wrote: > >> OK, so I know CSV files are not everyone's favorite subject but sometimes >> you have no control over how data reaches you! >> >> I have a handler in place that deals with the vagaries of CSV files, like >> returns, commas, and quotes in the data (did I miss any?) but it relies on >> a repeat loop looking at every character in the csv file. It seems to work >> just fine but I'm wondering if the collective knowledge of this list gas >> already come up with a more efficient solution. >> >> Thanks, >> -- >> Pete >> Molly's Revenge >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From johnpatten at mac.com Wed Mar 28 13:14:03 2012 From: johnpatten at mac.com (John Patten) Date: Wed, 28 Mar 2012 10:14:03 -0700 Subject: File path to image on iOS? Message-ID: Hi All... Is it possible to save an image from the iOS camera in a folder other than "camera Roll?" And is it possible for the iOS camera command to save the image in a folder within the app and then use those images by saving their path and then setting the filename of image object in app to something like, defaultFolder/images/imagnename.jpg? Thank you! John Patten SUSD From bobs at twft.com Wed Mar 28 13:18:39 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 28 Mar 2012 10:18:39 -0700 Subject: CSV Files In-Reply-To: <6485214B-FF6B-4079-8639-A8C1F4684AC9@clarkeandclarke.co.uk> References: <490A556A-AC5E-4EA2-8F4A-DBDDAFBEBC0C@twft.com> <6485214B-FF6B-4079-8639-A8C1F4684AC9@clarkeandclarke.co.uk> Message-ID: <2250A6C2-02A2-4CBE-9702-093B54101A6B@twft.com> Now that I think about it, a properly formatted CSV file will quote string values but not numerical values, the obvious reason being, a value may actually contain commas, so they should be quoted to prevent false terminations. Excel will not do that. Maybe that is a good thing, so long as your values do not contain commas. Bob On Mar 28, 2012, at 10:09 AM, Keith Clarke wrote: > ...that seems to be the same for Google sheets, too - though I've not dug into whether there is an obvious end-of-line character. > Best, > Keith.. > > On 28 Mar 2012, at 18:03, Bob Sneidar wrote: > >> I have noticed that csv exports from Excel will stop short of including all the columns in any given row if there is no more data, so you will get rows with varying numbers of columns if you have any empty "cells" at the end of a row. That has tripped me up a few times with other software that expects data to be there, even if it's an empty value. >> >> Bob >> >> >> On Mar 28, 2012, at 9:55 AM, Pete wrote: >> >>> OK, so I know CSV files are not everyone's favorite subject but sometimes >>> you have no control over how data reaches you! >>> >>> I have a handler in place that deals with the vagaries of CSV files, like >>> returns, commas, and quotes in the data (did I miss any?) but it relies on >>> a repeat loop looking at every character in the csv file. It seems to work >>> just fine but I'm wondering if the collective knowledge of this list gas >>> already come up with a more efficient solution. >>> >>> Thanks, >>> -- >>> Pete >>> Molly's Revenge >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Wed Mar 28 13:52:13 2012 From: pete at mollysrevenge.com (Pete) Date: Wed, 28 Mar 2012 10:52:13 -0700 Subject: CSV Files In-Reply-To: <6485214B-FF6B-4079-8639-A8C1F4684AC9@clarkeandclarke.co.uk> References: <490A556A-AC5E-4EA2-8F4A-DBDDAFBEBC0C@twft.com> <6485214B-FF6B-4079-8639-A8C1F4684AC9@clarkeandclarke.co.uk> Message-ID: The csv files are created by an export from a database, not from a spreadsheet so I don't think I need to worry about the Excel/Google issue (thankfully). Non-numeric strings will be in quotes, and the data between the quotes can contain commas and returns, escaped quotes, just about any visible ASCII character in fact. Pete On Wed, Mar 28, 2012 at 10:09 AM, Keith Clarke < keith.clarke at clarkeandclarke.co.uk> wrote: > ...that seems to be the same for Google sheets, too - though I've not dug > into whether there is an obvious end-of-line character. > Best, > Keith.. > > On 28 Mar 2012, at 18:03, Bob Sneidar wrote: > > > I have noticed that csv exports from Excel will stop short of including > all the columns in any given row if there is no more data, so you will get > rows with varying numbers of columns if you have any empty "cells" at the > end of a row. That has tripped me up a few times with other software that > expects data to be there, even if it's an empty value. > > > > Bob > > > > > > On Mar 28, 2012, at 9:55 AM, Pete wrote: > > > >> OK, so I know CSV files are not everyone's favorite subject but > sometimes > >> you have no control over how data reaches you! > >> > >> I have a handler in place that deals with the vagaries of CSV files, > like > >> returns, commas, and quotes in the data (did I miss any?) but it relies > on > >> a repeat loop looking at every character in the csv file. It seems to > work > >> just fine but I'm wondering if the collective knowledge of this list gas > >> already come up with a more efficient solution. > >> > >> Thanks, > >> -- > >> Pete > >> Molly's Revenge > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From gbojsza at gmail.com Wed Mar 28 13:59:22 2012 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 28 Mar 2012 11:59:22 -0600 Subject: Launching several applications via shell... In-Reply-To: References: Message-ID: Using this shell method any of the applications launched run as if they were launched natively from Linux Menus so I guess the answer is yes. On Wed, Mar 28, 2012 at 10:22 AM, Thierry Douez wrote: > 2012/3/28 Glen Bojsza > > > I found that this will work > > > > get shell("trafficgen > /dev/null 2>&1 &") > > > > According to Linux it places it as a background process. > > > > thanks, > > > > Glen > > > > > Hi Glen, > > Out of curiosity, if you start an interactive process, > i.e an editor; does your solution still works ? > I mean can you read/write within your editor ? > > Thierry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From irog at mac.com Wed Mar 28 14:10:41 2012 From: irog at mac.com (Roger Guay) Date: Wed, 28 Mar 2012 12:10:41 -0600 Subject: ANN: ScaleMatic Message-ID: <1116B76A-8C30-4AFF-A1CF-B2601961C41E@mac.com> Hi all, Here is a small utility for making scales/rulers for your stacks: http://web.me.com/irog/Roger_Guay/Downloads.html Scroll down to lower left. Sure would be nice to get RevOnLine back!! Cheers, Roger From mickclns at mac.com Wed Mar 28 14:21:48 2012 From: mickclns at mac.com (Mick Collins) Date: Wed, 28 Mar 2012 18:21:48 +0000 (GMT) Subject: ANN and OT: Calling All SETI Enthusiasts In-Reply-To: Message-ID: ?Well, Roger, since you hijacked your own thread ... So 20th century! Speculation may not be "scientific", but neither is "this is the world" (as opposed to "this is the world as scientists presently know it"). See the difference; it is apparently a point of great confusion on this thread (and others). Bob's "logistics" is, as Rick Santorum said day before yesterday, bullshlt. It assumes logistics based on current pre-speculation knowledge, but is inapplicable in the context of what may or may not happen in the future. "Hypothesis, Theory and Law" are fine, great even, but they also have very limited application in discussing what may be the case in the future. That said, thank you for your stack and thank you, Richard for your post. Be well all, ? ?- ?Mick ? Date: Wed, 28 Mar 2012 09:51:45 -0600 From: Roger Guay To: use-livecode at lists.runrev.com Subject: Re: use-livecode Digest, Vol 102, Issue 56 Message-ID: Content-Type: text/plain; CHARSET=US-ASCII Thanks for your great post, Richard. Just one clarification if I may. Hypothesis, Theory and Law have different connotations in science. A good explanation is found at: http://wilstar.com/theories.htm Cheers, Roger On Mar 27, 2012, at 5:43 PM, use-livecode-request at lists.runrev.com wrote: > Message: 12 > Date: Tue, 27 Mar 2012 12:22:20 -0700 > From: Richard Gaskin > To: use-livecode at lists.runrev.com > Subject: Re: ANN and OT: Calling All SETI Enthusiasts > Message-ID: <4F72136C.6060109 at fourthworld.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Snip . . . . snip > And Einstein's Theory is just that, a theory. It's not yet a law, and > for good reason. Every few years we hear from another quantum physicist > suggesting that they may be on the edge of something that disproves it. > Wouldn't be the first time a new discovery completed shattered our > understanding of how things work. snip . . . snip > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web From jhurley0305 at sbcglobal.net Wed Mar 28 14:28:11 2012 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Wed, 28 Mar 2012 11:28:11 -0700 Subject: ANN and OT: Calling All SETI Enthusiasts In-Reply-To: References: Message-ID: <3FA2A16A-ADFE-4C6F-88E7-31AF65AC0D40@sbcglobal.net> Roger and RIchard, Two more distinctions: 1) Theories that supersede vs. theories that overturn The General theory of relativity superseded Newton's theory of gravity and QM superseded Newtonian dynamics. In each case, the second is the classical limit of the first. On the other hand, Newtonian theory of gravity overturned Aristotelian theory of gravity. 2) Theories of such weight, of such abundance and breadth of confirmation, vs. Theories of the lesser weight Regarding this distinction, the current rhubarb over experimental evidence purporting to find neutrinos that traveled at a speed greater than light, some die hard theoretical physicists have recalled Sir Arthur Eddington (renowned British astrophysicist) facetiously saying "Experiments should not be believed until they have been confirmed by theory." The neutrino played a similar roll many years ago. In a certain collision of elementary particle the evidence of the tracks in the cloud chamber were such that energy was not conserved in the reaction. Rather than admit a violation of such an entrenched fundamental physical law, it was assumed that there was some, as yet unknown, particle that was invisible in the cloud chamber that had carried away the missing energy. Later that particle was found; it was the neutrino. Jim > > Message: 21 > Date: Wed, 28 Mar 2012 09:51:45 -0600 > From: Roger Guay > To: use-livecode at lists.runrev.com > Subject: Re: use-livecode Digest, Vol 102, Issue 56 > Message-ID: > Content-Type: text/plain; CHARSET=US-ASCII > > Thanks for your great post, Richard. Just one clarification if I may. > > Hypothesis, Theory and Law have different connotations in science. A good explanation is found at: > > http://wilstar.com/theories.htm > > Cheers, > Roger > > > > > On Mar 27, 2012, at 5:43 PM, use-livecode-request at lists.runrev.com wrote: > >> Message: 12 >> Date: Tue, 27 Mar 2012 12:22:20 -0700 >> From: Richard Gaskin >> To: use-livecode at lists.runrev.com >> Subject: Re: ANN and OT: Calling All SETI Enthusiasts >> Message-ID: <4F72136C.6060109 at fourthworld.com> >> Content-Type: text/plain; charset=ISO-8859-1; format=flowed >> >> > > Snip . . . . snip > > >> And Einstein's Theory is just that, a theory. It's not yet a law, and >> for good reason. Every few years we hear from another quantum physicist >> suggesting that they may be on the edge of something that disproves it. >> Wouldn't be the first time a new discovery completed shattered our >> understanding of how things work. > > snip . . . snip > > >> -- >> Richard Gaskin >> Fourth World Systems >> Software Design and Development for the Desktop, Mobile, and the Web > > > From gandalf at doctorTimothyMiller.com Wed Mar 28 14:38:10 2012 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Wed, 28 Mar 2012 11:38:10 -0700 Subject: ANN and OT: Calling All SETI Enthusiasts In-Reply-To: References: <418FB1A7-CECC-4E81-9A32-375F35D76570@twft.com> <4F724344.3020905@fourthworld.com> Message-ID: <361F8CEC-4688-4DA5-A9D6-548BC7466635@doctorTimothyMiller.com> A bit further off topic... I used to donate my spare clock cycles to seti at home. Fun at first. I stopped for two reasons. One -- If anyone finds ET's phone number, it will cause global pandemonium. The human race isn't ready for this discovery. Two -- If I find ET's phone number and I become known as the discoverer, it's very likely that some misguided person will assassinate me. Cheers, Tim On Mar 27, 2012, at 4:06 PM, Bob Sneidar wrote: > Good point Richard. I guess in my mind any species would be faced with the same kind of problems, but it gets the point across better if I put humans in the alien's shoes for a bit. :-) (That is another good point: Do aliens wear shoes?) > > Bob > > > On Mar 27, 2012, at 3:46 PM, Richard Gaskin wrote: From barrysum at bigpond.net.au Wed Mar 28 14:52:24 2012 From: barrysum at bigpond.net.au (Barry G. Sumpter) Date: Thu, 29 Mar 2012 05:52:24 +1100 Subject: Launching several applications via shell... Message-ID: <000f01cd0d13$ea3da2a0$beb8e7e0$@bigpond.net.au> Have a go at: launch url urlToLaunch Summary: Launches a url in the appropriate manner for the current system. Example: launch url "http://www.runrev.com" launch url "file:/Users/ben/Desktop/test.pdf" launch url "tel:44 7818 8822" ----- maybe Launch app A that launches app A1, A2, A3 Then close app A ? hth ------------------------------ Message: 16 Date: Wed, 28 Mar 2012 17:21:29 +0200 From: Thierry Douez To: How to use LiveCode Subject: Re: Launching several applications via shell... Message-ID: Content-Type: text/plain; charset=UTF-8 2012/3/28 Glen Bojsza I am trying to have a simple application launcher (on Linux) where the user > can launch different applications but a clicking the associated button. > > The problem is that once the user has launched one application none of > the others will launch until they close the application they just opened. > > I would like to allow all applications to remain open even if the > Livecode application closes... is this possible. > > So far all I am using is the shell command in each button for an > individual application. > > thanks, > > Glen > Did you try this one: get shell("trafficgen & disown ") .... get shell("editor & disown") HTH, Thierry ------------------------------ Message: 17 Date: Wed, 28 Mar 2012 09:34:30 -0600 From: Glen Bojsza To: How to use LiveCode Subject: Re: Launching several applications via shell... Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Hi Thierry, I just tried your idea but with the same problem... unless I close the first application that has been opened the other won't open. On Wed, Mar 28, 2012 at 9:21 AM, Thierry Douez wrote: > 2012/3/28 Glen Bojsza > > I am trying to have a simple application launcher (on Linux) where the > user > > can launch different applications but a clicking the associated button. > > > > The problem is that once the user has launched one application none > > of > the > > others will launch until they close the application they just opened. > > > > I would like to allow all applications to remain open even if the > Livecode > > application closes... is this possible. > > > > So far all I am using is the shell command in each button for an > individual > > application. > > > > thanks, > > > > Glen > > > > Did you try this one: > > get shell("trafficgen & disown ") > .... > get shell("editor & disown") > > HTH, > > Thierry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobs at twft.com Wed Mar 28 14:53:08 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 28 Mar 2012 11:53:08 -0700 Subject: ANN and OT: Calling All SETI Enthusiasts In-Reply-To: References: Message-ID: <8B8FF4B1-1554-4813-9F68-47B55EE83A81@twft.com> Rick Santorum is a Livecode programmer?? heh heh. But seriously, try actually coming up with some suggestions at least about how to overcome the obstacles. Otherwise, I declare your cry of "bullshit" to be the true "bullshit" that all who have no answers cry when they are confronted with the difficulties of their assertions. Bob On Mar 28, 2012, at 11:21 AM, Mick Collins wrote: > Bob's "logistics" is, as Rick Santorum said day before yesterday, bullshlt. From jperryl at ecs.fullerton.edu Wed Mar 28 15:06:35 2012 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Wed, 28 Mar 2012 12:06:35 -0700 (PDT) Subject: LiveCode Player for 5.5 In-Reply-To: <92BDE716-3848-4B85-9866-E6F3EEE20943@elementarysoftware.com> References: <92BDE716-3848-4B85-9866-E6F3EEE20943@elementarysoftware.com> Message-ID: Hahahaha! Well, in my own defense, it WAS fake, therefore it can't be, well, you know ;-) On Tue, 27 Mar 2012, Scott Morrow wrote: > Judy, > > Do you think it is alright to mention even fake cheese? : ) From paul at researchware.com Wed Mar 28 15:15:31 2012 From: paul at researchware.com (Paul Dupuis) Date: Wed, 28 Mar 2012 15:15:31 -0400 Subject: ANN: ScaleMatic In-Reply-To: <1116B76A-8C30-4AFF-A1CF-B2601961C41E@mac.com> References: <1116B76A-8C30-4AFF-A1CF-B2601961C41E@mac.com> Message-ID: <4F736353.7090202@researchware.com> Very nice. Of course, an option to set the text color would be nice if you choose a dark ruler color. Also, the units (feet, km, lyrs, etc.) doesn't appear on the vertical ruler, only the horizontal one. On 3/28/2012 2:10 PM, Roger Guay wrote: > Hi all, > > Here is a small utility for making scales/rulers for your stacks: > > http://web.me.com/irog/Roger_Guay/Downloads.html > > Scroll down to lower left. Sure would be nice to get RevOnLine back!! > > Cheers, > Roger > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Paul Dupuis Cofounder Researchware, Inc. http://www.researchware.com/ http://www.twitter.com/researchware http://www.facebook.com/researchware http://www.linkedin.com/company/researchware-inc From jperryl at ecs.fullerton.edu Wed Mar 28 15:16:47 2012 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Wed, 28 Mar 2012 12:16:47 -0700 (PDT) Subject: LiveCode Player for 5.5 In-Reply-To: <3599A28B-7F26-4CD5-AD76-5AFFC9351C43@richardmac.com> References: <3599A28B-7F26-4CD5-AD76-5AFFC9351C43@richardmac.com> Message-ID: Apple just seeded about $800,000 worth of iPads to my one state university campus alone; most instructors privately concede that they just gave them to their kids to play with. The problem isn't with the hardware; it's usually the software and curricular integration end (or largely lack thereof) where it ends up being a monumental waste of money... Here's another funny anecdote: the instructional designers of one of these new wing-ding websites (and the teachers adopting its usage) thought it would be a grand idea to expect a bunch of 10-year olds to correctly copy a 16 digit alpha-numeric code to get into the website onto a piece of paper and be able to read it and correctly enter it at home. REALLY??? I have adults who can't login with a login that consists of firstInitialLastName... Oh, and another website with a bunch of drill and kills, at the end, had a logout button, so my 10 year old son logged out. Lost all his work because he wasn't prompted to "save" before logging out. Why would you assume a 10 year old would know to do that and not catch his error? Mind you, this is NOT a ghetto school O_o FWIW, I'm considering volunteering to do an after-school club for 6th grade next year showing them how to make goofy games in LC if I can get the school to agree to it. Judy On Wed, 28 Mar 2012, Richard MacLemale wrote: > I've seen very good work done with first graders, high school kids, and autistic kids in our district. The iPad is a fantastic tool with great potential if you know what to do with it. My wife teaches 2nd grade and whenever she brings the iPads in, the students love them. A good teacher can translate that enthusiasm into learning. A bad teacher will let the kids "play" on the technology and grade papers. Too often technology gets blamed for bad teaching. > > I agree that LiveCode presents a fantastic opportunity for students and I've never heard of a classroom actually using it. I taught 5th grade a loooong time ago, and I had my kids programming in HyperCard. A few of those kids are now working in computer science. That makes me feel pretty awesome. Course they were using a Desktop Computer in my classroom, which you just bashed. > > :) From jperryl at ecs.fullerton.edu Wed Mar 28 15:18:27 2012 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Wed, 28 Mar 2012 12:18:27 -0700 (PDT) Subject: EdMedia 2012 FINAL Call for Presentations: April 12 (fwd) Message-ID: For everyone who thinks I'm a monumental misguided grump, here's your opportunity to prove me wrong :-D ---------- Forwarded message ---------- Date: Wed, 28 Mar 2012 08:16:40 -0400 (EDT) From: AACE To: Subject: EdMedia 2012 FINAL Call for Presentations: April 12 For Web E-mail Version Click Here http://campaign.r20.constantcontact.com/render?llr=kvjx7fdab&v=001iPF_ovG5vaqhiw1jg731tIVqrsguChuW3VeiqmaEvq-maNhln7NB5ZePeV5bN29WC2gyBFKDa8tol1JfIn2M-jRiVdnXObsu_cNTpAVmZzkZlmyf5wG0YA%3D%3D EdMedia 2012 Logo [http://r20.rs6.net/tn.jsp?et=1109635174118&s=61542&e=001egjLHrcXDBQjYTvNcVBIUKOhGyu09NCUc0ul98HO5QAM9qj9pTwNUsfduxNDKVPf7rYAhFCSWsgEpwCRuDpbJ80ex9jl-LJUo236JWkxzsGLKkPWutYRoG8ouOGvEWAR] June 25 - 29, 2012 Denver, Colorado FINAL Call for Presentations: April 12, 2012 aace.org/conf/edmedia [http://r20.rs6.net/tn.jsp?et=1109635174118&s=61542&e=001egjLHrcXDBQjYTvNcVBIUKOhGyu09NCUc0ul98HO5QAM9qj9pTwNUsfduxNDKVPf7rYAhFCSWsgEpwCRuDpbJ80ex9jl-LJUo236JWkxzsGLKkPWutYRoG8ouOGvEWAR] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Wesch and Kay [http://aace.org/conf/edmedia/speakers] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Final Call for Participation [http://r20.rs6.net/tn.jsp?et=1109635174118&s=61542&e=001egjLHrcXDBTvJPudiIs2Zb6bkdUk0bjXI28TTqiewkCLfsgj3CMVMdyyyo_F-ytWW_y6qzUt0LlltHQFNKB8E2PYiVwYgqtW0tBc9SDudBNHJpC1KyNyhj0z6jyJRi2u9pkliXg3NBDuYoIECBSYEA==] Proposals Due: April 12, 2012 June 25 - 29 ? Denver, Colorado [http://r20.rs6.net/tn.jsp?et=1109635174118&s=61542&e=001egjLHrcXDBTHya2O2o4OVg0Lespp-S5oX4QBtRXBKsq4t1rWkJoqvHB_fWyVwb7DT8P1GKLpzp0HMtzqxqIImJ8hEXV8ET0JFz5-NTt6ml2tSglzrhNItRKABMpypDLbZYvnGNxSp1k=] Grand Hyatt Denver Denver CO [http://r20.rs6.net/tn.jsp?et=1109635174118&s=61542&e=001egjLHrcXDBT22QVZGtOJ9CaVUcK6lJuqi494uN5YHOMYqraBDNOEEnctCh38NXQPtE3K17pVNqBVAFom4QHL7HZMFlZY28qN1YfaIPGd6H9w9jhKSnKr7ir6e2D7Qe9f9QxWP_P4jO8=] EdMedia [http://r20.rs6.net/tn.jsp?et=1109635174118&s=61542&e=001egjLHrcXDBQjYTvNcVBIUKOhGyu09NCUc0ul98HO5QAM9qj9pTwNUsfduxNDKVPf7rYAhFCSWsgEpwCRuDpbJ80ex9jl-LJUo236JWkxzsGLKkPWutYRoG8ouOGvEWAR] is an international conference, organized by the Association for the Advancement of Computing in Education (AACE [http://r20.rs6.net/tn.jsp?et=1109635174118&s=61542&e=001egjLHrcXDBTYjKPaOsxF-q72i-HYloDCjwHvJkgnMh6sV7WG7-oTnY5jpwsfdx5-LHzEQjg4weEsCckWluWVzJlRuT1YBxnfOkEdCWxCbB8=]). This annual international conference serves as a multi-disciplinary forum for the discussion and exchange of information on the research, development, and applications on all topics related to multimedia, hypermedia and telecommunications/distance education. EdMedia attracts more than 1,500 leaders in the field from over 70 countries. We invite you to attend EdMedia and submit proposals for papers, panels, roundtables, tutorials, workshops, posters/demonstrations, corporate showcases/demos, and discussions. Click here for Color Poster PDF to Print & Distribute [http://r20.rs6.net/tn.jsp?et=1109635174118&s=61542&e=001egjLHrcXDBTLnoMs-tseyDbRzToZromzm2MNzHdqAK6XY-Ny6OYFLvEQSh5fOYNa6Omq0-vXbWS4WkTd9krhXSbl6PtIthBqOGVPFIrHveEjdrpBbkbffWLUsWG4R7pUvbQ7tdeGp6XVBO8hyAg0DA==] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Major Topics & Presentation Categories Major Topics: [http://r20.rs6.net/tn.jsp?et=1109635174118&s=61542&e=001egjLHrcXDBSigWf4ZKbhD7YkXz6ViulXS8N_vG95kGG9BPA1DEdLdjF3lMeHBasFCabQ-Gm-DpRZdieJYQUt27vxaI_bxZITeR5bMaCwdW9hY3WfPT3ZBlFvt0VAwl2yzBu829gpe0U=] * Infrastructure * Tools & Content-oriented Applications * New Roles of the Instructor & Learner * Human-computer Interaction (HCI/CHI) * Cases & Projects * Universal Web Accessibility * Indigenous Peoples & Technology Presentation Categories [http://r20.rs6.net/tn.jsp?et=1109635174118&s=61542&e=001egjLHrcXDBRZlvs5qW7iRBq_tw1oADZ5lNxd_7_oYdoPBYlX9uI2xAoxJ7Wo3dKJZOIsOPxaa0JeW7cW0QW0kFOKvItG-EXwHl7EQZwDhBMmLl5nd7w3Xng6XNC4i6QbNS32IhsnuKHdq4gWKwvr0g==] Virtual Participation [http://r20.rs6.net/tn.jsp?et=1109635174118&s=61542&e=001egjLHrcXDBTuRrQ_Qek1rh9N4Rm8srapc-7_mPJgrzlYmm4csmH0dwgw9sHOPUt2jtumA4pO5n6rLWCEVDZIzoFLgqRO90u91JhXGABIzxef0lzbDB5rC4SepAtLjYzxHgQQCnkVQaA=] has been added to the program with the same validity (publication, certification, etc.) as the face-to-face (F2F) conference and with the capability to interact with session participants. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Registration & Social Event Information Old Colorado Train Tour & Dinner [http://r20.rs6.net/tn.jsp?et=1109635174118&s=61542&e=001egjLHrcXDBTvuqLAHbH6k43OrBAn-bEK681Gaga3MjDms3IOB8832017VHg99qvFn8UyVACLre93CjNGQxRuOgd4zGiAkaaGZvzU5snW5ANNGYGGZEI4Nv7cGcEgV2jf38R4bEK5zQ0=] Journey to another time with your EdMedia colleagues, friends and family for the EdMedia 2012 Social Event, Thursday evening! Depart in a luxury motor coach for the Georgetown Loop Railroad adventure, experience the thrill of gold panning at the Silver Plume Gold Mine and end the evening with a BBQ dinner, live music and dancing! EdMedia 2012 Registration Rates [http://aace.org/conf/edmedia/rates.htm] Conference registration and concurrent sessions will be held at the Grand Hyatt Denver [http://r20.rs6.net/tn.jsp?et=1109635174118&s=61542&e=001egjLHrcXDBQBobJK1wHCjG54-T95-fOUrty_M4XVk0fqC8lks-ILbbLLoeN9IiNS3xbPYcfOO_G7rvdp04jH_tO0ks2Ka0Eez5u_jg6xkfv-galIthlUnQnFSe5Ub7HrjM98uivpJX1KXSu26Kd7kw==]. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Deadlines & Quick Links FINAL Call [http://r20.rs6.net/tn.jsp?et=1109635174118&s=61542&e=001egjLHrcXDBRDRjQgY1BvVgOEPkW6uoWHzrqza00hXC5HrUQ4vPB6vTBYsobRJvIetRBoVcyDs1CbLlSKqlOQeHLALhF4Bj6Ai-aykvcQpxtYx1m-wJ_-c4J6Yx19jf6yMe4ziVzge2E=]: April 12, 2012 Final Call for Presentation PDF to Print [http://r20.rs6.net/tn.jsp?et=1109635174118&s=61542&e=001egjLHrcXDBR3VTnYk4BPmgc6AzdHO586M_5cn2ufbBVP2yKmbZaEK_nwopOVO6TAC_8qER0w9NPWd1wSiDakT9BlJ6E8pTQSUfJkYk-2fneMWfOtfXPllEaaj90p1NFfBjKYM0IDcfdX7R2O3fa5Aw==] Overview [http://r20.rs6.net/tn.jsp?et=1109635174118&s=61542&e=001egjLHrcXDBQUrF44HDf03t0j3pXe3AZi-gv3t5Y2cLEccRYeebb6EhP5GmCJ79RfWH2lpE89cWRfTImr-295WxZ0SUbLKPnfQNDV1Oe6F14ELt7iwMIPK-jx43h5T3C-dIwhj1qoaIeUEqB-t1BWMw==] Author Confirmation: May 2, 2012 Proceedings File [http://r20.rs6.net/tn.jsp?et=1109635174118&s=61542&e=001egjLHrcXDBRzcBWe_fjtGPtaXMYzULXVnIAc7Sj4ya57SMGPNGhmKft7saIA-17dIFvGyAq3Sh74S3r5_b3q1YfGfcTAOeso3gk3QY95cT9Nx01zDfSQG398V49H_qR5zdR90R0pm9eeNbUVBM5_Eg==]: May 2, 2012 Early Registration [http://r20.rs6.net/tn.jsp?et=1109635174118&s=61542&e=001egjLHrcXDBTLjwkyNmgvVlSYpZg0rHdtYfPX-iSGG0KlCBk3tH2GJSx1OuSRyQyMnoc4keGhrEOmtEN6L05HvAxZKUTri2BeQAOL4Q00NbtXW0nbbahXMpBGMNfL4tQyyiyaRBqobHXCvHXk45Y82maVgmwZm7_J]: May 2, 2012 Keynote & Invited Speakers [http://r20.rs6.net/tn.jsp?et=1109635174118&s=61542&e=001egjLHrcXDBQClzD7XV9qekzunVVotNHtAMAqz8z_yTjA8E3zzYfO0jFiswJRWoFEPT96F45ucQ-SblzEdD754BKZ21XaVa0z0oWHxyYnUOn84ve4tctRFAA2oYUiC2IWN5x3rVOp__s=] NEW: Social Events! [http://r20.rs6.net/tn.jsp?et=1109635174118&s=61542&e=001egjLHrcXDBTvuqLAHbH6k43OrBAn-bEK681Gaga3MjDms3IOB8832017VHg99qvFn8UyVACLre93CjNGQxRuOgd4zGiAkaaGZvzU5snW5ANNGYGGZEI4Nv7cGcEgV2jf38R4bEK5zQ0=] About Denver, Colorado [http://r20.rs6.net/tn.jsp?et=1109635174118&s=61542&e=001egjLHrcXDBT22QVZGtOJ9CaVUcK6lJuqi494uN5YHOMYqraBDNOEEnctCh38NXQPtE3K17pVNqBVAFom4QHL7HZMFlZY28qN1YfaIPGd6H9w9jhKSnKr7ir6e2D7Qe9f9QxWP_P4jO8=] Hotel Information [http://r20.rs6.net/tn.jsp?et=1109635174118&s=61542&e=001egjLHrcXDBQBobJK1wHCjG54-T95-fOUrty_M4XVk0fqC8lks-ILbbLLoeN9IiNS3xbPYcfOO_G7rvdp04jH_tO0ks2Ka0Eez5u_jg6xkfv-galIthlUnQnFSe5Ub7HrjM98uivpJX1KXSu26Kd7kw==] Submission Guidelines [http://r20.rs6.net/tn.jsp?et=1109635174118&s=61542&e=001egjLHrcXDBRzcBWe_fjtGPtaXMYzULXVnIAc7Sj4ya57SMGPNGhmKft7saIA-17dIFvGyAq3Sh74S3r5_b3q1YfGfcTAOeso3gk3QY95cT9Nx01zDfSQG398V49H_qR5zdR90R0pm9eeNbUVBM5_Eg==] Presenter Lounge [http://r20.rs6.net/tn.jsp?et=1109635174118&s=61542&e=001egjLHrcXDBTdXrbc8Vlw1Zn5icc_UZfC7_1hDVvpQHAA28KtxVgo6y-bV9RTnLkqaN91b4f8tTwq59ENAu50F9_rNouQZhQc0cwZLMQXXKS611pj8pdfNf6TO_RVCGS0OF_YdtK8vPSa3J1POng9Sw==] AACE Membership [http://r20.rs6.net/tn.jsp?et=1109635174118&s=61542&e=001egjLHrcXDBQljAjPzco3KE2befyFKSC5KeI_gIL_5IVebWHumUQneV2N8Ya7s--I9REZLFzLS9_9sgEuYpBiCGVBamn3vRZXDzUAr-0qMm_x61_0PjHA73PkzHLFZ2yg] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Organized By: AACE logo 1 [http://r20.rs6.net/tn.jsp?et=1109635174118&s=61542&e=001egjLHrcXDBRyfaRRdgpM140bGayMCxPUC57eSGajnYJJphs7WjzHmtBPWqb5Ba140xxcNdHeSxxC-Wvv6D5uAZDbMfFDWhl54YeBkRxiKD4=] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AACE Conferences EdMedia 2012 [http://r20.rs6.net/tn.jsp?et=1109635174118&s=61542&e=001egjLHrcXDBQjYTvNcVBIUKOhGyu09NCUc0ul98HO5QAM9qj9pTwNUsfduxNDKVPf7rYAhFCSWsgEpwCRuDpbJ80ex9jl-LJUo236JWkxzsGLKkPWutYRoG8ouOGvEWAR] Denver, Colorado ? June 25 - 29, 2012 E-Learn 2012 [http://aace.org/conf/elearn] Montreal, Canada ? October 9 - 12, 2012 Global TIME 2013 [http://r20.rs6.net/tn.jsp?et=1109635174118&s=61542&e=001egjLHrcXDBQUygnmilhwfEUPxA6UbLUSq54MnzIq5ilR7X_wEvhcEEEudpZhraGiZ8RHrlAL8r2cSId7iUTzvd-ZPJGapFPMJzgpTJBVukIiwvKwKx5UcQ==] Online ? Feb 12 - 14, 2013 SITE 2013 [http://r20.rs6.net/tn.jsp?et=1109635174118&s=61542&e=001egjLHrcXDBQj7jj3t1M2Eg-vRCS1IXZOe9NonHdGBGixUPIAkwBJWpHX4lfPhbMDQgU369yn4hWyqLAQjoxlOujqFvUQvNHw3R6XhzgFhUlWAXhPDB8VYw==] New Orleans, Louisiana ? March 25 - 29, 2013 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Sponsored By: EdITLib Logo [http://r20.rs6.net/tn.jsp?et=1109635174118&s=61542&e=001egjLHrcXDBS3UCBtAzQSBQ-U3bZq7hKB-7oPDMaS4ityTJUugVtYSoWRa6g0S4_mWi3DVxKCHSMlFoJnyoNf-5Z9bODtd-wEdI_jY7Zkmbw=] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Social Networking Networking: facebook logo [http://r20.rs6.net/tn.jsp?et=1109635174118&s=61542&e=001egjLHrcXDBSFbbqWh-S9S7GjhY-No1yq3RrOm5_gNl64vtPxN6F8VCoNyMCqbREHvKjE6PWU2eTsZ25XQ5AQYItbGCqjiD7cP11pyCjfbwF6e3jsdZf5N8aONv-hrdi4]AACE Facebook [http://r20.rs6.net/tn.jsp?et=1109635174118&s=61542&e=001egjLHrcXDBSFbbqWh-S9S7GjhY-No1yq3RrOm5_gNl64vtPxN6F8VCoNyMCqbREHvKjE6PWU2eTsZ25XQ5AQYItbGCqjiD7cP11pyCjfbwF6e3jsdZf5N8aONv-hrdi4] Networking: ning logo [http://r20.rs6.net/tn.jsp?et=1109635174118&s=61542&e=001egjLHrcXDBRbg3OlT4t3sXe-1jZiVzjMxrbJRcDbaM05ssgSuHtpGvtGdwHcsMrDzveQ_6zNTJRY-byZBkpYkN1MZeXWspWxxbZhEGpP3NM=] AACE Connect [http://r20.rs6.net/tn.jsp?et=1109635174118&s=61542&e=001egjLHrcXDBRbg3OlT4t3sXe-1jZiVzjMxrbJRcDbaM05ssgSuHtpGvtGdwHcsMrDzveQ_6zNTJRY-byZBkpYkN1MZeXWspWxxbZhEGpP3NM=] Networking: twitter logo [http://r20.rs6.net/tn.jsp?et=1109635174118&s=61542&e=001egjLHrcXDBTrPH-dhaqV-TFnS7ibCduA_cjat9qg-1XPGgo1nstvmUnYQiUaZTPc9HKlYtUt8g6da9-8i3ttP45w83_Roi-zQb6ekg0XD14xUEt1frH21w==]EdMedia Twitter [http://r20.rs6.net/tn.jsp?et=1109635174118&s=61542&e=001egjLHrcXDBTrPH-dhaqV-TFnS7ibCduA_cjat9qg-1XPGgo1nstvmUnYQiUaZTPc9HKlYtUt8g6da9-8i3ttP45w83_Roi-zQb6ekg0XD14xUEt1frH21w==] Networking: blog logo [http://r20.rs6.net/tn.jsp?et=1109635174118&s=61542&e=001egjLHrcXDBRDRjQgY1BvVvn9LLiCR2zCZBbRzupP9Q-n4ANvCo6IO76E6ePviTGgmD7ny1kmegv_a0E0H8Uk4WxgIrespMAMvt-brkIpu47XmMw-Mvb3BgrQIWzmDaEK] EdMedia Blog [http://r20.rs6.net/tn.jsp?et=1109635174118&s=61542&e=001egjLHrcXDBQQOYbmhDWeghzmQP-_8QfUhccZsn61Dsir8FMnfDoiJwDcGSZkXsHqorOQ3ppBGUVVLk72NqDblHjvjoG725sU-UocR_9sna8-nKqEMTko16M0FyBIa6HW] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Yellow Stripes [http://ui.constantcontact.com/sa/fwtf.jsp?m=1102930749098&a=1109635174118&ea=jperryl%40ecs.fullerton.edu] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Forward email http://ui.constantcontact.com/sa/fwtf.jsp?llr=kvjx7fdab&m=1102930749098&ea=jperryl at ecs.fullerton.edu&a=1109635174118 This email was sent to jperryl at ecs.fullerton.edu by updates at aace.org. Update Profile/Email Address http://visitor.constantcontact.com/do?p=oo&mse=001C5H1Ps_ZTVsRtq3TTAGgsou5RdIWpJHLDMr6xymGdRk%3D&t=001wprAqgeOGhxHu6SSWiFs_g%3D%3D&lang=001FCSs65SMrsI%3D&llr=kvjx7fdab Instant removal with SafeUnsubscribe(TM) http://visitor.constantcontact.com/do?p=un&mse=001C5H1Ps_ZTVsRtq3TTAGgsou5RdIWpJHLDMr6xymGdRk%3D&t=001wprAqgeOGhxHu6SSWiFs_g%3D%3D&lang=001FCSs65SMrsI%3D&llr=kvjx7fdab Privacy Policy: http://ui.constantcontact.com/roving/CCPrivacyPolicy.jsp AACE | 757-366-5606 | P.O. Box 1545 | Chesapeake | VA | 23327-1545 From mp.chean at gmail.com Wed Mar 28 15:42:06 2012 From: mp.chean at gmail.com (Michael Chean) Date: Wed, 28 Mar 2012 12:42:06 -0700 Subject: LiveCode Player for 5.5 In-Reply-To: References: <92BDE716-3848-4B85-9866-E6F3EEE20943@elementarysoftware.com> Message-ID: What do you think of Khan academy? My nephew is in the Glendale Unified S.D. and they are making use of it. Mike On Wed, Mar 28, 2012 at 12:06 PM, Judy Perry wrote: > Hahahaha! Well, in my own defense, it WAS fake, therefore it can't be, > well, you know ;-) > > On Tue, 27 Mar 2012, Scott Morrow wrote: > > Judy, >> >> Do you think it is alright to mention even fake cheese? : ) >> > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From bill at bluewatermaritime.com Wed Mar 28 16:30:47 2012 From: bill at bluewatermaritime.com (william humphrey) Date: Wed, 28 Mar 2012 16:30:47 -0400 Subject: Valentina 5 Server Sneak Peek In-Reply-To: References: Message-ID: If we buy that excellent bundle does it include both windows and mac os installs as part of the price? I'm thinking of making a windows development machine also just to make things easier on me. On Wed, Mar 28, 2012 at 11:01 AM, Lynn Fredricks < lfredricks at proactive-intl.com> wrote: > Hello all, > > We've posted a Valentina 5 Server Sneak Peek on the Omegabundle site: > > > http://www.omegabundle.com/valentina-5-sneak-peek-5-new-features-in-valentin > a-server > > Folks who purchase the Omegabundle this year will get a free upgrade (in > fact, 12 months of updates) Valentina Server Unlimited. Valentina Server > Unlimited normally costs $1499, but its included with Omegabundle for > LiveCode 2012, which costs $399. > > Best regards, > > Lynn Fredricks > President > Paradigma Software > http://www.paradigmasoft.com > > Valentina SQL Server: The Ultra-fast, Royalty Free Database Server > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.bluewatermaritime.com From mikedoub at gmail.com Wed Mar 28 16:45:40 2012 From: mikedoub at gmail.com (Michael Doub) Date: Wed, 28 Mar 2012 16:45:40 -0400 Subject: Android play sounds In-Reply-To: <004301cd0c7d$3646fe40$a2d4fac0$@bigpond.net.au> References: <004301cd0c7d$3646fe40$a2d4fac0$@bigpond.net.au> Message-ID: <8FA9E1A5-5544-4BB9-B3AC-909CA6DD4B9D@gmail.com> Thanks for the locations of the native android sounds I have been looking for that. I worked around my problem by testing for "no sound support" and just playing the sound a second time and it works reliably. On Mar 27, 2012, at 8:53 PM, Barry G. Sumpter wrote: > Yep, a timer to sound an alarm and 1 minute intervals. > > I forgot how complex/different Android sounds are from win32 sounds. > > Perhaps the first time the play sound is attempted > The file doesn't exist -- yes it exists > Or the folder doesn't exist - yes it exists > Or the actual sound file won't play on android yes it plays the second time > As my sound file on android are .ogg > > > > I'm selecting the sounds from the existing sound files on my Android device. > Using the following paths > /system/media/audio/ > alarms > notifications > ringtones > ui > > The storing the path n file name into a preferences file > and on an Interval or Finish button as a custom property > > on mouseUp > > -- show the path and file name of the sound > put "Playing: " & the cSoundPathAndFileName of button btnSoundsInterval > into field lblPlayingSound > > -- now actually play the sound > Play the cSoundPathAndFileName of button btnSoundsInterval > > end mouseUp > > lblPlayingSound field: > /system/media/audio/notifications/Aldebaran.ogg > or > /system/media/audio/ui/Dock.ogg > > > Just tested again on LC 5.5 build 1479 - all working OK > Tested on two HD2s. > > If I might be so bold to suggest a test button > with a sound file > that you know its exact path to. > If it plays then > try the exact same play command/script line > right where the other sound is NOT playing. > > on mouseUp > play "/system/media/audio/ui/Dock.ogg" > end mouseUp > > hth > > -------------------------------------------------------- > Message: 9 > Date: Tue, 27 Mar 2012 15:18:16 -0400 > From: Michael Doub > To: LiveCode Developer List , How To > use LiveCode use LiveCode > Subject: Android play sounds > Message-ID: <202365A5-E4CE-43D4-A1A7-C693689212AC at gmail.com> > Content-Type: text/plain; charset=us-ascii > > I am building a android timer application. The sound file "AC.mp3" is > located in a folder "Data". Within the standalone builder I added the > "Data" folder under the copy files tab which now displays: "Data/*". All of > this seems to work just fine, however the sound file is not played on the > first play call. The sound is successfully played on all subsequent calls. > > The result returned on the first play call is "no sound support" which is > different from what is specified in the Android release notes. So I think > we have a documentation error at the very least. > > Is there any sound initialization step that I am missing? > > Here is the alarm code: > > On alarm > if the environment is "mobile" then > put specialFolderPath("engine") & slash & "Data" & slash & "AC.mp3" > into tSound > play tSound > else > beep > end if > end alarm > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Wed Mar 28 16:55:07 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 28 Mar 2012 13:55:07 -0700 (PDT) Subject: LiveCode Player for 5.5 In-Reply-To: References: <5A25FEED-1153-43BD-84F6-F107DAB9382E@LinkIt.Com> <3599A28B-7F26-4CD5-AD76-5AFFC9351C43@richardmac.com> Message-ID: <1332968107530-4513669.post@n4.nabble.com> Hi all, I have read the messages in this thread and please, correct me if I understand wrong: 1) Too many students and teachers are too "inexperienced" (not dumb) to use the available computer educational tools in their institution. 2) Most of the digital educational applications aim to teach using only the lower (or lowest) skills available to all participants. Surely, I am interpreting all this information in the wrong way because my conclusion is that education (as described here) is effectively dumbing down all the participants (teachers and students alike). How many of you are aware that you could run Livecode (including all externals and Quicktime) from a Portable device as a USB pendrive or Secure Digital Card or even from media as a Rewritable CD or DVD? No plugin or installation. Just click and run: http://runtime-revolution.278305.n4.nabble.com/Running-LiveCode-and-Quicktime-as-virtual-applications-td4411011.html#a4430008 In this computer lab: http://www.facebook.com/media/set/?set=a.2733273854751.2150939.1344437396&type=3 the IT manager used Metacard Free Starter Kit to create exams that students run from a CD. He opened the exam (a stack), take out the CD and repeat the procedure in each machine. In this way, the exams only runs in RAM and the students could not copy or save to the computer. It works fine for him for many years... Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Two-More-Resolutions-On-The-Way-tp4495780p4513669.html Sent from the Revolution - User mailing list archive at Nabble.com. From francois.chaplais at mines-paristech.fr Wed Mar 28 17:02:12 2012 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Wed, 28 Mar 2012 23:02:12 +0200 Subject: Warning Re: 'DAZ3D is giving away three 3D-Apps for free' In-Reply-To: <58421E53-831F-4748-8CC0-7C6597711910@sonsothunder.com> References: <783B53E7-0395-4B30-976D-459947E25C85@m-r-d.de> <8F9ACB48-67D5-4D7C-82EE-A4E95BC65ABB@gypsyware.com> <8D876D90ECBA4C52AC566BD9AB1FC45D@GATEWAY> <34261409296.20120208182527@ahsoftware.net> <58421E53-831F-4748-8CC0-7C6597711910@sonsothunder.com> Message-ID: just to say it seems to have been fixed in livecode 5.5: function revDebuggerValidGlobalNames local tGlobalsRaw put the globals into tGlobalsRaw replace comma with return in tGlobalsRaw # For now we just filter out the Vista 64 bit ones. Really we should remove anything that is not a valid Rev identifier # according to lextable.cpp, but that can easily be added in later as this is the only place in the IDE this is done. filter tGlobalsRaw without "*(x86)" filter tGlobalsRaw without "*/*" filter tGlobalsRaw without "*-*" replace return with comma in tGlobalsRaw return tGlobalsRaw end revDebuggerValidGlobalNames in revdebugger.rev in the livecode 5.5 bundle (on my mac) Best Fran?ois Le 11 f?vr. 2012 ? 23:25, Ken Ray a ?crit : > If you take advantage of downloading the DAZ3D software for Mac 64-bit computers, you need to be aware of a "gotcha": > > It turns out that after installing the 64-bit versions of DAZ3D on my Mac that LiveCode can't open a script editor window anymore. This turned out to be because it inserted two "bad" environment variables: ($DAZSTUDIOVERSION_4-64 and $DAZSTUDIO_4-64) which LC would error out on when trying to work with global variables. The "-" in these globals is what did it? > > So if you've installed these and find yourself in a situation trying to open a script window and seeing nothing but "revNewScriptEditor 1" in the Windows menu, you'll need to either (a) wait until RunRev fixes it, (b) find another copy of LC on another machine or install the MetaCard IDE and then edit the revDebugger.rev file (in Contents/Tools/Toolset), go to the "revDebuggerValidGlobalNames" function and change it to add: > > filter tGlobalsRaw without "*-*" > > It should look like this: > > function revDebuggerValidGlobalNames > local tGlobalsRaw > put the globals into tGlobalsRaw > > replace comma with return in tGlobalsRaw > > # For now we just filter out the Vista 64 bit ones. Really we should remove anything that is not a valid Rev identifier > # according to lextable.cpp, but that can easily be added in later as this is the only place in the IDE this is done. > filter tGlobalsRaw without "*(x86)" > filter tGlobalsRaw without "*/*" > filter tGlobalsRaw without "*-*" > > replace return with comma in tGlobalsRaw > > return tGlobalsRaw > end revDebuggerValidGlobalNames > > I'm sure RunRev will add this line in soon, but in the meantime it's a "gotcha" you should be aware of? > > Ken Ray > Sons of Thunder Software, Inc. > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > From mikedoub at gmail.com Wed Mar 28 17:07:58 2012 From: mikedoub at gmail.com (Michael Doub) Date: Wed, 28 Mar 2012 17:07:58 -0400 Subject: Android play sounds In-Reply-To: <4F72313F.1040402@hyperactivesw.com> References: <202365A5-E4CE-43D4-A1A7-C693689212AC@gmail.com> <4F72313F.1040402@hyperactivesw.com> Message-ID: <17A88165-22DF-4266-AF3C-C0584B3589D2@gmail.com> This is very late in the startup sequence. The point of the app is a timer for BBQing so we are talking a minute or two before the first alarm depending on what is cooking. ;-) I am thinking that it is a timing related bug in the engine. I ended up testing for "no sound support" and issuing a second play command. I gathered statistics and it is only ever failing on the first play attempt. I am wondering if it is related to the sound being included in the apk package and in the engine folder rather than being in the documents folder. (from the image performance discussion) -= Mike On Mar 27, 2012, at 5:29 PM, J. Landman Gay wrote: > On 3/27/12 2:18 PM, Michael Doub wrote: >> I am building a android timer application. The sound file "AC.mp3" >> is located in a folder "Data". Within the standalone builder I >> added the "Data" folder under the copy files tab which now displays: >> "Data/*". All of this seems to work just fine, however the sound >> file is not played on the first play call. The sound is successfully >> played on all subsequent calls. >> >> The result returned on the first play call is "no sound support" >> which is different from what is specified in the Android release >> notes. So I think we have a documentation error at the very least. > > When in the startup sequence is the first sound played? Is it before the stack finishes loading? It may be that sound support isn't initialized yet when the first "play" happens. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Wed Mar 28 17:10:00 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 28 Mar 2012 23:10:00 +0200 Subject: LiveCode Player for 5.5 In-Reply-To: <1332968107530-4513669.post@n4.nabble.com> References: <5A25FEED-1153-43BD-84F6-F107DAB9382E@LinkIt.Com> <3599A28B-7F26-4CD5-AD76-5AFFC9351C43@richardmac.com> <1332968107530-4513669.post@n4.nabble.com> Message-ID: <1D5D9BD6-D502-442A-B511-A45680ECFE27@economy-x-talk.com> Hi Alejandro, I've been in computer labs where computers wouldn't have an (accessible) CD-rom drive or USB port. Computers in offices may not allow limited users to start an exe that's not installed in the programmes folder on the network. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Get the extIco2Png external for LiveCode here http://qery.us/1w6 On 28 mrt 2012, at 22:55, Alejandro Tejada wrote: > Hi all, > > I have read the messages in this thread and please, correct me > if I understand wrong: > > 1) Too many students and teachers are too "inexperienced" (not dumb) > to use the available computer educational tools in their institution. > > 2) Most of the digital educational applications aim to teach using only > the lower (or lowest) skills available to all participants. > > Surely, I am interpreting all this information in the wrong way because > my conclusion is that education (as described here) is effectively dumbing > down > all the participants (teachers and students alike). > > How many of you are aware that you could run Livecode (including all > externals and Quicktime) from a Portable device as a USB pendrive > or Secure Digital Card or even from media as a Rewritable CD or DVD? > > No plugin or installation. Just click and run: > > http://runtime-revolution.278305.n4.nabble.com/Running-LiveCode-and-Quicktime-as-virtual-applications-td4411011.html#a4430008 > > In this computer lab: > http://www.facebook.com/media/set/?set=a.2733273854751.2150939.1344437396&type=3 > the IT manager used Metacard Free Starter Kit to create exams > that students run from a CD. He opened the exam (a stack), take out > the CD and repeat the procedure in each machine. In this way, the exams > only runs in RAM and the students could not copy or save to the > computer. It works fine for him for many years... > > Al From ambassador at fourthworld.com Wed Mar 28 17:10:37 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 28 Mar 2012 14:10:37 -0700 Subject: CSV Files In-Reply-To: References: Message-ID: <4F737E4D.9010508@fourthworld.com> Pete wrote: > OK, so I know CSV files are not everyone's favorite subject but sometimes > you have no control over how data reaches you! > > I have a handler in place that deals with the vagaries of CSV files, like > returns, commas, and quotes in the data (did I miss any?) but it relies on > a repeat loop looking at every character in the csv file. It seems to work > just fine but I'm wondering if the collective knowledge of this list gas > already come up with a more efficient solution. The article here outlines some of the many oddities about CSV, and includes a handler from Alex Tweedly which thus far has been the most efficient solution I've found: CSV Must Die A Plea to Introduce Sanity to the Software Development World by Pledging to Never Write CSV Exporters -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From jacque at hyperactivesw.com Wed Mar 28 17:30:24 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 28 Mar 2012 16:30:24 -0500 Subject: Android play sounds In-Reply-To: <17A88165-22DF-4266-AF3C-C0584B3589D2@gmail.com> References: <202365A5-E4CE-43D4-A1A7-C693689212AC@gmail.com> <4F72313F.1040402@hyperactivesw.com> <17A88165-22DF-4266-AF3C-C0584B3589D2@gmail.com> Message-ID: <4F7382F0.8080104@hyperactivesw.com> On 3/28/12 4:07 PM, Michael Doub wrote: > I am thinking that it is a timing related bug in the engine. I > ended up testing for "no sound support" and issuing a second play > command. I gathered statistics and it is only ever failing on the > first play attempt. I am wondering if it is related to the sound > being included in the apk package and in the engine folder rather > than being in the documents folder. (from the image performance > discussion) I think it must be something else. I do exactly the same thing but my first sound always plays. The sounds are stored in the apk package like yours, and I use the generic "play" command. I wonder if it is device-related. On my Archos tablet, sounds shorter than one second would not play at all. It turns out this was a known issue with Archos. Your problem is not the same, but I wonder if you'd get different results if you test on a different device. That may be too much trouble since you've got a workaround now. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Mar 28 17:34:20 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 28 Mar 2012 16:34:20 -0500 Subject: Android play sounds In-Reply-To: <8FA9E1A5-5544-4BB9-B3AC-909CA6DD4B9D@gmail.com> References: <004301cd0c7d$3646fe40$a2d4fac0$@bigpond.net.au> <8FA9E1A5-5544-4BB9-B3AC-909CA6DD4B9D@gmail.com> Message-ID: <4F7383DC.7030004@hyperactivesw.com> On 3/28/12 3:45 PM, Michael Doub wrote: > Thanks for the locations of the native android sounds Are these paths universal to all Android systems? I vaguely recall that vendors can store system sounds wherever they wanted, but I'm fuzzy about that. Anyone know for sure? > Using the following paths > /system/media/audio/ > alarms > notifications > ringtones > ui -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From roger at consensii.com Wed Mar 28 17:35:38 2012 From: roger at consensii.com (Roger B. Marks) Date: Wed, 28 Mar 2012 15:35:38 -0600 Subject: Valentina 5 Server Sneak Peek Message-ID: Can the Valentina Office Server be installed in an On-Rev account? Roger Roger B. Marks Consensii LLC > Hello all, > > We've posted a Valentina 5 Server Sneak Peek on the Omegabundle site: > > http://www.omegabundle.com/valentina-5-sneak-peek-5-new-features-in-valentin > a-server > > Folks who purchase the Omegabundle this year will get a free upgrade (in > fact, 12 months of updates) Valentina Server Unlimited. Valentina Server > Unlimited normally costs $1499, but its included with Omegabundle for > LiveCode 2012, which costs $399. > > Best regards, > > Lynn Fredricks > President > Paradigma Software > http://www.paradigmasoft.com > > Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From gbojsza at gmail.com Wed Mar 28 17:39:55 2012 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 28 Mar 2012 15:39:55 -0600 Subject: Read from process Message-ID: The documentation seems slightly confusing (to me). On Linux I want to open a process for update, then write the command to be executed and then read from the process and fill the output to a field. The command takes anywhere from 1 minute to 8 minutes to execute and while it is running it outputs the various stages and results it currently has completed. In the terminal window if I just do the command line it produces anywhere between 20 to 100 lines of output where the final line has a unique output acknowledging that it has completed. How should I be writing my read from process? I assume that this should be done inside a repeat forever loop where you can trap the mouseclick to exit or check for the unique output line from the read process to exit. I can't seem to any output from the read statement? Finally, is there a way to make this non blocking (ie let it run and update the field while the user moves on to something else)? thanks, Glen From mikedoub at gmail.com Wed Mar 28 17:44:06 2012 From: mikedoub at gmail.com (Michael Doub) Date: Wed, 28 Mar 2012 17:44:06 -0400 Subject: Android play sounds In-Reply-To: <4F7382F0.8080104@hyperactivesw.com> References: <202365A5-E4CE-43D4-A1A7-C693689212AC@gmail.com> <4F72313F.1040402@hyperactivesw.com> <17A88165-22DF-4266-AF3C-C0584B3589D2@gmail.com> <4F7382F0.8080104@hyperactivesw.com> Message-ID: You are correct it could be device related. Unfortunately I only have a HTC Inspire. -= Mike On Mar 28, 2012, at 5:30 PM, J. Landman Gay wrote: > On 3/28/12 4:07 PM, Michael Doub wrote: > >> I am thinking that it is a timing related bug in the engine. I >> ended up testing for "no sound support" and issuing a second play >> command. I gathered statistics and it is only ever failing on the >> first play attempt. I am wondering if it is related to the sound >> being included in the apk package and in the engine folder rather >> than being in the documents folder. (from the image performance >> discussion) > > I think it must be something else. I do exactly the same thing but my first sound always plays. The sounds are stored in the apk package like yours, and I use the generic "play" command. > > I wonder if it is device-related. On my Archos tablet, sounds shorter than one second would not play at all. It turns out this was a known issue with Archos. Your problem is not the same, but I wonder if you'd get different results if you test on a different device. > > That may be too much trouble since you've got a workaround now. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Wed Mar 28 17:47:22 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 28 Mar 2012 15:47:22 -0600 Subject: Read from process In-Reply-To: References: Message-ID: Could do a send in time to do the read loop, and I believe the form of read you use will determine how blocking it is. if you read till end, eof, number of bytes etc I believe it will block until the criteria is met. Haven't done this much though so not positive. When I do, I tend to use the "until empty" form. This way if theres nothing in the buffer it moves right along and loops again and since its a send in time loop you can give enough breathing space for the other stuff to happen. On Wed, Mar 28, 2012 at 3:39 PM, Glen Bojsza wrote: > The documentation seems slightly confusing (to me). > > On Linux I want to open a process for update, then write the command to be > executed and then read from the process and fill the output to a field. > > The command takes anywhere from 1 minute to 8 minutes to execute and while > it is running it outputs the various stages and results it currently has > completed. > > In the terminal window if I just do the command line it produces anywhere > between 20 to 100 lines of output where the final line has a unique output > acknowledging that it has completed. > > How should I be writing my read from process? > > I assume that this should be done inside a repeat forever loop where you > can trap the mouseclick to exit or check for the unique output line from > the read process to exit. > > I can't seem to any output from the read statement? > > Finally, is there a way to make this non blocking (ie let it run and update > the field while the user moves on to something else)? > > thanks, > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From gbojsza at gmail.com Wed Mar 28 18:07:01 2012 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 28 Mar 2012 16:07:01 -0600 Subject: Read from process In-Reply-To: References: Message-ID: Right now I am trying combinations of a number of lines in x amount of time... My first test is actually running right now and I can compare the output to what is done in a terminal window. The send in time could be promising do you have a small sample? thanks, Glen On Wed, Mar 28, 2012 at 3:47 PM, Mike Bonner wrote: > Could do a send in time to do the read loop, and I believe the form of read > you use will determine how blocking it is. if you read till end, eof, > number of bytes etc I believe it will block until the criteria is met. > Haven't done this much though so not positive. When I do, I tend to use the > "until empty" form. This way if theres nothing in the buffer it moves right > along and loops again and since its a send in time loop you can give enough > breathing space for the other stuff to happen. > > > > On Wed, Mar 28, 2012 at 3:39 PM, Glen Bojsza wrote: > > > The documentation seems slightly confusing (to me). > > > > On Linux I want to open a process for update, then write the command to > be > > executed and then read from the process and fill the output to a field. > > > > The command takes anywhere from 1 minute to 8 minutes to execute and > while > > it is running it outputs the various stages and results it currently has > > completed. > > > > In the terminal window if I just do the command line it produces anywhere > > between 20 to 100 lines of output where the final line has a unique > output > > acknowledging that it has completed. > > > > How should I be writing my read from process? > > > > I assume that this should be done inside a repeat forever loop where you > > can trap the mouseclick to exit or check for the unique output line from > > the read process to exit. > > > > I can't seem to any output from the read statement? > > > > Finally, is there a way to make this non blocking (ie let it run and > update > > the field while the user moves on to something else)? > > > > thanks, > > > > Glen > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobs at twft.com Wed Mar 28 18:08:20 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 28 Mar 2012 15:08:20 -0700 Subject: Read from process In-Reply-To: References: Message-ID: <282DA2F9-11ED-4166-BDCE-AF21B3B8D83F@twft.com> One method I have heard of is to redirect output to a text file, then open the file for read and read from the file every so often in a repeat loop. You still need to know when the process has ended so you can break out of the loop. Bob On Mar 28, 2012, at 2:39 PM, Glen Bojsza wrote: > The documentation seems slightly confusing (to me). > > On Linux I want to open a process for update, then write the command to be > executed and then read from the process and fill the output to a field. > > The command takes anywhere from 1 minute to 8 minutes to execute and while > it is running it outputs the various stages and results it currently has > completed. > > In the terminal window if I just do the command line it produces anywhere > between 20 to 100 lines of output where the final line has a unique output > acknowledging that it has completed. > > How should I be writing my read from process? > > I assume that this should be done inside a repeat forever loop where you > can trap the mouseclick to exit or check for the unique output line from > the read process to exit. > > I can't seem to any output from the read statement? > > Finally, is there a way to make this non blocking (ie let it run and update > the field while the user moves on to something else)? > > thanks, > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Wed Mar 28 18:17:07 2012 From: irog at mac.com (Roger Guay) Date: Wed, 28 Mar 2012 16:17:07 -0600 Subject: ANN: ScaleMatic In-Reply-To: References: Message-ID: <1CA5A039-63FA-4CE7-BC70-751C8A3FDFC1@mac.com> Excellent points, Paul. Your suggestions have been made. Thanks, Roger On Mar 28, 2012, at 3:10 PM, use-livecode-request at lists.runrev.com wrote: > Message: 14 > Date: Wed, 28 Mar 2012 15:15:31 -0400 > From: Paul Dupuis > To: use-livecode at lists.runrev.com > Subject: Re: ANN: ScaleMatic > Message-ID: <4F736353.7090202 at researchware.com> > Content-Type: text/plain; charset=ISO-8859-1 > > Very nice. > > Of course, an option to set the text color would be nice if you choose a > dark ruler color. > > Also, the units (feet, km, lyrs, etc.) doesn't appear on the vertical > ruler, only the horizontal one. > > On 3/28/2012 2:10 PM, Roger Guay wrote: >> Hi all, >> >> Here is a small utility for making scales/rulers for your stacks: >> >> http://web.me.com/irog/Roger_Guay/Downloads.html >> >> Scroll down to lower left. Sure would be nice to get RevOnLine back!! >> >> Cheers, >> Roger >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > From gbojsza at gmail.com Wed Mar 28 18:19:52 2012 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 28 Mar 2012 16:19:52 -0600 Subject: Read from process In-Reply-To: <282DA2F9-11ED-4166-BDCE-AF21B3B8D83F@twft.com> References: <282DA2F9-11ED-4166-BDCE-AF21B3B8D83F@twft.com> Message-ID: My first test has come back fairly well. I missed some of the initial lines of output but got all the remaining lines. I broke out of the loop no problem with the unique output line... when it was seen in the output I exited the repeat. So the first issue I would like to solve is either have the scrolling field show the latest output ... how can you have the field show the last ten lines? Optionally, try to figure out a send in time and see if it frees the user... if it does then this would be the better solution. Glen On Wed, Mar 28, 2012 at 4:08 PM, Bob Sneidar wrote: > One method I have heard of is to redirect output to a text file, then open > the file for read and read from the file every so often in a repeat loop. > You still need to know when the process has ended so you can break out of > the loop. > > Bob > > > On Mar 28, 2012, at 2:39 PM, Glen Bojsza wrote: > > > The documentation seems slightly confusing (to me). > > > > On Linux I want to open a process for update, then write the command to > be > > executed and then read from the process and fill the output to a field. > > > > The command takes anywhere from 1 minute to 8 minutes to execute and > while > > it is running it outputs the various stages and results it currently has > > completed. > > > > In the terminal window if I just do the command line it produces anywhere > > between 20 to 100 lines of output where the final line has a unique > output > > acknowledging that it has completed. > > > > How should I be writing my read from process? > > > > I assume that this should be done inside a repeat forever loop where you > > can trap the mouseclick to exit or check for the unique output line from > > the read process to exit. > > > > I can't seem to any output from the read statement? > > > > Finally, is there a way to make this non blocking (ie let it run and > update > > the field while the user moves on to something else)? > > > > thanks, > > > > Glen > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From roger at consensii.com Wed Mar 28 18:32:22 2012 From: roger at consensii.com (Roger B. Marks) Date: Wed, 28 Mar 2012 16:32:22 -0600 Subject: Mobile App Development Challenge for STEM education [was Re: LiveCode Player for 5.5] Message-ID: <4A0B167D-F9A4-468C-A3C7-D266471C60B7@consensii.com> DOD Launches Mobile App Development Challenge: http://www.defense.gov/releases/release.aspx?releaseid=15142 This is in line with recent discussions, because there is no money to encourage development. Recognition is the only reward. The focus is tools for STEM education in grades 9-12. Roger Roger B. Marks Consensii LLC From pete at mollysrevenge.com Wed Mar 28 18:34:28 2012 From: pete at mollysrevenge.com (Pete) Date: Wed, 28 Mar 2012 15:34:28 -0700 Subject: CSV Files In-Reply-To: <4F737E4D.9010508@fourthworld.com> References: <4F737E4D.9010508@fourthworld.com> Message-ID: Thanks Richard. I'm happy to say my handler parsed the extended test csv lines with flying colors. I'll try it along Alex's with some large datasets to see if there's any significant performance difference. By conicidence, I want the output form my handler to an array and I see Alex's does createw an array at one point so there may well be some benfits to switching over to his routine. Pete On Wed, Mar 28, 2012 at 2:10 PM, Richard Gaskin wrote: > Pete wrote: > > OK, so I know CSV files are not everyone's favorite subject but sometimes >> you have no control over how data reaches you! >> >> I have a handler in place that deals with the vagaries of CSV files, like >> returns, commas, and quotes in the data (did I miss any?) but it relies on >> a repeat loop looking at every character in the csv file. It seems to >> work >> just fine but I'm wondering if the collective knowledge of this list gas >> already come up with a more efficient solution. >> > > The article here outlines some of the many oddities about CSV, and > includes a handler from Alex Tweedly which thus far has been the most > efficient solution I've found: > > > CSV Must Die > A Plea to Introduce Sanity to the Software Development World > by Pledging to Never Write CSV Exporters > > > > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/**blog.irv > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From pete at mollysrevenge.com Wed Mar 28 18:56:57 2012 From: pete at mollysrevenge.com (Pete) Date: Wed, 28 Mar 2012 15:56:57 -0700 Subject: LiveCode Player for 5.5 In-Reply-To: <1332968107530-4513669.post@n4.nabble.com> References: <5A25FEED-1153-43BD-84F6-F107DAB9382E@LinkIt.Com> <3599A28B-7F26-4CD5-AD76-5AFFC9351C43@richardmac.com> <1332968107530-4513669.post@n4.nabble.com> Message-ID: Hi Alejandro, I think the discussion of whether education brings everyone down to the lowest common denominator is a different topic! I guess my original point, perhaps not well enough explained, was that, according to the study in my local paper here in California, using iPads to replace text books costs about 4 times more than using the hard copy text books. Personally, I can't find any justification for California schools spending that extra money when there's hardly any evidence that using iPads improves the quality of eduction at all, never mind 4-fold. I don't know enough about it to judge whether the problem is hardware, software, good vs bad teachers, lack of teacher training , or any other cause. But I'm not a teacher and I tend to view these things more simplistically than perhaps I should. Pete On Wed, Mar 28, 2012 at 1:55 PM, Alejandro Tejada wrote: > Hi all, > > I have read the messages in this thread and please, correct me > if I understand wrong: > > 1) Too many students and teachers are too "inexperienced" (not dumb) > to use the available computer educational tools in their institution. > > 2) Most of the digital educational applications aim to teach using only > the lower (or lowest) skills available to all participants. > > Surely, I am interpreting all this information in the wrong way because > my conclusion is that education (as described here) is effectively dumbing > down > all the participants (teachers and students alike). > > How many of you are aware that you could run Livecode (including all > externals and Quicktime) from a Portable device as a USB pendrive > or Secure Digital Card or even from media as a Rewritable CD or DVD? > > No plugin or installation. Just click and run: > > > http://runtime-revolution.278305.n4.nabble.com/Running-LiveCode-and-Quicktime-as-virtual-applications-td4411011.html#a4430008 > > In this computer lab: > > http://www.facebook.com/media/set/?set=a.2733273854751.2150939.1344437396&type=3 > the IT manager used Metacard Free Starter Kit to create exams > that students run from a CD. He opened the exam (a stack), take out > the CD and repeat the procedure in each machine. In this way, the exams > only runs in RAM and the students could not copy or save to the > computer. It works fine for him for many years... > > Al > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Two-More-Resolutions-On-The-Way-tp4495780p4513669.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From pete at mollysrevenge.com Wed Mar 28 18:56:57 2012 From: pete at mollysrevenge.com (Pete) Date: Wed, 28 Mar 2012 15:56:57 -0700 Subject: LiveCode Player for 5.5 In-Reply-To: <1332968107530-4513669.post@n4.nabble.com> References: <5A25FEED-1153-43BD-84F6-F107DAB9382E@LinkIt.Com> <3599A28B-7F26-4CD5-AD76-5AFFC9351C43@richardmac.com> <1332968107530-4513669.post@n4.nabble.com> Message-ID: Hi Alejandro, I think the discussion of whether education brings everyone down to the lowest common denominator is a different topic! I guess my original point, perhaps not well enough explained, was that, according to the study in my local paper here in California, using iPads to replace text books costs about 4 times more than using the hard copy text books. Personally, I can't find any justification for California schools spending that extra money when there's hardly any evidence that using iPads improves the quality of eduction at all, never mind 4-fold. I don't know enough about it to judge whether the problem is hardware, software, good vs bad teachers, lack of teacher training , or any other cause. But I'm not a teacher and I tend to view these things more simplistically than perhaps I should. Pete On Wed, Mar 28, 2012 at 1:55 PM, Alejandro Tejada wrote: > Hi all, > > I have read the messages in this thread and please, correct me > if I understand wrong: > > 1) Too many students and teachers are too "inexperienced" (not dumb) > to use the available computer educational tools in their institution. > > 2) Most of the digital educational applications aim to teach using only > the lower (or lowest) skills available to all participants. > > Surely, I am interpreting all this information in the wrong way because > my conclusion is that education (as described here) is effectively dumbing > down > all the participants (teachers and students alike). > > How many of you are aware that you could run Livecode (including all > externals and Quicktime) from a Portable device as a USB pendrive > or Secure Digital Card or even from media as a Rewritable CD or DVD? > > No plugin or installation. Just click and run: > > > http://runtime-revolution.278305.n4.nabble.com/Running-LiveCode-and-Quicktime-as-virtual-applications-td4411011.html#a4430008 > > In this computer lab: > > http://www.facebook.com/media/set/?set=a.2733273854751.2150939.1344437396&type=3 > the IT manager used Metacard Free Starter Kit to create exams > that students run from a CD. He opened the exam (a stack), take out > the CD and repeat the procedure in each machine. In this way, the exams > only runs in RAM and the students could not copy or save to the > computer. It works fine for him for many years... > > Al > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Two-More-Resolutions-On-The-Way-tp4495780p4513669.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From bobs at twft.com Wed Mar 28 19:14:57 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 28 Mar 2012 16:14:57 -0700 Subject: LiveCode Player for 5.5 In-Reply-To: References: <5A25FEED-1153-43BD-84F6-F107DAB9382E@LinkIt.Com> <3599A28B-7F26-4CD5-AD76-5AFFC9351C43@richardmac.com> <1332968107530-4513669.post@n4.nabble.com> Message-ID: <972E2293-02C8-4FDD-9519-12934BEC3C52@twft.com> I have noticed in talking to people about funding education that there is an almost irresistible tendency to presume that if you spend more money doing something, the results are bound to improve, even if only a little bit. This is of course, absurd. Some of the greatest minds we know in the last 2 centuries were raised and educated in what we would consider today in California to be completely unacceptable conditions. I was educated in the third richest county in the nation, and I am little more than an idiot. ;-) Bob On Mar 28, 2012, at 3:56 PM, Pete wrote: > Hi Alejandro, > I think the discussion of whether education brings everyone down to the > lowest common denominator is a different topic! > > I guess my original point, perhaps not well enough explained, was that, > according to the study in my local paper here in California, using iPads to > replace text books costs about 4 times more than using the hard copy text > books. Personally, I can't find any justification for California schools > spending that extra money when there's hardly any evidence that using iPads > improves the quality of eduction at all, never mind 4-fold. I don't know > enough about it to judge whether the problem is hardware, software, good vs > bad teachers, lack of teacher training , or any other cause. > > But I'm not a teacher and I tend to view these things more simplistically > than perhaps I should. > > Pete > > On Wed, Mar 28, 2012 at 1:55 PM, Alejandro Tejada wrote: > >> Hi all, >> >> I have read the messages in this thread and please, correct me >> if I understand wrong: >> >> 1) Too many students and teachers are too "inexperienced" (not dumb) >> to use the available computer educational tools in their institution. >> >> 2) Most of the digital educational applications aim to teach using only >> the lower (or lowest) skills available to all participants. >> >> Surely, I am interpreting all this information in the wrong way because >> my conclusion is that education (as described here) is effectively dumbing >> down >> all the participants (teachers and students alike). >> >> How many of you are aware that you could run Livecode (including all >> externals and Quicktime) from a Portable device as a USB pendrive >> or Secure Digital Card or even from media as a Rewritable CD or DVD? >> >> No plugin or installation. Just click and run: >> >> >> http://runtime-revolution.278305.n4.nabble.com/Running-LiveCode-and-Quicktime-as-virtual-applications-td4411011.html#a4430008 >> >> In this computer lab: >> >> http://www.facebook.com/media/set/?set=a.2733273854751.2150939.1344437396&type=3 >> the IT manager used Metacard Free Starter Kit to create exams >> that students run from a CD. He opened the exam (a stack), take out >> the CD and repeat the procedure in each machine. In this way, the exams >> only runs in RAM and the students could not copy or save to the >> computer. It works fine for him for many years... >> >> Al >> >> -- >> View this message in context: >> http://runtime-revolution.278305.n4.nabble.com/Two-More-Resolutions-On-The-Way-tp4495780p4513669.html >> Sent from the Revolution - User mailing list archive at Nabble.com. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > > -- > Pete > Molly's Revenge > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Wed Mar 28 19:35:33 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 28 Mar 2012 17:35:33 -0600 Subject: Read from process In-Reply-To: References: <282DA2F9-11ED-4166-BDCE-AF21B3B8D83F@twft.com> Message-ID: Sorry for posting and falling off the earth. A bit sick today but will try and give the gist of a send in time loop. This is just off the top of my head and as always there are probably better ways to do this (also as I mentioned before, not sure which forms of read will block and which won't so your mileage may vary depending on need) command startProcess ## code to connect to the process open process "myprocess" for update ## check for errors opening the process, if no errors then set the cRunning of this card to true -- a method to break the loop, set to false to stop the loop readloop -- handler to do the read end startProcess command readloop if the the cRunning of this card then read from process "myProcess" until empty if it is not empty then #do whatever you want with the resulting read. #if the end line is read, close process set the cRunning of this card to false end if send "readloop" to me in 1 tick end if end readloop On Wed, Mar 28, 2012 at 4:19 PM, Glen Bojsza wrote: > My first test has come back fairly well. > > I missed some of the initial lines of output but got all the remaining > lines. > > I broke out of the loop no problem with the unique output line... when it > was seen in the output I exited the repeat. > > So the first issue I would like to solve is either have the scrolling field > show the latest output ... how can you have the field show the last ten > lines? > > Optionally, try to figure out a send in time and see if it frees the > user... if it does then this would be the better solution. > > Glen > > On Wed, Mar 28, 2012 at 4:08 PM, Bob Sneidar wrote: > > > One method I have heard of is to redirect output to a text file, then > open > > the file for read and read from the file every so often in a repeat loop. > > You still need to know when the process has ended so you can break out of > > the loop. > > > > Bob > > > > > > On Mar 28, 2012, at 2:39 PM, Glen Bojsza wrote: > > > > > The documentation seems slightly confusing (to me). > > > > > > On Linux I want to open a process for update, then write the command to > > be > > > executed and then read from the process and fill the output to a field. > > > > > > The command takes anywhere from 1 minute to 8 minutes to execute and > > while > > > it is running it outputs the various stages and results it currently > has > > > completed. > > > > > > In the terminal window if I just do the command line it produces > anywhere > > > between 20 to 100 lines of output where the final line has a unique > > output > > > acknowledging that it has completed. > > > > > > How should I be writing my read from process? > > > > > > I assume that this should be done inside a repeat forever loop where > you > > > can trap the mouseclick to exit or check for the unique output line > from > > > the read process to exit. > > > > > > I can't seem to any output from the read statement? > > > > > > Finally, is there a way to make this non blocking (ie let it run and > > update > > > the field while the user moves on to something else)? > > > > > > thanks, > > > > > > Glen > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From roger.e.eller at sealedair.com Wed Mar 28 20:21:53 2012 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 28 Mar 2012 20:21:53 -0400 Subject: LiveCode Player for 5.5 In-Reply-To: References: <5A25FEED-1153-43BD-84F6-F107DAB9382E@LinkIt.Com> <3599A28B-7F26-4CD5-AD76-5AFFC9351C43@richardmac.com> <1332968107530-4513669.post@n4.nabble.com> Message-ID: On Wed, Mar 28, 2012 at 6:56 PM, Pete wrote: > I guess my original point, perhaps not well enough explained, was that, > according to the study in my local paper here in California, using iPads to > replace text books costs about 4 times more than using the hard copy text > books. Personally, I can't find any justification for California schools > spending that extra money when there's hardly any evidence that using iPads > improves the quality of eduction at all, never mind 4-fold. > > Pete > My first thought on the matter of TECHstBOOKS (haha, I just made that up) in class is, "Why must it be an iPad when there are already other affordable, and capable "reading" devices?". There are $150 to $200 capacitive multi-touch Android tablets which aren't limited to just running the OS ROM that shipped with it. With a portion of the education budget, the wonderful developers who create CyanogenMod ROMs (for free) for every popular tablet known to man could create an education-centric ROM with proper security in place. This would turn it back into an educational tool without the distraction of games on the app store. I know alot of people just want iPads to be used everywhere because they are so cool. I'd rather see them use moderately priced equipment that still offers an effective learning environment. I think the best thing about digital textbooks is how little they weigh. This could kill the book-bag industry! ;-) ~Roger From gbojsza at gmail.com Wed Mar 28 21:01:00 2012 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 28 Mar 2012 19:01:00 -0600 Subject: Read from process In-Reply-To: References: <282DA2F9-11ED-4166-BDCE-AF21B3B8D83F@twft.com> Message-ID: Hi Mike, Well using your code I get the expected result at the end of the process but the interim output that I try to capture shows nothing? So good news - using your method I get the end result and the user is free to do other things ; / bad news - I can't show the interim output for feedback. If I use the following code I get the opposite effect - user cannot do anything until the process completes but the interim output updates to the field. In both cases the process completes with the final results. So it has to do with the timing of the send and the reading of the process (I also tried reading lines and have the same result as reading characters as shown below) local nM on mouseUp startProcess end mouseUp command startProcess put fld dbPathList into nM open process nM for update set the cRunning of this card to true readloop end startProcess command readloop if the the cRunning of this card then read from process nM for 10 if it is not empty then put it & cr after fld mergeOut put the number of lines of fld mergeOut * 16 into sPlace set the vscroll of fld mergeOut to sPlace if it contains "dblink disconnecting" then set the cRunning of this card to false close process nM exit to top end if send "readloop" to me in 1 tick end if end if end readloop On Wed, Mar 28, 2012 at 5:35 PM, Mike Bonner wrote: > Sorry for posting and falling off the earth. A bit sick today but will try > and give the gist of a send in time loop. This is just off the top of my > head and as always there are probably better ways to do this (also as I > mentioned before, not sure which forms of read will block and which won't > so your mileage may vary depending on need) > > command startProcess > ## code to connect to the process > open process "myprocess" for update > ## check for errors opening the process, if no errors then > set the cRunning of this card to true -- a method to break the loop, set to > false to stop the loop > > readloop -- handler to do the read > end startProcess > > command readloop > if the the cRunning of this card then > read from process "myProcess" until empty > if it is not empty then > #do whatever you want with the resulting read. > #if the end line is read, close process set the cRunning of this card to > false > end if > send "readloop" to me in 1 tick > end if > > end readloop > > From bonnmike at gmail.com Wed Mar 28 21:13:22 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 28 Mar 2012 19:13:22 -0600 Subject: Read from process In-Reply-To: References: <282DA2F9-11ED-4166-BDCE-AF21B3B8D83F@twft.com> Message-ID: Interesting. Not sure whats up then because "read until empty" should grab whatever happens to be in the buffer at the time. Whether its read for 10, or whatever all the same data passes through the buffer. Meaning the data is the data and the method used to read shouldn't make a difference as far as the content so I freely admit to being flummoxed. On Wed, Mar 28, 2012 at 7:01 PM, Glen Bojsza wrote: > Hi Mike, > > Well using your code I get the expected result at the end of the process > but the interim output that I try to capture shows nothing? > > So good news - using your method I get the end result and the user is free > to do other things ; / bad news - I can't show the interim output for > feedback. > > If I use the following code I get the opposite effect - user cannot do > anything until the process completes but the interim output updates to the > field. > > In both cases the process completes with the final results. > > So it has to do with the timing of the send and the reading of the process > (I also tried reading lines and have the same result as reading characters > as shown below) > > local nM > on mouseUp > startProcess > end mouseUp > > command startProcess > put fld dbPathList into nM > open process nM for update > set the cRunning of this card to true > readloop > end startProcess > > command readloop > if the the cRunning of this card then > read from process nM for 10 > if it is not empty then > put it & cr after fld mergeOut > put the number of lines of fld mergeOut * 16 into sPlace > set the vscroll of fld mergeOut to sPlace > if it contains "dblink disconnecting" then > set the cRunning of this card to false > close process nM > exit to top > end if > send "readloop" to me in 1 tick > end if > end if > > end readloop > > On Wed, Mar 28, 2012 at 5:35 PM, Mike Bonner wrote: > > > Sorry for posting and falling off the earth. A bit sick today but will > try > > and give the gist of a send in time loop. This is just off the top of my > > head and as always there are probably better ways to do this (also as I > > mentioned before, not sure which forms of read will block and which won't > > so your mileage may vary depending on need) > > > > command startProcess > > ## code to connect to the process > > open process "myprocess" for update > > ## check for errors opening the process, if no errors then > > set the cRunning of this card to true -- a method to break the loop, set > to > > false to stop the loop > > > > readloop -- handler to do the read > > end startProcess > > > > command readloop > > if the the cRunning of this card then > > read from process "myProcess" until empty > > if it is not empty then > > #do whatever you want with the resulting read. > > #if the end line is read, close process set the cRunning of this card to > > false > > end if > > send "readloop" to me in 1 tick > > end if > > > > end readloop > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Wed Mar 28 21:14:56 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 28 Mar 2012 19:14:56 -0600 Subject: Read from process In-Reply-To: References: <282DA2F9-11ED-4166-BDCE-AF21B3B8D83F@twft.com> Message-ID: Maybe its time to go with the Bob method? On Wed, Mar 28, 2012 at 7:13 PM, Mike Bonner wrote: > Interesting. Not sure whats up then because "read until empty" should grab > whatever happens to be in the buffer at the time. Whether its read for 10, > or whatever all the same data passes through the buffer. Meaning the data > is the data and the method used to read shouldn't make a difference as far > as the content so I freely admit to being flummoxed. > > > On Wed, Mar 28, 2012 at 7:01 PM, Glen Bojsza wrote: > >> Hi Mike, >> >> Well using your code I get the expected result at the end of the process >> but the interim output that I try to capture shows nothing? >> >> So good news - using your method I get the end result and the user is free >> to do other things ; / bad news - I can't show the interim output for >> feedback. >> >> If I use the following code I get the opposite effect - user cannot do >> anything until the process completes but the interim output updates to the >> field. >> >> In both cases the process completes with the final results. >> >> So it has to do with the timing of the send and the reading of the process >> (I also tried reading lines and have the same result as reading characters >> as shown below) >> >> local nM >> on mouseUp >> startProcess >> end mouseUp >> >> command startProcess >> put fld dbPathList into nM >> open process nM for update >> set the cRunning of this card to true >> readloop >> end startProcess >> >> command readloop >> if the the cRunning of this card then >> read from process nM for 10 >> if it is not empty then >> put it & cr after fld mergeOut >> put the number of lines of fld mergeOut * 16 into sPlace >> set the vscroll of fld mergeOut to sPlace >> if it contains "dblink disconnecting" then >> set the cRunning of this card to false >> close process nM >> exit to top >> end if >> send "readloop" to me in 1 tick >> end if >> end if >> >> end readloop >> >> On Wed, Mar 28, 2012 at 5:35 PM, Mike Bonner wrote: >> >> > Sorry for posting and falling off the earth. A bit sick today but will >> try >> > and give the gist of a send in time loop. This is just off the top of my >> > head and as always there are probably better ways to do this (also as I >> > mentioned before, not sure which forms of read will block and which >> won't >> > so your mileage may vary depending on need) >> > >> > command startProcess >> > ## code to connect to the process >> > open process "myprocess" for update >> > ## check for errors opening the process, if no errors then >> > set the cRunning of this card to true -- a method to break the loop, >> set to >> > false to stop the loop >> > >> > readloop -- handler to do the read >> > end startProcess >> > >> > command readloop >> > if the the cRunning of this card then >> > read from process "myProcess" until empty >> > if it is not empty then >> > #do whatever you want with the resulting read. >> > #if the end line is read, close process set the cRunning of this card to >> > false >> > end if >> > send "readloop" to me in 1 tick >> > end if >> > >> > end readloop >> > >> > >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From gbojsza at gmail.com Wed Mar 28 21:21:20 2012 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 28 Mar 2012 19:21:20 -0600 Subject: Read from process In-Reply-To: References: <282DA2F9-11ED-4166-BDCE-AF21B3B8D83F@twft.com> Message-ID: Well I appreciate the input. This area needs more examples since the potential is huge (IMHO). Worst case I lock the user down until the process completes but give a nice "Be patient" message. regards, Glen On Wed, Mar 28, 2012 at 7:14 PM, Mike Bonner wrote: > Maybe its time to go with the Bob method? > > > On Wed, Mar 28, 2012 at 7:13 PM, Mike Bonner wrote: > > > Interesting. Not sure whats up then because "read until empty" should > grab > > whatever happens to be in the buffer at the time. Whether its read for > 10, > > or whatever all the same data passes through the buffer. Meaning the data > > is the data and the method used to read shouldn't make a difference as > far > > as the content so I freely admit to being flummoxed. > > > > > > On Wed, Mar 28, 2012 at 7:01 PM, Glen Bojsza wrote: > > > >> Hi Mike, > >> > >> Well using your code I get the expected result at the end of the process > >> but the interim output that I try to capture shows nothing? > >> > >> So good news - using your method I get the end result and the user is > free > >> to do other things ; / bad news - I can't show the interim output for > >> feedback. > >> > >> If I use the following code I get the opposite effect - user cannot do > >> anything until the process completes but the interim output updates to > the > >> field. > >> > >> In both cases the process completes with the final results. > >> > >> So it has to do with the timing of the send and the reading of the > process > >> (I also tried reading lines and have the same result as reading > characters > >> as shown below) > >> > >> local nM > >> on mouseUp > >> startProcess > >> end mouseUp > >> > >> command startProcess > >> put fld dbPathList into nM > >> open process nM for update > >> set the cRunning of this card to true > >> readloop > >> end startProcess > >> > >> command readloop > >> if the the cRunning of this card then > >> read from process nM for 10 > >> if it is not empty then > >> put it & cr after fld mergeOut > >> put the number of lines of fld mergeOut * 16 into sPlace > >> set the vscroll of fld mergeOut to sPlace > >> if it contains "dblink disconnecting" then > >> set the cRunning of this card to false > >> close process nM > >> exit to top > >> end if > >> send "readloop" to me in 1 tick > >> end if > >> end if > >> > >> end readloop > >> > >> On Wed, Mar 28, 2012 at 5:35 PM, Mike Bonner > wrote: > >> > >> > Sorry for posting and falling off the earth. A bit sick today but will > >> try > >> > and give the gist of a send in time loop. This is just off the top of > my > >> > head and as always there are probably better ways to do this (also as > I > >> > mentioned before, not sure which forms of read will block and which > >> won't > >> > so your mileage may vary depending on need) > >> > > >> > command startProcess > >> > ## code to connect to the process > >> > open process "myprocess" for update > >> > ## check for errors opening the process, if no errors then > >> > set the cRunning of this card to true -- a method to break the loop, > >> set to > >> > false to stop the loop > >> > > >> > readloop -- handler to do the read > >> > end startProcess > >> > > >> > command readloop > >> > if the the cRunning of this card then > >> > read from process "myProcess" until empty > >> > if it is not empty then > >> > #do whatever you want with the resulting read. > >> > #if the end line is read, close process set the cRunning of this card > to > >> > false > >> > end if > >> > send "readloop" to me in 1 tick > >> > end if > >> > > >> > end readloop > >> > > >> > > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From gbojsza at gmail.com Wed Mar 28 21:58:55 2012 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 28 Mar 2012 19:58:55 -0600 Subject: Read from process In-Reply-To: References: <282DA2F9-11ED-4166-BDCE-AF21B3B8D83F@twft.com> Message-ID: Solved... it is where the end if's were placed! local nM on mouseUp startProcess end mouseUp command startProcess put fld dbPathList into nM open process nM for update set the cRunning of this card to true readloop end startProcess command readloop if the the cRunning of this card then read from process nM until empty if it is not empty then put it & cr after fld mergeOut put the number of lines of fld mergeOut * 16 into sPlace set the vscroll of fld mergeOut to sPlace end if if it contains "dblink disconnecting" then set the cRunning of this card to false close process nM exit to top end if end if send "readloop" to me in 1 tick end readloop On Wed, Mar 28, 2012 at 7:21 PM, Glen Bojsza wrote: > Well I appreciate the input. > > This area needs more examples since the potential is huge (IMHO). > > Worst case I lock the user down until the process completes but give a > nice "Be patient" message. > > regards, > > Glen > > > On Wed, Mar 28, 2012 at 7:14 PM, Mike Bonner wrote: > >> Maybe its time to go with the Bob method? >> >> >> On Wed, Mar 28, 2012 at 7:13 PM, Mike Bonner wrote: >> >> > Interesting. Not sure whats up then because "read until empty" should >> grab >> > whatever happens to be in the buffer at the time. Whether its read for >> 10, >> > or whatever all the same data passes through the buffer. Meaning the >> data >> > is the data and the method used to read shouldn't make a difference as >> far >> > as the content so I freely admit to being flummoxed. >> > >> > >> > On Wed, Mar 28, 2012 at 7:01 PM, Glen Bojsza wrote: >> > >> >> Hi Mike, >> >> >> >> Well using your code I get the expected result at the end of the >> process >> >> but the interim output that I try to capture shows nothing? >> >> >> >> So good news - using your method I get the end result and the user is >> free >> >> to do other things ; / bad news - I can't show the interim output for >> >> feedback. >> >> >> >> If I use the following code I get the opposite effect - user cannot do >> >> anything until the process completes but the interim output updates to >> the >> >> field. >> >> >> >> In both cases the process completes with the final results. >> >> >> >> So it has to do with the timing of the send and the reading of the >> process >> >> (I also tried reading lines and have the same result as reading >> characters >> >> as shown below) >> >> >> >> local nM >> >> on mouseUp >> >> startProcess >> >> end mouseUp >> >> >> >> command startProcess >> >> put fld dbPathList into nM >> >> open process nM for update >> >> set the cRunning of this card to true >> >> readloop >> >> end startProcess >> >> >> >> command readloop >> >> if the the cRunning of this card then >> >> read from process nM for 10 >> >> if it is not empty then >> >> put it & cr after fld mergeOut >> >> put the number of lines of fld mergeOut * 16 into sPlace >> >> set the vscroll of fld mergeOut to sPlace >> >> if it contains "dblink disconnecting" then >> >> set the cRunning of this card to false >> >> close process nM >> >> exit to top >> >> end if >> >> send "readloop" to me in 1 tick >> >> end if >> >> end if >> >> >> >> end readloop >> >> >> >> On Wed, Mar 28, 2012 at 5:35 PM, Mike Bonner >> wrote: >> >> >> >> > Sorry for posting and falling off the earth. A bit sick today but >> will >> >> try >> >> > and give the gist of a send in time loop. This is just off the top >> of my >> >> > head and as always there are probably better ways to do this (also >> as I >> >> > mentioned before, not sure which forms of read will block and which >> >> won't >> >> > so your mileage may vary depending on need) >> >> > >> >> > command startProcess >> >> > ## code to connect to the process >> >> > open process "myprocess" for update >> >> > ## check for errors opening the process, if no errors then >> >> > set the cRunning of this card to true -- a method to break the loop, >> >> set to >> >> > false to stop the loop >> >> > >> >> > readloop -- handler to do the read >> >> > end startProcess >> >> > >> >> > command readloop >> >> > if the the cRunning of this card then >> >> > read from process "myProcess" until empty >> >> > if it is not empty then >> >> > #do whatever you want with the resulting read. >> >> > #if the end line is read, close process set the cRunning of this >> card to >> >> > false >> >> > end if >> >> > send "readloop" to me in 1 tick >> >> > end if >> >> > >> >> > end readloop >> >> > >> >> > >> >> _______________________________________________ >> >> use-livecode mailing list >> >> use-livecode at lists.runrev.com >> >> Please visit this url to subscribe, unsubscribe and manage your >> >> subscription preferences: >> >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> > >> > >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From bonnmike at gmail.com Wed Mar 28 22:02:33 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 28 Mar 2012 20:02:33 -0600 Subject: Read from process In-Reply-To: References: <282DA2F9-11ED-4166-BDCE-AF21B3B8D83F@twft.com> Message-ID: Very cool! I kept staring at the code you sent but i'm just too fuzzy today to make much sense of things. Glad its working for you! From mickclns at mac.com Wed Mar 28 22:48:39 2012 From: mickclns at mac.com (Mick Collins) Date: Thu, 29 Mar 2012 02:48:39 +0000 (GMT) Subject: ANN and OT: Calling All SETI Enthusiasts In-Reply-To: Message-ID: Argue for your limitations and, indeed, they are yours. What obstacles, Bob? ?You show me true obstacles, not just bullshit, and I'll show you how they might be overcome. Date: Wed, 28 Mar 2012 11:53:08 -0700 From: Bob Sneidar To: How to use LiveCode Subject: Re: ANN and OT: Calling All SETI Enthusiasts Message-ID: <8B8FF4B1-1554-4813-9F68-47B55EE83A81 at twft.com> Content-Type: text/plain; charset=us-ascii Rick Santorum is a Livecode programmer?? heh heh. But seriously, try actually coming up with some suggestions at least about how to overcome the obstacles. Otherwise, I declare your cry of "bullshit" to be the true "bullshit" that all who have no answers cry when they are confronted with the difficulties of their assertions.? Bob On Mar 28, 2012, at 11:21 AM, Mick Collins wrote: > Bob's "logistics" is, as Rick Santorum said day before yesterday, bullshlt.? From jhurley0305 at sbcglobal.net Wed Mar 28 22:58:17 2012 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Wed, 28 Mar 2012 19:58:17 -0700 Subject: ANN: ScaleMatic In-Reply-To: References: Message-ID: <7734967B-DF99-4A17-B917-74ED906AAEF1@sbcglobal.net> Roger, I was able to post to RevOnLine this morning. Jim > > Message: 7 > Date: Wed, 28 Mar 2012 12:10:41 -0600 > From: Roger Guay > To: use-livecode at lists.runrev.com > Subject: ANN: ScaleMatic > Message-ID: <1116B76A-8C30-4AFF-A1CF-B2601961C41E at mac.com> > Content-Type: text/plain; CHARSET=US-ASCII > > Hi all, > > Here is a small utility for making scales/rulers for your stacks: > > http://web.me.com/irog/Roger_Guay/Downloads.html > > Scroll down to lower left. Sure would be nice to get RevOnLine back!! > > Cheers, > Roger > From mcgrath3 at mac.com Wed Mar 28 23:13:30 2012 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Wed, 28 Mar 2012 23:13:30 -0400 Subject: File path to image on iOS? In-Reply-To: References: Message-ID: <76C240A5-AF17-4D16-ABA9-F34B78B6CE32@mac.com> John, Yes that is possible in LC to use the mobilePickPhoto to grab a photo and then save it to an images folder in you apps sandbox and or your apps documents folder. Then you can use those images in your app by using the image path to your images folder. What you can't do is have the iOS camera app save to your app or its folders (except as previously stated by using mobilePickPhoto). something like this: set the name of the templateImage to "FooBar" -- the mobilePickPhoto uses the template image so you can set up all attributes here mobilePickPhoto "front camera", 250, 250 -- call up the camera from within LC put image "FooBar" into URL ("file:" & specialFolderPath("documents") & "/" & "Foobar.png") -- this puts the image into a file in your documents folder delete image "FooBar" -- if needed delete image from stack LATER: put image (specialFolderPath("Documents") & "/" & "FooBar.png") into image "AnotherImage" -- This puts the image into another image from the file -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Mar 28, 2012, at 1:14 PM, John Patten wrote: > Hi All... > > Is it possible to save an image from the iOS camera in a folder other than "camera Roll?" And is it possible for the iOS camera command to save the image in a folder within the app and then use those images by saving their path and then setting the filename of image object in app to something like, defaultFolder/images/imagnename.jpg? > > Thank you! > > John Patten > SUSD > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bvlahos at mac.com Wed Mar 28 23:19:52 2012 From: bvlahos at mac.com (Bill Vlahos) Date: Wed, 28 Mar 2012 20:19:52 -0700 Subject: Regular expression escape characters Message-ID: <4B7FD9DF-4476-4D81-B948-2DEA31700314@mac.com> I am building a regular expression to find a set of question marks and exclamation points. For example ??? or !!!. These are special characters so they mean something to a regular expression. How do I find them in the text? If I want to find a word such as "Bill" I can matchText with (\bBill\b) but I can't do (\b!!!\b) and if I do (\b???\b) I get an error. I've looked on the web for escaping characters and they suggest using a slash before. However, when I try (\b\!\!\!\b) it doesn't work. I've also found references to \Q?\E to have everything between a literal but (\b\Q!!!\E\b) doesn't work either. Any ideas? Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. From cszasz at mac.com Wed Mar 28 23:35:03 2012 From: cszasz at mac.com (Charles Szasz) Date: Wed, 28 Mar 2012 23:35:03 -0400 Subject: PaintCode LiveCode Message-ID: <30742E05-DD29-4E59-A42A-3B54183E913A@mac.com> PaintCode is a new drawing program for the Mac that generates Objective C code to draw visual objects. Can it be use with LC? Sent from my iPad From capellan2000 at gmail.com Wed Mar 28 23:36:49 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 28 Mar 2012 20:36:49 -0700 (PDT) Subject: LiveCode Player for 5.5 In-Reply-To: <1D5D9BD6-D502-442A-B511-A45680ECFE27@economy-x-talk.com> References: <5A25FEED-1153-43BD-84F6-F107DAB9382E@LinkIt.Com> <3599A28B-7F26-4CD5-AD76-5AFFC9351C43@richardmac.com> <1332968107530-4513669.post@n4.nabble.com> <1D5D9BD6-D502-442A-B511-A45680ECFE27@economy-x-talk.com> Message-ID: <1332992209708-4514388.post@n4.nabble.com> Hi Mark, Mark Schonewille-3 wrote > > I've been in computer labs where computers wouldn't have an > (accessible) CD-rom drive or USB port. Computers in offices > may not allow limited users to start an exe that's not installed > in the programmes folder on the network. > Well, maybe (just maybe) the safest computers are not connected to the internet and neither are accesible physically by anyone. :-D I have noticed that, in this country, many computer laboratories have software similar to Deep Freeze that effectively erase all "unauthorized" changes in the operating system: http://alternativeto.net/software/deep-freeze/? Maybe this explain why IT managers are more receptive in these recennt days to allow running portable applications from USB, SD Cards and Optical Media. You could read the sign in the wall: Turn off the computer when you have finished... I wrote in this mail list some time ago: To attract teachers and students Livecode needs... 1) An interface similar to Office programs, with similar functions and usability. 2) scripting should be disclosed "gradually" to new users. Jackeline have wrote about the convenience of offering many prebuilt (and droppable) scripts for simple tasks. Actually, teachers and students could do a lot using just a few elements of Livecode: For Navigation: Go Next/Back/ to Card [number][id] For display: Show/Hide with visual effect ... Other commands and functions: Put/Get/Set... 3) Ideally, RunRev should convince those that have the power to make decision, to USE Livecode in their district or institutions. After enough evidence of positive results is produced, the platform will gain more traction in education. Remember that every long journey, starts with a single step... Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Two-More-Resolutions-On-The-Way-tp4495780p4514388.html Sent from the Revolution - User mailing list archive at Nabble.com. From monte at sweattechnologies.com Wed Mar 28 23:41:31 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 29 Mar 2012 14:41:31 +1100 Subject: PaintCode LiveCode In-Reply-To: <30742E05-DD29-4E59-A42A-3B54183E913A@mac.com> References: <30742E05-DD29-4E59-A42A-3B54183E913A@mac.com> Message-ID: <85EF6B7D-9D93-4C8B-BA3D-5CDEF71801D3@sweattechnologies.com> You would have to include the code in an external. On 29/03/2012, at 2:35 PM, Charles Szasz wrote: > PaintCode is a new drawing program for the Mac that generates Objective C code to draw visual objects. Can it be use with LC? > > Sent from my iPad > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Thu Mar 29 01:40:47 2012 From: pete at mollysrevenge.com (Pete) Date: Wed, 28 Mar 2012 22:40:47 -0700 Subject: [OT] ACer A100 Tablet Message-ID: Anyone got one of the above and willing to share thoughts on it? -- Pete Molly's Revenge From dsc at swcp.com Thu Mar 29 02:15:05 2012 From: dsc at swcp.com (Dar Scott) Date: Thu, 29 Mar 2012 00:15:05 -0600 Subject: Regular expression escape characters In-Reply-To: <4B7FD9DF-4476-4D81-B948-2DEA31700314@mac.com> References: <4B7FD9DF-4476-4D81-B948-2DEA31700314@mac.com> Message-ID: I don't think punctuation are word characters, so the \b might not be working right. Try \!\!\! without the \b and see if that matches something. If it does, then work on getting the boundary conditions right. -- Dar On Mar 28, 2012, at 9:19 PM, Bill Vlahos wrote: > I am building a regular expression to find a set of question marks and exclamation points. For example ??? or !!!. > > These are special characters so they mean something to a regular expression. > > How do I find them in the text? > > If I want to find a word such as "Bill" I can matchText with (\bBill\b) but I can't do (\b!!!\b) and if I do (\b???\b) I get an error. > > I've looked on the web for escaping characters and they suggest using a slash before. However, when I try (\b\!\!\!\b) it doesn't work. > > I've also found references to \Q?\E to have everything between a literal but (\b\Q!!!\E\b) doesn't work either. > > Any ideas? > > Bill Vlahos > _________________ > InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode --------------------------- Dar Scott dba Dar Scott Consulting 8637 Horacio Place NE Albuquerque, NM 87111 Lab, home, office phone: +1 505 299 9497 For Skype and fax, please contact. dsc at swcp.com Computer Programming and tinkering, often making LiveCode libraries and externals, sometimes writing associated microcontroller firmware. --------------------------- From mazzapaoloitaly at gmail.com Thu Mar 29 03:10:06 2012 From: mazzapaoloitaly at gmail.com (paolo mazza) Date: Thu, 29 Mar 2012 09:10:06 +0200 Subject: Playing Flash Video? In-Reply-To: <1332785633902-4506727.post@n4.nabble.com> References: <1332785633902-4506727.post@n4.nabble.com> Message-ID: Al, I think Jiro Harada stopped development of that product. Using rev-browser you can play flash video. Then, you can deliver the same mp4 videos to MAC/PC and iOS devices . Still I think a multi-platform solution for video playback in LiveCode projects (i.e. a new player) is needed. All the best Paolo > project On Mon, Mar 26, 2012 at 8:13 PM, Alejandro Tejada wrote: > Hi Trevor, > > > Trevor DeVore wrote >> >> I know someone who would like to add Flash video playback to a LiveCode >> project that already supports QuickTime and DirectShow. It must be >> possible >> to query the duration and current time of the video, set the current time, >> and play/pause the video via script. >> >> I'm looking for anyone who has done work in this area and might be able to >> help them out. Please contact me off-list. >> > > Look at this message thread: > http://runtime-revolution.278305.n4.nabble.com/ANN-F-ab-2-5-0-released-and-available-for-download-td332392.html > > Jiro Harada published this awesome application, but his > website is offline. > > Probably, you should contact him via email. > > Al > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Playing-Flash-Video-tp4495423p4506727.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From niggemann at uni-wh.de Thu Mar 29 03:28:42 2012 From: niggemann at uni-wh.de (BNig) Date: Thu, 29 Mar 2012 00:28:42 -0700 (PDT) Subject: ANN: ScaleMatic In-Reply-To: <7734967B-DF99-4A17-B917-74ED906AAEF1@sbcglobal.net> References: <1116B76A-8C30-4AFF-A1CF-B2601961C41E@mac.com> <7734967B-DF99-4A17-B917-74ED906AAEF1@sbcglobal.net> Message-ID: <1333006122456-4514699.post@n4.nabble.com> Hi Jim, thanks for uploading the "two balls collision" stack. regarding RevOnline: I noticed that if Livecode is running for longer than about an hour RevOnline (or user samples) does not work. If you restart Livecode it works. With the advent of Livecode 5.5 it tends to forget to log you in, so you have to log in manually. Then uploading is at times tricky, sometimes I have to retry it a couple of times. But eventually it works. The main trick seems to be to restart Livecode and access RevOnline soon after. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-ScaleMatic-tp4513156p4514699.html Sent from the Revolution - User mailing list archive at Nabble.com. From rene.micout at numericable.com Thu Mar 29 05:05:24 2012 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Thu, 29 Mar 2012 11:05:24 +0200 Subject: ANN: ScaleMatic In-Reply-To: <1333006122456-4514699.post@n4.nabble.com> References: <1116B76A-8C30-4AFF-A1CF-B2601961C41E@mac.com> <7734967B-DF99-4A17-B917-74ED906AAEF1@sbcglobal.net> <1333006122456-4514699.post@n4.nabble.com> Message-ID: <37683DDA-224A-4378-A683-BB31E95D8D62@numericable.com> Hello Bernd, I try it but that don't work... :-( I try since december 2011 to upload a custom control (grey slider ? la Mac OS X)... " A little tool to create a new custom control : grey slider (whitch can be seen in applications like iPhoto, iTunes, Garage Band, ...) with horizontal and vertical orientation, 3 sizes (regular, small, mini), marks, field for value and title. Free and free of charge, downloadable on RevOnline : Slider Grey " "downloadable on RevOnline" > no, sorry... Bon souvenir de Paris Ren? Le 29 mars 2012 ? 09:28, BNig a ?crit : > Hi Jim, > > thanks for uploading the "two balls collision" stack. > > regarding RevOnline: I noticed that if Livecode is running for longer than > about an hour RevOnline (or user samples) does not work. If you restart > Livecode it works. With the advent of Livecode 5.5 it tends to forget to log > you in, so you have to log in manually. > Then uploading is at times tricky, sometimes I have to retry it a couple of > times. But eventually it works. > > The main trick seems to be to restart Livecode and access RevOnline soon > after. > > Kind regards From niggemann at uni-wh.de Thu Mar 29 06:02:44 2012 From: niggemann at uni-wh.de (BNig) Date: Thu, 29 Mar 2012 03:02:44 -0700 (PDT) Subject: ANN: ScaleMatic In-Reply-To: <37683DDA-224A-4378-A683-BB31E95D8D62@numericable.com> References: <1116B76A-8C30-4AFF-A1CF-B2601961C41E@mac.com> <7734967B-DF99-4A17-B917-74ED906AAEF1@sbcglobal.net> <1333006122456-4514699.post@n4.nabble.com> <37683DDA-224A-4378-A683-BB31E95D8D62@numericable.com> Message-ID: <1333015364970-4514969.post@n4.nabble.com> Hello Ren? can you load RevOnline from Livecode at all, can you log in? Is it the upload that does not work for you? Me too I had problems uploading. The interface is confusing me and no feedback, I had to try a couple times. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-ScaleMatic-tp4513156p4514969.html Sent from the Revolution - User mailing list archive at Nabble.com. From rene.micout at numericable.com Thu Mar 29 07:03:44 2012 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Thu, 29 Mar 2012 13:03:44 +0200 Subject: ANN: ScaleMatic In-Reply-To: <1333015364970-4514969.post@n4.nabble.com> References: <1116B76A-8C30-4AFF-A1CF-B2601961C41E@mac.com> <7734967B-DF99-4A17-B917-74ED906AAEF1@sbcglobal.net> <1333006122456-4514699.post@n4.nabble.com> <37683DDA-224A-4378-A683-BB31E95D8D62@numericable.com> <1333015364970-4514969.post@n4.nabble.com> Message-ID: <87A0FCC4-2EF6-4C9E-8FA0-B66DD91BE355@numericable.com> 1. On RunRev 5.5 (Mac OS X Lion 10.7.3) I click on "User samples" Menu 2. revOnline Browser window appears > I am logged automatically (under my mail address) 3. I choose "My Account" 4. I choose "Upload content" 5. In tab "Stack" I choose my stack "SliderGrey1.1d.livecode" 6. I upload an image 7. I enter the description of my stack into the field... 8. I click on "Save changes 9. "Uploading appears at bottom left corner of the window and the progress bar run... 10. After that the window seems frozen... Le 29 mars 2012 ? 12:02, BNig a ?crit : > Hello Ren? > > can you load RevOnline from Livecode at all, can you log in? > > Is it the upload that does not work for you? > > Me too I had problems uploading. The interface is confusing me and no > feedback, I had to try a couple times. > > Kind regards > > Bernd > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-ScaleMatic-tp4513156p4514969.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ruslan_zasukhin at valentina-db.com Thu Mar 29 07:13:43 2012 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Thu, 29 Mar 2012 14:13:43 +0300 Subject: Valentina 5 Server Sneak Peek In-Reply-To: Message-ID: On 3/28/12 11:30 PM, "william humphrey" wrote: Hi William, > If we buy that excellent bundle does it include both windows and mac os > installs as part of the price? I'm thinking of making a windows development > machine also just to make things easier on me. 1) You choose one platform self. Mac or win or linux. 2) For your second computer you can use always FREE -- Valentina Server/5 3) Let me underline, that EXISTED owners of 2010/2011 bundle already have license of Valentina Server INFINITY 4.9 and many other products that was bundled. But to be able upgrade to upcoming Vserver and V4REV 5.0 you need renew license. VServer ININITY renew for one more year cost $900 itself. OmegaBundle 2012 - cost only 399$ and includes dozen others products. http://www.omegabundle.com > On Wed, Mar 28, 2012 at 11:01 AM, Lynn Fredricks < > lfredricks at proactive-intl.com> wrote: > >> Hello all, >> >> We've posted a Valentina 5 Server Sneak Peek on the Omegabundle site: >> >> Folks who purchase the Omegabundle this year will get a free upgrade (in >> fact, 12 months of updates) Valentina Server Unlimited. Valentina Server >> Unlimited normally costs $1499, but its included with Omegabundle for >> LiveCode 2012, which costs $399. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From ruslan_zasukhin at valentina-db.com Thu Mar 29 07:42:59 2012 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Thu, 29 Mar 2012 14:42:59 +0300 Subject: Valentina Studio PRO 5.0 + SQLite and PostgreSQL -- BETA TESTERS NEEDED. Message-ID: Hi Guys, We are close to ship Valentina 5.0 product line. Many news comes with 5.0. One of major is -- new features of Valentina Studio Pro described a little below. We want invite 5-10 developers to help us do beta testing of SQLite and Postgre plugins. Especially will be good if you are used To Navicate, mySQL WorkBench or another DB Manager GUI tool ... Any platform: Mac, Windows, Linux. Subject of testing first of all: admin of your db, learns chema: tables, views, triggers, indexes,... data editor of records SQL editor Diagrams -- forward and reverse engineering, existed and new objects SQL DIFF REPORT EDITOR with Lite or Postgre or mySQL as datasource. If you want do that please contact me privately. Please do not answer to this list. P.S. Anybody need import of XCODE model into SQLite or Postgre db schema? We have this for Valentina DB already ... =================================================== MORE INFO: =================================================== * Very major feature of 5.0 will be located in Valentina Studio * SQLite and Postgre admin plugins. * Very Powerful new Diagram/Model editor for all 3 DBs. Reverse and Forward engineering of model. It will allow save hours and days if you develop or improve db schema. It can self create needed ObjectPtr/FK fields, and even MM table... You need to see that ... We can do things which cannot do Navicat and WorkBench. In particular we can mix on same diagram existed db objects and designed objects... * SQL DIFF -- year of development in this area by at least one of our developer. In fact this piece of code tightly integrated into Diagrams also. * Valentina REPORT now can use SQLite, Postgre as datasources. and mySQL at runtime. =================================================== * Valentina SERVER -- is DB + REPORTs Server. * at FIRST TIME VServer via its VReport.dll can talk to other VServer or PostgreSQL or mySQL servers to get from them data to build REPORTS. YES, mySQL already works as datasource for reports. * TEAM now can work together over diagrams. Exists locks and warning dialogs in Vstudio about possible conflicts. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From klaus at major.on-rev.com Thu Mar 29 08:10:35 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Thu, 29 Mar 2012 14:10:35 +0200 Subject: CHEESE! Was: Windows: Programm Compatibility Assistent In-Reply-To: <4AA78317-E229-4E67-BBD8-AB3DCFAEC878@major.on-rev.com> References: <4AA78317-E229-4E67-BBD8-AB3DCFAEC878@major.on-rev.com> Message-ID: Hi friends, just wanted to draw some attention to my question :-) Any hints still heavily appreciated! Am 28.03.2012 um 18:40 schrieb Klaus on-rev: > Hi friends, > > I have a strange problem with my windows app(s) on Win7. > > 1. I created a runtime XYZ.exe, UAC Execution Level -> Default > 2. I created an installer "Install XYT.exe" with UAC Execution Level -> ADMNISTRATOR, Its an installer :-) > > Everythings gets installed fine in general on XP and Win7, but when I quit either of the apps on Win7 I get > the Windows dialog here... OK, it turned out that the dialog will only displayde after the INSTALLER quits, NOT the installed exe! On the last card of my installer there is a button "Launch application & quit". the installed exe will start, teh installer quits and the dialog, that definitvely belongs to the installer, popped up AFTER I quit the exe?! > English: > > > German: > > > Waht is puzzling me is the fact that this is an installer!, that one will load from the internet, > run it once and then trash it, so it is not being "installed" in any way at all!? > Know what I mean? > > I thought that the UAC would take care of this? > Is there any way to get rid of that diaolog with the means of Livecode? > > Thanks a lot in advance! Anyway, I think this is a bug and already wrote to support. Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From dunbarx at aol.com Thu Mar 29 08:20:56 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 29 Mar 2012 08:20:56 -0400 (EDT) Subject: Regular expression escape characters In-Reply-To: <4B7FD9DF-4476-4D81-B948-2DEA31700314@mac.com> References: <4B7FD9DF-4476-4D81-B948-2DEA31700314@mac.com> Message-ID: <8CEDBBD86B7E0DD-1D5C-159C@webmail-m027.sysops.aol.com> I am not sure if this if feasible, but could you replace the problem char with another, one that does not appear in the original text and has no agenda with regex? When you find the chunk data for the substitutes, you can retranslate that back to the original. So if it is true that "!" is a control char for regex, replace it with, say, numToChar 186, or whatever, do your find on that char, and you will have the correct find info for the original char. Craig Newman -----Original Message----- From: Bill Vlahos To: How to use LiveCode Sent: Wed, Mar 28, 2012 11:22 pm Subject: Regular expression escape characters I am building a regular expression to find a set of question marks and exclamation points. For example ??? or !!!. These are special characters so they mean something to a regular expression. How do I find them in the text? If I want to find a word such as "Bill" I can matchText with (\bBill\b) but I can't do (\b!!!\b) and if I do (\b???\b) I get an error. I've looked on the web for escaping characters and they suggest using a slash before. However, when I try (\b\!\!\!\b) it doesn't work. I've also found references to \Q?\E to have everything between a literal but (\b\Q!!!\E\b) doesn't work either. Any ideas? Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From niggemann at uni-wh.de Thu Mar 29 08:40:13 2012 From: niggemann at uni-wh.de (BNig) Date: Thu, 29 Mar 2012 05:40:13 -0700 (PDT) Subject: ANN: ScaleMatic In-Reply-To: <87A0FCC4-2EF6-4C9E-8FA0-B66DD91BE355@numericable.com> References: <1116B76A-8C30-4AFF-A1CF-B2601961C41E@mac.com> <7734967B-DF99-4A17-B917-74ED906AAEF1@sbcglobal.net> <1333006122456-4514699.post@n4.nabble.com> <37683DDA-224A-4378-A683-BB31E95D8D62@numericable.com> <1333015364970-4514969.post@n4.nabble.com> <87A0FCC4-2EF6-4C9E-8FA0-B66DD91BE355@numericable.com> Message-ID: <1333024813645-4515299.post@n4.nabble.com> Hello Ren?, I just tried to upload a test stack. The first time it failed to upload. Restart Livecode Then I just uploaded the stack, no image, no description. That worked. Then in edit mode I added the description and saved. worked Then I tried to add an image, that failed repeatedly even after restarting Livecode. I don't know, maybe it is a sort of lottery :) I have been able to upload images, but had a lot of problems also before. Maybe just upload the stack and the description. Too bad RevOnline is so stubborn. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-ScaleMatic-tp4513156p4515299.html Sent from the Revolution - User mailing list archive at Nabble.com. From pmbrig at gmail.com Thu Mar 29 09:39:08 2012 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Thu, 29 Mar 2012 09:39:08 -0400 Subject: Regular expression escape characters In-Reply-To: <4B7FD9DF-4476-4D81-B948-2DEA31700314@mac.com> References: <4B7FD9DF-4476-4D81-B948-2DEA31700314@mac.com> Message-ID: On Mar 28, 2012, at 11:19 PM, Bill Vlahos wrote: > I am building a regular expression to find a set of question marks and exclamation points. For example ??? or !!!. > > These are special characters so they mean something to a regular expression. > > How do I find them in the text? > > If I want to find a word such as "Bill" I can matchText with (\bBill\b) but I can't do (\b!!!\b) and if I do (\b???\b) I get an error. > > I've looked on the web for escaping characters and they suggest using a slash before. However, when I try (\b\!\!\!\b) it doesn't work. > > I've also found references to \Q?\E to have everything between a literal but (\b\Q!!!\E\b) doesn't work either. > > Any ideas? I have a bias (often warranted) towards using LC's text and chunking capabilities rather than LC. If you know that the runs of question marks and exclamation points will alway be length = 3 then you could avoid Regex: put offsets("???",tText) into qOffsets put offsets ("!!!",tText) into eOffsets -- do something with these lists function offsets str,cntr -- returns a comma-delimited list of all the offsets of str in cntr if str is not in cntr then return 0 put "" into offsetList put 0 into startPoint repeat put offset(str,cntr,startPoint) into thisOffset if thisOffset = 0 then exit repeat add thisOffset to startPoint put startPoint & comma after offsetList end repeat delete last char of offsetList return offsetList end offsets -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From pmbrig at gmail.com Thu Mar 29 09:47:33 2012 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Thu, 29 Mar 2012 09:47:33 -0400 Subject: Regular expression escape characters In-Reply-To: <4B7FD9DF-4476-4D81-B948-2DEA31700314@mac.com> References: <4B7FD9DF-4476-4D81-B948-2DEA31700314@mac.com> Message-ID: On Mar 28, 2012, at 9:39 AM, I wrote: > I have a bias (often warranted) towards using LC's text and chunking capabilities rather than LC. If you know that the runs of question marks and exclamation points will alway be length = 3 then you could avoid Regex: ... Sorry, meant to say "I have a bias (often warranted) towards using LC's text and chunking capabilities rather than Regex." A further thought: if the runs of ? and ! could be larger than 3 chars then you could: repeat until "????" is not in tText replace "????" with "???" in tText end repeat -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Mar 28, 2012, at 11:19 PM, Bill Vlahos wrote: > I am building a regular expression to find a set of question marks and exclamation points. For example ??? or !!!. > > These are special characters so they mean something to a regular expression. > > How do I find them in the text? > > If I want to find a word such as "Bill" I can matchText with (\bBill\b) but I can't do (\b!!!\b) and if I do (\b???\b) I get an error. > > I've looked on the web for escaping characters and they suggest using a slash before. However, when I try (\b\!\!\!\b) it doesn't work. > > I've also found references to \Q?\E to have everything between a literal but (\b\Q!!!\E\b) doesn't work either. > > Any ideas? > > Bill Vlahos > _________________ > InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lfredricks at proactive-intl.com Thu Mar 29 10:44:21 2012 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Thu, 29 Mar 2012 07:44:21 -0700 Subject: Valentina 5 Server Sneak Peek In-Reply-To: References: Message-ID: > Can the Valentina Office Server be installed in an On-Rev account? We haven't formally tested it yet, though its something we will be doing once we have 5 out the door. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From lfredricks at proactive-intl.com Thu Mar 29 10:46:25 2012 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Thu, 29 Mar 2012 07:46:25 -0700 Subject: Valentina 5 Server Sneak Peek In-Reply-To: References: Message-ID: <0FE4061378804BC6964874348D6B24C6@GATEWAY> > If we buy that excellent bundle does it include both windows > and mac os installs as part of the price? I'm thinking of > making a windows development machine also just to make things > easier on me. The version of Valentina 5 Server included is the unlimited one, and it includes just a single license. That said, you can test with the free Valentina /5 product and get one of each platform. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From jacque at hyperactivesw.com Thu Mar 29 11:18:22 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 29 Mar 2012 10:18:22 -0500 Subject: ANN: ScaleMatic In-Reply-To: <37683DDA-224A-4378-A683-BB31E95D8D62@numericable.com> References: <1116B76A-8C30-4AFF-A1CF-B2601961C41E@mac.com> <7734967B-DF99-4A17-B917-74ED906AAEF1@sbcglobal.net> <1333006122456-4514699.post@n4.nabble.com> <37683DDA-224A-4378-A683-BB31E95D8D62@numericable.com> Message-ID: <4F747D3E.8010609@hyperactivesw.com> On 3/29/12 4:05 AM, Ren? Micout wrote: > Hello Bernd, > I try it but that don't work... :-( > I try since december 2011 to upload a custom control (grey slider ? la Mac OS X)... I have the same problem. RevOnline works fine with LiveCode 4.x so if I need to use it I launch 4.6.4. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rene.micout at numericable.com Thu Mar 29 11:52:58 2012 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Thu, 29 Mar 2012 17:52:58 +0200 Subject: ANN: ScaleMatic In-Reply-To: <4F747D3E.8010609@hyperactivesw.com> References: <1116B76A-8C30-4AFF-A1CF-B2601961C41E@mac.com> <7734967B-DF99-4A17-B917-74ED906AAEF1@sbcglobal.net> <1333006122456-4514699.post@n4.nabble.com> <37683DDA-224A-4378-A683-BB31E95D8D62@numericable.com> <4F747D3E.8010609@hyperactivesw.com> Message-ID: <458BB020-57D7-4F2B-8258-B3E993E2168C@numericable.com> I tried with 4.6.4 > it is the same... :-( Le 29 mars 2012 ? 17:18, J. Landman Gay a ?crit : > On 3/29/12 4:05 AM, Ren? Micout wrote: >> Hello Bernd, >> I try it but that don't work... :-( >> I try since december 2011 to upload a custom control (grey slider ? la Mac OS X)... > > I have the same problem. RevOnline works fine with LiveCode 4.x so if I need to use it I launch 4.6.4. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Thu Mar 29 11:53:21 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 29 Mar 2012 08:53:21 -0700 Subject: Read from process In-Reply-To: References: <282DA2F9-11ED-4166-BDCE-AF21B3B8D83F@twft.com> Message-ID: This would be a perfect application of my idea of creating a standalone that does one task. Build a standalone that does what you want, and set it's window to System so it floats above everything else (or not if you want the user to be able to switch back and forth). Use Applescript to communicate with it. Have it output to a text file so you can retrieve the results later if you like. I don't know if Windows has a way of doing that or not. Bob On Mar 28, 2012, at 6:01 PM, Glen Bojsza wrote: > Hi Mike, > > Well using your code I get the expected result at the end of the process > but the interim output that I try to capture shows nothing? > > So good news - using your method I get the end result and the user is free > to do other things ; / bad news - I can't show the interim output for > feedback. > > If I use the following code I get the opposite effect - user cannot do > anything until the process completes but the interim output updates to the > field. > > In both cases the process completes with the final results. > > So it has to do with the timing of the send and the reading of the process > (I also tried reading lines and have the same result as reading characters > as shown below) > > local nM > on mouseUp > startProcess > end mouseUp > > command startProcess > put fld dbPathList into nM > open process nM for update > set the cRunning of this card to true > readloop > end startProcess > > command readloop > if the the cRunning of this card then > read from process nM for 10 > if it is not empty then > put it & cr after fld mergeOut > put the number of lines of fld mergeOut * 16 into sPlace > set the vscroll of fld mergeOut to sPlace > if it contains "dblink disconnecting" then > set the cRunning of this card to false > close process nM > exit to top > end if > send "readloop" to me in 1 tick > end if > end if > > end readloop > > On Wed, Mar 28, 2012 at 5:35 PM, Mike Bonner wrote: > >> Sorry for posting and falling off the earth. A bit sick today but will try >> and give the gist of a send in time loop. This is just off the top of my >> head and as always there are probably better ways to do this (also as I >> mentioned before, not sure which forms of read will block and which won't >> so your mileage may vary depending on need) >> >> command startProcess >> ## code to connect to the process >> open process "myprocess" for update >> ## check for errors opening the process, if no errors then >> set the cRunning of this card to true -- a method to break the loop, set to >> false to stop the loop >> >> readloop -- handler to do the read >> end startProcess >> >> command readloop >> if the the cRunning of this card then >> read from process "myProcess" until empty >> if it is not empty then >> #do whatever you want with the resulting read. >> #if the end line is read, close process set the cRunning of this card to >> false >> end if >> send "readloop" to me in 1 tick >> end if >> >> end readloop >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Thu Mar 29 11:55:15 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 29 Mar 2012 08:55:15 -0700 Subject: PaintCode LiveCode In-Reply-To: <85EF6B7D-9D93-4C8B-BA3D-5CDEF71801D3@sweattechnologies.com> References: <30742E05-DD29-4E59-A42A-3B54183E913A@mac.com> <85EF6B7D-9D93-4C8B-BA3D-5CDEF71801D3@sweattechnologies.com> Message-ID: <85430330-D0BD-46E5-9D27-23CCC96391D3@twft.com> Ohhh that has potential. Bob On Mar 28, 2012, at 8:41 PM, Monte Goulding wrote: > You would have to include the code in an external. > > On 29/03/2012, at 2:35 PM, Charles Szasz wrote: > >> PaintCode is a new drawing program for the Mac that generates Objective C code to draw visual objects. Can it be use with LC? >> >> Sent from my iPad >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rene.micout at numericable.com Thu Mar 29 11:57:14 2012 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Thu, 29 Mar 2012 17:57:14 +0200 Subject: ANN: ScaleMatic In-Reply-To: <458BB020-57D7-4F2B-8258-B3E993E2168C@numericable.com> References: <1116B76A-8C30-4AFF-A1CF-B2601961C41E@mac.com> <7734967B-DF99-4A17-B917-74ED906AAEF1@sbcglobal.net> <1333006122456-4514699.post@n4.nabble.com> <37683DDA-224A-4378-A683-BB31E95D8D62@numericable.com> <4F747D3E.8010609@hyperactivesw.com> <458BB020-57D7-4F2B-8258-B3E993E2168C@numericable.com> Message-ID: <81C15355-6067-4BF7-A75E-A8A1610776DD@numericable.com> and 4.6.3, and 4.6.2 > there is no amelioration... Le 29 mars 2012 ? 17:52, Ren? Micout a ?crit : > I tried with 4.6.4 > it is the same... :-( > > Le 29 mars 2012 ? 17:18, J. Landman Gay a ?crit : > >> On 3/29/12 4:05 AM, Ren? Micout wrote: >>> Hello Bernd, >>> I try it but that don't work... :-( >>> I try since december 2011 to upload a custom control (grey slider ? la Mac OS X)... >> >> I have the same problem. RevOnline works fine with LiveCode 4.x so if I need to use it I launch 4.6.4. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Thu Mar 29 11:59:15 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 29 Mar 2012 08:59:15 -0700 Subject: ANN and OT: Calling All SETI Enthusiasts In-Reply-To: References: Message-ID: I see you never actually read any of my posts. No worries. I get that a lot. Bob On Mar 28, 2012, at 7:48 PM, Mick Collins wrote: > Argue for your limitations and, indeed, they are yours. > > What obstacles, Bob? You show me true obstacles, not just bullshit, and I'll show you how they might be overcome. > > Date: Wed, 28 Mar 2012 11:53:08 -0700 > From: Bob Sneidar > To: How to use LiveCode > Subject: Re: ANN and OT: Calling All SETI Enthusiasts > Message-ID: <8B8FF4B1-1554-4813-9F68-47B55EE83A81 at twft.com> > Content-Type: text/plain; charset=us-ascii > > Rick Santorum is a Livecode programmer?? heh heh. But seriously, try actually coming up with some suggestions at least about how to overcome the obstacles. Otherwise, I declare your cry of "bullshit" to be the true "bullshit" that all who have no answers cry when they are confronted with the difficulties of their assertions. > > Bob > > > On Mar 28, 2012, at 11:21 AM, Mick Collins wrote: > >> Bob's "logistics" is, as Rick Santorum said day before yesterday, bullshlt. > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Thu Mar 29 12:13:44 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 29 Mar 2012 11:13:44 -0500 Subject: ANN: ScaleMatic In-Reply-To: <458BB020-57D7-4F2B-8258-B3E993E2168C@numericable.com> References: <1116B76A-8C30-4AFF-A1CF-B2601961C41E@mac.com> <7734967B-DF99-4A17-B917-74ED906AAEF1@sbcglobal.net> <1333006122456-4514699.post@n4.nabble.com> <37683DDA-224A-4378-A683-BB31E95D8D62@numericable.com> <4F747D3E.8010609@hyperactivesw.com> <458BB020-57D7-4F2B-8258-B3E993E2168C@numericable.com> Message-ID: <4F748A38.30002@hyperactivesw.com> On 3/29/12 10:52 AM, Ren? Micout wrote: > I tried with 4.6.4> it is the same... :-( That's too bad. I must have been lucky when I did it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rene.micout at numericable.com Thu Mar 29 12:27:53 2012 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Thu, 29 Mar 2012 18:27:53 +0200 Subject: ANN: ScaleMatic In-Reply-To: <4F748A38.30002@hyperactivesw.com> References: <1116B76A-8C30-4AFF-A1CF-B2601961C41E@mac.com> <7734967B-DF99-4A17-B917-74ED906AAEF1@sbcglobal.net> <1333006122456-4514699.post@n4.nabble.com> <37683DDA-224A-4378-A683-BB31E95D8D62@numericable.com> <4F747D3E.8010609@hyperactivesw.com> <458BB020-57D7-4F2B-8258-B3E993E2168C@numericable.com> <4F748A38.30002@hyperactivesw.com> Message-ID: <0DB36565-39FF-45CA-9F13-FC97A20E155D@numericable.com> I am sad :-( my custom control cannot be diffuse... Le 29 mars 2012 ? 18:13, J. Landman Gay a ?crit : > On 3/29/12 10:52 AM, Ren? Micout wrote: >> I tried with 4.6.4> it is the same... :-( > > That's too bad. I must have been lucky when I did it. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Thu Mar 29 13:16:52 2012 From: irog at mac.com (Roger Guay) Date: Thu, 29 Mar 2012 11:16:52 -0600 Subject: ANN: ScaleMatic In-Reply-To: References: Message-ID: I've tried everything suggested in the last list digest to upload stacks to RevOnLine to no avail! I've tried LiveCode versions from 4.6.3 to 5.5. Iv'e tried restarting RunRev repeatedly, I've tried praying, swearing, and various words of magic. I've tried standing up, sitting down, casually looking away, staring with intimidation, psychokinesis, and psychic healing. I've tried morning, noon and night, all to no avail. RevOnLine is effectively dead as far as I am concerned! Cheers, Roger From tolistim at me.com Thu Mar 29 13:27:11 2012 From: tolistim at me.com (Tim Jones) Date: Thu, 29 Mar 2012 10:27:11 -0700 Subject: ANN: ScaleMatic In-Reply-To: References: Message-ID: Have you reported this to the RunRev support team? We can all commiserate with you here on the list, but only they can fix something's that's wrong? Tim On Mar 29, 2012, at 10:16 AM, Roger Guay wrote: > I've tried everything suggested in the last list digest to upload stacks to RevOnLine to no avail! I've tried LiveCode versions from 4.6.3 to 5.5. Iv'e tried restarting RunRev repeatedly, I've tried praying, swearing, and various words of magic. I've tried standing up, sitting down, casually looking away, staring with intimidation, psychokinesis, and psychic healing. I've tried morning, noon and night, all to no avail. > > RevOnLine is effectively dead as far as I am concerned! > > Cheers, > Roger From jacque at hyperactivesw.com Thu Mar 29 13:35:35 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 29 Mar 2012 12:35:35 -0500 Subject: ANN: ScaleMatic In-Reply-To: References: Message-ID: <4F749D67.50004@hyperactivesw.com> On 3/29/12 12:27 PM, Tim Jones wrote: > Have you reported this to the RunRev support team? We can all > commiserate with you here on the list, but only they can fix > something's that's wrong? http://quality.runrev.com/show_bug.cgi?id=9929 Add your comments. My original report isn't quite accurate any more. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at mollysrevenge.com Thu Mar 29 13:42:11 2012 From: pete at mollysrevenge.com (Pete) Date: Thu, 29 Mar 2012 10:42:11 -0700 Subject: ANN: ScaleMatic In-Reply-To: References: Message-ID: I think many of us have reported this to support, but to no avail. Pete On Thu, Mar 29, 2012 at 10:27 AM, Tim Jones wrote: > Have you reported this to the RunRev support team? We can all commiserate > with you here on the list, but only they can fix something's that's wrong? > > Tim > > On Mar 29, 2012, at 10:16 AM, Roger Guay wrote: > > > I've tried everything suggested in the last list digest to upload stacks > to RevOnLine to no avail! I've tried LiveCode versions from 4.6.3 to 5.5. > Iv'e tried restarting RunRev repeatedly, I've tried praying, swearing, and > various words of magic. I've tried standing up, sitting down, casually > looking away, staring with intimidation, psychokinesis, and psychic > healing. I've tried morning, noon and night, all to no avail. > > > > RevOnLine is effectively dead as far as I am concerned! > > > > Cheers, > > Roger > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From jacque at hyperactivesw.com Thu Mar 29 13:50:42 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 29 Mar 2012 12:50:42 -0500 Subject: ANN: ScaleMatic In-Reply-To: References: Message-ID: <4F74A0F2.5030002@hyperactivesw.com> On 3/29/12 12:16 PM, Roger Guay wrote: > I've tried everything suggested in the last list digest to upload > stacks to RevOnLine to no avail! I've tried LiveCode versions from > 4.6.3 to 5.5. Iv'e tried restarting RunRev repeatedly, I've tried > praying, swearing, and various words of magic. I've tried standing > up, sitting down, casually looking away, staring with intimidation, > psychokinesis, and psychic healing. I've tried morning, noon and > night, all to no avail. > > RevOnLine is effectively dead as far as I am concerned! LOL! Please paste this into bug report . It's a very convincing argument. :) If you don't have access, can I have your permission to add it myself? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at mollysrevenge.com Thu Mar 29 14:21:40 2012 From: pete at mollysrevenge.com (Pete) Date: Thu, 29 Mar 2012 11:21:40 -0700 Subject: ANN: ScaleMatic In-Reply-To: <4F749D67.50004@hyperactivesw.com> References: <4F749D67.50004@hyperactivesw.com> Message-ID: I see they confirmed it as a bug in January. Pete On Thu, Mar 29, 2012 at 10:35 AM, J. Landman Gay wrote: > On 3/29/12 12:27 PM, Tim Jones wrote: > >> Have you reported this to the RunRev support team? We can all >> commiserate with you here on the list, but only they can fix >> something's that's wrong? >> > > http://quality.runrev.com/**show_bug.cgi?id=9929 > > Add your comments. My original report isn't quite accurate any more. > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From johnpatten at mac.com Thu Mar 29 14:24:22 2012 From: johnpatten at mac.com (John Patten) Date: Thu, 29 Mar 2012 11:24:22 -0700 Subject: File path to image on iOS? In-Reply-To: <76C240A5-AF17-4D16-ABA9-F34B78B6CE32@mac.com> References: <76C240A5-AF17-4D16-ABA9-F34B78B6CE32@mac.com> Message-ID: Nice! Thanks for the info Tom! On Mar 28, 2012, at 8:13 PM, Thomas McGrath III wrote: > John, > > Yes that is possible in LC to use the mobilePickPhoto to grab a photo and then save it to an images folder in you apps sandbox and or your apps documents folder. Then you can use those images in your app by using the image path to your images folder. What you can't do is have the iOS camera app save to your app or its folders (except as previously stated by using mobilePickPhoto). > > something like this: > > set the name of the templateImage to "FooBar" -- the mobilePickPhoto uses the template image so you can set up all attributes here > > mobilePickPhoto "front camera", 250, 250 -- call up the camera from within LC > > put image "FooBar" into URL ("file:" & specialFolderPath("documents") & "/" & "Foobar.png") -- this puts the image into a file in your documents folder > > delete image "FooBar" -- if needed delete image from stack > > LATER: > > put image (specialFolderPath("Documents") & "/" & "FooBar.png") into image "AnotherImage" -- This puts the image into another image from the file > > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > > On Mar 28, 2012, at 1:14 PM, John Patten wrote: > >> Hi All... >> >> Is it possible to save an image from the iOS camera in a folder other than "camera Roll?" And is it possible for the iOS camera command to save the image in a folder within the app and then use those images by saving their path and then setting the filename of image object in app to something like, defaultFolder/images/imagnename.jpg? >> >> Thank you! >> >> John Patten >> SUSD >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Thu Mar 29 15:30:55 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 29 Mar 2012 12:30:55 -0700 Subject: [OT] ACer A100 Tablet In-Reply-To: References: Message-ID: <4625483984.20120329123055@ahsoftware.net> Pete- Wednesday, March 28, 2012, 10:40:47 PM, you wrote: > Anyone got one of the above and willing to share thoughts on it? I've got an A500 that I quite like. Mostly, anyway. Don't know if that helps or not, but the A100 seems to be a 7-in version of the A500. -- -Mark Wieder mwieder at ahsoftware.net From livfoss at mac.com Thu Mar 29 17:17:19 2012 From: livfoss at mac.com (Graham Samuel) Date: Thu, 29 Mar 2012 23:17:19 +0200 Subject: On-rev Web Disk on Lion? Message-ID: <819977BB-8124-437C-AC15-6BBC4603D552@mac.com> Has anyone tried to run the On-Rev version of the Secure Web Disk app that is supplied by RunRev? Mine just spins and I have to force quit. I'm using Lion 10.7.3 on a Mac. I am so ignorant about all this stuff that I don't know if this is just a tailored version of some generic program which everyone else knows about. Maybe I don't need it, but it sounds attractive. Any info gratefully received. Graham From pete at mollysrevenge.com Thu Mar 29 17:58:57 2012 From: pete at mollysrevenge.com (Pete) Date: Thu, 29 Mar 2012 14:58:57 -0700 Subject: [OT] ACer A100 Tablet In-Reply-To: <4625483984.20120329123055@ahsoftware.net> References: <4625483984.20120329123055@ahsoftware.net> Message-ID: Thanks Mark. Yes, the A100 is the 7" version, not sure if there other differences. Pete On Thu, Mar 29, 2012 at 12:30 PM, Mark Wieder wrote: > Pete- > > Wednesday, March 28, 2012, 10:40:47 PM, you wrote: > > > Anyone got one of the above and willing to share thoughts on it? > > I've got an A500 that I quite like. Mostly, anyway. Don't know if that > helps or not, but the A100 seems to be a 7-in version of the A500. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From pete at mollysrevenge.com Thu Mar 29 18:03:44 2012 From: pete at mollysrevenge.com (Pete) Date: Thu, 29 Mar 2012 15:03:44 -0700 Subject: Progress Bar Message-ID: I'm using a progress bar for the first time. Checked it all out stepping through things in debug and all worked fine. However, when I run it normally (meaning no debug), the blue progress bar never moves beyond it's startpos. I'm pretty sure this is because I'm updating it in a tight loop and LC doesn't get a chance to update the screen but I'm uncertain how to solve that without adding to the overall execution time of the loop. Enlightenment much appreciated. -- Pete Molly's Revenge From dixonja at hotmail.co.uk Thu Mar 29 18:12:50 2012 From: dixonja at hotmail.co.uk (John Dixon) Date: Thu, 29 Mar 2012 23:12:50 +0100 Subject: Progress Bar In-Reply-To: References: Message-ID: Would a line like 'wait 0 millisecs with messages' in the loop help ? > I'm using a progress bar for the first time. Checked it all out stepping > through things in debug and all worked fine. However, when I run it > normally (meaning no debug), the blue progress bar never moves beyond it's > startpos. > > I'm pretty sure this is because I'm updating it in a tight loop and LC > doesn't get a chance to update the screen but I'm uncertain how to solve > that without adding to the overall execution time of the loop. > > Enlightenment much appreciated. > > > -- > Pete > Molly's Revenge > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Thu Mar 29 18:13:08 2012 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 29 Mar 2012 18:13:08 -0400 Subject: Progress Bar In-Reply-To: References: Message-ID: On Thu, Mar 29, 2012 at 6:03 PM, Pete wrote: > I'm using a progress bar for the first time. Checked it all out stepping > through things in debug and all worked fine. However, when I run it > normally (meaning no debug), the blue progress bar never moves beyond it's > startpos. > > I'm pretty sure this is because I'm updating it in a tight loop and LC > doesn't get a chance to update the screen but I'm uncertain how to solve > that without adding to the overall execution time of the loop. > > Enlightenment much appreciated. > > -- > Pete > Molly's Revenge > Add a super-tiny wait to the end of the loop (25 to 100 millisecs, depending on what you're doing). ~Roger From mwieder at ahsoftware.net Thu Mar 29 18:19:07 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 29 Mar 2012 15:19:07 -0700 Subject: [OT] ACer A100 Tablet In-Reply-To: References: <4625483984.20120329123055@ahsoftware.net> Message-ID: <16635576078.20120329151907@ahsoftware.net> Pete- Thursday, March 29, 2012, 2:58:57 PM, you wrote: > Thanks Mark. Yes, the A100 is the 7" version, not sure if there other > differences. The A500 has a very responsive screen and has all the other things I was looking for in an Android tablet. I'm still running OS 3.3 on it but I'll get around to upgrading to 4.0 some day. -- -Mark Wieder mwieder at ahsoftware.net From bobs at twft.com Thu Mar 29 18:32:18 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 29 Mar 2012 15:32:18 -0700 Subject: Progress Bar In-Reply-To: References: Message-ID: <75F1B6EE-FDA1-4C79-92E5-12CBDDA83E77@twft.com> Ditto to what they said. For an explanation, the progress bar will only update during an idle time. While scripts are running, there is no idle time. The wait with messages gives the engine the idle time it needs to do it's thing. Bob On Mar 29, 2012, at 3:03 PM, Pete wrote: > I'm using a progress bar for the first time. Checked it all out stepping > through things in debug and all worked fine. However, when I run it > normally (meaning no debug), the blue progress bar never moves beyond it's > startpos. > > I'm pretty sure this is because I'm updating it in a tight loop and LC > doesn't get a chance to update the screen but I'm uncertain how to solve > that without adding to the overall execution time of the loop. > > Enlightenment much appreciated. > > > -- > Pete > Molly's Revenge > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Thu Mar 29 18:53:02 2012 From: pete at mollysrevenge.com (Pete) Date: Thu, 29 Mar 2012 15:53:02 -0700 Subject: Progress Bar In-Reply-To: References: Message-ID: Thanks guys. I put a wait 0 in there and that made the progress bar update visible. Seems kinda weird that there's a difference between not waiting and waiting zero, but that's OK! This does lead to an interesting conundrum though. It takes about 2.5 times longer to process my test data with a progress bar than without one. Not talking huge amounts of time - about 1 second vs 2.5 seconds - but those times could get a lot longer in production, maybe by a factor of 10 or more, and this particular function of the application is going to be judged at least partly on performance. I calculate the update interval by dividing the number of records to be processed by 100 with a minimum of 10 to deal with small data sets. I guess maybe I can play around with the divisor of 100 to see what yields the best blend of performance while still showing progress. I might also try using an animated cursor to see how it compares performance wise. Isn't there some rule of quantum physics about changing the outocme of an experiment by observing it? Pete On Thu, Mar 29, 2012 at 3:13 PM, Roger Eller wrote: > On Thu, Mar 29, 2012 at 6:03 PM, Pete wrote: > > > I'm using a progress bar for the first time. Checked it all out stepping > > through things in debug and all worked fine. However, when I run it > > normally (meaning no debug), the blue progress bar never moves beyond > it's > > startpos. > > > > I'm pretty sure this is because I'm updating it in a tight loop and LC > > doesn't get a chance to update the screen but I'm uncertain how to solve > > that without adding to the overall execution time of the loop. > > > > Enlightenment much appreciated. > > > > -- > > Pete > > Molly's Revenge > > > > Add a super-tiny wait to the end of the loop (25 to 100 millisecs, > depending on what you're doing). > > ~Roger > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From jacque at hyperactivesw.com Thu Mar 29 18:55:16 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 29 Mar 2012 17:55:16 -0500 Subject: On-rev Web Disk on Lion? In-Reply-To: <819977BB-8124-437C-AC15-6BBC4603D552@mac.com> References: <819977BB-8124-437C-AC15-6BBC4603D552@mac.com> Message-ID: <4F74E854.2060002@hyperactivesw.com> On 3/29/12 4:17 PM, Graham Samuel wrote: > Has anyone tried to run the On-Rev version of the Secure Web Disk app > that is supplied by RunRev? Mine just spins and I have to force quit. > I'm using Lion 10.7.3 on a Mac. Funny you should ask about that, I just tried the same thing today, only not with on-rev. I was using my regular hosting provider and the cPanel implementation of the web disk (which I think is probably the same one you were using, since cPanel is pretty universal.) I'm still on Snow Leopard but it was horribly slow and I got the spinning cursor like you did. Eventually it went away but it took a very long time, I almost restarted the Finder. I finally ejected the disk, it was so slow it was unusable. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at mollysrevenge.com Thu Mar 29 18:55:05 2012 From: pete at mollysrevenge.com (Pete) Date: Thu, 29 Mar 2012 15:55:05 -0700 Subject: [OT] ACer A100 Tablet In-Reply-To: <16635576078.20120329151907@ahsoftware.net> References: <4625483984.20120329123055@ahsoftware.net> <16635576078.20120329151907@ahsoftware.net> Message-ID: Thanks Mark. You justy answered another question I had. I was under the impression that you were stuck with whatever version of Android was on a device when you purchased it but sounds like you can updaste it? Maybe it's just phones that can't be updated? Pete On Thu, Mar 29, 2012 at 3:19 PM, Mark Wieder wrote: > Pete- > > Thursday, March 29, 2012, 2:58:57 PM, you wrote: > > > Thanks Mark. Yes, the A100 is the 7" version, not sure if there other > > differences. > > The A500 has a very responsive screen and has all the other things I > was looking for in an Android tablet. I'm still running OS 3.3 on it > but I'll get around to upgrading to 4.0 some day. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From bonnmike at gmail.com Thu Mar 29 18:56:48 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 29 Mar 2012 16:56:48 -0600 Subject: Progress Bar In-Reply-To: References: Message-ID: Its a particle.. Its a wave! its a particle. Its a wave! Its a cat in a box! > > Isn't there some rule of quantum physics about changing the outocme of an > experiment by observing it? > > Pete > > From bobs at twft.com Thu Mar 29 18:58:27 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 29 Mar 2012 15:58:27 -0700 Subject: Progress Bar In-Reply-To: References: Message-ID: <60AE162C-5754-446B-B6C0-2DF639F3FE44@twft.com> You might try locking the screen at the beginning of each loop. I think the wait will unlock the screen. Bob Sneidar IT Manager Calvary Chapel CM Sent from iPhone On Mar 29, 2012, at 15:53, Pete wrote: > Thanks guys. I put a wait 0 in there and that made the progress bar update > visible. Seems kinda weird that there's a difference between not waiting > and waiting zero, but that's OK! > > This does lead to an interesting conundrum though. It takes about 2.5 > times longer to process my test data with a progress bar than without one. > Not talking huge amounts of time - about 1 second vs 2.5 seconds - but > those times could get a lot longer in production, maybe by a factor of 10 > or more, and this particular function of the application is going to be > judged at least partly on performance. > > I calculate the update interval by dividing the number of records to be > processed by 100 with a minimum of 10 to deal with small data sets. I > guess maybe I can play around with the divisor of 100 to see what yields > the best blend of performance while still showing progress. > > I might also try using an animated cursor to see how it compares > performance wise. > > Isn't there some rule of quantum physics about changing the outocme of an > experiment by observing it? > > Pete > > On Thu, Mar 29, 2012 at 3:13 PM, Roger Eller wrote: > >> On Thu, Mar 29, 2012 at 6:03 PM, Pete wrote: >> >>> I'm using a progress bar for the first time. Checked it all out stepping >>> through things in debug and all worked fine. However, when I run it >>> normally (meaning no debug), the blue progress bar never moves beyond >> it's >>> startpos. >>> >>> I'm pretty sure this is because I'm updating it in a tight loop and LC >>> doesn't get a chance to update the screen but I'm uncertain how to solve >>> that without adding to the overall execution time of the loop. >>> >>> Enlightenment much appreciated. >>> >>> -- >>> Pete >>> Molly's Revenge >>> >> >> Add a super-tiny wait to the end of the loop (25 to 100 millisecs, >> depending on what you're doing). >> >> ~Roger >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > > -- > Pete > Molly's Revenge > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tolistim at me.com Thu Mar 29 19:11:22 2012 From: tolistim at me.com (Tim Jones) Date: Thu, 29 Mar 2012 16:11:22 -0700 Subject: [OT] ACer A100 Tablet In-Reply-To: References: <4625483984.20120329123055@ahsoftware.net> <16635576078.20120329151907@ahsoftware.net> Message-ID: <67BA5EBF-C561-470D-930D-394485389DF7@me.com> You can update your Android phone. I've updated my original Droid to the latest and greatest version with each new release. I'm staying away from ICS because it is an original Droid running at 800MHz. Tim On Mar 29, 2012, at 3:55 PM, Pete wrote: > Thanks Mark. You justy answered another question I had. I was under the impression that you were stuck with whatever version of Android was on a device when you purchased it but sounds like you can updaste it? Maybe it's just phones that can't be updated? From scott at tactilemedia.com Thu Mar 29 19:20:38 2012 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 29 Mar 2012 16:20:38 -0700 Subject: Progress Bar In-Reply-To: Message-ID: Hi Pete: Locking the screen is one way to speed things up, if you're not already doing that, but make sure you unlock at the end of the loop, and relock at the beginning. Another method that can help facilitate processing is to NOT update the progress bar in every loop. Use a counter to increment progress every 2nd, 5th, 10th loop (whatever makes sense), so updating progress has a lower impact on the repeat loop. Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Pete wrote: > Thanks guys. I put a wait 0 in there and that made the progress bar update > visible. Seems kinda weird that there's a difference between not waiting > and waiting zero, but that's OK! > > This does lead to an interesting conundrum though. It takes about 2.5 > times longer to process my test data with a progress bar than without one. > Not talking huge amounts of time - about 1 second vs 2.5 seconds - but > those times could get a lot longer in production, maybe by a factor of 10 > or more, and this particular function of the application is going to be > judged at least partly on performance. > > I calculate the update interval by dividing the number of records to be > processed by 100 with a minimum of 10 to deal with small data sets. I > guess maybe I can play around with the divisor of 100 to see what yields > the best blend of performance while still showing progress. > > I might also try using an animated cursor to see how it compares > performance wise. > > Isn't there some rule of quantum physics about changing the outocme of an > experiment by observing it? > > Pete > > On Thu, Mar 29, 2012 at 3:13 PM, Roger Eller > wrote: > >> On Thu, Mar 29, 2012 at 6:03 PM, Pete wrote: >> >>> I'm using a progress bar for the first time. Checked it all out stepping >>> through things in debug and all worked fine. However, when I run it >>> normally (meaning no debug), the blue progress bar never moves beyond >> it's >>> startpos. >>> >>> I'm pretty sure this is because I'm updating it in a tight loop and LC >>> doesn't get a chance to update the screen but I'm uncertain how to solve >>> that without adding to the overall execution time of the loop. >>> >>> Enlightenment much appreciated. >>> >>> -- >>> Pete >>> Molly's Revenge >>> >> >> Add a super-tiny wait to the end of the loop (25 to 100 millisecs, >> depending on what you're doing). >> >> ~Roger >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > From ambassador at fourthworld.com Thu Mar 29 19:22:27 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 29 Mar 2012 16:22:27 -0700 Subject: Progress Bar In-Reply-To: References: Message-ID: <4F74EEB3.3050808@fourthworld.com> Pete wrote: > It takes about 2.5 times longer to process my test data with a > progress bar than without one. ... > I calculate the update interval by dividing the number of records to > be processed by 100 with a minimum of 10 to deal with small data > sets. I guess maybe I can play around with the divisor of 100 to > see what yields the best blend of performance while still showing > progress. Yes, the longer interval between updates will help a lot. This is true for all OSes, but even more so on the Mac with the rich rendering required for the Aqua progress indicator. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From roger.e.eller at sealedair.com Thu Mar 29 19:28:51 2012 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 29 Mar 2012 19:28:51 -0400 Subject: [OT] ACer A100 Tablet In-Reply-To: References: <4625483984.20120329123055@ahsoftware.net> <16635576078.20120329151907@ahsoftware.net> Message-ID: Just about all Android phones, and tablets can be end-user-upgraded via CyanogenMod. It's community driven, so you're not at the mercy of the hardware manufacturer. http://www.androidcentral.com/tags/cyanogenmod ~Roger On Thu, Mar 29, 2012 at 6:55 PM, Pete wrote: > Thanks Mark. You justy answered another question I had. I was under the > impression that you were stuck with whatever version of Android was on a > device when you purchased it but sounds like you can updaste it? Maybe > it's just phones that can't be updated? > Pete > > On Thu, Mar 29, 2012 at 3:19 PM, Mark Wieder > wrote: > > The A500 has a very responsive screen and has all the other things I > > was looking for in an Android tablet. I'm still running OS 3.3 on it > > but I'll get around to upgrading to 4.0 some day. > > > > -- > > -Mark Wieder > > mwieder at ahsoftware.net > > -- > Pete > Molly's Revenge > From pete at mollysrevenge.com Thu Mar 29 19:36:52 2012 From: pete at mollysrevenge.com (Pete) Date: Thu, 29 Mar 2012 16:36:52 -0700 Subject: Progress Bar In-Reply-To: <4F74EEB3.3050808@fourthworld.com> References: <4F74EEB3.3050808@fourthworld.com> Message-ID: Thanks Scott and Richard. I think I've got my algorithm to determine when to update the progress bar nicely tuned now. I'm a little confused by the lock screen thing though. Isn't lock screen for when you don't want screen changes to be seen? Pete On Thu, Mar 29, 2012 at 4:22 PM, Richard Gaskin wrote: > Pete wrote: > > > It takes about 2.5 times longer to process my test data with a > > progress bar than without one. > ... > > > I calculate the update interval by dividing the number of records to > > be processed by 100 with a minimum of 10 to deal with small data > > sets. I guess maybe I can play around with the divisor of 100 to > > see what yields the best blend of performance while still showing > > progress. > > Yes, the longer interval between updates will help a lot. > > This is true for all OSes, but even more so on the Mac with the rich > rendering required for the Aqua progress indicator. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/**blog.irv > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From pete at mollysrevenge.com Thu Mar 29 19:38:36 2012 From: pete at mollysrevenge.com (Pete) Date: Thu, 29 Mar 2012 16:38:36 -0700 Subject: [OT] ACer A100 Tablet In-Reply-To: References: <4625483984.20120329123055@ahsoftware.net> <16635576078.20120329151907@ahsoftware.net> Message-ID: Thanks Roger and Tim, I'm not sure where I got that idea from. Maybe the cell phone providers don;t want you to upgarde so you're mor elikley to buy another phone? Pete On Thu, Mar 29, 2012 at 4:28 PM, Roger Eller wrote: > Just about all Android phones, and tablets can be end-user-upgraded via > CyanogenMod. It's community driven, so you're not at the mercy of the > hardware manufacturer. > > http://www.androidcentral.com/tags/cyanogenmod > > ~Roger > > > On Thu, Mar 29, 2012 at 6:55 PM, Pete wrote: > > > Thanks Mark. You justy answered another question I had. I was under the > > impression that you were stuck with whatever version of Android was on a > > device when you purchased it but sounds like you can updaste it? Maybe > > it's just phones that can't be updated? > > Pete > > > > On Thu, Mar 29, 2012 at 3:19 PM, Mark Wieder > > wrote: > > > The A500 has a very responsive screen and has all the other things I > > > was looking for in an Android tablet. I'm still running OS 3.3 on it > > > but I'll get around to upgrading to 4.0 some day. > > > > > > -- > > > -Mark Wieder > > > mwieder at ahsoftware.net > > > > -- > > Pete > > Molly's Revenge > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From bobs at twft.com Thu Mar 29 19:48:46 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 29 Mar 2012 16:48:46 -0700 Subject: Progress Bar In-Reply-To: References: <4F74EEB3.3050808@fourthworld.com> Message-ID: Locking the screen can dramatically improve performance for anything which changes what you see in livecode. Progress bars are always changing due to animation. I had the same issue with animated gifs in my spinner standalone. Bob Sneidar IT Manager Calvary Chapel CM Sent from iPhone On Mar 29, 2012, at 16:36, Pete wrote: > Thanks Scott and Richard. I think I've got my algorithm to determine when > to update the progress bar nicely tuned now. > > I'm a little confused by the lock screen thing though. Isn't lock screen > for when you don't want screen changes to be seen? > > Pete > > On Thu, Mar 29, 2012 at 4:22 PM, Richard Gaskin > wrote: > >> Pete wrote: >> >>> It takes about 2.5 times longer to process my test data with a >>> progress bar than without one. >> ... >> >>> I calculate the update interval by dividing the number of records to >>> be processed by 100 with a minimum of 10 to deal with small data >>> sets. I guess maybe I can play around with the divisor of 100 to >>> see what yields the best blend of performance while still showing >>> progress. >> >> Yes, the longer interval between updates will help a lot. >> >> This is true for all OSes, but even more so on the Mac with the rich >> rendering required for the Aqua progress indicator. >> >> -- >> Richard Gaskin >> Fourth World >> LiveCode training and consulting: http://www.fourthworld.com >> Webzine for LiveCode developers: http://www.LiveCodeJournal.com >> LiveCode Journal blog: http://LiveCodejournal.com/**blog.irv >> >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> >> > > > -- > Pete > Molly's Revenge > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tolistim at me.com Thu Mar 29 19:51:57 2012 From: tolistim at me.com (Tim Jones) Date: Thu, 29 Mar 2012 16:51:57 -0700 Subject: [OT] ACer A100 Tablet In-Reply-To: References: <4625483984.20120329123055@ahsoftware.net> <16635576078.20120329151907@ahsoftware.net> Message-ID: <128AC7A7-A547-433C-823E-263B952EAA73@me.com> That's a good guess. If I waited for Verizon, I'd still be running 2.1? Tim On Mar 29, 2012, at 4:38 PM, Pete wrote: > Thanks Roger and Tim, I'm not sure where I got that idea from. Maybe the > cell phone providers don;t want you to upgarde so you're mor elikley to buy > another phone? > Pete > > On Thu, Mar 29, 2012 at 4:28 PM, Roger Eller wrote: > >> Just about all Android phones, and tablets can be end-user-upgraded via >> CyanogenMod. It's community driven, so you're not at the mercy of the >> hardware manufacturer. >> >> http://www.androidcentral.com/tags/cyanogenmod >> >> ~Roger >> >> >> On Thu, Mar 29, 2012 at 6:55 PM, Pete wrote: >> >>> Thanks Mark. You justy answered another question I had. I was under the >>> impression that you were stuck with whatever version of Android was on a >>> device when you purchased it but sounds like you can updaste it? Maybe >>> it's just phones that can't be updated? >>> Pete >>> >>> On Thu, Mar 29, 2012 at 3:19 PM, Mark Wieder >>> wrote: >>>> The A500 has a very responsive screen and has all the other things I >>>> was looking for in an Android tablet. I'm still running OS 3.3 on it >>>> but I'll get around to upgrading to 4.0 some day. >>>> >>>> -- >>>> -Mark Wieder >>>> mwieder at ahsoftware.net >>> >>> -- >>> Pete >>> Molly's Revenge >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > > -- > Pete > Molly's Revenge > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Thu Mar 29 19:59:30 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 29 Mar 2012 16:59:30 -0700 Subject: [OT] ACer A100 Tablet In-Reply-To: <128AC7A7-A547-433C-823E-263B952EAA73@me.com> References: <4625483984.20120329123055@ahsoftware.net> <16635576078.20120329151907@ahsoftware.net> <128AC7A7-A547-433C-823E-263B952EAA73@me.com> Message-ID: <0E487689-ADA1-4660-9FED-BE0FEB44FA42@twft.com> I listen to Leo laporte on the radio. On one show some time ago he mentioned that some earlier androids could not be upgraded past a certain version. I suspect it has to do with the processor chips being incompatible, or with memory limitations, much like desktop systems. Bob Sneidar IT Manager Calvary Chapel CM Sent from iPhone On Mar 29, 2012, at 16:51, Tim Jones wrote: > That's a good guess. If I waited for Verizon, I'd still be running 2.1? > > Tim > > On Mar 29, 2012, at 4:38 PM, Pete wrote: > >> Thanks Roger and Tim, I'm not sure where I got that idea from. Maybe the >> cell phone providers don;t want you to upgarde so you're mor elikley to buy >> another phone? >> Pete >> >> On Thu, Mar 29, 2012 at 4:28 PM, Roger Eller wrote: >> >>> Just about all Android phones, and tablets can be end-user-upgraded via >>> CyanogenMod. It's community driven, so you're not at the mercy of the >>> hardware manufacturer. >>> >>> http://www.androidcentral.com/tags/cyanogenmod >>> >>> ~Roger >>> >>> >>> On Thu, Mar 29, 2012 at 6:55 PM, Pete wrote: >>> >>>> Thanks Mark. You justy answered another question I had. I was under the >>>> impression that you were stuck with whatever version of Android was on a >>>> device when you purchased it but sounds like you can updaste it? Maybe >>>> it's just phones that can't be updated? >>>> Pete >>>> >>>> On Thu, Mar 29, 2012 at 3:19 PM, Mark Wieder >>>> wrote: >>>>> The A500 has a very responsive screen and has all the other things I >>>>> was looking for in an Android tablet. I'm still running OS 3.3 on it >>>>> but I'll get around to upgrading to 4.0 some day. >>>>> >>>>> -- >>>>> -Mark Wieder >>>>> mwieder at ahsoftware.net >>>> >>>> -- >>>> Pete >>>> Molly's Revenge >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >> >> >> -- >> Pete >> Molly's Revenge >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Thu Mar 29 20:02:47 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 29 Mar 2012 17:02:47 -0700 Subject: Progress Bar In-Reply-To: References: <4F74EEB3.3050808@fourthworld.com> Message-ID: <04A096F4-9A74-489D-8257-C40974E34D65@twft.com> Pete, if you only need a progress bar for Mac, I can update my spinner standalone to have a progress bar. That way the progress bar will continue to animate, since it would be independent of the livecode IDE, or anything else for that matter. Let me know if you are interested. Bob Sneidar IT Manager Calvary Chapel CM Sent from iPhone On Mar 29, 2012, at 16:36, Pete wrote: > Thanks Scott and Richard. I think I've got my algorithm to determine when > to update the progress bar nicely tuned now. > > I'm a little confused by the lock screen thing though. Isn't lock screen > for when you don't want screen changes to be seen? > > Pete > > On Thu, Mar 29, 2012 at 4:22 PM, Richard Gaskin > wrote: > >> Pete wrote: >> >>> It takes about 2.5 times longer to process my test data with a >>> progress bar than without one. >> ... >> >>> I calculate the update interval by dividing the number of records to >>> be processed by 100 with a minimum of 10 to deal with small data >>> sets. I guess maybe I can play around with the divisor of 100 to >>> see what yields the best blend of performance while still showing >>> progress. >> >> Yes, the longer interval between updates will help a lot. >> >> This is true for all OSes, but even more so on the Mac with the rich >> rendering required for the Aqua progress indicator. >> >> -- >> Richard Gaskin >> Fourth World >> LiveCode training and consulting: http://www.fourthworld.com >> Webzine for LiveCode developers: http://www.LiveCodeJournal.com >> LiveCode Journal blog: http://LiveCodejournal.com/**blog.irv >> >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> >> > > > -- > Pete > Molly's Revenge > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tolistim at me.com Thu Mar 29 20:08:49 2012 From: tolistim at me.com (Tim Jones) Date: Thu, 29 Mar 2012 17:08:49 -0700 Subject: [OT] ACer A100 Tablet In-Reply-To: <0E487689-ADA1-4660-9FED-BE0FEB44FA42@twft.com> References: <4625483984.20120329123055@ahsoftware.net> <16635576078.20120329151907@ahsoftware.net> <128AC7A7-A547-433C-823E-263B952EAA73@me.com> <0E487689-ADA1-4660-9FED-BE0FEB44FA42@twft.com> Message-ID: <15C41152-1B2C-4566-BB84-B2A7D29CC2CA@me.com> It's the processor - a single chip running at 800MHz - even overclocked to 1GHz - really isn't enough for all of the new bling that is Ice Cream Sandwich. But, Cyanogen gives us a lot of coolness far beyond the stock vendor-supplied versions. Tim On Mar 29, 2012, at 4:59 PM, Bob Sneidar wrote: > I listen to Leo laporte on the radio. On one show some time ago he mentioned that some earlier androids could not be upgraded past a certain version. I suspect it has to do with the processor chips being incompatible, or with memory limitations, much like desktop systems. From pete at mollysrevenge.com Thu Mar 29 20:55:13 2012 From: pete at mollysrevenge.com (Pete) Date: Thu, 29 Mar 2012 17:55:13 -0700 Subject: [OT] ACer A100 Tablet In-Reply-To: <128AC7A7-A547-433C-823E-263B952EAA73@me.com> References: <4625483984.20120329123055@ahsoftware.net> <16635576078.20120329151907@ahsoftware.net> <128AC7A7-A547-433C-823E-263B952EAA73@me.com> Message-ID: Folks, I prowled around the CyanogenMod web site and it looks great BUT... nowhere can I find how to install it on my phone. I also see various issues about having to reload some of the Google apps like Maps apps after upgrading. SO, all-in-all, this makes me pretty nervous, I'd like to upgarde but I don't want to end up with a dead phone! I also tried the OTA Update on my phone (HTC Incredible from Verizon) but seem to always get a "service not available" message. Pete On Thu, Mar 29, 2012 at 4:51 PM, Tim Jones wrote: > That's a good guess. If I waited for Verizon, I'd still be running 2.1? > > Tim > > On Mar 29, 2012, at 4:38 PM, Pete wrote: > > > Thanks Roger and Tim, I'm not sure where I got that idea from. Maybe the > > cell phone providers don;t want you to upgarde so you're mor elikley to > buy > > another phone? > > Pete > > > > On Thu, Mar 29, 2012 at 4:28 PM, Roger Eller < > roger.e.eller at sealedair.com>wrote: > > > >> Just about all Android phones, and tablets can be end-user-upgraded via > >> CyanogenMod. It's community driven, so you're not at the mercy of the > >> hardware manufacturer. > >> > >> http://www.androidcentral.com/tags/cyanogenmod > >> > >> ~Roger > >> > >> > >> On Thu, Mar 29, 2012 at 6:55 PM, Pete wrote: > >> > >>> Thanks Mark. You justy answered another question I had. I was under > the > >>> impression that you were stuck with whatever version of Android was on > a > >>> device when you purchased it but sounds like you can updaste it? Maybe > >>> it's just phones that can't be updated? > >>> Pete > >>> > >>> On Thu, Mar 29, 2012 at 3:19 PM, Mark Wieder > >>> wrote: > >>>> The A500 has a very responsive screen and has all the other things I > >>>> was looking for in an Android tablet. I'm still running OS 3.3 on it > >>>> but I'll get around to upgrading to 4.0 some day. > >>>> > >>>> -- > >>>> -Mark Wieder > >>>> mwieder at ahsoftware.net > >>> > >>> -- > >>> Pete > >>> Molly's Revenge > >>> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > > > > > > -- > > Pete > > Molly's Revenge > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From irog at mac.com Thu Mar 29 21:07:52 2012 From: irog at mac.com (Roger Guay) Date: Thu, 29 Mar 2012 19:07:52 -0600 Subject: ANN: ScaleMatic In-Reply-To: References: Message-ID: Thanks, Jacqueline. I thought I had access, but apparently not. Please feel free to add to the bug report. Cheers, Roger On Mar 29, 2012, at 5:59 PM, use-livecode-request at lists.runrev.com wrote: > Message: 5 > Date: Thu, 29 Mar 2012 12:50:42 -0500 > From: "J. Landman Gay" > To: How to use LiveCode > Subject: Re: ANN: ScaleMatic > Message-ID: <4F74A0F2.5030002 at hyperactivesw.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > On 3/29/12 12:16 PM, Roger Guay wrote: >> I've tried everything suggested in the last list digest to upload >> stacks to RevOnLine to no avail! I've tried LiveCode versions from >> 4.6.3 to 5.5. Iv'e tried restarting RunRev repeatedly, I've tried >> praying, swearing, and various words of magic. I've tried standing >> up, sitting down, casually looking away, staring with intimidation, >> psychokinesis, and psychic healing. I've tried morning, noon and >> night, all to no avail. >> >> RevOnLine is effectively dead as far as I am concerned! > > LOL! Please paste this into bug report > . It's a very convincing > argument. :) > > If you don't have access, can I have your permission to add it myself? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From roger.e.eller at sealedair.com Thu Mar 29 21:17:42 2012 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 29 Mar 2012 21:17:42 -0400 Subject: [OT] ACer A100 Tablet In-Reply-To: References: <4625483984.20120329123055@ahsoftware.net> <16635576078.20120329151907@ahsoftware.net> <128AC7A7-A547-433C-823E-263B952EAA73@me.com> Message-ID: On Thu, Mar 29, 2012 at 8:55 PM, Pete wrote: > Folks, > I prowled around the CyanogenMod web site and it looks great BUT... nowhere > can I find how to install it on my phone. I also see various issues about > having to reload some of the Google apps like Maps apps after upgrading. > SO, all-in-all, this makes me pretty nervous, I'd like to upgarde but I > don't want to end up with a dead phone! > > I also tried the OTA Update on my phone (HTC Incredible from Verizon) but > seem to always get a "service not available" message. > > Pete > About the risks... the only comfort I can offer is that when it goes wrong, it is typically called "soft bricking", which means you can try again and eventually get it right. The best thing to do is get the titanium backup app, and backup the original ROM that your phone has. Make sure there are success stories already with your phone model (youtube is great for the walk-throughs). Take a leap of faith. It all begins with an upgrade to the firmware called ClockWorkMod Recovery. This gives you a text-based menu to format the internal SD, and choose the ROM you are about to install (previously copied to your phone over usb). ~Roger From pmbrig at gmail.com Thu Mar 29 22:18:04 2012 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Thu, 29 Mar 2012 22:18:04 -0400 Subject: Progress Bar In-Reply-To: References: Message-ID: <2FDA9A38-F2A9-4E4C-9514-132EA27A6650@gmail.com> On Mar 29, 2012, at 6:56 PM, Mike Bonner wrote: > Its a particle.. Its a wave! its a particle. Its a wave! Its a cat in a > box! Coincidence -- someone just sent me today a cartoon: a fake poster: Reward! $1,000,000,000 Schroedinger's Cat Wanted Dead and Alive -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From kray at sonsothunder.com Thu Mar 29 22:30:59 2012 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 29 Mar 2012 21:30:59 -0500 Subject: Regular expression escape characters In-Reply-To: <4B7FD9DF-4476-4D81-B948-2DEA31700314@mac.com> References: <4B7FD9DF-4476-4D81-B948-2DEA31700314@mac.com> Message-ID: On Mar 28, 2012, at 10:19 PM, Bill Vlahos wrote: > I am building a regular expression to find a set of question marks and exclamation points. For example ??? or !!!. put "This is a !!! test" into tData get matchChunk(tData,"(\!{3,})",tStart,tEnd) put tStart,tEnd --> 11,13 The "!" is escaped with the backslash (\) and then the use of {3,} means "3 of the previous character", so: \!{3,} matches !!! Then you surround the match test with parentheses to cause an extraction, and that fills tStart and tEnd with the start and end offsets of the extracted chunk. You can do the same thing with ?? Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Thu Mar 29 22:33:53 2012 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 29 Mar 2012 21:33:53 -0500 Subject: Regular expression escape characters In-Reply-To: References: <4B7FD9DF-4476-4D81-B948-2DEA31700314@mac.com> Message-ID: <279670AD-A40C-4995-B7AF-4ED1F009DDA7@sonsothunder.com> > The "!" is escaped with the backslash (\) and then the use of {3,} means "3 of the previous character", so: Sorry, {3,} means "3 or MORE of the previous character"? if you only want to match 3 characters, you need to use {3,3}: \!{3,3} Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From jacque at hyperactivesw.com Thu Mar 29 22:42:18 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 29 Mar 2012 21:42:18 -0500 Subject: ANN: ScaleMatic In-Reply-To: References: Message-ID: <4F751D8A.8030706@hyperactivesw.com> On 3/29/12 8:07 PM, Roger Guay wrote: > Thanks, Jacqueline. I thought I had access, but apparently not. > Please feel free to add to the bug report. Done. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rene.micout at numericable.com Fri Mar 30 03:43:53 2012 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Fri, 30 Mar 2012 09:43:53 +0200 Subject: ANN: ScaleMatic In-Reply-To: <4F751D8A.8030706@hyperactivesw.com> References: <4F751D8A.8030706@hyperactivesw.com> Message-ID: <0DD3DC91-5E58-4395-9075-5537CA6D8BEF@numericable.com> Thank you Jacqueline ! Le 30 mars 2012 ? 04:42, J. Landman Gay a ?crit : > On 3/29/12 8:07 PM, Roger Guay wrote: >> Thanks, Jacqueline. I thought I had access, but apparently not. >> Please feel free to add to the bug report. > > Done. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Fri Mar 30 06:08:24 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 30 Mar 2012 12:08:24 +0200 Subject: what to put into the standalone signature? Message-ID: <003a01cd0e5d$0be16280$23a42780$@de> Hello, up to now I have always ignored the standalone signature and kept the standard "????" - my programs run. But what is it for? What do you actually have to put into the signature? Is it a free string I can choose, or do I have to get it from any registration process from Apple? Any advantages / disadvantages using / not using it instead of the ???? default? Thanks for sharing your experiences with a windows guy Tiemo From richard at richardmac.com Fri Mar 30 06:27:28 2012 From: richard at richardmac.com (Richard MacLemale) Date: Fri, 30 Mar 2012 06:27:28 -0400 Subject: LC Benchmark app/stack In-Reply-To: <4625483984.20120329123055@ahsoftware.net> References: <4625483984.20120329123055@ahsoftware.net> Message-ID: <8F051E48-2FE7-4D08-AD00-1F8A20DD3394@richardmac.com> I've developed primarily for the iOS so far, and am sort of thinking about the Android market. I know there are a billion screen sizes to deal with, but what about processor speeds? On one of our apps (Shapes by Mac and Cheese) we had to simplify one of our animation sequences for the iPad 1, because the animation looked good on the iPad 2 but ran too slow on the iPad 1. I'm going to be getting an iPad 3, so I'll have one of each, but it got me thinking... how many different CPU's are there out there for Android devices? And has anyone got any idea how fast LC runs on each of them? Wouldn't it be good to have a benchmark app that we could all run on our various devices and then report back? Does such an app exist already? --- Richard MacLemale Music = http://www.richardmac.com Programming = http://www.macandchee.se From chris at altuit.com Fri Mar 30 11:29:30 2012 From: chris at altuit.com (Chris Bohnert) Date: Fri, 30 Mar 2012 10:29:30 -0500 Subject: building ios externals in 5.5-GM3 Message-ID: With Livecode 5.5-GM3 (build 1479) supporting XCode 4.3.1, can we build externals against R10 of the LiveCodeSDK? A quick 'Hello World' won't build for me, and externals built in 4.2.1 don't seem to work in 5.5 stacks. Anyone else having better luck with this? -- cb From pete at mollysrevenge.com Fri Mar 30 12:29:08 2012 From: pete at mollysrevenge.com (Pete) Date: Fri, 30 Mar 2012 09:29:08 -0700 Subject: Progress Bar In-Reply-To: <2FDA9A38-F2A9-4E4C-9514-132EA27A6650@gmail.com> References: <2FDA9A38-F2A9-4E4C-9514-132EA27A6650@gmail.com> Message-ID: Those quantum guys are such pranksters! Pete On Thu, Mar 29, 2012 at 7:18 PM, Peter M. Brigham, MD wrote: > On Mar 29, 2012, at 6:56 PM, Mike Bonner wrote: > > > Its a particle.. Its a wave! its a particle. Its a wave! Its a cat in a > > box! > > Coincidence -- someone just sent me today a cartoon: a fake poster: > > Reward! $1,000,000,000 > Schroedinger's Cat > Wanted Dead and Alive > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From pmbrig at gmail.com Fri Mar 30 13:36:48 2012 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Fri, 30 Mar 2012 13:36:48 -0400 Subject: Progress Bar In-Reply-To: References: <2FDA9A38-F2A9-4E4C-9514-132EA27A6650@gmail.com> Message-ID: <13982B5E-AEB5-4A9E-8274-9035852F8E1F@gmail.com> On Mar 30, 2012, at 12:29 PM, Pete wrote: > Those quantum guys are such pranksters! or not! -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From dixonja at hotmail.co.uk Fri Mar 30 13:40:33 2012 From: dixonja at hotmail.co.uk (John Dixon) Date: Fri, 30 Mar 2012 18:40:33 +0100 Subject: Can I put an .exe file into a custom property ? Message-ID: The title says it all... and if so, how ? Dixie From klaus at major.on-rev.com Fri Mar 30 13:44:19 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Fri, 30 Mar 2012 19:44:19 +0200 Subject: Can I put an .exe file into a custom property ? In-Reply-To: References: Message-ID: <75DB8BFA-C3F2-4CEE-B0CD-EB7A7B8B0D7C@major.on-rev.com> Hi Dixie, Am 30.03.2012 um 19:40 schrieb John Dixon: > > The title says it all... and if so, how ? Yes: ... set the cExe of this stack to url("binfile:" & "path/to/your/exe.exe") ... :-) > Dixie Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From jacque at hyperactivesw.com Fri Mar 30 13:48:05 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 30 Mar 2012 12:48:05 -0500 Subject: LC Benchmark app/stack In-Reply-To: <8F051E48-2FE7-4D08-AD00-1F8A20DD3394@richardmac.com> References: <4625483984.20120329123055@ahsoftware.net> <8F051E48-2FE7-4D08-AD00-1F8A20DD3394@richardmac.com> Message-ID: <4F75F1D5.4010609@hyperactivesw.com> On 3/30/12 5:27 AM, Richard MacLemale wrote: > I've developed primarily for the iOS so far, and am sort of thinking > about the Android market. I know there are a billion screen sizes to > deal with, but what about processor speeds? It's all over the map, and any benchmark list would be obsolete pretty quickly as new devices appear. My first android device (1 year old, Android 2.2) loads my app in about four seconds. My new device (Android 3.2) loads it in a fraction of one second. Even faster CPUs are coming out this year. I think what I'd do is load a variable with the milliseconds on startup, and then after the first card appears, look at the time difference. Based on that you could make some decisions about what code to run. There won't be any way for you to test all devices though. Wikipedia has some comparison info, though it doesn't list actual speeds: Many Android users are running older devices with OS versions that are quite old. Phone users are often locked into 2-year contracts which means they're stuck while the rest of the world moves on. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dixonja at hotmail.co.uk Fri Mar 30 13:51:34 2012 From: dixonja at hotmail.co.uk (John Dixon) Date: Fri, 30 Mar 2012 18:51:34 +0100 Subject: Can I put an .exe file into a custom property ? In-Reply-To: <75DB8BFA-C3F2-4CEE-B0CD-EB7A7B8B0D7C@major.on-rev.com> References: , <75DB8BFA-C3F2-4CEE-B0CD-EB7A7B8B0D7C@major.on-rev.com> Message-ID: Thanks... :-) > Yes: > set the cExe of this stack to url("binfile:" & "path/to/your/exe.exe") > Best > Klaus From bobs at twft.com Fri Mar 30 13:57:56 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 30 Mar 2012 10:57:56 -0700 Subject: Can I put an .exe file into a custom property ? In-Reply-To: References: Message-ID: <3F6134C0-0F40-4959-A006-C031B01D67C5@twft.com> Try reading the file binary into a variable, store it in a property, write it back out again. Bob On Mar 30, 2012, at 10:40 AM, John Dixon wrote: > > The title says it all... and if so, how ? > > Dixie > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Fri Mar 30 13:58:49 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 30 Mar 2012 10:58:49 -0700 Subject: Can I put an .exe file into a custom property ? In-Reply-To: References: , <75DB8BFA-C3F2-4CEE-B0CD-EB7A7B8B0D7C@major.on-rev.com> Message-ID: <2CCD17CD-6771-4C95-B9B3-12371E2E830D@twft.com> that seems a better way. Bob On Mar 30, 2012, at 10:51 AM, John Dixon wrote: > > Thanks... :-) > >> Yes: >> set the cExe of this stack to url("binfile:" & "path/to/your/exe.exe") > >> Best >> Klaus > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major.on-rev.com Fri Mar 30 14:08:26 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Fri, 30 Mar 2012 20:08:26 +0200 Subject: Can I put an .exe file into a custom property ? In-Reply-To: <2CCD17CD-6771-4C95-B9B3-12371E2E830D@twft.com> References: , <75DB8BFA-C3F2-4CEE-B0CD-EB7A7B8B0D7C@major.on-rev.com> <2CCD17CD-6771-4C95-B9B3-12371E2E830D@twft.com> Message-ID: <49081E72-F3ED-4373-8E6F-321E2FA0669C@major.on-rev.com> Hi Bob, Am 30.03.2012 um 19:58 schrieb Bob Sneidar: > that seems a better way. not neccessarily better, but a tad faster :-) > Bob > > On Mar 30, 2012, at 10:51 AM, John Dixon wrote: > >> Thanks... :-) >> >>> Yes: >>> set the cExe of this stack to url("binfile:" & "path/to/your/exe.exe") Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From pete at mollysrevenge.com Fri Mar 30 14:55:46 2012 From: pete at mollysrevenge.com (Pete) Date: Fri, 30 Mar 2012 11:55:46 -0700 Subject: Preferences Message-ID: Somehow or other, LC has lost my preference settings. Where is the Preferences file kept on OS X? I can restore from Time Machine backup. -- Pete Molly's Revenge From jacque at hyperactivesw.com Fri Mar 30 18:07:37 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 30 Mar 2012 17:07:37 -0500 Subject: Preferences In-Reply-To: References: Message-ID: <4F762EA9.9000501@hyperactivesw.com> On 3/30/12 1:55 PM, Pete wrote: > Somehow or other, LC has lost my preference settings. > > Where is the Preferences file kept on OS X? I can restore from Time > Machine backup. > > ~/Library/Preferences/RunRev/livecode.rev Some early releases of LiveCode 5.5 accidentally saved that file in the new 5.5 format, which means if you later re-launch 5.02 it can't be read. It's been fixed since then, so you may want to re-download from your store account if that could be what happened. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at mollysrevenge.com Fri Mar 30 19:12:25 2012 From: pete at mollysrevenge.com (Pete) Date: Fri, 30 Mar 2012 16:12:25 -0700 Subject: Preferences In-Reply-To: <4F762EA9.9000501@hyperactivesw.com> References: <4F762EA9.9000501@hyperactivesw.com> Message-ID: Actually, yes, I think that is what happened. I'm still using 5.0 on a daily basis but I ran 5.5 yesterday to try a couple of things. I'll get ther latest 5.5. Pete On Fri, Mar 30, 2012 at 3:07 PM, J. Landman Gay wrote: > On 3/30/12 1:55 PM, Pete wrote: > >> Somehow or other, LC has lost my preference settings. >> >> Where is the Preferences file kept on OS X? I can restore from Time >> Machine backup. >> >> >> > ~/Library/Preferences/RunRev/**livecode.rev > > Some early releases of LiveCode 5.5 accidentally saved that file in the > new 5.5 format, which means if you later re-launch 5.02 it can't be read. > It's been fixed since then, so you may want to re-download from your store > account if that could be what happened. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From gcanyon at gmail.com Sat Mar 31 02:43:38 2012 From: gcanyon at gmail.com (Geoff Canyon) Date: Sat, 31 Mar 2012 01:43:38 -0500 Subject: Progress Bar In-Reply-To: References: Message-ID: <1DB7D023-14E9-4D65-97D9-BAD6A4479025@gmail.com> I'll throw my 2 cents in here as well -- I've found that it doesn't impact performance significantly to check ticks() each time through the loop. So instead of a fixed number of iterations, which can lead to a jumpy progress bar or excessive updates if what you're doing in the loop varies much, I do this: if ticks() > T then --update the progress bar put ticks() + 10 into T -- your choice how smooth you want it end if Sent from my iPad On Mar 29, 2012, at 6:20 PM, Scott Rossi wrote: > Use a counter to increment progress > every 2nd, 5th, 10th loop (whatever makes sense), so updating progress has a > lower impact on the repeat loop. From Mark_Smith at cpe.umanitoba.ca Sat Mar 31 13:00:38 2012 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Sat, 31 Mar 2012 10:00:38 -0700 (PDT) Subject: Xcode 4.2 and iOS 5.1 Message-ID: <1333213238706-4521937.post@n4.nabble.com> Anyone know why Xcode 4.2 would stop talking to iOS? I am running Snow Leopard 10.6.8, but recently gave in to the constant upgrades notices on my iPad2 to upgrade to 5.1. Now, xCode can open a window onto my iPad but I can't add or delete anything? Thanks -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Xcode-4-2-and-iOS-5-1-tp4521937p4521937.html Sent from the Revolution - User mailing list archive at Nabble.com. From bonnmike at gmail.com Sat Mar 31 13:26:06 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 31 Mar 2012 11:26:06 -0600 Subject: [OT] Help with windows activation Message-ID: Hey all, hope its ok for me to pick everyones brain.. I am working on a system for a friend. The previous person "helped" them by installing vista ultimate for which they have no valid license. Didn't activate it, 30 days later everything goes wonky. They do have a valid vista license, just not for vista ultimate. Unfortunately windows activation won't accept the code because of course its for the wrong vista level. Does anyone know of a way to downgrade from ultimate to home premium so that I can then activate and not have to do a reload? From pete at mollysrevenge.com Sat Mar 31 14:12:15 2012 From: pete at mollysrevenge.com (Pete) Date: Sat, 31 Mar 2012 11:12:15 -0700 Subject: Progress Bar In-Reply-To: <1DB7D023-14E9-4D65-97D9-BAD6A4479025@gmail.com> References: <1DB7D023-14E9-4D65-97D9-BAD6A4479025@gmail.com> Message-ID: Thanks Geoff, I like the concept of time based updated rather than based on number of records processed. Pete On Fri, Mar 30, 2012 at 11:43 PM, Geoff Canyon wrote: > I'll throw my 2 cents in here as well -- I've found that it doesn't impact > performance significantly to check ticks() each time through the loop. So > instead of a fixed number of iterations, which can lead to a jumpy progress > bar or excessive updates if what you're doing in the loop varies much, I do > this: > > if ticks() > T then > --update the progress bar > put ticks() + 10 into T -- your choice how smooth you want it > end if > > Sent from my iPad > > On Mar 29, 2012, at 6:20 PM, Scott Rossi wrote: > > > Use a counter to increment progress > > every 2nd, 5th, 10th loop (whatever makes sense), so updating progress > has a > > lower impact on the repeat loop. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From ludovic.thebault at laposte.net Sat Mar 31 14:13:17 2012 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Sat, 31 Mar 2012 20:13:17 +0200 Subject: field focused but why ? Message-ID: <7204ECB7-9DC3-46A5-9DCA-10E6C494790C@laposte.net> Hello, I've a field which is "focused" always when the card is opened (or after a resumestack when i switch from the script windows for example) and i don't know why ! I've no script about this. It's not a real focus (no blue border on macos) but there is the "blink cursor" to type in the field. It's a problem because this is a stack for iOS and the keyboard always display on the device when this field is focused. The field is not at the top level (or at the "bottom" level) The field has an openfield script (but without it's the same). In the message watcher, just before the openfield message there is a cRevGeneral message. In step by step in the debug mode, nothing to catch... i put this line : focus on nothing at the end of the opencard script but no change. Any ideas ? Thanks ! From m.schonewille at economy-x-talk.com Sat Mar 31 16:23:53 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 31 Mar 2012 22:23:53 +0200 Subject: field focused but why ? In-Reply-To: <7204ECB7-9DC3-46A5-9DCA-10E6C494790C@laposte.net> References: <7204ECB7-9DC3-46A5-9DCA-10E6C494790C@laposte.net> Message-ID: <76768705-30FA-4578-85BD-57EC44D44C10@economy-x-talk.com> Hi Ludovic, This is a problem indeed. I wish there were a property to turn off this behavious. It would fix any, many frustrating problems for me and many others. A workaround is to set the traversalOn of the field to false by default. You could set the traversalOn to true when the user taps on the field. If you also select the text of the field (or before or after the text of the field) then the keyboard will appear. You could automatically set the traversalOn to false again in the exitField or closeField handler or in the closeCard handler for instance. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Get the extIco2Png external for LiveCode here http://qery.us/1w6 On 31 mrt 2012, at 20:13, Ludovic Th?bault wrote: > Hello, > > I've a field which is "focused" always when the card is opened (or after a resumestack when i switch from the script windows for example) and i don't know why ! > I've no script about this. It's not a real focus (no blue border on macos) but there is the "blink cursor" to type in the field. > > It's a problem because this is a stack for iOS and the keyboard always display on the device when this field is focused. > > The field is not at the top level (or at the "bottom" level) > The field has an openfield script (but without it's the same). > In the message watcher, just before the openfield message there is a cRevGeneral message. > In step by step in the debug mode, nothing to catch... > > i put this line : > focus on nothing > at the end of the opencard script but no change. > > Any ideas ? > > Thanks ! From dsc at swcp.com Sat Mar 31 17:28:36 2012 From: dsc at swcp.com (Dar Scott) Date: Sat, 31 Mar 2012 15:28:36 -0600 Subject: field focused but why ? In-Reply-To: <7204ECB7-9DC3-46A5-9DCA-10E6C494790C@laposte.net> References: <7204ECB7-9DC3-46A5-9DCA-10E6C494790C@laposte.net> Message-ID: <194CEBA4-A442-4236-A89D-E697D1D29826@swcp.com> On Mar 31, 2012, at 12:13 PM, Ludovic Th?bault wrote: > I've a field which is "focused" always when the card is opened (or after a resumestack when i switch from the script windows for example) and i don't know why ! > I've no script about this. It's not a real focus (no blue border on macos) but there is the "blink cursor" to type in the field. > > It's a problem because this is a stack for iOS and the keyboard always display on the device when this field is focused. > i put this line : > focus on nothing > at the end of the opencard script but no change. > > Any ideas ? I have this line in openStack handled in the stack script: send "focus on nothing" to card 1 of me in .1 seconds I think that solved the problem for me, but it might have been some combination one or more of dozens of things I tried. I think 'focus on nothing' should work in any openStack, preOpenStack, openCard, preOpenCard. Should we call this not working in openCard a bug? And is the focus at the start of the app a bug or a feature? Dar From m.schonewille at economy-x-talk.com Sat Mar 31 18:17:45 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 1 Apr 2012 00:17:45 +0200 Subject: field focused but why ? In-Reply-To: <194CEBA4-A442-4236-A89D-E697D1D29826@swcp.com> References: <7204ECB7-9DC3-46A5-9DCA-10E6C494790C@laposte.net> <194CEBA4-A442-4236-A89D-E697D1D29826@swcp.com> Message-ID: <9337D047-E187-40C3-A424-819A4C80E07F@economy-x-talk.com> Hi, I believe Dar's solution will flash the keyboard. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Get the extIco2Png external for LiveCode here http://qery.us/1w6 On 31 mrt 2012, at 23:28, Dar Scott wrote: > > I have this line in openStack handled in the stack script: > > send "focus on nothing" to card 1 of me in .1 seconds > > I think that solved the problem for me, but it might have been some combination one or more of dozens of things I tried. > > I think 'focus on nothing' should work in any openStack, preOpenStack, openCard, preOpenCard. Should we call this not working in openCard a bug? And is the focus at the start of the app a bug or a feature? > > Dar From gandalf at DOCTORTIMOTHYMILLER.COM Sat Mar 31 18:34:43 2012 From: gandalf at DOCTORTIMOTHYMILLER.COM (Timothy Miller) Date: Sat, 31 Mar 2012 15:34:43 -0700 Subject: Button oddities -- LC 5.5 related? Possible serious problem? Message-ID: We're in Mac OS 10.6.8, recently upgraded to LC v 5.5., using a stack that worked normally every day in LC 5.0.2. It's a single-core Intel MacBook. "That's funny. I thought I had little "go prev" and "go next" buttons in the upper right and left corners of this stack. Just my imagination, I guess." The stack: many cards, most entirely alike, except for text in fields. Objects are all in one group, including the go next and go prev buttons. Background behavior is set to true. View: toolbar text Click on "Select group" so it isn't boldface Click on the group, so the whole group is selected Click on "edit group" Huh! The go next and go prev buttons have reappeared! I didn't mis-remember them after all. If I close the stack and re-open it, without quitting LC, the buttons do not disappear. I have "purge stack" and "purge window" set to true. If I quit LC and launch the stack again, the buttons disappear. When I can't see the buttons, after quitting and restarting, the loc of button ID xxxx and the visible of button ID xxxx both appear correct. No field or image covers up these buttons. Oops. I just discovered that if I click with the browse tool on the place where the buttons should be, the button becomes visible and the button script executes. If I save and quit LC, the buttons disappear when I launch the stack again. After writing the foregoing, it seemed there is no point in bothering the list about such a small matter. I just deleted the dysfunctional buttons, made new ones, from scratch, added them to the group and put them in the approximate location of the old ones. To my surprise, the new buttons behave in the same strange way. Style is "transparent button" "Visible" is true Opaque, show name, auto hilite and shared hilite are false Setting "show name" to true causes the name to remain visible if I quit and restart, but not the icon. Changing the style from opaque button to transparent button doesn't seem to make any difference. Setting auto-hilite and shared hilite to true doesn't seem to make any difference. This might be an icon issue. I tried choosing a few different icons. That didn't make a difference. I tried tracing the script of these buttons. There's nothing in the script that would account for this behavior. I could troubleshoot further, but the amount of time expended on the mystery is starting to be disproportionate the the seriousness of the problem. Am I missing something obvious? Making a newbie error? Is this a possible bug in LC 5.5? By the way, view:toolbar text doesn't work quite right. When I start LC and view:toolbar text, I get a partial view of toolbar icons. After a few clicks it corrects itself and then works normally until the next time I quit and launch LC. I wonder if the two issues are related? Finally it occurs to slow-witted self to check to see if this is a minor bug in LC 5.5. I close and quit, try the same stack with "open with" set to LC 5.0.2. LC 5.0.2 launches, but the stack will not launch. I can open some other old stacks with 5.0.2. If I set the get-info to open with 5.0.2 and double click on the stack while LC 5.0.2 is running I get a message saying the stack is corrupted. I tried duplicating the stack in the finder, opening in LC 5.5, deleting the offending buttons, saving. The copy of the stack still won't open in LC 5.0.2. Yes, I have backed up, though not daily, and I do add text to this stack daily. Older copies of this stack will launch with LC 5.0.2. This seems a little more serious now. I'd stop using LC 5.5 until further notice, except I use this stack often and it no longer works in 5.0.2. Aside from the little quirk aforementioned, the stack in question seems to work normally, though it's possible that I have overlooked other problems. I don't have a machine with OS 10.7 installed, so I can't check to see if that's relevant. Cheers, Tim From bonnmike at gmail.com Sat Mar 31 18:43:09 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 31 Mar 2012 16:43:09 -0600 Subject: Button oddities -- LC 5.5 related? Possible serious problem? In-Reply-To: References: Message-ID: Just curious, but the images you use for the icons.. are they imported or referenced? If referenced, if you import them into the stack, change your buttons to point to the imported images, save, then try again does it start working correctly? If so, my guess is that on initial start when the buttons are drawn the first time the referenced image isn't there yet. If thats not it, not sure what else could be causing it. On Sat, Mar 31, 2012 at 4:34 PM, Timothy Miller < gandalf at doctortimothymiller.com> wrote: > We're in Mac OS 10.6.8, recently upgraded to LC v 5.5., using a stack that > worked normally every day in LC 5.0.2. It's a single-core Intel MacBook. > > "That's funny. I thought I had little "go prev" and "go next" buttons in > the upper right and left corners of this stack. Just my imagination, I > guess." > > The stack: many cards, most entirely alike, except for text in fields. > Objects are all in one group, including the go next and go prev buttons. > Background behavior is set to true. > > View: toolbar text > Click on "Select group" so it isn't boldface > Click on the group, so the whole group is selected > Click on "edit group" > > Huh! The go next and go prev buttons have reappeared! I didn't > mis-remember them after all. > > If I close the stack and re-open it, without quitting LC, the buttons do > not disappear. I have "purge stack" and "purge window" set to true. > > If I quit LC and launch the stack again, the buttons disappear. > > When I can't see the buttons, after quitting and restarting, the loc of > button ID xxxx and the visible of button ID xxxx both appear correct. > > No field or image covers up these buttons. > > Oops. I just discovered that if I click with the browse tool on the place > where the buttons should be, the button becomes visible and the button > script executes. If I save and quit LC, the buttons disappear when I launch > the stack again. > > After writing the foregoing, it seemed there is no point in bothering the > list about such a small matter. I just deleted the dysfunctional buttons, > made new ones, from scratch, added them to the group and put them in the > approximate location of the old ones. > > To my surprise, the new buttons behave in the same strange way. > > Style is "transparent button" > "Visible" is true > Opaque, show name, auto hilite and shared hilite are false > Setting "show name" to true causes the name to remain visible if I quit > and restart, but not the icon. > Changing the style from opaque button to transparent button doesn't seem > to make any difference. > Setting auto-hilite and shared hilite to true doesn't seem to make any > difference. > > This might be an icon issue. I tried choosing a few different icons. That > didn't make a difference. > > I tried tracing the script of these buttons. There's nothing in the script > that would account for this behavior. > > I could troubleshoot further, but the amount of time expended on the > mystery is starting to be disproportionate the the seriousness of the > problem. > > Am I missing something obvious? Making a newbie error? Is this a possible > bug in LC 5.5? > > By the way, view:toolbar text doesn't work quite right. When I start LC > and view:toolbar text, I get a partial view of toolbar icons. After a few > clicks it corrects itself and then works normally until the next time I > quit and launch LC. > > I wonder if the two issues are related? > > Finally it occurs to slow-witted self to check to see if this is a minor > bug in LC 5.5. I close and quit, try the same stack with "open with" set to > LC 5.0.2. LC 5.0.2 launches, but the stack will not launch. I can open some > other old stacks with 5.0.2. If I set the get-info to open with 5.0.2 and > double click on the stack while LC 5.0.2 is running I get a message saying > the stack is corrupted. > > I tried duplicating the stack in the finder, opening in LC 5.5, deleting > the offending buttons, saving. The copy of the stack still won't open in LC > 5.0.2. > > Yes, I have backed up, though not daily, and I do add text to this stack > daily. Older copies of this stack will launch with LC 5.0.2. > > This seems a little more serious now. > > I'd stop using LC 5.5 until further notice, except I use this stack often > and it no longer works in 5.0.2. > > Aside from the little quirk aforementioned, the stack in question seems to > work normally, though it's possible that I have overlooked other problems. > > I don't have a machine with OS 10.7 installed, so I can't check to see if > that's relevant. > > Cheers, > > > Tim > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Sat Mar 31 18:56:47 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 31 Mar 2012 17:56:47 -0500 Subject: Button oddities -- LC 5.5 related? Possible serious problem? In-Reply-To: References: Message-ID: <4F778BAF.6090105@hyperactivesw.com> On 3/31/12 5:34 PM, Timothy Miller wrote: > I just discovered that if I click with the browse tool on the > place where the buttons should be, the button becomes visible and the > button script executes. If I save and quit LC, the buttons disappear > when I launch the stack again. Sounds like an icon ID conflict. Do what Mike suggested. Import the icons from the Icon Library into your stack and assign the new image IDs to the buttons. That way they'll stay stable. > > Finally it occurs to slow-witted self to check to see if this is a > minor bug in LC 5.5. I close and quit, try the same stack with "open > with" set to LC 5.0.2. LC 5.0.2 launches, but the stack will not > launch. I can open some other old stacks with 5.0.2. If I set the > get-info to open with 5.0.2 and double click on the stack while LC > 5.0.2 is running I get a message saying the stack is corrupted. Version 5.5 has a new file format and older versions of LiveCode can't read it. Open your stack in 5.5. Do a "Save as" and use the popdown menu in the Save dialog to choose Legacy 2.7 format. Save it that way and it will open again in 5.02. Then go to LiveCode prefs in the Files & Memory pane and tick the option that specifies saving stacks in the same format they were in when they opened: "Preserve stack file version on stacks saved in legacy format." Some of us have noticed this pref doesn't always stick. Mine got reset to "off" yesterday. If you see the problem again you'll have to reset the pref and do a "save as" on your stack again. Or just use your stack in 5.02 until that gets fixed. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From niggemann at uni-wh.de Sat Mar 31 19:45:09 2012 From: niggemann at uni-wh.de (BNig) Date: Sat, 31 Mar 2012 16:45:09 -0700 (PDT) Subject: field focused but why ? In-Reply-To: <7204ECB7-9DC3-46A5-9DCA-10E6C494790C@laposte.net> References: <7204ECB7-9DC3-46A5-9DCA-10E6C494790C@laposte.net> Message-ID: <1333237509807-4522471.post@n4.nabble.com> Hi Ludovic, what I did in a similar situation on iOS: usually there are button on the card. Set the focusable of the button to true and send the button all the way back in "size and position" in the properties inspector. Back meaning a low number, lower than any field. Now when the card opens the button will get focus but that does not matter since that does not change neither appearance nor functionality. This cured the keyboard problem. And no need to focus on nothing. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/field-focused-but-why-tp4522043p4522471.html Sent from the Revolution - User mailing list archive at Nabble.com. From dsc at swcp.com Sat Mar 31 20:10:46 2012 From: dsc at swcp.com (Dar Scott) Date: Sat, 31 Mar 2012 18:10:46 -0600 Subject: field focused but why ? In-Reply-To: <9337D047-E187-40C3-A424-819A4C80E07F@economy-x-talk.com> References: <7204ECB7-9DC3-46A5-9DCA-10E6C494790C@laposte.net> <194CEBA4-A442-4236-A89D-E697D1D29826@swcp.com> <9337D047-E187-40C3-A424-819A4C80E07F@economy-x-talk.com> Message-ID: I thought so, too. I don't see it, so I must have solved it another way. -- Dar On Mar 31, 2012, at 4:17 PM, Mark Schonewille wrote: > Hi, > > I believe Dar's solution will flash the keyboard. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Get the extIco2Png external for LiveCode here http://qery.us/1w6 > > On 31 mrt 2012, at 23:28, Dar Scott wrote: > >> >> I have this line in openStack handled in the stack script: >> >> send "focus on nothing" to card 1 of me in .1 seconds >> >> I think that solved the problem for me, but it might have been some combination one or more of dozens of things I tried. >> >> I think 'focus on nothing' should work in any openStack, preOpenStack, openCard, preOpenCard. Should we call this not working in openCard a bug? And is the focus at the start of the app a bug or a feature? >> >> Dar > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode --------------------------- Dar Scott dba Dar Scott Consulting 8637 Horacio Place NE Albuquerque, NM 87111 Lab, home, office phone: +1 505 299 9497 For Skype and fax, please contact. dsc at swcp.com Computer Programming and tinkering, often making LiveCode libraries and externals, sometimes writing associated microcontroller firmware. --------------------------- From kray at sonsothunder.com Sat Mar 31 20:24:58 2012 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 31 Mar 2012 19:24:58 -0500 Subject: [OT] Help with windows activation In-Reply-To: References: Message-ID: On Mar 31, 2012, at 12:26 PM, Mike Bonner wrote: > Hey all, hope its ok for me to pick everyones brain.. > > I am working on a system for a friend. The previous person "helped" them by > installing vista ultimate for which they have no valid license. Didn't > activate it, 30 days later everything goes wonky. > > They do have a valid vista license, just not for vista ultimate. > Unfortunately windows activation won't accept the code because of course > its for the wrong vista level. Does anyone know of a way to downgrade from > ultimate to home premium so that I can then activate and not have to do a > reload? Sorry, Mike? I don't think there's a way to do it; you'd have to do a reinstall AFAIK. Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From bonnmike at gmail.com Sat Mar 31 20:28:37 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 31 Mar 2012 18:28:37 -0600 Subject: [OT] Help with windows activation In-Reply-To: References: Message-ID: Ah well. Reloads are easy, its the time down the drain that I wish I could have back. Thanks for the confirmation. On Sat, Mar 31, 2012 at 6:24 PM, Ken Ray wrote: > > On Mar 31, 2012, at 12:26 PM, Mike Bonner wrote: > > > Hey all, hope its ok for me to pick everyones brain.. > > > > I am working on a system for a friend. The previous person "helped" them > by > > installing vista ultimate for which they have no valid license. Didn't > > activate it, 30 days later everything goes wonky. > > > > They do have a valid vista license, just not for vista ultimate. > > Unfortunately windows activation won't accept the code because of course > > its for the wrong vista level. Does anyone know of a way to downgrade > from > > ultimate to home premium so that I can then activate and not have to do a > > reload? > > Sorry, Mike? I don't think there's a way to do it; you'd have to do a > reinstall AFAIK. > > Ken Ray > Sons of Thunder Software, Inc. > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobs at twft.com Sat Mar 31 21:05:12 2012 From: bobs at twft.com (Bob Sneidar) Date: Sat, 31 Mar 2012 18:05:12 -0700 Subject: [OT] Help with windows activation In-Reply-To: References: Message-ID: <06D4299E-0514-489A-B43C-CC9290EAC687@twft.com> I would go back to the first guy who "helped" and ask him what he planned to do next. Then after the hemming and hawing, tell him, "The road to Hell is paved with good intentions." then turn around, walk away and do it right. But that's just me. :-) Bob Sneidar IT Manager Calvary Chapel CM Sent from iPhone On Mar 31, 2012, at 17:28, Mike Bonner wrote: > Ah well. Reloads are easy, its the time down the drain that I wish I could > have back. > > Thanks for the confirmation. > > On Sat, Mar 31, 2012 at 6:24 PM, Ken Ray wrote: > >> >> On Mar 31, 2012, at 12:26 PM, Mike Bonner wrote: >> >>> Hey all, hope its ok for me to pick everyones brain.. >>> >>> I am working on a system for a friend. The previous person "helped" them >> by >>> installing vista ultimate for which they have no valid license. Didn't >>> activate it, 30 days later everything goes wonky. >>> >>> They do have a valid vista license, just not for vista ultimate. >>> Unfortunately windows activation won't accept the code because of course >>> its for the wrong vista level. Does anyone know of a way to downgrade >> from >>> ultimate to home premium so that I can then activate and not have to do a >>> reload? >> >> Sorry, Mike? I don't think there's a way to do it; you'd have to do a >> reinstall AFAIK. >> >> Ken Ray >> Sons of Thunder Software, Inc. >> Email: kray at sonsothunder.com >> Web Site: http://www.sonsothunder.com/ >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Sat Mar 31 21:21:01 2012 From: dsc at swcp.com (Dar Scott) Date: Sat, 31 Mar 2012 19:21:01 -0600 Subject: field focused but why ? In-Reply-To: References: <7204ECB7-9DC3-46A5-9DCA-10E6C494790C@laposte.net> <194CEBA4-A442-4236-A89D-E697D1D29826@swcp.com> <9337D047-E187-40C3-A424-819A4C80E07F@economy-x-talk.com> Message-ID: This is in a test app, so I did not look closely--when the keyboard stopped popping up I went on to other things. I removed the 'focus on nothing' and I still did not get the keyboard. So that was not my last attempt. I removed all keyboard commands. Still works. I looked carefully and no buttons have the focus. I fiddled with some field properties. So, I have no idea what I did. In another app I did change some field properties (probably traversalOn) on mouseDown, but I'm not doing that here. So... I'm embarrassed to have thrown out an inadequate solution, I might be near a solution but can't find it, and I would welcome a general solution or bug-fix, too. Ah. I tried Bernd's solution and then unchecked "show focus border". That seemed to work. I don't think that is what is working in my test stack, but if one has a button on the first card, this looks like a solution. Dar On Mar 31, 2012, at 6:10 PM, Dar Scott wrote: > I thought so, too. I don't see it, so I must have solved it another way. -- Dar > > On Mar 31, 2012, at 4:17 PM, Mark Schonewille wrote: > >> Hi, >> >> I believe Dar's solution will flash the keyboard. >> >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> Homepage: http://economy-x-talk.com >> Twitter: http://twitter.com/xtalkprogrammer >> KvK: 50277553 >> >> Get the extIco2Png external for LiveCode here http://qery.us/1w6 >> >> On 31 mrt 2012, at 23:28, Dar Scott wrote: >> >>> >>> I have this line in openStack handled in the stack script: >>> >>> send "focus on nothing" to card 1 of me in .1 seconds >>> >>> I think that solved the problem for me, but it might have been some combination one or more of dozens of things I tried. >>> >>> I think 'focus on nothing' should work in any openStack, preOpenStack, openCard, preOpenCard. Should we call this not working in openCard a bug? And is the focus at the start of the app a bug or a feature? >>> >>> Dar >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > --------------------------- > Dar Scott > dba > Dar Scott Consulting > 8637 Horacio Place NE > Albuquerque, NM 87111 > > Lab, home, office phone: +1 505 299 9497 > For Skype and fax, please contact. > dsc at swcp.com > > Computer Programming and tinkering, > often making LiveCode libraries and > externals, sometimes writing associated > microcontroller firmware. > --------------------------- > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode --------------------------- Dar Scott dba Dar Scott Consulting 8637 Horacio Place NE Albuquerque, NM 87111 Lab, home, office phone: +1 505 299 9497 For Skype and fax, please contact. dsc at swcp.com Computer Programming and tinkering, often making LiveCode libraries and externals, sometimes writing associated microcontroller firmware. --------------------------- From bobs at twft.com Sat Mar 31 21:39:29 2012 From: bobs at twft.com (Bob Sneidar) Date: Sat, 31 Mar 2012 18:39:29 -0700 Subject: field focused but why ? In-Reply-To: <7204ECB7-9DC3-46A5-9DCA-10E6C494790C@laposte.net> References: <7204ECB7-9DC3-46A5-9DCA-10E6C494790C@laposte.net> Message-ID: Try focus on nothing in the opencard handler? Bob Sneidar IT Manager Calvary Chapel CM Sent from iPhone On Mar 31, 2012, at 11:13, Ludovic Th?bault wrote: > Hello, > > I've a field which is "focused" always when the card is opened (or after a resumestack when i switch from the script windows for example) and i don't know why ! > I've no script about this. It's not a real focus (no blue border on macos) but there is the "blink cursor" to type in the field. > > It's a problem because this is a stack for iOS and the keyboard always display on the device when this field is focused. > > The field is not at the top level (or at the "bottom" level) > The field has an openfield script (but without it's the same). > In the message watcher, just before the openfield message there is a cRevGeneral message. > In step by step in the debug mode, nothing to catch... > > i put this line : > focus on nothing > at the end of the opencard script but no change. > > Any ideas ? > > Thanks ! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Sat Mar 31 21:39:50 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 31 Mar 2012 19:39:50 -0600 Subject: [OT] Help with windows activation In-Reply-To: <06D4299E-0514-489A-B43C-CC9290EAC687@twft.com> References: <06D4299E-0514-489A-B43C-CC9290EAC687@twft.com> Message-ID: Due to my mostly non-confrontational nature i'm skipping right to the do it right part. On Sat, Mar 31, 2012 at 7:05 PM, Bob Sneidar wrote: > I would go back to the first guy who "helped" and ask him what he planned > to do next. Then after the hemming and hawing, tell him, "The road to Hell > is paved with good intentions." then turn around, walk away and do it > right. But that's just me. :-) > > Bob Sneidar > IT Manager > Calvary Chapel CM > Sent from iPhone > > On Mar 31, 2012, at 17:28, Mike Bonner wrote: > > > Ah well. Reloads are easy, its the time down the drain that I wish I > could > > have back. > > > > Thanks for the confirmation. > > > > On Sat, Mar 31, 2012 at 6:24 PM, Ken Ray wrote: > > > >> > >> On Mar 31, 2012, at 12:26 PM, Mike Bonner wrote: > >> > >>> Hey all, hope its ok for me to pick everyones brain.. > >>> > >>> I am working on a system for a friend. The previous person "helped" > them > >> by > >>> installing vista ultimate for which they have no valid license. Didn't > >>> activate it, 30 days later everything goes wonky. > >>> > >>> They do have a valid vista license, just not for vista ultimate. > >>> Unfortunately windows activation won't accept the code because of > course > >>> its for the wrong vista level. Does anyone know of a way to downgrade > >> from > >>> ultimate to home premium so that I can then activate and not have to > do a > >>> reload? > >> > >> Sorry, Mike? I don't think there's a way to do it; you'd have to do a > >> reinstall AFAIK. > >> > >> Ken Ray > >> Sons of Thunder Software, Inc. > >> Email: kray at sonsothunder.com > >> Web Site: http://www.sonsothunder.com/ > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Sat Mar 31 22:00:23 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 31 Mar 2012 19:00:23 -0700 Subject: [OT] Help with windows activation In-Reply-To: References: <06D4299E-0514-489A-B43C-CC9290EAC687@twft.com> Message-ID: The user that let the other guy do the change is just as responsible for not considering. Or maybe the user should just pay and get the right license. Not your fault in any case. On 31 March 2012 18:39, Mike Bonner wrote: > Due to my mostly non-confrontational nature i'm skipping right to the do it > right part. > > On Sat, Mar 31, 2012 at 7:05 PM, Bob Sneidar wrote: > > > I would go back to the first guy who "helped" and ask him what he planned > > to do next. Then after the hemming and hawing, tell him, "The road to > Hell > > is paved with good intentions." then turn around, walk away and do it > > right. But that's just me. :-) > > > > Bob Sneidar > > IT Manager > > Calvary Chapel CM > > Sent from iPhone > > > > On Mar 31, 2012, at 17:28, Mike Bonner wrote: > > > > > Ah well. Reloads are easy, its the time down the drain that I wish I > > could > > > have back. > > > > > > Thanks for the confirmation. > > > > > > On Sat, Mar 31, 2012 at 6:24 PM, Ken Ray > wrote: > > > > > >> > > >> On Mar 31, 2012, at 12:26 PM, Mike Bonner wrote: > > >> > > >>> Hey all, hope its ok for me to pick everyones brain.. > > >>> > > >>> I am working on a system for a friend. The previous person "helped" > > them > > >> by > > >>> installing vista ultimate for which they have no valid license. > Didn't > > >>> activate it, 30 days later everything goes wonky. > > >>> > > >>> They do have a valid vista license, just not for vista ultimate. > > >>> Unfortunately windows activation won't accept the code because of > > course > > >>> its for the wrong vista level. Does anyone know of a way to downgrade > > >> from > > >>> ultimate to home premium so that I can then activate and not have to > > do a > > >>> reload? > > >> > > >> Sorry, Mike? I don't think there's a way to do it; you'd have to do a > > >> reinstall AFAIK. > > >> > > >> Ken Ray > > >> Sons of Thunder Software, Inc. > > >> Email: kray at sonsothunder.com > > >> Web Site: http://www.sonsothunder.com/ > > >> > > >> _______________________________________________ > > >> use-livecode mailing list > > >> use-livecode at lists.runrev.com > > >> Please visit this url to subscribe, unsubscribe and manage your > > >> subscription preferences: > > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >> > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From bonnmike at gmail.com Sat Mar 31 22:08:40 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 31 Mar 2012 20:08:40 -0600 Subject: [OT] Help with windows activation In-Reply-To: References: <06D4299E-0514-489A-B43C-CC9290EAC687@twft.com> Message-ID: Worst part is that i'm pretty sure the other guy (2 actually there was one before the vista ultimate misadventure) were pay for service. And I'm Mr Freebie! The main thing I have to do to solve problems like this is.. Keep my mouth shut and never admit to knowing anything. I really should start charging, but what with the whole pack of health stuff I don't want to be under obligation to be there fixing things anytime anyplace no matter how things are going. This way I can freely tell people (freely get it?) that I just feel too bad to work on it and if its an emergency.. pay someone. On Sat, Mar 31, 2012 at 8:00 PM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > The user that let the other guy do the change is just as responsible for > not considering. Or maybe the user should just pay and get the right > license. Not your fault in any case. > > On 31 March 2012 18:39, Mike Bonner wrote: > > > Due to my mostly non-confrontational nature i'm skipping right to the do > it > > right part. > > > > On Sat, Mar 31, 2012 at 7:05 PM, Bob Sneidar wrote: > > > > > I would go back to the first guy who "helped" and ask him what he > planned > > > to do next. Then after the hemming and hawing, tell him, "The road to > > Hell > > > is paved with good intentions." then turn around, walk away and do it > > > right. But that's just me. :-) > > > > > > Bob Sneidar > > > IT Manager > > > Calvary Chapel CM > > > Sent from iPhone > > > > > > On Mar 31, 2012, at 17:28, Mike Bonner wrote: > > > > > > > Ah well. Reloads are easy, its the time down the drain that I wish I > > > could > > > > have back. > > > > > > > > Thanks for the confirmation. > > > > > > > > On Sat, Mar 31, 2012 at 6:24 PM, Ken Ray > > wrote: > > > > > > > >> > > > >> On Mar 31, 2012, at 12:26 PM, Mike Bonner wrote: > > > >> > > > >>> Hey all, hope its ok for me to pick everyones brain.. > > > >>> > > > >>> I am working on a system for a friend. The previous person "helped" > > > them > > > >> by > > > >>> installing vista ultimate for which they have no valid license. > > Didn't > > > >>> activate it, 30 days later everything goes wonky. > > > >>> > > > >>> They do have a valid vista license, just not for vista ultimate. > > > >>> Unfortunately windows activation won't accept the code because of > > > course > > > >>> its for the wrong vista level. Does anyone know of a way to > downgrade > > > >> from > > > >>> ultimate to home premium so that I can then activate and not have > to > > > do a > > > >>> reload? > > > >> > > > >> Sorry, Mike? I don't think there's a way to do it; you'd have to do > a > > > >> reinstall AFAIK. > > > >> > > > >> Ken Ray > > > >> Sons of Thunder Software, Inc. > > > >> Email: kray at sonsothunder.com > > > >> Web Site: http://www.sonsothunder.com/ > > > >> > > > >> _______________________________________________ > > > >> use-livecode mailing list > > > >> use-livecode at lists.runrev.com > > > >> Please visit this url to subscribe, unsubscribe and manage your > > > >> subscription preferences: > > > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > >> > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode at lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pmbrig at gmail.com Sat Mar 31 23:02:36 2012 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Sat, 31 Mar 2012 23:02:36 -0400 Subject: field focused but why ? In-Reply-To: References: <7204ECB7-9DC3-46A5-9DCA-10E6C494790C@laposte.net> <194CEBA4-A442-4236-A89D-E697D1D29826@swcp.com> <9337D047-E187-40C3-A424-819A4C80E07F@economy-x-talk.com> Message-ID: <056672C1-CFC0-4ED2-A307-0F917DF34A10@gmail.com> If you put the field into a group and set the group's traversalon to false, it will prevent the field from getting the focus on opencard, at least in desktop stacks. Don't know if this works in iOS too. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Mar 31, 2012, at 9:21 PM, Dar Scott wrote: > This is in a test app, so I did not look closely--when the keyboard stopped popping up I went on to other things. I removed the 'focus on nothing' and I still did not get the keyboard. So that was not my last attempt. I removed all keyboard commands. Still works. I looked carefully and no buttons have the focus. I fiddled with some field properties. So, I have no idea what I did. > > In another app I did change some field properties (probably traversalOn) on mouseDown, but I'm not doing that here. > > So... I'm embarrassed to have thrown out an inadequate solution, I might be near a solution but can't find it, and I would welcome a general solution or bug-fix, too. > > Ah. I tried Bernd's solution and then unchecked "show focus border". That seemed to work. I don't think that is what is working in my test stack, but if one has a button on the first card, this looks like a solution. > > Dar > > On Mar 31, 2012, at 6:10 PM, Dar Scott wrote: > >> I thought so, too. I don't see it, so I must have solved it another way. -- Dar >> >> On Mar 31, 2012, at 4:17 PM, Mark Schonewille wrote: >> >>> Hi, >>> >>> I believe Dar's solution will flash the keyboard. >>> >>> -- >>> Best regards, >>> >>> Mark Schonewille >>> >>> Economy-x-Talk Consulting and Software Engineering >>> Homepage: http://economy-x-talk.com >>> Twitter: http://twitter.com/xtalkprogrammer >>> KvK: 50277553 >>> >>> Get the extIco2Png external for LiveCode here http://qery.us/1w6 >>> >>> On 31 mrt 2012, at 23:28, Dar Scott wrote: >>> >>>> >>>> I have this line in openStack handled in the stack script: >>>> >>>> send "focus on nothing" to card 1 of me in .1 seconds >>>> >>>> I think that solved the problem for me, but it might have been some combination one or more of dozens of things I tried. >>>> >>>> I think 'focus on nothing' should work in any openStack, preOpenStack, openCard, preOpenCard. Should we call this not working in openCard a bug? And is the focus at the start of the app a bug or a feature? >>>> >>>> Dar >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> --------------------------- >> Dar Scott >> dba >> Dar Scott Consulting >> 8637 Horacio Place NE >> Albuquerque, NM 87111 >> >> Lab, home, office phone: +1 505 299 9497 >> For Skype and fax, please contact. >> dsc at swcp.com >> >> Computer Programming and tinkering, >> often making LiveCode libraries and >> externals, sometimes writing associated >> microcontroller firmware. >> --------------------------- >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > --------------------------- > Dar Scott > dba > Dar Scott Consulting > 8637 Horacio Place NE > Albuquerque, NM 87111 > > Lab, home, office phone: +1 505 299 9497 > For Skype and fax, please contact. > dsc at swcp.com > > Computer Programming and tinkering, > often making LiveCode libraries and > externals, sometimes writing associated > microcontroller firmware. > --------------------------- > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gandalf at doctorTimothyMiller.com Sat Mar 31 22:21:35 2012 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Sat, 31 Mar 2012 19:21:35 -0700 Subject: Button oddities -- LC 5.5 related? (Not a serious problem) In-Reply-To: <4F778BAF.6090105@hyperactivesw.com> References: <4F778BAF.6090105@hyperactivesw.com> Message-ID: <5C5EE01C-9C36-4AD4-AF40-10CC512ACC94@doctorTimothyMiller.com> On Mar 31, 2012, at 3:56 PM, J. Landman Gay wrote: > On 3/31/12 5:34 PM, Timothy Miller wrote: >> I just discovered that if I click with the browse tool on the >> place where the buttons should be, the button becomes visible and the >> button script executes. If I save and quit LC, the buttons disappear >> when I launch the stack again. > > Sounds like an icon ID conflict. Do what Mike suggested. Import the icons from the Icon Library into your stack and assign the new image IDs to the buttons. That way they'll stay stable. Thankya Mike and Jacque. That's a relief! I had unhappy visions of laboriously re-creating a corrupted stack. Sadly, I can't figure out how to import icons from the icon library into my stack. You won't believe this... The first thing that popped into my head was "resedit" Okay, I guess I figured it out by trial and error, probably did it wrong, but it worked. Something about development: image library. Never noticed that item before. A couple of little images, about right for the icons I want, are now sitting at a random location on one of the cards in the stack. So now when I set the icon, I can use image library:this stack. I can see the little images there. Before I was using image library: standard icons. What do I do with the little images I imported? Set the visible to false, hide them under a field, or can I delete them now, because they are used in a button? Should this be standard procedure? I never thought about importing images for icons. Normally, when I make a new button and want an icon, I just use the icons & borders popup. The stack and buttons are working normally now. > Version 5.5 has a new file format and older versions of LiveCode can't read it. > > Open your stack in 5.5. Do a "Save as" and use the popdown menu in the Save dialog to choose Legacy 2.7 format. Save it that way and it will open again in 5.02. Another relief. Maybe I should read the "what's new" document. I don't recall seeing one, but I didn't look for it very hard. Tim